//
// GameLevelManager::notificationMask from 0x803a88 to 0x803ad8 (80 bytes)
//
// 5 xrefs:
// > GameLevelManager::getGJUserInfo @ 0x8228d4
// > GameLevelManager::getNotifications @ 0x827218
// > NotificationFilterPopup::onClose @ 0xc5f9a8
// > NotificationFilterPopup::init @ 0xc5ff8c
// > ??> @ 0xfe518
//
// This function is hookable on this platform (idp: arm, 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:54:44 +0000
//
__int64 __fastcall GameLevelManager::notificationMask(GameLevelManager *this)
{
GameManager *v1; // x0
int IntGameVariable; // w0
unsigned int v3; // w19
GameManager *v4; // x0
bool v5; // zf
__int64 result; // x0
v1 = (GameManager *)GameManager::sharedState(this);
IntGameVariable = GameManager::getIntGameVariable(v1, "0239");
if ( IntGameVariable )
v3 = (unsigned __int16)IntGameVariable;
else
v3 = 0xFFFF;
v4 = (GameManager *)GameManager::sharedState((GameManager *)(unsigned __int16)IntGameVariable);
v5 = (unsigned __int8)GameManager::safeModeEnabled(v4) == 0;
LODWORD(result) = v3 & 0xFFFFFFFC;
if ( v5 )
return v3;
else
return (unsigned int)result;
}