//
// FriendsProfilePage::onUpdate from 0x100735fb0 to 0x100736015 (101 bytes)
//
// 1 xrefs:
// > FriendsProfilePage::init @ 0x1007357df
//
// This function is hookable on this platform (idp: pc, 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 12:36:24 +0000
//
__int64 __fastcall FriendsProfilePage::onUpdate(__int64 a1, double a2, __m128d a3)
{
__int64 v3; // rax
__int64 result; // rax
__int64 v5; // rax
__int64 v6; // rax
v3 = GameLevelManager::sharedState();
result = (unsigned int)GameLevelManager::getTimeLeft(v3, "upd_friends", COERCE_DOUBLE(1084227584), a3) - 1;
if ( (unsigned int)result >= 5 )
{
v5 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v5, "upd_friends");
v6 = GameLevelManager::sharedState();
return GameLevelManager::invalidateUserList(v6, *(_DWORD *)(a1 + 816), 1);
}
return result;
}