//
// NotificationsPage::dNotificationsPage from 0x140477bb0 to 0x140477cee (318 bytes)
//
// 3 xrefs:
// > sub_140479ECC @ 0x140479ed3
// > ??> @ 0x1407b5478
// > ??> @ 0x1409284b4
//
// 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=1
char *__fastcall NotificationsPage::dNotificationsPage(char *Block, char a2)
{
char *v4; // rdi
__int64 v5; // rax
void *v6; // rax
cocos2d::CCObject *v7; // rcx
cocos2d::CCObject *v8; // rcx
*(_QWORD *)Block = &NotificationsPage::`vftable';
*((_QWORD *)Block + 40) = &NotificationsPage::`vftable';
*((_QWORD *)Block + 41) = &NotificationsPage::`vftable';
*((_QWORD *)Block + 42) = &NotificationsPage::`vftable';
*((_QWORD *)Block + 43) = &NotificationsPage::`vftable';
*((_QWORD *)Block + 44) = &NotificationsPage::`vftable';
*((_QWORD *)Block + 51) = &NotificationsPage::`vftable';
*((_QWORD *)Block + 54) = &NotificationsPage::`vftable';
*((_QWORD *)Block + 68) = &NotificationsPage::`vftable';
v4 = Block + 664;
*((_QWORD *)Block + 83) = &NotificationsPage::`vftable';
v5 = *(_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);
v5 = *(_QWORD *)&qword_14090BFB0;
}
if ( *(char **)(v5 + 528) == v4 )
*(_QWORD *)(v5 + 528) = 0;
v7 = *((cocos2d::CCObject **)Block + 87);
if ( v7 )
cocos2d::CCObject::release(v7);
v8 = *((cocos2d::CCObject **)Block + 91);
if ( v8 )
cocos2d::CCObject::release(v8);
FLAlertLayer::dFLAlertLayer((__int64)Block);
if ( (a2 & 1) != 0 )
j_j_free(Block);
return Block;
}