//
// GameStatsManager::~GameStatsManager from 0x5188ec to 0x518a30 (324 bytes)
//
// 1 xrefs:
// > GameStatsManager::~GameStatsManager @ 0x518a3c
//
// 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:51:44 +0000
//
// Alternative name is '_ZN16GameStatsManagerD1Ev'
void __fastcall GameStatsManager::~GameStatsManager(GameStatsManager *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
cocos2d::CCObject *v9; // r0
cocos2d::CCObject *v10; // r0
cocos2d::CCObject *v11; // r0
cocos2d::CCObject *v12; // r0
cocos2d::CCObject *v13; // r0
cocos2d::CCObject *v14; // r0
cocos2d::CCObject *v15; // r0
_DWORD *v16; // r1
_DWORD *i; // r5
_DWORD *v18; // r7
void *v19; // r0
_DWORD *j; // r5
_DWORD *v21; // r7
void *v22; // r0
*(_DWORD *)this = &off_CA8BC8;
v2 = *((cocos2d::CCObject **)this + 131);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 66);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 67);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 84);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 68);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((cocos2d::CCObject **)this + 92);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((cocos2d::CCObject **)this + 85);
if ( v8 )
cocos2d::CCObject::release(v8);
v9 = *((cocos2d::CCObject **)this + 86);
if ( v9 )
cocos2d::CCObject::release(v9);
v10 = *((cocos2d::CCObject **)this + 70);
if ( v10 )
cocos2d::CCObject::release(v10);
v11 = *((cocos2d::CCObject **)this + 69);
if ( v11 )
cocos2d::CCObject::release(v11);
v12 = *((cocos2d::CCObject **)this + 132);
if ( v12 )
cocos2d::CCObject::release(v12);
v13 = *((cocos2d::CCObject **)this + 71);
if ( v13 )
cocos2d::CCObject::release(v13);
v14 = *((cocos2d::CCObject **)this + 72);
if ( v14 )
cocos2d::CCObject::release(v14);
v15 = *((cocos2d::CCObject **)this + 83);
if ( v15 )
cocos2d::CCObject::release(v15);
v16 = *((_DWORD **)this + 140);
dword_D2BD8C = 0;
std::__tree>::destroy((int)this + 556, v16);
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(int)this + 544,
*((_DWORD **)this + 137));
std::__tree,int>,std::__map_value_compare,std::__value_type,int>,std::less>,true>,std::allocator,int>>>::destroy(
(int)this + 532,
*((_DWORD **)this + 134));
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)this + 392);
std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::~__hash_table((int)this + 372);
for ( i = *((_DWORD **)this + 80); i; i = v18 )
{
v18 = (_DWORD *)*i;
std::string::~string((int)(i + 5));
std::string::~string((int)(i + 2));
operator delete(i);
}
v19 = *((void **)this + 78);
*((_DWORD *)this + 78) = 0;
if ( v19 )
operator delete(v19);
for ( j = *((_DWORD **)this + 75); j; j = v21 )
{
v21 = (_DWORD *)*j;
std::string::~string((int)(j + 5));
std::string::~string((int)(j + 2));
operator delete(j);
}
v22 = *((void **)this + 73);
*((_DWORD *)this + 73) = 0;
if ( v22 )
operator delete(v22);
cocos2d::CCNode::~CCNode(this);
}