{"type": "func", "start": 6443242864, "end": 6443243229, "name": "cocos2d::CCDirector::~CCDirector", "pseudocode": "// \n// cocos2d::CCDirector::~CCDirector from 0x1800c1570 to 0x1800c16dd (365 bytes)\n// \n// 5 xrefs:\n// > sub_1800C16E0 @ 0x1800c173e\n// > sub_1800C1770 @ 0x1800c177f\n// > sub_1800C16E0 @ 0x1800c16fc\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c33e4\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:22:25 +0000\n// \n\nvoid __fastcall cocos2d::CCDirector::~CCDirector(cocos2d::CCDirector *this, float a2)\n{\n  cocos2d::CCObject *v3; // rcx\n  cocos2d::CCObject *v4; // rcx\n  cocos2d::CCObject *v5; // rcx\n  cocos2d::CCObject *v6; // rcx\n  cocos2d::CCObject *v7; // rcx\n  cocos2d::CCObject *v8; // rcx\n  cocos2d::CCObject *v9; // rcx\n  cocos2d::CCObject *v10; // rcx\n  cocos2d::CCObject *v11; // rcx\n  cocos2d::CCObject *v12; // rcx\n  cocos2d::CCObject *v13; // rcx\n  cocos2d::CCObject *v14; // rcx\n  void *v15; // rdi\n  cocos2d::CCArray **v16; // rax\n  void *v17; // rcx\n\n  *(_QWORD *)this = &cocos2d::CCDirector::`vftable'{for `cocos2d::CCObject'};\n  *((_QWORD *)this + 7) = &cocos2d::CCDirector::`vftable'{for `cocos2d::TypeInfo'};\n  v3 = *((cocos2d::CCObject **)this + 29);\n  if ( v3 )\n    cocos2d::CCObject::release(v3);\n  v4 = *((cocos2d::CCObject **)this + 30);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  v5 = *((cocos2d::CCObject **)this + 31);\n  if ( v5 )\n    cocos2d::CCObject::release(v5);\n  v6 = *((cocos2d::CCObject **)this + 34);\n  if ( v6 )\n    cocos2d::CCObject::release(v6);\n  v7 = *((cocos2d::CCObject **)this + 43);\n  if ( v7 )\n    cocos2d::CCObject::release(v7);\n  v8 = *((cocos2d::CCObject **)this + 37);\n  if ( v8 )\n    cocos2d::CCObject::release(v8);\n  v9 = *((cocos2d::CCObject **)this + 13);\n  if ( v9 )\n    cocos2d::CCObject::release(v9);\n  v10 = *((cocos2d::CCObject **)this + 14);\n  if ( v10 )\n    cocos2d::CCObject::release(v10);\n  v11 = *((cocos2d::CCObject **)this + 15);\n  if ( v11 )\n    cocos2d::CCObject::release(v11);\n  v12 = *((cocos2d::CCObject **)this + 16);\n  if ( v12 )\n    cocos2d::CCObject::release(v12);\n  v13 = *((cocos2d::CCObject **)this + 17);\n  if ( v13 )\n    cocos2d::CCObject::release(v13);\n  v14 = *((cocos2d::CCObject **)this + 18);\n  if ( v14 )\n    cocos2d::CCObject::release(v14);\n  v15 = *((void **)this + 20);\n  if ( v15 )\n  {\n    cocos2d::CCNode::updateTweenActionInt(*((cocos2d::CCNode **)this + 20), a2);\n    j_j_free_0(v15);\n    *((_QWORD *)this + 20) = 0;\n  }\n  v16 = (cocos2d::CCArray **)cocos2d::CCPoolManager::sharedPoolManager();\n  cocos2d::CCPoolManager::pop(v16);\n  cocos2d::CCPoolManager::purgePoolManager();\n  v17 = *((void **)this + 38);\n  if ( v17 )\n  {\n    j_j_free_0(v17);\n    *((_QWORD *)this + 38) = 0;\n  }\n  j_j_free_0(*((void **)this + 42));\n  qword_1801B3BB0 = 0;\n  cocos2d::CCObject::~CCObject(this);\n}", "assembly": "; \n; cocos2d::CCDirector::~CCDirector from 0x1800c1570 to 0x1800c16dd (365 bytes)\n; \n; 5 xrefs:\n; > sub_1800C16E0 @ 0x1800c173e\n; > sub_1800C1770 @ 0x1800c177f\n; > sub_1800C16E0 @ 0x1800c16fc\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c33e4\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:22:25 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c1570\npush    rdi                                                            ; +0x5, 0x1800c1575\nsub     rsp, 20h                                                       ; +0x6, 0x1800c1576\nmov     rbx, rcx                                                       ; +0xa, 0x1800c157a\nlea     rax, ??_7CCDirector@cocos2d@@6BCCObject@1@@; const cocos2d::CCDirector::`vftable'{for `cocos2d::CCObject'} ; +0xd, 0x1800c157d\nmov     [rcx], rax                                                     ; +0x14, 0x1800c1584\nlea     rax, ??_7CCDirector@cocos2d@@6BTypeInfo@1@@; const cocos2d::CCDirector::`vftable'{for `cocos2d::TypeInfo'} ; +0x17, 0x1800c1587\nmov     [rcx+38h], rax                                                 ; +0x1e, 0x1800c158e\nmov     rcx, [rcx+0E8h]; this                                          ; +0x22, 0x1800c1592\ntest    rcx, rcx                                                       ; +0x29, 0x1800c1599\njz      short loc_1800C15A3                                            ; +0x2c, 0x1800c159c\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2e, 0x1800c159e\nmov     rcx, [rbx+0F0h]; this                                          ; +0x33, 0x1800c15a3\ntest    rcx, rcx                                                       ; +0x3a, 0x1800c15aa\njz      short loc_1800C15B4                                            ; +0x3d, 0x1800c15ad\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x3f, 0x1800c15af\nmov     rcx, [rbx+0F8h]; this                                          ; +0x44, 0x1800c15b4\ntest    rcx, rcx                                                       ; +0x4b, 0x1800c15bb\njz      short loc_1800C15C5                                            ; +0x4e, 0x1800c15be\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x50, 0x1800c15c0\nmov     rcx, [rbx+110h]; this                                          ; +0x55, 0x1800c15c5\ntest    rcx, rcx                                                       ; +0x5c, 0x1800c15cc\njz      short loc_1800C15D6                                            ; +0x5f, 0x1800c15cf\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x61, 0x1800c15d1\nmov     rcx, [rbx+158h]; this                                          ; +0x66, 0x1800c15d6\ntest    rcx, rcx                                                       ; +0x6d, 0x1800c15dd\njz      short loc_1800C15E7                                            ; +0x70, 0x1800c15e0\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x72, 0x1800c15e2\nmov     rcx, [rbx+128h]; this                                          ; +0x77, 0x1800c15e7\ntest    rcx, rcx                                                       ; +0x7e, 0x1800c15ee\njz      short loc_1800C15F8                                            ; +0x81, 0x1800c15f1\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x83, 0x1800c15f3\nmov     rcx, [rbx+68h]; this                                           ; +0x88, 0x1800c15f8\ntest    rcx, rcx                                                       ; +0x8c, 0x1800c15fc\njz      short loc_1800C1606                                            ; +0x8f, 0x1800c15ff\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x91, 0x1800c1601\nmov     rcx, [rbx+70h]; this                                           ; +0x96, 0x1800c1606\ntest    rcx, rcx                                                       ; +0x9a, 0x1800c160a\njz      short loc_1800C1614                                            ; +0x9d, 0x1800c160d\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x9f, 0x1800c160f\nmov     rcx, [rbx+78h]; this                                           ; +0xa4, 0x1800c1614\ntest    rcx, rcx                                                       ; +0xa8, 0x1800c1618\njz      short loc_1800C1622                                            ; +0xab, 0x1800c161b\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xad, 0x1800c161d\nmov     rcx, [rbx+80h]; this                                           ; +0xb2, 0x1800c1622\ntest    rcx, rcx                                                       ; +0xb9, 0x1800c1629\njz      short loc_1800C1633                                            ; +0xbc, 0x1800c162c\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xbe, 0x1800c162e\nmov     rcx, [rbx+88h]; this                                           ; +0xc3, 0x1800c1633\ntest    rcx, rcx                                                       ; +0xca, 0x1800c163a\njz      short loc_1800C1644                                            ; +0xcd, 0x1800c163d\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xcf, 0x1800c163f\nmov     rcx, [rbx+90h]; this                                           ; +0xd4, 0x1800c1644\ntest    rcx, rcx                                                       ; +0xdb, 0x1800c164b\njz      short loc_1800C1655                                            ; +0xde, 0x1800c164e\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xe0, 0x1800c1650\nmov     rdi, [rbx+0A0h]                                                ; +0xe5, 0x1800c1655\ntest    rdi, rdi                                                       ; +0xec, 0x1800c165c\njz      short loc_1800C1681                                            ; +0xef, 0x1800c165f\nmov     rcx, rdi; this                                                 ; +0xf1, 0x1800c1661\ncall    ?updateTweenActionInt@CCNode@cocos2d@@UEAAXMH@Z; cocos2d::CCNode::updateTweenActionInt(float,int) ; +0xf4, 0x1800c1664\nmov     edx, 28h ; '('                                                 ; +0xf9, 0x1800c1669\nmov     rcx, rdi; Block                                                ; +0xfe, 0x1800c166e\ncall    j_j_free_0                                                     ; +0x101, 0x1800c1671\nmov     qword ptr [rbx+0A0h], 0                                        ; +0x106, 0x1800c1676\ncall    ?sharedPoolManager@CCPoolManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCPoolManager::sharedPoolManager(void) ; +0x111, 0x1800c1681\nmov     rcx, rax; this                                                 ; +0x116, 0x1800c1686\ncall    ?pop@CCPoolManager@cocos2d@@QEAAXXZ; cocos2d::CCPoolManager::pop(void) ; +0x119, 0x1800c1689\ncall    ?purgePoolManager@CCPoolManager@cocos2d@@SAXXZ; cocos2d::CCPoolManager::purgePoolManager(void) ; +0x11e, 0x1800c168e\nmov     rcx, [rbx+130h]; Block                                         ; +0x123, 0x1800c1693\ntest    rcx, rcx                                                       ; +0x12a, 0x1800c169a\njz      short loc_1800C16B4                                            ; +0x12d, 0x1800c169d\nmov     edx, 8                                                         ; +0x12f, 0x1800c169f\ncall    j_j_free_0                                                     ; +0x134, 0x1800c16a4\nmov     qword ptr [rbx+130h], 0                                        ; +0x139, 0x1800c16a9\nmov     rcx, [rbx+150h]; Block                                         ; +0x144, 0x1800c16b4\ncall    j_j_free_0                                                     ; +0x14b, 0x1800c16bb\nmov     cs:qword_1801B3BB0, 0                                          ; +0x150, 0x1800c16c0\nmov     rcx, rbx; this                                                 ; +0x15b, 0x1800c16cb\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x15e, 0x1800c16ce\nadd     rsp, 20h                                                       ; +0x163, 0x1800c16d3\npop     rdi                                                            ; +0x167, 0x1800c16d7\njmp     ??1CCObject@cocos2d@@UEAA@XZ; cocos2d::CCObject::~CCObject(void) ; +0x168, 0x1800c16d8", "xrefs": ["sub_1800C16E0 @ 0x1800c173e", "sub_1800C1770 @ 0x1800c177f", "sub_1800C16E0 @ 0x1800c16fc", "<???> @ 0x18014cf68", "<???> @ 0x1801c33e4"], "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"}