; ; cocos2d::CCCallFuncO::copyWithZone from 0x18002f220 to 0x18002f2ff (223 bytes) ; ; 3 xrefs: ; > @ 0x1800e92d0 ; > @ 0x1801438a8 ; > @ 0x1801b0000 ; ; 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_8], rbx ; +0x0, 0x18002f220 mov [rsp+arg_10], rsi ; +0x5, 0x18002f225 push rdi ; +0xa, 0x18002f22a sub rsp, 20h ; +0xb, 0x18002f22b mov rax, rdx ; +0xf, 0x18002f22f mov rsi, rcx ; +0x12, 0x18002f232 xor edi, edi ; +0x15, 0x18002f235 test rdx, rdx ; +0x17, 0x18002f237 jz short loc_18002F244 ; +0x1a, 0x18002f23a mov rbx, [rdx] ; +0x1c, 0x18002f23c test rbx, rbx ; +0x1f, 0x18002f23f jnz short loc_18002F2B6 ; +0x22, 0x18002f242 mov ecx, 80h; Size ; +0x24, 0x18002f244 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x29, 0x18002f249 mov rbx, rax ; +0x2e, 0x18002f24e mov [rsp+28h+arg_0], rax ; +0x31, 0x18002f251 test rax, rax ; +0x36, 0x18002f256 jz short loc_18002F28C ; +0x39, 0x18002f259 mov rcx, rax; this ; +0x3b, 0x18002f25b call ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x3e, 0x18002f25e mov [rbx+50h], edi ; +0x43, 0x18002f263 mov [rbx+58h], rdi ; +0x46, 0x18002f266 mov [rbx+60h], edi ; +0x4a, 0x18002f26a mov [rbx+68h], rdi ; +0x4d, 0x18002f26d lea rax, ??_7CCCallFuncO@cocos2d@@6BCCCallFunc@1@@; const cocos2d::CCCallFuncO::`vftable'{for `cocos2d::CCCallFunc'} ; +0x51, 0x18002f271 mov [rbx], rax ; +0x58, 0x18002f278 lea rax, ??_7CCCallFuncO@cocos2d@@6BTypeInfo@1@@; const cocos2d::CCCallFuncO::`vftable'{for `cocos2d::TypeInfo'} ; +0x5b, 0x18002f27b mov [rbx+70h], rax ; +0x62, 0x18002f282 mov [rbx+78h], rdi ; +0x66, 0x18002f286 jmp short loc_18002F28F ; +0x6a, 0x18002f28a mov rbx, rdi ; +0x6c, 0x18002f28c mov ecx, 8; Size ; +0x6f, 0x18002f28f call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x74, 0x18002f294 mov [rsp+28h+arg_0], rax ; +0x79, 0x18002f299 test rax, rax ; +0x7e, 0x18002f29e jz short loc_18002F2B0 ; +0x81, 0x18002f2a1 mov rdx, rbx; struct tinyxml2::XMLNode * ; +0x83, 0x18002f2a3 mov rcx, rax; this ; +0x86, 0x18002f2a6 call ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x89, 0x18002f2a9 jmp short loc_18002F2B3 ; +0x8e, 0x18002f2ae mov rax, rdi ; +0x90, 0x18002f2b0 mov rdi, rax ; +0x93, 0x18002f2b3 mov rdx, rax; struct cocos2d::CCZone * ; +0x96, 0x18002f2b6 mov rcx, rsi; this ; +0x99, 0x18002f2b9 call ?copyWithZone@CCCallFunc@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCCallFunc::copyWithZone(cocos2d::CCZone *) ; +0x9c, 0x18002f2bc mov r10, [rbx] ; +0xa1, 0x18002f2c1 mov r9, [rsi+78h] ; +0xa4, 0x18002f2c4 mov r8, [rsi+68h] ; +0xa8, 0x18002f2c8 mov rdx, [rsi+58h] ; +0xac, 0x18002f2cc mov rcx, rbx ; +0xb0, 0x18002f2d0 call qword ptr [r10+80h] ; +0xb3, 0x18002f2d3 test rdi, rdi ; +0xba, 0x18002f2da jz short loc_18002F2EC ; +0xbd, 0x18002f2dd mov edx, 8 ; +0xbf, 0x18002f2df mov rcx, rdi; Block ; +0xc4, 0x18002f2e4 call j_j_free_0 ; +0xc7, 0x18002f2e7 mov rax, rbx ; +0xcc, 0x18002f2ec mov rbx, [rsp+28h+arg_8] ; +0xcf, 0x18002f2ef mov rsi, [rsp+28h+arg_10] ; +0xd4, 0x18002f2f4 add rsp, 20h ; +0xd9, 0x18002f2f9 pop rdi ; +0xdd, 0x18002f2fd retn ; +0xde, 0x18002f2fe