{"type": "func", "start": 6442660384, "end": 6442660647, "name": "cocos2d::CCScaleBy::copyWithZone", "pseudocode": "// \n// cocos2d::CCScaleBy::copyWithZone from 0x180033220 to 0x180033327 (263 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800efaf8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801ba5dc\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\n// Hidden C++ exception states: #wind=2\nstruct cocos2d::CCObject *__fastcall cocos2d::CCScaleBy::copyWithZone(\n        cocos2d::CCScaleBy *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::CCScaleBy::`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::CCScaleTo::copyWithZone(this, 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::CCScaleBy::copyWithZone from 0x180033220 to 0x180033327 (263 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800efaf8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801ba5dc\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, 0x180033220\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180033225\npush    rdi                                                            ; +0xa, 0x18003322a\nsub     rsp, 20h                                                       ; +0xb, 0x18003322b\nmov     rax, rdx                                                       ; +0xf, 0x18003322f\nmov     rsi, rcx                                                       ; +0x12, 0x180033232\nxor     edi, edi                                                       ; +0x15, 0x180033235\ntest    rdx, rdx                                                       ; +0x17, 0x180033237\njz      short loc_180033244                                            ; +0x1a, 0x18003323a\nmov     rbx, [rdx]                                                     ; +0x1c, 0x18003323c\ntest    rbx, rbx                                                       ; +0x1f, 0x18003323f\njnz     short loc_1800332BD                                            ; +0x22, 0x180033242\nmov     ecx, 80h; Size                                                 ; +0x24, 0x180033244\ncall    sub_1800E4AC0                                                  ; +0x29, 0x180033249\nmov     rbx, rax                                                       ; +0x2e, 0x18003324e\nmov     [rsp+28h+arg_0], rax                                           ; +0x31, 0x180033251\ntest    rax, rax                                                       ; +0x36, 0x180033256\njz      short loc_180033298                                            ; +0x39, 0x180033259\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x18003325b\nmovups  xmmword ptr [rax], xmm0                                        ; +0x3e, 0x18003325e\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x41, 0x180033261\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x45, 0x180033265\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x49, 0x180033269\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x4d, 0x18003326d\nmovups  xmmword ptr [rax+50h], xmm0                                    ; +0x51, 0x180033271\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x55, 0x180033275\nmovups  xmmword ptr [rax+70h], xmm0                                    ; +0x59, 0x180033279\nmov     rcx, rax; this                                                 ; +0x5d, 0x18003327d\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x60, 0x180033280\nmov     dword ptr [rbx+50h], 0                                         ; +0x65, 0x180033285\nlea     rax, ??_7CCScaleBy@cocos2d@@6B@; const cocos2d::CCScaleBy::`vftable' ; +0x6c, 0x18003328c\nmov     [rbx], rax                                                     ; +0x73, 0x180033293\njmp     short loc_18003329A                                            ; +0x76, 0x180033296\nxor     ebx, ebx                                                       ; +0x78, 0x180033298\nmov     ecx, 8; Size                                                   ; +0x7a, 0x18003329a\ncall    sub_1800E4AC0                                                  ; +0x7f, 0x18003329f\nmov     [rsp+28h+arg_0], rax                                           ; +0x84, 0x1800332a4\ntest    rax, rax                                                       ; +0x89, 0x1800332a9\njz      short loc_1800332BA                                            ; +0x8c, 0x1800332ac\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x8e, 0x1800332ae\nmov     rcx, rax; this                                                 ; +0x91, 0x1800332b1\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x94, 0x1800332b4\nnop                                                                    ; +0x99, 0x1800332b9\nmov     rdi, rax                                                       ; +0x9a, 0x1800332ba\nmov     rdx, rax; struct cocos2d::CCZone *                             ; +0x9d, 0x1800332bd\nmov     rcx, rsi; this                                                 ; +0xa0, 0x1800332c0\ncall    ?copyWithZone@CCScaleTo@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCScaleTo::copyWithZone(cocos2d::CCZone *) ; +0xa3, 0x1800332c3\nmovss   xmm2, dword ptr [rsi+74h]                                      ; +0xa8, 0x1800332c8\nmovss   xmm3, dword ptr [rsi+70h]                                      ; +0xad, 0x1800332cd\nmovss   xmm1, dword ptr [rsi+50h]                                      ; +0xb2, 0x1800332d2\nmovss   dword ptr [rbx+50h], xmm1                                      ; +0xb7, 0x1800332d7\nxorps   xmm0, xmm0                                                     ; +0xbc, 0x1800332dc\nucomiss xmm1, xmm0                                                     ; +0xbf, 0x1800332df\njp      short loc_1800332ED                                            ; +0xc2, 0x1800332e2\njnz     short loc_1800332ED                                            ; +0xc4, 0x1800332e4\nmov     dword ptr [rbx+50h], 34000000h                                 ; +0xc6, 0x1800332e6\nmov     dword ptr [rbx+58h], 0                                         ; +0xcd, 0x1800332ed\nmov     byte ptr [rbx+5Ch], 1                                          ; +0xd4, 0x1800332f4\nmovss   dword ptr [rbx+70h], xmm3                                      ; +0xd8, 0x1800332f8\nmovss   dword ptr [rbx+74h], xmm2                                      ; +0xdd, 0x1800332fd\ntest    rdi, rdi                                                       ; +0xe2, 0x180033302\njz      short loc_180033314                                            ; +0xe5, 0x180033305\nmov     edx, 8                                                         ; +0xe7, 0x180033307\nmov     rcx, rdi; Block                                                ; +0xec, 0x18003330c\ncall    j_j_free_0                                                     ; +0xef, 0x18003330f\nmov     rax, rbx                                                       ; +0xf4, 0x180033314\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xf7, 0x180033317\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xfc, 0x18003331c\nadd     rsp, 20h                                                       ; +0x101, 0x180033321\npop     rdi                                                            ; +0x105, 0x180033325\nretn                                                                   ; +0x106, 0x180033326", "xrefs": ["<???> @ 0x1800efaf8", "<???> @ 0x18014cf68", "<???> @ 0x1801ba5dc"], "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"}