//
// ProfilePage::~ProfilePage from 0xa53048 to 0xa53204 (444 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'ProfilePage::~ProfilePage @ 0xa53208
// > ProfilePage::~ProfilePage @ 0xa5321c
// > ??> @ 0x49390
// > ??> @ 0xf4b40
// > ??> @ 0x148ca88
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:00:06 +0000
//
// Alternative name is '_ZN11ProfilePageD2Ev'
void __fastcall ProfilePage::~ProfilePage(ProfilePage *this)
{
__int64 v2; // x1
cocos2d::CCObject *v3; // x0
cocos2d::CCObject *v4; // x0
cocos2d::CCObject *v5; // x0
cocos2d::CCObject *v6; // x0
ProfilePage *v7; // x1
GameLevelManager *v8; // x0
ProfilePage *v9; // x1
GameLevelManager *v10; // x0
ProfilePage *v11; // x1
GameLevelManager *v12; // x0
ProfilePage *v13; // x1
GameLevelManager *v14; // x0
ProfilePage *v15; // x1
GameLevelManager *v16; // x0
v2 = *((_QWORD *)this + 109);
*(_QWORD *)this = &off_148CA80;
*((_QWORD *)this + 40) = off_148D058;
*((_QWORD *)this + 41) = &off_148D0C8;
*((_QWORD *)this + 42) = off_148D0E0;
*((_QWORD *)this + 43) = off_148D100;
*((_QWORD *)this + 44) = off_148D128;
*((_QWORD *)this + 51) = &off_148D158;
*((_QWORD *)this + 54) = &off_148D1D8;
*((_QWORD *)this + 68) = off_148D1F8;
*((_QWORD *)this + 83) = &off_148D240;
*((_QWORD *)this + 84) = &off_148D258;
*((_QWORD *)this + 85) = &off_148D288;
*((_QWORD *)this + 86) = &off_148D2C0;
*((_QWORD *)this + 87) = off_148D2E8;
*((_QWORD *)this + 88) = &off_148D308;
*((_QWORD *)this + 89) = off_148D320;
*((_QWORD *)this + 90) = off_148D350;
if ( v2 )
*(_QWORD *)(v2 + 664) = 0;
v3 = *((cocos2d::CCObject **)this + 104);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *((cocos2d::CCObject **)this + 91);
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = *((cocos2d::CCObject **)this + 105);
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = *((cocos2d::CCObject **)this + 108);
if ( v6 )
v6 = (cocos2d::CCObject *)cocos2d::CCObject::release(v6);
v7 = *(ProfilePage **)(GameLevelManager::sharedState(v6) + 1240);
v8 = (ProfilePage *)((char *)this + 672);
if ( v7 == (ProfilePage *)((char *)this + 672) )
{
v8 = (GameLevelManager *)GameLevelManager::sharedState(v8);
*((_QWORD *)v8 + 155) = 0;
}
v9 = *(ProfilePage **)(GameLevelManager::sharedState(v8) + 1248);
v10 = (ProfilePage *)((char *)this + 680);
if ( v9 == (ProfilePage *)((char *)this + 680) )
{
v10 = (GameLevelManager *)GameLevelManager::sharedState(v10);
*((_QWORD *)v10 + 156) = 0;
}
v11 = *(ProfilePage **)(GameLevelManager::sharedState(v10) + 1360);
v12 = (ProfilePage *)((char *)this + 696);
if ( v11 == (ProfilePage *)((char *)this + 696) )
{
v12 = (GameLevelManager *)GameLevelManager::sharedState(v12);
*((_QWORD *)v12 + 170) = 0;
}
v13 = *(ProfilePage **)(GameLevelManager::sharedState(v12) + 1352);
v14 = (ProfilePage *)((char *)this + 688);
if ( v13 == (ProfilePage *)((char *)this + 688) )
{
v14 = (GameLevelManager *)GameLevelManager::sharedState(v14);
*((_QWORD *)v14 + 169) = 0;
}
v15 = *(ProfilePage **)(GameLevelManager::sharedState(v14) + 1296);
v16 = (ProfilePage *)((char *)this + 712);
if ( v15 == (ProfilePage *)((char *)this + 712) )
{
v16 = (GameLevelManager *)GameLevelManager::sharedState(v16);
*((_QWORD *)v16 + 162) = 0;
}
if ( *(ProfilePage **)(GameLevelManager::sharedState(v16) + 464) == (ProfilePage *)((char *)this + 720) )
*(_QWORD *)(GameLevelManager::sharedState((ProfilePage *)((char *)this + 720)) + 464) = 0;
if ( (*((_BYTE *)this + 744) & 1) != 0 )
operator delete(*((void **)this + 95));
FLAlertLayer::~FLAlertLayer(this);
}