{"type": "func", "start": 6442660656, "end": 6442660919, "name": "cocos2d::CCScaleTo::copyWithZone", "pseudocode": "// \n// cocos2d::CCScaleTo::copyWithZone from 0x180033330 to 0x180033437 (263 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCScaleBy::copyWithZone @ 0x1800332c3\n// > <???> @ 0x1800efa80\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba5e8\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::CCScaleTo::copyWithZone(\n        cocos2d::CCScaleTo *this,\n        struct cocos2d::CCZone *a2)\n{\n  struct cocos2d::CCZone *v2; // rax\n  struct cocos2d::CCZone *v4; // rdi\n  cocos2d::CCAction *v5; // rbx\n  cocos2d::CCAction *v6; // rax\n  int v7; // xmm2_4\n  int v8; // xmm3_4\n  float v9; // xmm1_4\n\n  v2 = a2;\n  v4 = nullptr;\n  if ( !a2 || (v5 = *(cocos2d::CCAction **)a2) == nullptr )\n  {\n    v6 = (cocos2d::CCAction *)sub_1800E4AC0(0x80u);\n    v5 = v6;\n    if ( v6 )\n    {\n      *(_OWORD *)v6 = 0;\n      *((_OWORD *)v6 + 1) = 0;\n      *((_OWORD *)v6 + 2) = 0;\n      *((_OWORD *)v6 + 3) = 0;\n      *((_OWORD *)v6 + 4) = 0;\n      *((_OWORD *)v6 + 5) = 0;\n      *((_OWORD *)v6 + 6) = 0;\n      *((_OWORD *)v6 + 7) = 0;\n      cocos2d::CCAction::CCAction(v6);\n      *((_DWORD *)v5 + 20) = 0;\n      *(_QWORD *)v5 = &cocos2d::CCScaleTo::`vftable';\n    }\n    else\n    {\n      v5 = nullptr;\n    }\n    v2 = (struct cocos2d::CCZone *)sub_1800E4AC0(8u);\n    if ( v2 )\n      v2 = tinyxml2::XMLHandle::XMLHandle(v2, v5);\n    v4 = v2;\n  }\n  cocos2d::CCActionInterval::copyWithZone(this, (struct cocos2d::CCObject **)v2);\n  v7 = *((_DWORD *)this + 29);\n  v8 = *((_DWORD *)this + 28);\n  v9 = *((float *)this + 20);\n  *((float *)v5 + 20) = v9;\n  if ( v9 == 0.0 )\n    *((_DWORD *)v5 + 20) = 872415232;\n  *((_DWORD *)v5 + 22) = 0;\n  *((_BYTE *)v5 + 92) = 1;\n  *((_DWORD *)v5 + 28) = v8;\n  *((_DWORD *)v5 + 29) = v7;\n  if ( v4 )\n    j_j_free_0(v4);\n  return v5;\n}", "assembly": "; \n; cocos2d::CCScaleTo::copyWithZone from 0x180033330 to 0x180033437 (263 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCScaleBy::copyWithZone @ 0x1800332c3\n; > <???> @ 0x1800efa80\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba5e8\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_8], rbx                                               ; +0x0, 0x180033330\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180033335\npush    rdi                                                            ; +0xa, 0x18003333a\nsub     rsp, 20h                                                       ; +0xb, 0x18003333b\nmov     rax, rdx                                                       ; +0xf, 0x18003333f\nmov     rsi, rcx                                                       ; +0x12, 0x180033342\nxor     edi, edi                                                       ; +0x15, 0x180033345\ntest    rdx, rdx                                                       ; +0x17, 0x180033347\njz      short loc_180033354                                            ; +0x1a, 0x18003334a\nmov     rbx, [rdx]                                                     ; +0x1c, 0x18003334c\ntest    rbx, rbx                                                       ; +0x1f, 0x18003334f\njnz     short loc_1800333CD                                            ; +0x22, 0x180033352\nmov     ecx, 80h; Size                                                 ; +0x24, 0x180033354\ncall    sub_1800E4AC0                                                  ; +0x29, 0x180033359\nmov     rbx, rax                                                       ; +0x2e, 0x18003335e\nmov     [rsp+28h+arg_0], rax                                           ; +0x31, 0x180033361\ntest    rax, rax                                                       ; +0x36, 0x180033366\njz      short loc_1800333A8                                            ; +0x39, 0x180033369\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x18003336b\nmovups  xmmword ptr [rax], xmm0                                        ; +0x3e, 0x18003336e\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x41, 0x180033371\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x45, 0x180033375\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x49, 0x180033379\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x4d, 0x18003337d\nmovups  xmmword ptr [rax+50h], xmm0                                    ; +0x51, 0x180033381\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x55, 0x180033385\nmovups  xmmword ptr [rax+70h], xmm0                                    ; +0x59, 0x180033389\nmov     rcx, rax; this                                                 ; +0x5d, 0x18003338d\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x60, 0x180033390\nmov     dword ptr [rbx+50h], 0                                         ; +0x65, 0x180033395\nlea     rax, ??_7CCScaleTo@cocos2d@@6B@; const cocos2d::CCScaleTo::`vftable' ; +0x6c, 0x18003339c\nmov     [rbx], rax                                                     ; +0x73, 0x1800333a3\njmp     short loc_1800333AA                                            ; +0x76, 0x1800333a6\nxor     ebx, ebx                                                       ; +0x78, 0x1800333a8\nmov     ecx, 8; Size                                                   ; +0x7a, 0x1800333aa\ncall    sub_1800E4AC0                                                  ; +0x7f, 0x1800333af\nmov     [rsp+28h+arg_0], rax                                           ; +0x84, 0x1800333b4\ntest    rax, rax                                                       ; +0x89, 0x1800333b9\njz      short loc_1800333CA                                            ; +0x8c, 0x1800333bc\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x8e, 0x1800333be\nmov     rcx, rax; this                                                 ; +0x91, 0x1800333c1\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x94, 0x1800333c4\nnop                                                                    ; +0x99, 0x1800333c9\nmov     rdi, rax                                                       ; +0x9a, 0x1800333ca\nmov     rdx, rax; struct cocos2d::CCZone *                             ; +0x9d, 0x1800333cd\nmov     rcx, rsi; this                                                 ; +0xa0, 0x1800333d0\ncall    ?copyWithZone@CCActionInterval@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInterval::copyWithZone(cocos2d::CCZone *) ; +0xa3, 0x1800333d3\nmovss   xmm2, dword ptr [rsi+74h]                                      ; +0xa8, 0x1800333d8\nmovss   xmm3, dword ptr [rsi+70h]                                      ; +0xad, 0x1800333dd\nmovss   xmm1, dword ptr [rsi+50h]                                      ; +0xb2, 0x1800333e2\nmovss   dword ptr [rbx+50h], xmm1                                      ; +0xb7, 0x1800333e7\nxorps   xmm0, xmm0                                                     ; +0xbc, 0x1800333ec\nucomiss xmm1, xmm0                                                     ; +0xbf, 0x1800333ef\njp      short loc_1800333FD                                            ; +0xc2, 0x1800333f2\njnz     short loc_1800333FD                                            ; +0xc4, 0x1800333f4\nmov     dword ptr [rbx+50h], 34000000h                                 ; +0xc6, 0x1800333f6\nmov     dword ptr [rbx+58h], 0                                         ; +0xcd, 0x1800333fd\nmov     byte ptr [rbx+5Ch], 1                                          ; +0xd4, 0x180033404\nmovss   dword ptr [rbx+70h], xmm3                                      ; +0xd8, 0x180033408\nmovss   dword ptr [rbx+74h], xmm2                                      ; +0xdd, 0x18003340d\ntest    rdi, rdi                                                       ; +0xe2, 0x180033412\njz      short loc_180033424                                            ; +0xe5, 0x180033415\nmov     edx, 8                                                         ; +0xe7, 0x180033417\nmov     rcx, rdi; Block                                                ; +0xec, 0x18003341c\ncall    j_j_free_0                                                     ; +0xef, 0x18003341f\nmov     rax, rbx                                                       ; +0xf4, 0x180033424\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xf7, 0x180033427\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xfc, 0x18003342c\nadd     rsp, 20h                                                       ; +0x101, 0x180033431\npop     rdi                                                            ; +0x105, 0x180033435\nretn                                                                   ; +0x106, 0x180033436", "xrefs": ["cocos2d::CCScaleBy::copyWithZone @ 0x1800332c3", "<???> @ 0x1800efa80", "<???> @ 0x18014cf68", "<???> @ 0x1801ba5e8"], "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"}