{"type": "func", "start": 6442658208, "end": 6442658467, "name": "cocos2d::CCRotateBy::copyWithZone", "pseudocode": "// \n// cocos2d::CCRotateBy::copyWithZone from 0x1800329a0 to 0x180032aa3 (259 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e95d8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b04a4\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\nstruct cocos2d::CCObject *__fastcall cocos2d::CCRotateBy::copyWithZone(\n        cocos2d::CCRotateBy *this,\n        struct cocos2d::CCZone *a2)\n{\n  struct cocos2d::CCZone *v2; // rax\n  struct cocos2d::CCZone *v4; // rdi\n  _OWORD *v5; // rbx\n  _OWORD *v6; // rax\n  int v7; // xmm2_4\n  int v8; // xmm3_4\n  float m_fDuration; // xmm1_4\n\n  v2 = a2;\n  v4 = nullptr;\n  if ( !a2 || (v5 = *(_OWORD **)a2) == nullptr )\n  {\n    v6 = operator new(0x70u);\n    v5 = v6;\n    if ( v6 )\n    {\n      *v6 = 0;\n      v6[1] = 0;\n      v6[2] = 0;\n      v6[3] = 0;\n      v6[4] = 0;\n      v6[5] = 0;\n      v6[6] = 0;\n      cocos2d::CCAction::CCAction((cocos2d::CCAction *)v6);\n      *((_DWORD *)v5 + 20) = 0;\n      *(_QWORD *)v5 = &cocos2d::CCRotateBy::`vftable';\n    }\n    else\n    {\n      v5 = nullptr;\n    }\n    v2 = (struct cocos2d::CCZone *)operator new(8u);\n    if ( v2 )\n      v2 = tinyxml2::XMLHandle::XMLHandle(v2, (struct tinyxml2::XMLNode *)v5);\n    v4 = v2;\n  }\n  cocos2d::CCActionInterval::copyWithZone(this, (struct cocos2d::CCObject **)v2);\n  v7 = *((_DWORD *)this + 26);\n  v8 = *((_DWORD *)this + 24);\n  m_fDuration = this->m_fDuration;\n  *((float *)v5 + 20) = m_fDuration;\n  if ( m_fDuration == 0.0 )\n    *((_DWORD *)v5 + 20) = 872415232;\n  *((_DWORD *)v5 + 22) = 0;\n  *((_BYTE *)v5 + 92) = 1;\n  *((_DWORD *)v5 + 24) = v8;\n  *((_DWORD *)v5 + 26) = v7;\n  if ( v4 )\n    j_j_free_0(v4);\n  return (struct cocos2d::CCObject *)v5;\n}", "assembly": "; \n; cocos2d::CCRotateBy::copyWithZone from 0x1800329a0 to 0x180032aa3 (259 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e95d8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b04a4\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, 0x1800329a0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1800329a5\npush    rdi                                                            ; +0xa, 0x1800329aa\nsub     rsp, 20h                                                       ; +0xb, 0x1800329ab\nmov     rax, rdx                                                       ; +0xf, 0x1800329af\nmov     rsi, rcx                                                       ; +0x12, 0x1800329b2\nxor     edi, edi                                                       ; +0x15, 0x1800329b5\ntest    rdx, rdx                                                       ; +0x17, 0x1800329b7\njz      short loc_1800329C4                                            ; +0x1a, 0x1800329ba\nmov     rbx, [rdx]                                                     ; +0x1c, 0x1800329bc\ntest    rbx, rbx                                                       ; +0x1f, 0x1800329bf\njnz     short loc_180032A39                                            ; +0x22, 0x1800329c2\nmov     ecx, 70h ; 'p'; Size                                           ; +0x24, 0x1800329c4\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x29, 0x1800329c9\nmov     rbx, rax                                                       ; +0x2e, 0x1800329ce\nmov     [rsp+28h+arg_0], rax                                           ; +0x31, 0x1800329d1\ntest    rax, rax                                                       ; +0x36, 0x1800329d6\njz      short loc_180032A14                                            ; +0x39, 0x1800329d9\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x1800329db\nmovups  xmmword ptr [rax], xmm0                                        ; +0x3e, 0x1800329de\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x41, 0x1800329e1\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x45, 0x1800329e5\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x49, 0x1800329e9\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x4d, 0x1800329ed\nmovups  xmmword ptr [rax+50h], xmm0                                    ; +0x51, 0x1800329f1\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x55, 0x1800329f5\nmov     rcx, rax; this                                                 ; +0x59, 0x1800329f9\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x5c, 0x1800329fc\nmov     dword ptr [rbx+50h], 0                                         ; +0x61, 0x180032a01\nlea     rax, ??_7CCRotateBy@cocos2d@@6B@; const cocos2d::CCRotateBy::`vftable' ; +0x68, 0x180032a08\nmov     [rbx], rax                                                     ; +0x6f, 0x180032a0f\njmp     short loc_180032A16                                            ; +0x72, 0x180032a12\nxor     ebx, ebx                                                       ; +0x74, 0x180032a14\nmov     ecx, 8; Size                                                   ; +0x76, 0x180032a16\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x7b, 0x180032a1b\nmov     [rsp+28h+arg_0], rax                                           ; +0x80, 0x180032a20\ntest    rax, rax                                                       ; +0x85, 0x180032a25\njz      short loc_180032A36                                            ; +0x88, 0x180032a28\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x8a, 0x180032a2a\nmov     rcx, rax; this                                                 ; +0x8d, 0x180032a2d\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x90, 0x180032a30\nnop                                                                    ; +0x95, 0x180032a35\nmov     rdi, rax                                                       ; +0x96, 0x180032a36\nmov     rdx, rax; struct cocos2d::CCZone *                             ; +0x99, 0x180032a39\nmov     rcx, rsi; this                                                 ; +0x9c, 0x180032a3c\ncall    ?copyWithZone@CCActionInterval@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInterval::copyWithZone(cocos2d::CCZone *) ; +0x9f, 0x180032a3f\nmovss   xmm2, dword ptr [rsi+68h]                                      ; +0xa4, 0x180032a44\nmovss   xmm3, dword ptr [rsi+60h]                                      ; +0xa9, 0x180032a49\nmovss   xmm1, dword ptr [rsi+50h]                                      ; +0xae, 0x180032a4e\nmovss   dword ptr [rbx+50h], xmm1                                      ; +0xb3, 0x180032a53\nxorps   xmm0, xmm0                                                     ; +0xb8, 0x180032a58\nucomiss xmm1, xmm0                                                     ; +0xbb, 0x180032a5b\njp      short loc_180032A69                                            ; +0xbe, 0x180032a5e\njnz     short loc_180032A69                                            ; +0xc0, 0x180032a60\nmov     dword ptr [rbx+50h], 34000000h                                 ; +0xc2, 0x180032a62\nmov     dword ptr [rbx+58h], 0                                         ; +0xc9, 0x180032a69\nmov     byte ptr [rbx+5Ch], 1                                          ; +0xd0, 0x180032a70\nmovss   dword ptr [rbx+60h], xmm3                                      ; +0xd4, 0x180032a74\nmovss   dword ptr [rbx+68h], xmm2                                      ; +0xd9, 0x180032a79\ntest    rdi, rdi                                                       ; +0xde, 0x180032a7e\njz      short loc_180032A90                                            ; +0xe1, 0x180032a81\nmov     edx, 8                                                         ; +0xe3, 0x180032a83\nmov     rcx, rdi; Block                                                ; +0xe8, 0x180032a88\ncall    j_j_free_0                                                     ; +0xeb, 0x180032a8b\nmov     rax, rbx                                                       ; +0xf0, 0x180032a90\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xf3, 0x180032a93\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xf8, 0x180032a98\nadd     rsp, 20h                                                       ; +0xfd, 0x180032a9d\npop     rdi                                                            ; +0x101, 0x180032aa1\nretn                                                                   ; +0x102, 0x180032aa2", "xrefs": ["<???> @ 0x1800e95d8", "<???> @ 0x1801438a8", "<???> @ 0x1801b04a4"], "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"}