//
// cocos2d::CCDirector::~CCDirector from 0x7c9cc4 to 0x7c9d94 (208 bytes)
//
// 2 xrefs:
// > cocos2d::CCDisplayLinkDirector::~CCDisplayLinkDirector @ 0x7c9db0
// > cocos2d::CCDirector::~CCDirector @ 0x7c9dd2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:29 +0000
//
// Alternative name is '_ZN7cocos2d10CCDirectorD1Ev'
void __fastcall cocos2d::CCDirector::~CCDirector(cocos2d::CCDirector *this)
{
_DWORD *v2; // r0
_DWORD *v3; // r0
_DWORD *v4; // r0
_DWORD *v5; // r0
_DWORD *v6; // r0
_DWORD *v7; // r0
_DWORD *v8; // r0
_DWORD *v9; // r0
_DWORD *v10; // r0
_DWORD *v11; // r0
_DWORD *v12; // r0
cocos2d::CCPoolManager *v13; // r0
void *v14; // r5
int v15; // r0
cocos2d::CCPoolManager *v16; // r0
void *v17; // r0
void *v18; // r0
*(_DWORD *)this = &off_D05190;
*((_DWORD *)this + 13) = &off_D0521C;
v2 = *((_DWORD **)this + 48);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((_DWORD **)this + 49);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((_DWORD **)this + 50);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((_DWORD **)this + 55);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((_DWORD **)this + 66);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((_DWORD **)this + 58);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((_DWORD **)this + 23);
if ( v8 )
cocos2d::CCObject::release(v8);
v9 = *((_DWORD **)this + 24);
if ( v9 )
cocos2d::CCObject::release(v9);
v10 = *((_DWORD **)this + 25);
if ( v10 )
cocos2d::CCObject::release(v10);
v11 = *((_DWORD **)this + 26);
if ( v11 )
cocos2d::CCObject::release(v11);
v12 = *((_DWORD **)this + 27);
if ( v12 )
cocos2d::CCObject::release(v12);
v13 = *((cocos2d::CCPoolManager **)this + 28);
if ( v13 )
v13 = (cocos2d::CCPoolManager *)cocos2d::CCObject::release(v13);
v14 = *((void **)this + 32);
if ( v14 )
{
cocos2d::CCAccelerometer::~CCAccelerometer(*((cocos2d::CCAccelerometer **)this + 32));
operator delete(v14);
*((_DWORD *)this + 32) = 0;
}
v15 = cocos2d::CCPoolManager::sharedPoolManager(v13);
v16 = (cocos2d::CCPoolManager *)cocos2d::CCPoolManager::pop(v15);
cocos2d::CCPoolManager::purgePoolManager(v16);
v17 = *((void **)this + 59);
if ( v17 )
{
operator delete(v17);
*((_DWORD *)this + 59) = 0;
}
v18 = *((void **)this + 65);
if ( v18 )
operator delete[](v18);
dword_D2F148 = 0;
cocos2d::CCObject::~CCObject(this);
}