//
// sub_10098AE60 from 0x10098ae60 to 0x10098af54 (244 bytes)
//
// 4 xrefs:
// > NotificationsPage::dNotificationsPage @ 0x10098af65
// > sub_10098AF70 @ 0x10098af7c
// > sub_10098AF90 @ 0x10098af99
// > sub_10098AFB0 @ 0x10098afc3
//
// 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
//
__int64 __fastcall sub_10098AE60(_QWORD *a1)
{
_DWORD *v2; // rdi
_DWORD *v3; // rdi
*a1 = off_100BD42D0;
a1[40] = off_100BD4850;
a1[41] = &off_100BD48C0;
a1[42] = off_100BD48D8;
a1[43] = off_100BD48F8;
a1[44] = off_100BD4920;
a1[51] = off_100BD4950;
a1[54] = off_100BD49D0;
a1[68] = off_100BD49F0;
a1[83] = off_100BD4A38;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 456) == a1 + 83 )
{
*(_QWORD *)(GameLevelManager::sharedState() + 456) = 0;
v2 = (_DWORD *)a1[87];
if ( !v2 )
goto LABEL_6;
goto LABEL_5;
}
v2 = (_DWORD *)a1[87];
if ( v2 )
LABEL_5:
cocos2d::CCObject::release(v2);
LABEL_6:
v3 = (_DWORD *)a1[91];
if ( v3 )
cocos2d::CCObject::release(v3);
return sub_1004936F0((__int64)a1);
}