//
// MessagesProfilePage::~MessagesProfilePage from 0x5ef9e8 to 0x5efab6 (206 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'MessagesProfilePage::~MessagesProfilePage @ 0x5efac4
// > MessagesProfilePage::~MessagesProfilePage @ 0x5efacc
//
// 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:26 +0000
//
// Alternative name is '_ZN19MessagesProfilePageD1Ev'
void __fastcall MessagesProfilePage::~MessagesProfilePage(MessagesProfilePage *this)
{
GameLevelManager *v2; // r0
GameLevelManager *v3; // r0
cocos2d::CCNotificationCenter *v4; // r0
cocos2d::CCObject *v5; // r0
*(_DWORD *)this = &off_CBF230;
*((_DWORD *)this + 66) = &off_CBF4F8;
*((_DWORD *)this + 67) = &off_CBF530;
*((_DWORD *)this + 68) = &off_CBF53C;
*((_DWORD *)this + 69) = &off_CBF54C;
*((_DWORD *)this + 70) = &off_CBF560;
*((_DWORD *)this + 79) = &off_CBF578;
*((_DWORD *)this + 83) = &off_CBF5B8;
*((_DWORD *)this + 110) = &off_CBF5C8;
*((_DWORD *)this + 130) = &off_CBF5EC;
*((_DWORD *)this + 131) = &off_CBF5F8;
*((_DWORD *)this + 132) = &off_CBF608;
*((_DWORD *)this + 133) = &off_CBF614;
v2 = (GameLevelManager *)GameLevelManager::sharedState(this);
if ( *((MessagesProfilePage **)v2 + 225) == (MessagesProfilePage *)((char *)this + 532) )
{
v2 = (GameLevelManager *)GameLevelManager::sharedState(v2);
*((_DWORD *)v2 + 225) = 0;
}
v3 = (GameLevelManager *)GameLevelManager::sharedState(v2);
if ( *((MessagesProfilePage **)v3 + 222) == (MessagesProfilePage *)((char *)this + 524) )
{
v3 = (GameLevelManager *)GameLevelManager::sharedState(v3);
*((_DWORD *)v3 + 222) = 0;
}
v4 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v3);
cocos2d::CCNotificationCenter::removeObserver(v4, this, "MessageSelectionChangedNotification");
v5 = *((cocos2d::CCObject **)this + 141);
if ( v5 )
cocos2d::CCObject::release(v5);
std::string::~string((int)this + 540);
FLAlertLayer::~FLAlertLayer(this);
}