{"type": "func", "start": 6442658480, "end": 6442658713, "name": "cocos2d::CCRotateTo::copyWithZone", "pseudocode": "// \n// cocos2d::CCRotateTo::copyWithZone from 0x180032ab0 to 0x180032b99 (233 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e9558\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b04b0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\ncocos2d::CCAction *__fastcall cocos2d::CCRotateTo::copyWithZone(cocos2d::CCRotateTo *this, void **a2)\n{\n  tinyxml2::XMLHandle *v2; // rax\n  tinyxml2::XMLHandle *v4; // rdi\n  cocos2d::CCAction *v5; // rbx\n  tinyxml2::XMLHandle *v6; // rax\n\n  v2 = (tinyxml2::XMLHandle *)a2;\n  v4 = nullptr;\n  if ( !a2 || (v5 = (cocos2d::CCAction *)*a2) == nullptr )\n  {\n    v5 = (cocos2d::CCAction *)operator new(0x78u);\n    if ( v5 )\n    {\n      *(_OWORD *)&v5->__vftable = 0;\n      *(_OWORD *)&v5->cocos2d::CCObject::m_nTag = 0;\n      *(_OWORD *)&v5->m_uIndexInArray = 0;\n      *(_OWORD *)&v5->m_uOrderOfArrival = 0;\n      *(_OWORD *)&v5->m_pTarget = 0;\n      *(_OWORD *)&v5[1].__vftable = 0;\n      *(_OWORD *)&v5[1].cocos2d::CCObject::m_nTag = 0;\n      *(_QWORD *)&v5[1].m_uIndexInArray = 0;\n      cocos2d::CCAction::CCAction(v5);\n      LODWORD(v5[1].__vftable) = 0;\n      v5->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCRotateTo::`vftable';\n    }\n    else\n    {\n      v5 = nullptr;\n    }\n    v6 = (tinyxml2::XMLHandle *)operator new(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  ((void (__fastcall *)(cocos2d::CCAction *))v5->__vftable[1].~CCAction)(v5);\n  if ( v4 )\n    j_j_free_0(v4);\n  return v5;\n}", "assembly": "; \n; cocos2d::CCRotateTo::copyWithZone from 0x180032ab0 to 0x180032b99 (233 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e9558\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b04b0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180032ab0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180032ab5\npush    rdi                                                            ; +0xa, 0x180032aba\nsub     rsp, 20h                                                       ; +0xb, 0x180032abb\nmov     rax, rdx                                                       ; +0xf, 0x180032abf\nmov     rsi, rcx                                                       ; +0x12, 0x180032ac2\nxor     edi, edi                                                       ; +0x15, 0x180032ac5\ntest    rdx, rdx                                                       ; +0x17, 0x180032ac7\njz      short loc_180032AD4                                            ; +0x1a, 0x180032aca\nmov     rbx, [rdx]                                                     ; +0x1c, 0x180032acc\ntest    rbx, rbx                                                       ; +0x1f, 0x180032acf\njnz     short loc_180032B50                                            ; +0x22, 0x180032ad2\nmov     ecx, 78h ; 'x'; Size                                           ; +0x24, 0x180032ad4\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x29, 0x180032ad9\nmov     rbx, rax                                                       ; +0x2e, 0x180032ade\nmov     [rsp+28h+arg_0], rax                                           ; +0x31, 0x180032ae1\ntest    rax, rax                                                       ; +0x36, 0x180032ae6\njz      short loc_180032B26                                            ; +0x39, 0x180032ae9\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x180032aeb\nxor     eax, eax                                                       ; +0x3e, 0x180032aee\nmovups  xmmword ptr [rbx], xmm0                                        ; +0x40, 0x180032af0\nmovups  xmmword ptr [rbx+10h], xmm0                                    ; +0x43, 0x180032af3\nmovups  xmmword ptr [rbx+20h], xmm0                                    ; +0x47, 0x180032af7\nmovups  xmmword ptr [rbx+30h], xmm0                                    ; +0x4b, 0x180032afb\nmovups  xmmword ptr [rbx+40h], xmm0                                    ; +0x4f, 0x180032aff\nmovups  xmmword ptr [rbx+50h], xmm0                                    ; +0x53, 0x180032b03\nmovups  xmmword ptr [rbx+60h], xmm0                                    ; +0x57, 0x180032b07\nmov     [rbx+70h], rax                                                 ; +0x5b, 0x180032b0b\nmov     rcx, rbx; this                                                 ; +0x5f, 0x180032b0f\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x62, 0x180032b12\nmov     [rbx+50h], edi                                                 ; +0x67, 0x180032b17\nlea     rax, ??_7CCRotateTo@cocos2d@@6B@; const cocos2d::CCRotateTo::`vftable' ; +0x6a, 0x180032b1a\nmov     [rbx], rax                                                     ; +0x71, 0x180032b21\njmp     short loc_180032B29                                            ; +0x74, 0x180032b24\nmov     rbx, rdi                                                       ; +0x76, 0x180032b26\nmov     ecx, 8; Size                                                   ; +0x79, 0x180032b29\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x7e, 0x180032b2e\nmov     [rsp+28h+arg_0], rax                                           ; +0x83, 0x180032b33\ntest    rax, rax                                                       ; +0x88, 0x180032b38\njz      short loc_180032B4A                                            ; +0x8b, 0x180032b3b\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x8d, 0x180032b3d\nmov     rcx, rax; this                                                 ; +0x90, 0x180032b40\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x93, 0x180032b43\njmp     short loc_180032B4D                                            ; +0x98, 0x180032b48\nmov     rax, rdi                                                       ; +0x9a, 0x180032b4a\nmov     rdi, rax                                                       ; +0x9d, 0x180032b4d\nmov     rdx, rax; struct cocos2d::CCZone *                             ; +0xa0, 0x180032b50\nmov     rcx, rsi; this                                                 ; +0xa3, 0x180032b53\ncall    ?copyWithZone@CCActionInterval@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInterval::copyWithZone(cocos2d::CCZone *) ; +0xa6, 0x180032b56\nmov     r8, [rbx]                                                      ; +0xab, 0x180032b5b\nmovss   xmm3, dword ptr [rsi+6Ch]                                      ; +0xae, 0x180032b5e\nmovss   xmm2, dword ptr [rsi+60h]                                      ; +0xb3, 0x180032b63\nmovss   xmm1, dword ptr [rsi+50h]                                      ; +0xb8, 0x180032b68\nmov     rcx, rbx                                                       ; +0xbd, 0x180032b6d\ncall    qword ptr [r8+70h]                                             ; +0xc0, 0x180032b70\ntest    rdi, rdi                                                       ; +0xc4, 0x180032b74\njz      short loc_180032B86                                            ; +0xc7, 0x180032b77\nmov     edx, 8                                                         ; +0xc9, 0x180032b79\nmov     rcx, rdi; Block                                                ; +0xce, 0x180032b7e\ncall    j_j_free_0                                                     ; +0xd1, 0x180032b81\nmov     rax, rbx                                                       ; +0xd6, 0x180032b86\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xd9, 0x180032b89\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xde, 0x180032b8e\nadd     rsp, 20h                                                       ; +0xe3, 0x180032b93\npop     rdi                                                            ; +0xe7, 0x180032b97\nretn                                                                   ; +0xe8, 0x180032b98", "xrefs": ["<???> @ 0x1800e9558", "<???> @ 0x1801438a8", "<???> @ 0x1801b04b0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}