{"type": "func", "start": 6442646688, "end": 6442646913, "name": "cocos2d::CCPlace::copyWithZone", "pseudocode": "// \n// cocos2d::CCPlace::copyWithZone from 0x18002fca0 to 0x18002fd81 (225 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800ef0f0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba144\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:33 +0000\n// \n\n// Hidden C++ exception states: #wind=3\nstruct cocos2d::CCObject *__fastcall cocos2d::CCPlace::copyWithZone(\n        cocos2d::CCPlace *this,\n        struct cocos2d::CCObject **a2)\n{\n  struct cocos2d::CCObject *v3; // rbx\n  cocos2d::CCAction *v5; // rax\n  cocos2d::CCAction *v6; // rbx\n  struct cocos2d::CCObject **v7; // rdi\n  tinyxml2::XMLHandle *v8; // rax\n\n  if ( a2 && (v3 = *a2) != nullptr )\n  {\n    cocos2d::CCActionInstant::copyWithZone(this, a2);\n    cocos2d::CCSize::operator=((_DWORD *)v3 + 22, (_DWORD *)this + 22);\n    return v3;\n  }\n  else\n  {\n    v5 = (cocos2d::CCAction *)sub_1800E4AC0(0x60u);\n    v6 = v5;\n    if ( v5 )\n    {\n      cocos2d::CCAction::CCAction(v5);\n      v7 = nullptr;\n      *((_DWORD *)v6 + 20) = 0;\n      *(_QWORD *)v6 = &cocos2d::CCPlace::`vftable';\n      cocos2d::CCSize::CCSize((cocos2d::CCAction *)((char *)v6 + 88));\n    }\n    else\n    {\n      v7 = nullptr;\n      v6 = nullptr;\n    }\n    v8 = (tinyxml2::XMLHandle *)sub_1800E4AC0(8u);\n    if ( v8 )\n      v7 = (struct cocos2d::CCObject **)tinyxml2::XMLHandle::XMLHandle(v8, v6);\n    cocos2d::CCActionInstant::copyWithZone(this, v7);\n    cocos2d::CCSize::operator=((_DWORD *)v6 + 22, (_DWORD *)this + 22);\n    if ( v7 )\n      j_j_free_0(v7);\n    return v6;\n  }\n}", "assembly": "; \n; cocos2d::CCPlace::copyWithZone from 0x18002fca0 to 0x18002fd81 (225 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800ef0f0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba144\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:33 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18002fca0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x18002fca5\npush    rdi                                                            ; +0xa, 0x18002fcaa\nsub     rsp, 20h                                                       ; +0xb, 0x18002fcab\nmov     rsi, rcx                                                       ; +0xf, 0x18002fcaf\ntest    rdx, rdx                                                       ; +0x12, 0x18002fcb2\njz      short loc_18002FCE4                                            ; +0x15, 0x18002fcb5\nmov     rbx, [rdx]                                                     ; +0x17, 0x18002fcb7\ntest    rbx, rbx                                                       ; +0x1a, 0x18002fcba\njz      short loc_18002FCE4                                            ; +0x1d, 0x18002fcbd\ncall    ?copyWithZone@CCActionInstant@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInstant::copyWithZone(cocos2d::CCZone *) ; +0x1f, 0x18002fcbf\nlea     rdx, [rsi+58h]                                                 ; +0x24, 0x18002fcc4\nlea     rcx, [rbx+58h]                                                 ; +0x28, 0x18002fcc8\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x2c, 0x18002fccc\nmov     rax, rbx                                                       ; +0x31, 0x18002fcd1\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x34, 0x18002fcd4\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x39, 0x18002fcd9\nadd     rsp, 20h                                                       ; +0x3e, 0x18002fcde\npop     rdi                                                            ; +0x42, 0x18002fce2\nretn                                                                   ; +0x43, 0x18002fce3\nmov     ecx, 60h ; '`'; Size                                           ; +0x44, 0x18002fce4\ncall    sub_1800E4AC0                                                  ; +0x49, 0x18002fce9\nmov     rbx, rax                                                       ; +0x4e, 0x18002fcee\nmov     [rsp+28h+arg_0], rax                                           ; +0x51, 0x18002fcf1\ntest    rax, rax                                                       ; +0x56, 0x18002fcf6\njz      short loc_18002FD1E                                            ; +0x59, 0x18002fcf9\nmov     rcx, rax; this                                                 ; +0x5b, 0x18002fcfb\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x5e, 0x18002fcfe\nxor     edi, edi                                                       ; +0x63, 0x18002fd03\nmov     [rbx+50h], edi                                                 ; +0x65, 0x18002fd05\nlea     rax, ??_7CCPlace@cocos2d@@6B@; const cocos2d::CCPlace::`vftable' ; +0x68, 0x18002fd08\nmov     [rbx], rax                                                     ; +0x6f, 0x18002fd0f\nlea     rcx, [rbx+58h]; this                                           ; +0x72, 0x18002fd12\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x76, 0x18002fd16\nnop                                                                    ; +0x7b, 0x18002fd1b\njmp     short loc_18002FD22                                            ; +0x7c, 0x18002fd1c\nxor     edi, edi                                                       ; +0x7e, 0x18002fd1e\nmov     ebx, edi                                                       ; +0x80, 0x18002fd20\nmov     ecx, 8; Size                                                   ; +0x82, 0x18002fd22\ncall    sub_1800E4AC0                                                  ; +0x87, 0x18002fd27\nmov     [rsp+28h+arg_0], rax                                           ; +0x8c, 0x18002fd2c\ntest    rax, rax                                                       ; +0x91, 0x18002fd31\njz      short loc_18002FD44                                            ; +0x94, 0x18002fd34\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x96, 0x18002fd36\nmov     rcx, rax; this                                                 ; +0x99, 0x18002fd39\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x9c, 0x18002fd3c\nmov     rdi, rax                                                       ; +0xa1, 0x18002fd41\nmov     rdx, rdi; struct cocos2d::CCZone *                             ; +0xa4, 0x18002fd44\nmov     rcx, rsi; this                                                 ; +0xa7, 0x18002fd47\ncall    ?copyWithZone@CCActionInstant@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInstant::copyWithZone(cocos2d::CCZone *) ; +0xaa, 0x18002fd4a\nlea     rdx, [rsi+58h]                                                 ; +0xaf, 0x18002fd4f\nlea     rcx, [rbx+58h]                                                 ; +0xb3, 0x18002fd53\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0xb7, 0x18002fd57\ntest    rdi, rdi                                                       ; +0xbc, 0x18002fd5c\njz      short loc_18002FD6E                                            ; +0xbf, 0x18002fd5f\nmov     edx, 8                                                         ; +0xc1, 0x18002fd61\nmov     rcx, rdi; Block                                                ; +0xc6, 0x18002fd66\ncall    j_j_free_0                                                     ; +0xc9, 0x18002fd69\nmov     rax, rbx                                                       ; +0xce, 0x18002fd6e\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xd1, 0x18002fd71\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xd6, 0x18002fd76\nadd     rsp, 20h                                                       ; +0xdb, 0x18002fd7b\npop     rdi                                                            ; +0xdf, 0x18002fd7f\nretn                                                                   ; +0xe0, 0x18002fd80", "xrefs": ["<???> @ 0x1800ef0f0", "<???> @ 0x18014cf68", "<???> @ 0x1801ba144"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}