//
// MessagesProfilePage::onUpdate from 0x1001ccbb8 to 0x1001ccc1c (100 bytes)
//
// 1 xrefs:
// > MessagesProfilePage::init @ 0x1001cc760
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall MessagesProfilePage::onUpdate(MessagesProfilePage *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // x0
GameLevelManager *v4; // x0
GameLevelManager *v5; // x0
v3 = GameLevelManager::sharedState();
if ( (unsigned int)(GameLevelManager::getTimeLeft(v3, "upd_messages", 5.0) - 1) >= 5 )
{
v4 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v4, "upd_messages");
v5 = GameLevelManager::sharedState();
GameLevelManager::invalidateMessages(v5, a1->m_sentMessages, 1);
}
}