//
// NotificationsPage::loadPage from 0x1404787c0 to 0x1404788a7 (231 bytes)
//
// 7 xrefs:
// > NotificationsPage::init @ 0x140478482
// > NotificationsPage::onUpdate @ 0x1404786db
// > NotificationsPage::notificationMuteFinished @ 0x140478fd5
// > NotificationsPage::onNextPage @ 0x1404790d8
// > NotificationsPage::onPrevPage @ 0x1404790e8
// > NotificationFilterPopup::onClose @ 0x140479ead
// > ??> @ 0x140928508
//
// 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 11:32:41 +0000
//
// Hidden C++ exception states: #wind=2
char __fastcall NotificationsPage::loadPage(__int64 a1, __int64 a2)
{
int v2; // edi
__int64 v4; // rcx
void *v6; // [rsp+30h] [rbp+8h]
v2 = a2;
*(_DWORD *)(a1 + 736) = a2;
LOBYTE(a2) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 696) + 336LL))(*(_QWORD *)(a1 + 696), a2);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 720) + 336LL))(*(_QWORD *)(a1 + 720), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 680) + 336LL))(*(_QWORD *)(a1 + 680), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 712) + 336LL))(*(_QWORD *)(a1 + 712), 0);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 704) + 336LL))(*(_QWORD *)(a1 + 704), 0);
NotificationsPage::setupBrowser(a1, 0);
v4 = *(_QWORD *)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v6 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v6);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v4 = *(_QWORD *)&qword_14090BFB0;
}
*(_QWORD *)(v4 + 528) = a1 + 664;
return GameLevelManager::getNotifications((cocos2d::CCActionManager **)v4, v2, *(_DWORD *)(a1 + 740));
}