//
// NotificationsPage::onUpdate from 0xc5f8a8 to 0xc5f908 (96 bytes)
//
// 3 xrefs:
// > ??> @ 0xc8398
// > NotificationsPage::init @ 0xc5f504
// > ??> @ 0x1545dd0
//
// 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:05:21 +0000
//
__int64 __fastcall NotificationsPage::onUpdate(NotificationsPage *this, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // x0
__int64 result; // x0
GameLevelManager *v5; // x0
v3 = (GameLevelManager *)GameLevelManager::sharedState(this);
result = (unsigned int)GameLevelManager::getTimeLeft(v3, "upd_notifications", 5.0) - 1;
if ( (unsigned int)result > 4 )
{
v5 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)result);
GameLevelManager::makeTimeStamp(v5, "upd_notifications");
return NotificationsPage::loadPage(this, *((_DWORD *)this + 184));
}
return result;
}