//
// ProfilePage::~ProfilePage from 0x5f6894 to 0x5f6a06 (370 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'ProfilePage::~ProfilePage @ 0x5f6a10
// > ProfilePage::~ProfilePage @ 0x5f6a18
//
// 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:54:31 +0000
//
// Alternative name is '_ZN11ProfilePageD1Ev'
void __fastcall ProfilePage::~ProfilePage(ProfilePage *this)
{
int v2; // r3
cocos2d::CCObject *v3; // r0
cocos2d::CCObject *v4; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCObject *v6; // r0
GameLevelManager *v7; // r0
GameLevelManager *v8; // r0
GameLevelManager *v9; // r0
GameLevelManager *v10; // r0
GameLevelManager *v11; // r0
ProfilePage **v12; // r0
*(_DWORD *)this = &off_CC01D0;
*((_DWORD *)this + 66) = &off_CC04BC;
*((_DWORD *)this + 67) = &off_CC04F4;
*((_DWORD *)this + 68) = &off_CC0500;
*((_DWORD *)this + 69) = &off_CC0510;
*((_DWORD *)this + 70) = &off_CC0524;
*((_DWORD *)this + 79) = &off_CC053C;
*((_DWORD *)this + 83) = &off_CC057C;
*((_DWORD *)this + 110) = &off_CC058C;
*((_DWORD *)this + 130) = &off_CC05B0;
*((_DWORD *)this + 131) = &off_CC05BC;
*((_DWORD *)this + 132) = &off_CC05D4;
*((_DWORD *)this + 133) = &off_CC05F0;
*((_DWORD *)this + 134) = &off_CC0604;
*((_DWORD *)this + 135) = &off_CC0614;
*((_DWORD *)this + 137) = &off_CC0638;
v2 = *((_DWORD *)this + 159);
*((_DWORD *)this + 136) = &off_CC0620;
if ( v2 )
*(_DWORD *)(v2 + 520) = 0;
v3 = *((cocos2d::CCObject **)this + 152);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 138);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 153);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 158);
if ( v6 )
v6 = (cocos2d::CCObject *)cocos2d::CCObject::release(v6);
v7 = (GameLevelManager *)GameLevelManager::sharedState(v6);
if ( *((ProfilePage **)v7 + 207) == (ProfilePage *)((char *)this + 524) )
{
v7 = (GameLevelManager *)GameLevelManager::sharedState(v7);
*((_DWORD *)v7 + 207) = 0;
}
v8 = (GameLevelManager *)GameLevelManager::sharedState(v7);
if ( *((ProfilePage **)v8 + 208) == (ProfilePage *)((char *)this + 528) )
{
v8 = (GameLevelManager *)GameLevelManager::sharedState(v8);
*((_DWORD *)v8 + 208) = 0;
}
v9 = (GameLevelManager *)GameLevelManager::sharedState(v8);
if ( *((ProfilePage **)v9 + 222) == (ProfilePage *)((char *)this + 536) )
{
v9 = (GameLevelManager *)GameLevelManager::sharedState(v9);
*((_DWORD *)v9 + 222) = 0;
}
v10 = (GameLevelManager *)GameLevelManager::sharedState(v9);
if ( *((ProfilePage **)v10 + 221) == (ProfilePage *)((char *)this + 532) )
{
v10 = (GameLevelManager *)GameLevelManager::sharedState(v10);
*((_DWORD *)v10 + 221) = 0;
}
v11 = (GameLevelManager *)GameLevelManager::sharedState(v10);
if ( *((ProfilePage **)v11 + 214) == (ProfilePage *)((char *)this + 544) )
{
v11 = (GameLevelManager *)GameLevelManager::sharedState(v11);
*((_DWORD *)v11 + 214) = 0;
}
v12 = (ProfilePage **)GameLevelManager::sharedState(v11);
if ( v12[85] == (ProfilePage *)((char *)this + 548) )
*(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v12) + 340) = 0;
std::string::~string((int)this + 564);
FLAlertLayer::~FLAlertLayer(this);
}