; ; cocos2d::extension::CCHttpRequest::~CCHttpRequest from 0x18001d050 to 0x18001d17f (303 bytes) ; ; 4 xrefs: ; > sub_18001D630 @ 0x18001d68e ; > sub_18001D630 @ 0x18001d64c ; > @ 0x18002fdf8 ; > @ 0x18004af74 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x18001d050 push rdi ; +0x5, 0x18001d055 sub rsp, 20h ; +0x6, 0x18001d056 mov rbx, rcx ; +0xa, 0x18001d05a lea rax, ??_7CCHttpRequest@extension@cocos2d@@6B@; const cocos2d::extension::CCHttpRequest::`vftable' ; +0xd, 0x18001d05d mov [rcx], rax ; +0x14, 0x18001d064 mov rcx, [rcx+98h] ; +0x17, 0x18001d067 test rcx, rcx ; +0x1e, 0x18001d06e jz short loc_18001D079 ; +0x21, 0x18001d071 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x23, 0x18001d073 lea rcx, [rbx+0B0h] ; +0x29, 0x18001d079 call sub_180003630 ; +0x30, 0x18001d080 mov rdx, [rbx+90h] ; +0x35, 0x18001d085 cmp rdx, 0Fh ; +0x3c, 0x18001d08c jbe short loc_18001D0C3 ; +0x40, 0x18001d090 inc rdx ; +0x42, 0x18001d092 mov rcx, [rbx+78h] ; +0x45, 0x18001d095 cmp rdx, 1000h ; +0x49, 0x18001d099 jb short loc_18001D0BE ; +0x50, 0x18001d0a0 add rdx, 27h ; ''' ; +0x52, 0x18001d0a2 mov r8, [rcx-8] ; +0x56, 0x18001d0a6 sub rcx, r8 ; +0x5a, 0x18001d0aa lea rax, [rcx-8] ; +0x5d, 0x18001d0ad cmp rax, 1Fh ; +0x61, 0x18001d0b1 ja loc_18001D178 ; +0x65, 0x18001d0b5 mov rcx, r8; Block ; +0x6b, 0x18001d0bb call j_j_free ; +0x6e, 0x18001d0be xor edi, edi ; +0x73, 0x18001d0c3 mov [rbx+88h], rdi ; +0x75, 0x18001d0c5 mov qword ptr [rbx+90h], 0Fh ; +0x7c, 0x18001d0cc mov [rbx+78h], dil ; +0x87, 0x18001d0d7 mov rcx, [rbx+60h] ; +0x8b, 0x18001d0db test rcx, rcx ; +0x8f, 0x18001d0df jz short loc_18001D11D ; +0x92, 0x18001d0e2 mov rdx, [rbx+70h] ; +0x94, 0x18001d0e4 sub rdx, rcx ; +0x98, 0x18001d0e8 cmp rdx, 1000h ; +0x9b, 0x18001d0eb jb short loc_18001D10C ; +0xa2, 0x18001d0f2 add rdx, 27h ; ''' ; +0xa4, 0x18001d0f4 mov r8, [rcx-8] ; +0xa8, 0x18001d0f8 sub rcx, r8 ; +0xac, 0x18001d0fc lea rax, [rcx-8] ; +0xaf, 0x18001d0ff cmp rax, 1Fh ; +0xb3, 0x18001d103 ja short loc_18001D178 ; +0xb7, 0x18001d107 mov rcx, r8; Block ; +0xb9, 0x18001d109 call j_j_free ; +0xbc, 0x18001d10c mov [rbx+60h], rdi ; +0xc1, 0x18001d111 mov [rbx+68h], rdi ; +0xc5, 0x18001d115 mov [rbx+70h], rdi ; +0xc9, 0x18001d119 mov rdx, [rbx+58h] ; +0xcd, 0x18001d11d cmp rdx, 0Fh ; +0xd1, 0x18001d121 jbe short loc_18001D154 ; +0xd5, 0x18001d125 inc rdx ; +0xd7, 0x18001d127 mov rcx, [rbx+40h] ; +0xda, 0x18001d12a cmp rdx, 1000h ; +0xde, 0x18001d12e jb short loc_18001D14F ; +0xe5, 0x18001d135 add rdx, 27h ; ''' ; +0xe7, 0x18001d137 mov r8, [rcx-8] ; +0xeb, 0x18001d13b sub rcx, r8 ; +0xef, 0x18001d13f lea rax, [rcx-8] ; +0xf2, 0x18001d142 cmp rax, 1Fh ; +0xf6, 0x18001d146 ja short loc_18001D178 ; +0xfa, 0x18001d14a mov rcx, r8; Block ; +0xfc, 0x18001d14c call j_j_free ; +0xff, 0x18001d14f mov [rbx+50h], rdi ; +0x104, 0x18001d154 mov qword ptr [rbx+58h], 0Fh ; +0x108, 0x18001d158 mov [rbx+40h], dil ; +0x110, 0x18001d160 mov rcx, rbx ; +0x114, 0x18001d164 mov rbx, [rsp+28h+arg_0] ; +0x117, 0x18001d167 add rsp, 20h ; +0x11c, 0x18001d16c pop rdi ; +0x120, 0x18001d170 jmp cs:__imp_??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x121, 0x18001d171 call cs:_invalid_parameter_noinfo_noreturn ; +0x128, 0x18001d178 db 0CCh ; +0x12e, 0x18001d17e