{"type": "func", "start": 6442686864, "end": 6442687105, "name": "cocos2d::CCProgressTo::copyWithZone", "pseudocode": "// \n// cocos2d::CCProgressTo::copyWithZone from 0x180039990 to 0x180039a81 (241 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f0198\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801badd4\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:36 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nstruct cocos2d::CCObject *__fastcall cocos2d::CCProgressTo::copyWithZone(\n        cocos2d::CCProgressTo *this,\n        struct cocos2d::CCZone *a2)\n{\n  tinyxml2::XMLHandle *v2; // rax\n  tinyxml2::XMLHandle *v4; // rdi\n  __int64 v5; // rbx\n  tinyxml2::XMLHandle *v6; // rax\n  int v7; // xmm6_4\n\n  v2 = a2;\n  v4 = nullptr;\n  if ( !a2 || (v5 = *(_QWORD *)a2) == 0 )\n  {\n    v5 = sub_1800E4AC0(0x68u);\n    if ( v5 )\n    {\n      *(_OWORD *)v5 = 0;\n      *(_OWORD *)(v5 + 16) = 0;\n      *(_OWORD *)(v5 + 32) = 0;\n      *(_OWORD *)(v5 + 48) = 0;\n      *(_OWORD *)(v5 + 64) = 0;\n      *(_OWORD *)(v5 + 80) = 0;\n      *(_QWORD *)(v5 + 96) = 0;\n      cocos2d::CCAction::CCAction((cocos2d::CCAction *)v5);\n      *(_DWORD *)(v5 + 80) = 0;\n      *(_QWORD *)v5 = &cocos2d::CCProgressTo::`vftable';\n    }\n    else\n    {\n      v5 = 0;\n    }\n    v6 = (tinyxml2::XMLHandle *)sub_1800E4AC0(8u);\n    if ( v6 )\n      v2 = tinyxml2::XMLHandle::XMLHandle(v6, (struct tinyxml2::XMLNode *)v5);\n    else\n      v2 = nullptr;\n    v4 = v2;\n  }\n  cocos2d::CCActionInterval::copyWithZone(this, (struct cocos2d::CCObject **)v2);\n  v7 = *((_DWORD *)this + 24);\n  if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v5, *((float *)this + 20)) )\n    *(_DWORD *)(v5 + 96) = v7;\n  if ( v4 )\n    j_j_free_0(v4);\n  return (struct cocos2d::CCObject *)v5;\n}", "assembly": "; \n; cocos2d::CCProgressTo::copyWithZone from 0x180039990 to 0x180039a81 (241 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f0198\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801badd4\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:36 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180039990\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180039995\npush    rdi                                                            ; +0xa, 0x18003999a\nsub     rsp, 30h                                                       ; +0xb, 0x18003999b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x18003999f\nmov     rax, rdx                                                       ; +0x14, 0x1800399a4\nmov     rsi, rcx                                                       ; +0x17, 0x1800399a7\nxor     edi, edi                                                       ; +0x1a, 0x1800399aa\ntest    rdx, rdx                                                       ; +0x1c, 0x1800399ac\njz      short loc_1800399B9                                            ; +0x1f, 0x1800399af\nmov     rbx, [rdx]                                                     ; +0x21, 0x1800399b1\ntest    rbx, rbx                                                       ; +0x24, 0x1800399b4\njnz     short loc_180039A31                                            ; +0x27, 0x1800399b7\nmov     ecx, 68h ; 'h'; Size                                           ; +0x29, 0x1800399b9\ncall    sub_1800E4AC0                                                  ; +0x2e, 0x1800399be\nmov     rbx, rax                                                       ; +0x33, 0x1800399c3\nmov     [rsp+38h+arg_0], rax                                           ; +0x36, 0x1800399c6\ntest    rax, rax                                                       ; +0x3b, 0x1800399cb\njz      short loc_180039A07                                            ; +0x3e, 0x1800399ce\nxorps   xmm0, xmm0                                                     ; +0x40, 0x1800399d0\nxor     eax, eax                                                       ; +0x43, 0x1800399d3\nmovups  xmmword ptr [rbx], xmm0                                        ; +0x45, 0x1800399d5\nmovups  xmmword ptr [rbx+10h], xmm0                                    ; +0x48, 0x1800399d8\nmovups  xmmword ptr [rbx+20h], xmm0                                    ; +0x4c, 0x1800399dc\nmovups  xmmword ptr [rbx+30h], xmm0                                    ; +0x50, 0x1800399e0\nmovups  xmmword ptr [rbx+40h], xmm0                                    ; +0x54, 0x1800399e4\nmovups  xmmword ptr [rbx+50h], xmm0                                    ; +0x58, 0x1800399e8\nmov     [rbx+60h], rax                                                 ; +0x5c, 0x1800399ec\nmov     rcx, rbx; this                                                 ; +0x60, 0x1800399f0\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x63, 0x1800399f3\nmov     [rbx+50h], edi                                                 ; +0x68, 0x1800399f8\nlea     rax, ??_7CCProgressTo@cocos2d@@6B@; const cocos2d::CCProgressTo::`vftable' ; +0x6b, 0x1800399fb\nmov     [rbx], rax                                                     ; +0x72, 0x180039a02\njmp     short loc_180039A0A                                            ; +0x75, 0x180039a05\nmov     rbx, rdi                                                       ; +0x77, 0x180039a07\nmov     ecx, 8; Size                                                   ; +0x7a, 0x180039a0a\ncall    sub_1800E4AC0                                                  ; +0x7f, 0x180039a0f\nmov     [rsp+38h+arg_0], rax                                           ; +0x84, 0x180039a14\ntest    rax, rax                                                       ; +0x89, 0x180039a19\njz      short loc_180039A2B                                            ; +0x8c, 0x180039a1c\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x8e, 0x180039a1e\nmov     rcx, rax; this                                                 ; +0x91, 0x180039a21\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x94, 0x180039a24\njmp     short loc_180039A2E                                            ; +0x99, 0x180039a29\nmov     rax, rdi                                                       ; +0x9b, 0x180039a2b\nmov     rdi, rax                                                       ; +0x9e, 0x180039a2e\nmov     rdx, rax; struct cocos2d::CCZone *                             ; +0xa1, 0x180039a31\nmov     rcx, rsi; this                                                 ; +0xa4, 0x180039a34\ncall    ?copyWithZone@CCActionInterval@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInterval::copyWithZone(cocos2d::CCZone *) ; +0xa7, 0x180039a37\nmovss   xmm6, dword ptr [rsi+60h]                                      ; +0xac, 0x180039a3c\nmovss   xmm1, dword ptr [rsi+50h]; float                               ; +0xb1, 0x180039a41\nmov     rcx, rbx; this                                                 ; +0xb6, 0x180039a46\ncall    ?initWithDuration@CCActionInterval@cocos2d@@QEAA_NM@Z; cocos2d::CCActionInterval::initWithDuration(float) ; +0xb9, 0x180039a49\ntest    al, al                                                         ; +0xbe, 0x180039a4e\njz      short loc_180039A57                                            ; +0xc0, 0x180039a50\nmovss   dword ptr [rbx+60h], xmm6                                      ; +0xc2, 0x180039a52\ntest    rdi, rdi                                                       ; +0xc7, 0x180039a57\njz      short loc_180039A69                                            ; +0xca, 0x180039a5a\nmov     edx, 8                                                         ; +0xcc, 0x180039a5c\nmov     rcx, rdi; Block                                                ; +0xd1, 0x180039a61\ncall    j_j_free_0                                                     ; +0xd4, 0x180039a64\nmov     rax, rbx                                                       ; +0xd9, 0x180039a69\nmov     rbx, [rsp+38h+arg_8]                                           ; +0xdc, 0x180039a6c\nmov     rsi, [rsp+38h+arg_10]                                          ; +0xe1, 0x180039a71\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xe6, 0x180039a76\nadd     rsp, 30h                                                       ; +0xeb, 0x180039a7b\npop     rdi                                                            ; +0xef, 0x180039a7f\nretn                                                                   ; +0xf0, 0x180039a80", "xrefs": ["<???> @ 0x1800f0198", "<???> @ 0x18014cf68", "<???> @ 0x1801badd4"], "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"}