; ; sub_180018CF0 from 0x180018cf0 to 0x180018d64 (116 bytes) ; ; 4 xrefs: ; > sub_180018D70 @ 0x180018e23 ; > cocos2d::extension::CCHttpRequest::setRequestData @ 0x18001d267 ; > sub_18001D910 @ 0x18001d94a ; > @ 0x18004ab90 ; ; 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, 0x180018cf0 push rdi ; +0x5, 0x180018cf5 sub rsp, 20h ; +0x6, 0x180018cf6 mov rbx, rdx ; +0xa, 0x180018cfa mov rdi, rcx ; +0xd, 0x180018cfd cmp rdx, 1000h ; +0x10, 0x180018d00 jb short loc_180018D34 ; +0x17, 0x180018d07 lea rcx, [rdx+27h]; Size ; +0x19, 0x180018d09 cmp rcx, rdx ; +0x1d, 0x180018d0d jbe short loc_180018D5E ; +0x20, 0x180018d10 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x22, 0x180018d12 mov rcx, rax ; +0x27, 0x180018d17 test rax, rax ; +0x2a, 0x180018d1a jz short loc_180018D2D ; +0x2d, 0x180018d1d add rax, 27h ; ''' ; +0x2f, 0x180018d1f and rax, 0FFFFFFFFFFFFFFE0h ; +0x33, 0x180018d23 mov [rax-8], rcx ; +0x37, 0x180018d27 jmp short loc_180018D45 ; +0x3b, 0x180018d2b call cs:_invalid_parameter_noinfo_noreturn ; +0x3d, 0x180018d2d align 4 ; +0x43, 0x180018d33 test rbx, rbx ; +0x44, 0x180018d34 jz short loc_180018D43 ; +0x47, 0x180018d37 mov rcx, rbx; Size ; +0x49, 0x180018d39 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x4c, 0x180018d3c jmp short loc_180018D45 ; +0x51, 0x180018d41 xor eax, eax ; +0x53, 0x180018d43 mov [rdi], rax ; +0x55, 0x180018d45 mov [rdi+8], rax ; +0x58, 0x180018d48 add rax, rbx ; +0x5c, 0x180018d4c mov rbx, [rsp+28h+arg_0] ; +0x5f, 0x180018d4f mov [rdi+10h], rax ; +0x64, 0x180018d54 add rsp, 20h ; +0x68, 0x180018d58 pop rdi ; +0x6c, 0x180018d5c retn ; +0x6d, 0x180018d5d call ?cancel_current_task@Concurrency@@YAXXZ; Concurrency::cancel_current_task(void) ; +0x6e, 0x180018d5e db 0CCh ; +0x73, 0x180018d63