{"type": "func", "start": 6442603392, "end": 6442603574, "name": "sub_180025380", "pseudocode": "// \n// sub_180025380 from 0x180025380 to 0x180025436 (182 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800e7760\n// > <???> @ 0x1800e7860\n// > <???> @ 0x1801af2c8\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 sub_180025380(cocos2d::CCAction *this, char a2)\n{\n  cocos2d::CCObject *v5; // rcx\n\n  if ( (a2 & 2) != 0 )\n  {\n    `eh vector destructor iterator'(\n      this,\n      0x88u,\n      *((_QWORD *)this - 1),\n      (void (*)(void *))cocos2d::CCCatmullRomTo::~CCCatmullRomTo);\n    if ( (a2 & 1) != 0 )\n      j_j_j_free_0((char *)this - 8);\n    return (cocos2d::CCAction *)((char *)this - 8);\n  }\n  else\n  {\n    this->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCCardinalSplineTo::`vftable';\n    v5 = *((cocos2d::CCObject **)this + 12);\n    if ( v5 )\n    {\n      cocos2d::CCObject::release(v5);\n      *((_QWORD *)this + 12) = 0;\n    }\n    this->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCFiniteTimeAction::`vftable';\n    cocos2d::CCAction::~CCAction(this);\n    if ( (a2 & 1) != 0 )\n      j_j_free_0(this);\n    return this;\n  }\n}", "assembly": "; \n; sub_180025380 from 0x180025380 to 0x180025436 (182 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800e7760\n; > <???> @ 0x1800e7860\n; > <???> @ 0x1801af2c8\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_0], rbx                                               ; +0x0, 0x180025380\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180025385\npush    rdi                                                            ; +0xa, 0x18002538a\nsub     rsp, 20h                                                       ; +0xb, 0x18002538b\nmov     esi, edx                                                       ; +0xf, 0x18002538f\nmov     rbx, rcx                                                       ; +0x11, 0x180025391\ntest    dl, 2                                                          ; +0x14, 0x180025394\njz      short loc_1800253DD                                            ; +0x17, 0x180025397\nlea     r9, ??1CCCatmullRomTo@cocos2d@@UEAA@XZ; void (*)(void *)       ; +0x19, 0x180025399\nmov     r8, [rcx-8]; unsigned __int64                                  ; +0x20, 0x1800253a0\nmov     edx, 88h; unsigned __int64                                     ; +0x24, 0x1800253a4\ncall    ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x29, 0x1800253a9\ntest    sil, 1                                                         ; +0x2e, 0x1800253ae\njz      short loc_1800253C9                                            ; +0x32, 0x1800253b2\nimul    rdx, [rbx-8], 88h                                              ; +0x34, 0x1800253b4\nadd     rdx, 8                                                         ; +0x3c, 0x1800253bc\nlea     rcx, [rbx-8]; Block                                            ; +0x40, 0x1800253c0\ncall    j_j_j_free_0                                                   ; +0x44, 0x1800253c4\nlea     rax, [rbx-8]                                                   ; +0x49, 0x1800253c9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x1800253cd\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x52, 0x1800253d2\nadd     rsp, 20h                                                       ; +0x57, 0x1800253d7\npop     rdi                                                            ; +0x5b, 0x1800253db\nretn                                                                   ; +0x5c, 0x1800253dc\nlea     rax, ??_7CCCardinalSplineTo@cocos2d@@6B@; const cocos2d::CCCardinalSplineTo::`vftable' ; +0x5d, 0x1800253dd\nmov     [rcx], rax                                                     ; +0x64, 0x1800253e4\nmov     rcx, [rcx+60h]; this                                           ; +0x67, 0x1800253e7\ntest    rcx, rcx                                                       ; +0x6b, 0x1800253eb\njz      short loc_1800253FD                                            ; +0x6e, 0x1800253ee\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x70, 0x1800253f0\nmov     qword ptr [rbx+60h], 0                                         ; +0x75, 0x1800253f5\nlea     rax, ??_7CCFiniteTimeAction@cocos2d@@6B@; const cocos2d::CCFiniteTimeAction::`vftable' ; +0x7d, 0x1800253fd\nmov     [rbx], rax                                                     ; +0x84, 0x180025404\nmov     rcx, rbx; this                                                 ; +0x87, 0x180025407\ncall    ??1CCAction@cocos2d@@UEAA@XZ; cocos2d::CCAction::~CCAction(void) ; +0x8a, 0x18002540a\nnop                                                                    ; +0x8f, 0x18002540f\ntest    sil, 1                                                         ; +0x90, 0x180025410\njz      short loc_180025423                                            ; +0x94, 0x180025414\nmov     edx, 88h                                                       ; +0x96, 0x180025416\nmov     rcx, rbx; Block                                                ; +0x9b, 0x18002541b\ncall    j_j_free_0                                                     ; +0x9e, 0x18002541e\nmov     rax, rbx                                                       ; +0xa3, 0x180025423\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa6, 0x180025426\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xab, 0x18002542b\nadd     rsp, 20h                                                       ; +0xb0, 0x180025430\npop     rdi                                                            ; +0xb4, 0x180025434\nretn                                                                   ; +0xb5, 0x180025435", "xrefs": ["<???> @ 0x1800e7760", "<???> @ 0x1800e7860", "<???> @ 0x1801af2c8"], "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"}