//
// FriendsProfilePage::onUpdate from 0x1001d952c to 0x1001d9590 (100 bytes)
//
// 1 xrefs:
// > FriendsProfilePage::init @ 0x1001d92a8
//
// 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 *v3; // x0
GameLevelManager *v4; // x0
GameLevelManager *v5; // x0
v3 = GameLevelManager::sharedState();
if ( (unsigned int)(GameLevelManager::getTimeLeft(v3, "upd_friends", 5.0) - 1) >= 5 )
{
v4 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v4, "upd_friends");
v5 = GameLevelManager::sharedState();
GameLevelManager::invalidateUserList(v5, a1->m_type, 1);
}
}