; ; cocos2d::CCCallFunc::copyWithZone from 0x18002f670 to 0x18002f757 (231 bytes) ; ; 6 xrefs: ; > cocos2d::CCCallFuncN::copyWithZone @ 0x18002f7f8 ; > cocos2d::CCCallFuncND::copyWithZone @ 0x18002f8fe ; > cocos2d::CCCallFuncO::copyWithZone @ 0x18002f9ec ; > @ 0x1800ef168 ; > @ 0x18014cf68 ; > @ 0x1801ba0f0 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:21:33 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x18002f670 mov [rsp+arg_10], rsi ; +0x5, 0x18002f675 push rdi ; +0xa, 0x18002f67a sub rsp, 20h ; +0xb, 0x18002f67b mov rax, rdx ; +0xf, 0x18002f67f mov rsi, rcx ; +0x12, 0x18002f682 xor edi, edi ; +0x15, 0x18002f685 test rdx, rdx ; +0x17, 0x18002f687 jz short loc_18002F694 ; +0x1a, 0x18002f68a mov rbx, [rdx] ; +0x1c, 0x18002f68c test rbx, rbx ; +0x1f, 0x18002f68f jnz short loc_18002F6F7 ; +0x22, 0x18002f692 mov ecx, 70h ; 'p'; Size ; +0x24, 0x18002f694 call sub_1800E4AC0 ; +0x29, 0x18002f699 mov rbx, rax ; +0x2e, 0x18002f69e mov [rsp+28h+arg_0], rax ; +0x31, 0x18002f6a1 test rax, rax ; +0x36, 0x18002f6a6 jz short loc_18002F6CD ; +0x39, 0x18002f6a9 mov rcx, rax; this ; +0x3b, 0x18002f6ab call ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x3e, 0x18002f6ae mov [rbx+50h], edi ; +0x43, 0x18002f6b3 lea rax, ??_7CCCallFunc@cocos2d@@6B@; const cocos2d::CCCallFunc::`vftable' ; +0x46, 0x18002f6b6 mov [rbx], rax ; +0x4d, 0x18002f6bd mov [rbx+58h], rdi ; +0x50, 0x18002f6c0 mov [rbx+60h], edi ; +0x54, 0x18002f6c4 mov [rbx+68h], rdi ; +0x57, 0x18002f6c7 jmp short loc_18002F6D0 ; +0x5b, 0x18002f6cb mov rbx, rdi ; +0x5d, 0x18002f6cd mov ecx, 8; Size ; +0x60, 0x18002f6d0 call sub_1800E4AC0 ; +0x65, 0x18002f6d5 mov [rsp+28h+arg_0], rax ; +0x6a, 0x18002f6da test rax, rax ; +0x6f, 0x18002f6df jz short loc_18002F6F1 ; +0x72, 0x18002f6e2 mov rdx, rbx; struct tinyxml2::XMLNode * ; +0x74, 0x18002f6e4 mov rcx, rax; this ; +0x77, 0x18002f6e7 call ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x7a, 0x18002f6ea jmp short loc_18002F6F4 ; +0x7f, 0x18002f6ef mov rax, rdi ; +0x81, 0x18002f6f1 mov rdi, rax ; +0x84, 0x18002f6f4 mov rdx, rax; struct cocos2d::CCZone * ; +0x87, 0x18002f6f7 mov rcx, rsi; this ; +0x8a, 0x18002f6fa call ?copyWithZone@CCActionInstant@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInstant::copyWithZone(cocos2d::CCZone *) ; +0x8d, 0x18002f6fd mov rax, [rbx] ; +0x92, 0x18002f702 mov rdx, [rsi+58h] ; +0x95, 0x18002f705 mov rcx, rbx ; +0x99, 0x18002f709 call qword ptr [rax+70h] ; +0x9c, 0x18002f70c mov rax, [rsi+68h] ; +0x9f, 0x18002f70f mov [rbx+68h], rax ; +0xa3, 0x18002f713 cmp dword ptr [rsi+60h], 0 ; +0xa7, 0x18002f717 jle short loc_18002F732 ; +0xab, 0x18002f71b call ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0xad, 0x18002f71d mov rcx, [rax] ; +0xb2, 0x18002f722 mov r8, [rcx] ; +0xb5, 0x18002f725 mov edx, [rsi+60h] ; +0xb8, 0x18002f728 call qword ptr [r8+20h] ; +0xbb, 0x18002f72b mov [rbx+60h], eax ; +0xbf, 0x18002f72f test rdi, rdi ; +0xc2, 0x18002f732 jz short loc_18002F744 ; +0xc5, 0x18002f735 mov edx, 8 ; +0xc7, 0x18002f737 mov rcx, rdi; Block ; +0xcc, 0x18002f73c call j_j_free_0 ; +0xcf, 0x18002f73f mov rax, rbx ; +0xd4, 0x18002f744 mov rbx, [rsp+28h+arg_8] ; +0xd7, 0x18002f747 mov rsi, [rsp+28h+arg_10] ; +0xdc, 0x18002f74c add rsp, 20h ; +0xe1, 0x18002f751 pop rdi ; +0xe5, 0x18002f755 retn ; +0xe6, 0x18002f756