{"type": "func", "start": 6442659600, "end": 6442659813, "name": "cocos2d::CCSkewTo::copyWithZone", "pseudocode": "// \n// cocos2d::CCSkewTo::copyWithZone from 0x180032f10 to 0x180032fe5 (213 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800e9740\n// > <???> @ 0x1800e97c0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b04e0\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\n// Hidden C++ exception states: #wind=2\ncocos2d::CCAction *__fastcall cocos2d::CCSkewTo::copyWithZone(cocos2d::CCSkewTo *this, struct cocos2d::CCZone *a2)\n{\n  tinyxml2::XMLHandle *v2; // rax\n  tinyxml2::XMLHandle *v4; // rdi\n  cocos2d::CCAction *v5; // rbx\n  cocos2d::CCAction *v6; // rax\n  tinyxml2::XMLHandle *v7; // rax\n\n  v2 = a2;\n  v4 = nullptr;\n  if ( !a2 || (v5 = *(cocos2d::CCAction **)a2) == nullptr )\n  {\n    v6 = (cocos2d::CCAction *)operator new(0x80u);\n    v5 = v6;\n    if ( v6 )\n    {\n      cocos2d::CCAction::CCAction(v6);\n      LODWORD(v5[1].__vftable) = 0;\n      v5->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCSkewTo::`vftable';\n      *(_QWORD *)&v5[1].cocos2d::CCObject::m_nTag = 0;\n      *(_QWORD *)&v5[1].m_uAutoReleaseCount = 0;\n      *(_QWORD *)&v5[1].m_uIndexInArray = 0;\n      *(_QWORD *)&v5[1].m_unknown2 = 0;\n    }\n    else\n    {\n      v5 = nullptr;\n    }\n    v7 = (tinyxml2::XMLHandle *)operator new(8u);\n    if ( v7 )\n      v2 = tinyxml2::XMLHandle::XMLHandle(v7, (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::CCSkewTo::copyWithZone from 0x180032f10 to 0x180032fe5 (213 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800e9740\n; > <???> @ 0x1800e97c0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b04e0\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, 0x180032f10\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180032f15\npush    rdi                                                            ; +0xa, 0x180032f1a\nsub     rsp, 20h                                                       ; +0xb, 0x180032f1b\nmov     rax, rdx                                                       ; +0xf, 0x180032f1f\nmov     rsi, rcx                                                       ; +0x12, 0x180032f22\nxor     edi, edi                                                       ; +0x15, 0x180032f25\ntest    rdx, rdx                                                       ; +0x17, 0x180032f27\njz      short loc_180032F34                                            ; +0x1a, 0x180032f2a\nmov     rbx, [rdx]                                                     ; +0x1c, 0x180032f2c\ntest    rbx, rbx                                                       ; +0x1f, 0x180032f2f\njnz     short loc_180032F9C                                            ; +0x22, 0x180032f32\nmov     ecx, 80h; Size                                                 ; +0x24, 0x180032f34\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x29, 0x180032f39\nmov     rbx, rax                                                       ; +0x2e, 0x180032f3e\nmov     [rsp+28h+arg_0], rax                                           ; +0x31, 0x180032f41\ntest    rax, rax                                                       ; +0x36, 0x180032f46\njz      short loc_180032F72                                            ; +0x39, 0x180032f49\nmov     rcx, rax; this                                                 ; +0x3b, 0x180032f4b\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x3e, 0x180032f4e\nmov     [rbx+50h], edi                                                 ; +0x43, 0x180032f53\nlea     rax, ??_7CCSkewTo@cocos2d@@6B@; const cocos2d::CCSkewTo::`vftable' ; +0x46, 0x180032f56\nmov     [rbx], rax                                                     ; +0x4d, 0x180032f5d\nmov     [rbx+60h], rdi                                                 ; +0x50, 0x180032f60\nmov     [rbx+68h], rdi                                                 ; +0x54, 0x180032f64\nmov     [rbx+70h], rdi                                                 ; +0x58, 0x180032f68\nmov     [rbx+78h], rdi                                                 ; +0x5c, 0x180032f6c\njmp     short loc_180032F75                                            ; +0x60, 0x180032f70\nmov     rbx, rdi                                                       ; +0x62, 0x180032f72\nmov     ecx, 8; Size                                                   ; +0x65, 0x180032f75\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x6a, 0x180032f7a\nmov     [rsp+28h+arg_0], rax                                           ; +0x6f, 0x180032f7f\ntest    rax, rax                                                       ; +0x74, 0x180032f84\njz      short loc_180032F96                                            ; +0x77, 0x180032f87\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x79, 0x180032f89\nmov     rcx, rax; this                                                 ; +0x7c, 0x180032f8c\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x7f, 0x180032f8f\njmp     short loc_180032F99                                            ; +0x84, 0x180032f94\nmov     rax, rdi                                                       ; +0x86, 0x180032f96\nmov     rdi, rax                                                       ; +0x89, 0x180032f99\nmov     rdx, rax; struct cocos2d::CCZone *                             ; +0x8c, 0x180032f9c\nmov     rcx, rsi; this                                                 ; +0x8f, 0x180032f9f\ncall    ?copyWithZone@CCActionInterval@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInterval::copyWithZone(cocos2d::CCZone *) ; +0x92, 0x180032fa2\nmov     r8, [rbx]                                                      ; +0x97, 0x180032fa7\nmovss   xmm3, dword ptr [rsi+74h]                                      ; +0x9a, 0x180032faa\nmovss   xmm2, dword ptr [rsi+70h]                                      ; +0x9f, 0x180032faf\nmovss   xmm1, dword ptr [rsi+50h]                                      ; +0xa4, 0x180032fb4\nmov     rcx, rbx                                                       ; +0xa9, 0x180032fb9\ncall    qword ptr [r8+70h]                                             ; +0xac, 0x180032fbc\ntest    rdi, rdi                                                       ; +0xb0, 0x180032fc0\njz      short loc_180032FD2                                            ; +0xb3, 0x180032fc3\nmov     edx, 8                                                         ; +0xb5, 0x180032fc5\nmov     rcx, rdi; Block                                                ; +0xba, 0x180032fca\ncall    j_j_free_0                                                     ; +0xbd, 0x180032fcd\nmov     rax, rbx                                                       ; +0xc2, 0x180032fd2\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xc5, 0x180032fd5\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xca, 0x180032fda\nadd     rsp, 20h                                                       ; +0xcf, 0x180032fdf\npop     rdi                                                            ; +0xd3, 0x180032fe3\nretn                                                                   ; +0xd4, 0x180032fe4", "xrefs": ["<???> @ 0x1800e9740", "<???> @ 0x1800e97c0", "<???> @ 0x1801438a8", "<???> @ 0x1801b04e0"], "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"}