//
// FriendsProfilePage::onUpdate from 0x100658420 to 0x100658485 (101 bytes)
//
// 1 xrefs:
// > FriendsProfilePage::init @ 0x100658172
//
// 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 FriendsProfilePage::onUpdate(FriendsProfilePage *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v2; // rax
GameLevelManager *v3; // rax
GameLevelManager *v4; // rax
v2 = GameLevelManager::sharedState();
if ( (unsigned int)(GameLevelManager::getTimeLeft(v2, "upd_friends", 5.0) - 1) >= 5 )
{
v3 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v3, "upd_friends");
v4 = GameLevelManager::sharedState();
GameLevelManager::invalidateUserList(v4, a1->m_type, 1);
}
}