//
// FriendsProfilePage::~FriendsProfilePage from 0x5f39bc to 0x5f3aba (254 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'FriendsProfilePage::~FriendsProfilePage @ 0x5f3ac4
// > FriendsProfilePage::~FriendsProfilePage @ 0x5f3acc
//
// 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:29 +0000
//
// Alternative name is '_ZN18FriendsProfilePageD1Ev'
void __fastcall FriendsProfilePage::~FriendsProfilePage(FriendsProfilePage *this)
{
GameLevelManager *v2; // r0
FriendsProfilePage **v3; // r0
int v4; // r3
int v5; // r3
cocos2d::CCObject *v6; // r0
cocos2d::CCObject *v7; // r0
cocos2d::CCObject *v8; // r0
cocos2d::CCObject *v9; // r0
*(_DWORD *)this = &off_CBFD08;
*((_DWORD *)this + 66) = &off_CBFFEC;
*((_DWORD *)this + 67) = &off_CC0024;
*((_DWORD *)this + 68) = &off_CC0030;
*((_DWORD *)this + 69) = &off_CC0040;
*((_DWORD *)this + 70) = &off_CC0054;
*((_DWORD *)this + 79) = &off_CC006C;
*((_DWORD *)this + 83) = &off_CC00AC;
*((_DWORD *)this + 110) = &off_CC00BC;
*((_DWORD *)this + 149) = &off_CC00E0;
*((_DWORD *)this + 150) = &off_CC00F8;
*((_DWORD *)this + 151) = &off_CC0104;
*((_DWORD *)this + 152) = &off_CC0114;
*((_DWORD *)this + 153) = &off_CC0120;
v2 = (GameLevelManager *)GameLevelManager::sharedState(this);
if ( *((FriendsProfilePage **)v2 + 223) == (FriendsProfilePage *)((char *)this + 612) )
{
v2 = (GameLevelManager *)GameLevelManager::sharedState(v2);
*((_DWORD *)v2 + 223) = 0;
}
v3 = (FriendsProfilePage **)GameLevelManager::sharedState(v2);
if ( v3[222] == (FriendsProfilePage *)((char *)this + 604) )
*(_DWORD *)(GameLevelManager::sharedState((GameLevelManager *)v3) + 888) = 0;
v4 = *((_DWORD *)this + 166);
if ( v4 )
*(_DWORD *)(v4 + 420) = 0;
v5 = *((_DWORD *)this + 158);
if ( v5 )
*(_DWORD *)(v5 + 520) = 0;
v6 = *((cocos2d::CCObject **)this + 157);
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = *((cocos2d::CCObject **)this + 159);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((cocos2d::CCObject **)this + 160);
if ( v8 )
cocos2d::CCObject::release(v8);
v9 = *((cocos2d::CCObject **)this + 161);
if ( v9 )
cocos2d::CCObject::release(v9);
std::string::~string((int)this + 648);
PagedListPopup::~PagedListPopup(this);
}