//
// FriendsProfilePage::onUpdate from 0x4c34e0 to 0x4c3518 (56 bytes)
//
// 0 xrefs:
//
// 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 FriendsProfilePage::onUpdate(FriendsProfilePage *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // r0
GameLevelManager *v4; // r0
GameLevelManager *v5; // r0
v3 = GameLevelManager::sharedState();
if ( (unsigned int)(GameLevelManager::getTimeLeft(v3, "upd_friends", 5.0) - 1) > 4 )
{
v4 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v4, "upd_friends");
v5 = GameLevelManager::sharedState();
GameLevelManager::invalidateUserList(v5, a1->m_type, 1);
}
}