{"type": "func", "start": 6442657440, "end": 6442657655, "name": "cocos2d::CCFadeOut::copyWithZone", "pseudocode": "// \n// cocos2d::CCFadeOut::copyWithZone from 0x1800326a0 to 0x180032777 (215 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800efc60\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba558\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:34 +0000\n// \n\nstruct cocos2d::CCObject *__fastcall cocos2d::CCFadeOut::copyWithZone(\n        cocos2d::CCFadeOut *this,\n        struct cocos2d::CCObject **a2)\n{\n  struct cocos2d::CCObject *v3; // rbx\n  struct tinyxml2::XMLNode *v5; // rax\n  struct tinyxml2::XMLNode *v6; // rbx\n  struct cocos2d::CCObject **v7; // rdi\n  tinyxml2::XMLHandle *v8; // rax\n\n  if ( a2 && (v3 = *a2) != nullptr )\n  {\n    cocos2d::CCActionInterval::copyWithZone(this, a2);\n    return v3;\n  }\n  else\n  {\n    v5 = (struct tinyxml2::XMLNode *)sub_1800E4AC0(0x60u);\n    v6 = v5;\n    if ( v5 )\n    {\n      *(_OWORD *)v5 = 0;\n      *((_OWORD *)v5 + 1) = 0;\n      *((_OWORD *)v5 + 2) = 0;\n      *((_OWORD *)v5 + 3) = 0;\n      *((_OWORD *)v5 + 4) = 0;\n      *((_OWORD *)v5 + 5) = 0;\n      cocos2d::CCAction::CCAction(v5);\n      v7 = nullptr;\n      *((_DWORD *)v6 + 20) = 0;\n      *(_QWORD *)v6 = &cocos2d::CCFadeOut::`vftable';\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::CCActionInterval::copyWithZone(this, v7);\n    if ( v7 )\n      j_j_free_0(v7);\n    return v6;\n  }\n}", "assembly": "; \n; cocos2d::CCFadeOut::copyWithZone from 0x1800326a0 to 0x180032777 (215 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800efc60\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba558\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:34 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800326a0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800326a5\npush    rdi                                                            ; +0xa, 0x1800326aa\nsub     rsp, 20h                                                       ; +0xb, 0x1800326ab\nmov     rsi, rcx                                                       ; +0xf, 0x1800326af\ntest    rdx, rdx                                                       ; +0x12, 0x1800326b2\njz      short loc_1800326D7                                            ; +0x15, 0x1800326b5\nmov     rbx, [rdx]                                                     ; +0x17, 0x1800326b7\ntest    rbx, rbx                                                       ; +0x1a, 0x1800326ba\njz      short loc_1800326D7                                            ; +0x1d, 0x1800326bd\ncall    ?copyWithZone@CCActionInterval@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInterval::copyWithZone(cocos2d::CCZone *) ; +0x1f, 0x1800326bf\nmov     rax, rbx                                                       ; +0x24, 0x1800326c4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x27, 0x1800326c7\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x2c, 0x1800326cc\nadd     rsp, 20h                                                       ; +0x31, 0x1800326d1\npop     rdi                                                            ; +0x35, 0x1800326d5\nretn                                                                   ; +0x36, 0x1800326d6\nmov     ecx, 60h ; '`'; Size                                           ; +0x37, 0x1800326d7\ncall    sub_1800E4AC0                                                  ; +0x3c, 0x1800326dc\nmov     rbx, rax                                                       ; +0x41, 0x1800326e1\nmov     [rsp+28h+arg_8], rax                                           ; +0x44, 0x1800326e4\ntest    rax, rax                                                       ; +0x49, 0x1800326e9\njz      short loc_180032721                                            ; +0x4c, 0x1800326ec\nxorps   xmm0, xmm0                                                     ; +0x4e, 0x1800326ee\nmovups  xmmword ptr [rax], xmm0                                        ; +0x51, 0x1800326f1\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x54, 0x1800326f4\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x58, 0x1800326f8\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x5c, 0x1800326fc\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x60, 0x180032700\nmovups  xmmword ptr [rax+50h], xmm0                                    ; +0x64, 0x180032704\nmov     rcx, rax; this                                                 ; +0x68, 0x180032708\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x6b, 0x18003270b\nxor     edi, edi                                                       ; +0x70, 0x180032710\nmov     [rbx+50h], edi                                                 ; +0x72, 0x180032712\nlea     rax, ??_7CCFadeOut@cocos2d@@6B@; const cocos2d::CCFadeOut::`vftable' ; +0x75, 0x180032715\nmov     [rbx], rax                                                     ; +0x7c, 0x18003271c\njmp     short loc_180032725                                            ; +0x7f, 0x18003271f\nxor     edi, edi                                                       ; +0x81, 0x180032721\nmov     ebx, edi                                                       ; +0x83, 0x180032723\nmov     ecx, 8; Size                                                   ; +0x85, 0x180032725\ncall    sub_1800E4AC0                                                  ; +0x8a, 0x18003272a\nmov     [rsp+28h+arg_8], rax                                           ; +0x8f, 0x18003272f\ntest    rax, rax                                                       ; +0x94, 0x180032734\njz      short loc_180032747                                            ; +0x97, 0x180032737\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x99, 0x180032739\nmov     rcx, rax; this                                                 ; +0x9c, 0x18003273c\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x9f, 0x18003273f\nmov     rdi, rax                                                       ; +0xa4, 0x180032744\nmov     rdx, rdi; struct cocos2d::CCZone *                             ; +0xa7, 0x180032747\nmov     rcx, rsi; this                                                 ; +0xaa, 0x18003274a\ncall    ?copyWithZone@CCActionInterval@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInterval::copyWithZone(cocos2d::CCZone *) ; +0xad, 0x18003274d\ntest    rdi, rdi                                                       ; +0xb2, 0x180032752\njz      short loc_180032764                                            ; +0xb5, 0x180032755\nmov     edx, 8                                                         ; +0xb7, 0x180032757\nmov     rcx, rdi; Block                                                ; +0xbc, 0x18003275c\ncall    j_j_free_0                                                     ; +0xbf, 0x18003275f\nmov     rax, rbx                                                       ; +0xc4, 0x180032764\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xc7, 0x180032767\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xcc, 0x18003276c\nadd     rsp, 20h                                                       ; +0xd1, 0x180032771\npop     rdi                                                            ; +0xd5, 0x180032775\nretn                                                                   ; +0xd6, 0x180032776", "xrefs": ["<???> @ 0x1800efc60", "<???> @ 0x18014cf68", "<???> @ 0x1801ba558"], "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"}