//
// MessagesProfilePage::onUpdate from 0x5ef668 to 0x5ef6a0 (56 bytes)
//
// 0 xrefs:
//
// 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
//
GameLevelManager *__fastcall MessagesProfilePage::onUpdate(MessagesProfilePage *this, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // r0
GameLevelManager *result; // r0
GameLevelManager *v5; // r0
float v6; // r2
int v7; // r3
GameLevelManager *TimeStamp; // r0
cocos2d::CCDictionary **v9; // r0
v3 = (GameLevelManager *)GameLevelManager::sharedState(this);
result = (GameLevelManager *)(GameLevelManager::getTimeLeft(v3, "upd_messages", 5.0) - 1);
if ( (unsigned int)result > 4 )
{
v5 = (GameLevelManager *)GameLevelManager::sharedState(result);
TimeStamp = (GameLevelManager *)GameLevelManager::makeTimeStamp(v5, "upd_messages", v6, v7);
v9 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(TimeStamp);
return (GameLevelManager *)GameLevelManager::invalidateMessages(
v9,
(const char *)*((unsigned __int8 *)this + 536),
1);
}
return result;
}