//
// GameManager::~GameManager from 0x415b90 to 0x415cb6 (294 bytes)
//
// 1 xrefs:
// > GameManager::~GameManager @ 0x415cc8
//
// 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 11:47:40 +0000
//
// Alternative name is '_ZN11GameManagerD1Ev'
void __fastcall GameManager::~GameManager(GameManager *this)
{
cocos2d::CCObject *v2; // r0
cocos2d::CCObject *v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
cocos2d::CCObject *v7; // r0
cocos2d::CCObject *v8; // r0
char *v9; // r0
char *v10; // r3
*(_DWORD *)this = &off_C8E3B0;
v2 = *((cocos2d::CCObject **)this + 84);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 247);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 73);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 74);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 75);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((cocos2d::CCObject **)this + 76);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((cocos2d::CCObject **)this + 77);
if ( v8 )
cocos2d::CCObject::release(v8);
dword_D2B73C = 0;
std::string::~string((int)this + 1280);
std::string::~string((int)this + 1268);
std::string::~string((int)this + 1256);
std::string::~string((int)this + 1244);
std::string::~string((int)this + 1232);
std::string::~string((int)this + 1220);
std::string::~string((int)this + 1208);
std::__tree>,std::__map_value_compare>,std::less,true>,std::allocator>>>::destroy(
(int)this + 972,
*((_DWORD **)this + 244));
v9 = *((char **)this + 240);
if ( v9 )
{
while ( 1 )
{
v10 = *((char **)this + 241);
if ( v9 == v10 )
break;
*((_DWORD *)this + 241) = v10 - 4;
}
operator delete(v9);
}
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(int)this + 948,
*((_DWORD **)this + 238));
std::__tree>,std::__map_value_compare>,std::less,true>,std::allocator>>>::destroy(
(int)this + 936,
*((_DWORD **)this + 235));
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(int)this + 924,
*((_DWORD **)this + 232));
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(int)this + 892,
*((_DWORD **)this + 224));
std::string::~string((int)this + 448);
std::string::~string((int)this + 436);
std::string::~string((int)this + 388);
std::__vector_base>::~__vector_base((int)this + 280);
*(_DWORD *)this = &off_C86D28;
std::string::~string((int)this + 264);
cocos2d::CCNode::~CCNode(this);
}