{"type": "func", "start": 6442642128, "end": 6442642207, "name": "cocos2d::CCCallFunc::~CCCallFunc", "pseudocode": "// \n// cocos2d::CCCallFunc::~CCCallFunc from 0x18002ead0 to 0x18002eb1f (79 bytes)\n// \n// 3 xrefs:\n// > sub_18002EC00 @ 0x18002ec19\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801aff7c\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\nvoid __fastcall cocos2d::CCCallFunc::~CCCallFunc(cocos2d::CCCallFunc *this)\n{\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n  cocos2d::CCObject *v3; // rcx\n\n  this->__vftable = (cocos2d::CCCallFunc_vtbl *)&cocos2d::CCCallFunc::`vftable';\n  if ( *((_DWORD *)this + 24) )\n  {\n    v2 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 24LL))(*(_QWORD *)v2, *((unsigned int *)this + 24));\n  }\n  v3 = *((cocos2d::CCObject **)this + 11);\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  this->__vftable = (cocos2d::CCCallFunc_vtbl *)&cocos2d::CCFiniteTimeAction::`vftable';\n  cocos2d::CCAction::~CCAction(this);\n}", "assembly": "; \n; cocos2d::CCCallFunc::~CCCallFunc from 0x18002ead0 to 0x18002eb1f (79 bytes)\n; \n; 3 xrefs:\n; > sub_18002EC00 @ 0x18002ec19\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801aff7c\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\npush    rbx                                                            ; +0x0, 0x18002ead0\nsub     rsp, 20h                                                       ; +0x2, 0x18002ead2\nmov     rbx, rcx                                                       ; +0x6, 0x18002ead6\nlea     rax, ??_7CCCallFunc@cocos2d@@6B@; const cocos2d::CCCallFunc::`vftable' ; +0x9, 0x18002ead9\nmov     [rcx], rax                                                     ; +0x10, 0x18002eae0\ncmp     dword ptr [rcx+60h], 0                                         ; +0x13, 0x18002eae3\njz      short loc_18002EAFA                                            ; +0x17, 0x18002eae7\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x19, 0x18002eae9\nmov     rcx, [rax]                                                     ; +0x1e, 0x18002eaee\nmov     rax, [rcx]                                                     ; +0x21, 0x18002eaf1\nmov     edx, [rbx+60h]                                                 ; +0x24, 0x18002eaf4\ncall    qword ptr [rax+18h]                                            ; +0x27, 0x18002eaf7\nmov     rcx, [rbx+58h]; this                                           ; +0x2a, 0x18002eafa\ntest    rcx, rcx                                                       ; +0x2e, 0x18002eafe\njz      short loc_18002EB08                                            ; +0x31, 0x18002eb01\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x33, 0x18002eb03\nlea     rax, ??_7CCFiniteTimeAction@cocos2d@@6B@; const cocos2d::CCFiniteTimeAction::`vftable' ; +0x38, 0x18002eb08\nmov     [rbx], rax                                                     ; +0x3f, 0x18002eb0f\nmov     rcx, rbx; this                                                 ; +0x42, 0x18002eb12\nadd     rsp, 20h                                                       ; +0x45, 0x18002eb15\npop     rbx                                                            ; +0x49, 0x18002eb19\njmp     ??1CCAction@cocos2d@@UEAA@XZ; cocos2d::CCAction::~CCAction(void) ; +0x4a, 0x18002eb1a", "xrefs": ["sub_18002EC00 @ 0x18002ec19", "<???> @ 0x1801438a8", "<???> @ 0x1801aff7c"], "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"}