//
// FRequestProfilePage::onUpdate from 0x100790d30 to 0x100790d96 (102 bytes)
//
// 1 xrefs:
// > FRequestProfilePage::init @ 0x100790759
//
// 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 FRequestProfilePage::onUpdate(FRequestProfilePage *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v2; // rax
GameLevelManager *v3; // rax
GameLevelManager *v4; // rax
v2 = GameLevelManager::sharedState();
if ( (unsigned int)(GameLevelManager::getTimeLeft(v2, "upd_requests", 5.0) - 1) >= 5 )
{
v3 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v3, "upd_requests");
v4 = GameLevelManager::sharedState();
GameLevelManager::invalidateRequests(v4, a1->m_sent, 1);
}
}