//
// MessagesProfilePage::~MessagesProfilePage from 0xa4990c to 0xa49a0c (256 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'MessagesProfilePage::~MessagesProfilePage @ 0xa49a10
// > MessagesProfilePage::~MessagesProfilePage @ 0xa49a24
// > ??> @ 0xbcfe0
// > ??> @ 0xbe1f8
// > ??> @ 0x148ab68
//
// 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:01 +0000
//
// Alternative name is '_ZN19MessagesProfilePageD2Ev'
void __fastcall MessagesProfilePage::~MessagesProfilePage(MessagesProfilePage *this)
{
MessagesProfilePage *v2; // x1
GameLevelManager *v3; // x0
MessagesProfilePage *v4; // x1
GameLevelManager *v5; // x0
cocos2d::CCNotificationCenter *v6; // x0
cocos2d::CCObject *v7; // x0
*((_QWORD *)this + 85) = &off_148B310;
*(_QWORD *)this = &off_148AB60;
*((_QWORD *)this + 40) = off_148B0F0;
*((_QWORD *)this + 41) = &off_148B160;
*((_QWORD *)this + 42) = off_148B178;
*((_QWORD *)this + 43) = off_148B198;
*((_QWORD *)this + 44) = off_148B1C0;
*((_QWORD *)this + 51) = &off_148B1F0;
*((_QWORD *)this + 54) = &off_148B270;
*((_QWORD *)this + 68) = off_148B290;
*((_QWORD *)this + 83) = &off_148B2D8;
*((_QWORD *)this + 84) = off_148B2F0;
*((_QWORD *)this + 86) = &off_148B328;
v2 = *(MessagesProfilePage **)(GameLevelManager::sharedState((GameLevelManager *)&off_148B328) + 1384);
v3 = (MessagesProfilePage *)((char *)this + 688);
if ( v2 == (MessagesProfilePage *)((char *)this + 688) )
{
v3 = (GameLevelManager *)GameLevelManager::sharedState(v3);
*((_QWORD *)v3 + 173) = 0;
}
v4 = *(MessagesProfilePage **)(GameLevelManager::sharedState(v3) + 1360);
v5 = (MessagesProfilePage *)((char *)this + 672);
if ( v4 == (MessagesProfilePage *)((char *)this + 672) )
{
v5 = (GameLevelManager *)GameLevelManager::sharedState(v5);
*((_QWORD *)v5 + 170) = 0;
}
v6 = (cocos2d::CCNotificationCenter *)cocos2d::CCNotificationCenter::sharedNotificationCenter(v5);
cocos2d::CCNotificationCenter::removeObserver(v6, this, "MessageSelectionChangedNotification");
v7 = *((cocos2d::CCObject **)this + 94);
if ( v7 )
cocos2d::CCObject::release(v7);
if ( (*((_BYTE *)this + 704) & 1) != 0 )
operator delete(*((void **)this + 90));
FLAlertLayer::~FLAlertLayer(this);
}