//
// NotificationsPage::onUpdate from 0x10098bc80 to 0x10098bd70 (240 bytes)
//
// 1 xrefs:
// > NotificationsPage::init @ 0x10098b802
//
// 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:39:06 +0000
//
char __fastcall NotificationsPage::onUpdate(_QWORD **a1, double a2, __m128d a3)
{
__int64 v3; // rax
unsigned int v4; // eax
__int64 v5; // rax
__int64 v6; // rax
v3 = GameLevelManager::sharedState();
v4 = GameLevelManager::getTimeLeft(v3, "upd_notifications", COERCE_DOUBLE(1084227584), a3) - 1;
if ( v4 >= 5 )
{
v5 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v5, "upd_notifications");
(*(void (__fastcall **)(_QWORD *, __int64))(*a1[87] + 344LL))(a1[87], 1);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[90] + 344LL))(a1[90], 0);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[85] + 344LL))(a1[85], 0);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[89] + 344LL))(a1[89], 0);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*a1[88] + 344LL))(a1[88], 0);
NotificationsPage::setupBrowser(a1, 0);
*(_QWORD *)(GameLevelManager::sharedState() + 456) = a1 + 83;
v6 = GameLevelManager::sharedState();
LOBYTE(v4) = GameLevelManager::getNotifications(v6);
}
return v4;
}