{"type": "func", "start": 6442602336, "end": 6442602580, "name": "cocos2d::CCOrbitCamera::copyWithZone", "pseudocode": "// \n// cocos2d::CCOrbitCamera::copyWithZone from 0x180024f60 to 0x180025054 (244 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800ed668\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b92f8\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:29 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nstruct cocos2d::CCObject *__fastcall cocos2d::CCOrbitCamera::copyWithZone(\n        cocos2d::CCOrbitCamera *this,\n        cocos2d::CCOrbitCamera **a2)\n{\n  tinyxml2::XMLHandle *v2; // rax\n  tinyxml2::XMLHandle *v4; // rdi\n  cocos2d::CCOrbitCamera *v5; // rbx\n  cocos2d::CCOrbitCamera *v6; // rax\n  tinyxml2::XMLHandle *v7; // rax\n\n  v2 = (tinyxml2::XMLHandle *)a2;\n  v4 = nullptr;\n  if ( !a2 || (v5 = *a2) == nullptr )\n  {\n    v6 = (cocos2d::CCOrbitCamera *)sub_1800E4AC0(0xB0u);\n    if ( v6 )\n      v5 = cocos2d::CCOrbitCamera::CCOrbitCamera(v6);\n    else\n      v5 = nullptr;\n    v7 = (tinyxml2::XMLHandle *)sub_1800E4AC0(8u);\n    if ( v7 )\n      v2 = tinyxml2::XMLHandle::XMLHandle(v7, v5);\n    else\n      v2 = nullptr;\n    v4 = v2;\n  }\n  cocos2d::CCActionInterval::copyWithZone(this, v2);\n  cocos2d::CCOrbitCamera::initWithDuration(\n    v5,\n    *((float *)this + 20),\n    *((float *)this + 34),\n    *((float *)this + 35),\n    *((float *)this + 36),\n    *((float *)this + 37),\n    *((float *)this + 38),\n    *((float *)this + 39));\n  if ( v4 )\n    j_j_free_0(v4);\n  return v5;\n}", "assembly": "; \n; cocos2d::CCOrbitCamera::copyWithZone from 0x180024f60 to 0x180025054 (244 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800ed668\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b92f8\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:29 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180024f60\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180024f65\npush    rdi                                                            ; +0xa, 0x180024f6a\nsub     rsp, 40h                                                       ; +0xb, 0x180024f6b\nmov     rax, rdx                                                       ; +0xf, 0x180024f6f\nmov     rsi, rcx                                                       ; +0x12, 0x180024f72\nxor     edi, edi                                                       ; +0x15, 0x180024f75\ntest    rdx, rdx                                                       ; +0x17, 0x180024f77\njz      short loc_180024F84                                            ; +0x1a, 0x180024f7a\nmov     rbx, [rdx]                                                     ; +0x1c, 0x180024f7c\ntest    rbx, rbx                                                       ; +0x1f, 0x180024f7f\njnz     short loc_180024FCF                                            ; +0x22, 0x180024f82\nmov     ecx, 0B0h; Size                                                ; +0x24, 0x180024f84\ncall    sub_1800E4AC0                                                  ; +0x29, 0x180024f89\nmov     [rsp+48h+arg_0], rax                                           ; +0x2e, 0x180024f8e\ntest    rax, rax                                                       ; +0x33, 0x180024f93\njz      short loc_180024FA5                                            ; +0x36, 0x180024f96\nmov     rcx, rax; this                                                 ; +0x38, 0x180024f98\ncall    ??0CCOrbitCamera@cocos2d@@QEAA@XZ; cocos2d::CCOrbitCamera::CCOrbitCamera(void) ; +0x3b, 0x180024f9b\nmov     rbx, rax                                                       ; +0x40, 0x180024fa0\njmp     short loc_180024FA8                                            ; +0x43, 0x180024fa3\nmov     rbx, rdi                                                       ; +0x45, 0x180024fa5\nmov     ecx, 8; Size                                                   ; +0x48, 0x180024fa8\ncall    sub_1800E4AC0                                                  ; +0x4d, 0x180024fad\nmov     [rsp+48h+arg_0], rax                                           ; +0x52, 0x180024fb2\ntest    rax, rax                                                       ; +0x57, 0x180024fb7\njz      short loc_180024FC9                                            ; +0x5a, 0x180024fba\nmov     rdx, rbx; struct tinyxml2::XMLNode *                           ; +0x5c, 0x180024fbc\nmov     rcx, rax; this                                                 ; +0x5f, 0x180024fbf\ncall    ??0XMLHandle@tinyxml2@@QEAA@PEAVXMLNode@1@@Z; tinyxml2::XMLHandle::XMLHandle(tinyxml2::XMLNode *) ; +0x62, 0x180024fc2\njmp     short loc_180024FCC                                            ; +0x67, 0x180024fc7\nmov     rax, rdi                                                       ; +0x69, 0x180024fc9\nmov     rdi, rax                                                       ; +0x6c, 0x180024fcc\nmov     rdx, rax; struct cocos2d::CCZone *                             ; +0x6f, 0x180024fcf\nmov     rcx, rsi; this                                                 ; +0x72, 0x180024fd2\ncall    ?copyWithZone@CCActionInterval@cocos2d@@UEAAPEAVCCObject@2@PEAVCCZone@2@@Z; cocos2d::CCActionInterval::copyWithZone(cocos2d::CCZone *) ; +0x75, 0x180024fd5\nmovss   xmm0, dword ptr [rsi+9Ch]                                      ; +0x7a, 0x180024fda\nmovss   [rsp+48h+var_10], xmm0; float                                  ; +0x82, 0x180024fe2\nmovss   xmm1, dword ptr [rsi+98h]                                      ; +0x88, 0x180024fe8\nmovss   [rsp+48h+var_18], xmm1; float                                  ; +0x90, 0x180024ff0\nmovss   xmm0, dword ptr [rsi+94h]                                      ; +0x96, 0x180024ff6\nmovss   [rsp+48h+var_20], xmm0; float                                  ; +0x9e, 0x180024ffe\nmovss   xmm1, dword ptr [rsi+90h]                                      ; +0xa4, 0x180025004\nmovss   [rsp+48h+var_28], xmm1; float                                  ; +0xac, 0x18002500c\nmovss   xmm3, dword ptr [rsi+8Ch]; float                               ; +0xb2, 0x180025012\nmovss   xmm2, dword ptr [rsi+88h]; float                               ; +0xba, 0x18002501a\nmovss   xmm1, dword ptr [rsi+50h]; float                               ; +0xc2, 0x180025022\nmov     rcx, rbx; this                                                 ; +0xc7, 0x180025027\ncall    ?initWithDuration@CCOrbitCamera@cocos2d@@QEAA_NMMMMMMM@Z; cocos2d::CCOrbitCamera::initWithDuration(float,float,float,float,float,float,float) ; +0xca, 0x18002502a\ntest    rdi, rdi                                                       ; +0xcf, 0x18002502f\njz      short loc_180025041                                            ; +0xd2, 0x180025032\nmov     edx, 8                                                         ; +0xd4, 0x180025034\nmov     rcx, rdi; Block                                                ; +0xd9, 0x180025039\ncall    j_j_free_0                                                     ; +0xdc, 0x18002503c\nmov     rax, rbx                                                       ; +0xe1, 0x180025041\nmov     rbx, [rsp+48h+arg_8]                                           ; +0xe4, 0x180025044\nmov     rsi, [rsp+48h+arg_10]                                          ; +0xe9, 0x180025049\nadd     rsp, 40h                                                       ; +0xee, 0x18002504e\npop     rdi                                                            ; +0xf2, 0x180025052\nretn                                                                   ; +0xf3, 0x180025053", "xrefs": ["<???> @ 0x1800ed668", "<???> @ 0x18014cf68", "<???> @ 0x1801b92f8"], "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"}