//
// GameLevelManager::notificationMask from 0x4aaf68 to 0x4aaf92 (42 bytes)
//
// 4 xrefs:
// > GameLevelManager::getGJUserInfo @ 0x4b72d8
// > GameLevelManager::getNotifications @ 0x4b8ebc
// > NotificationFilterPopup::onClose @ 0x743c2e
// > NotificationFilterPopup::init @ 0x74404c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:58 +0000
//
int __fastcall GameLevelManager::notificationMask(GameLevelManager *this)
{
GameManager *v1; // r0
GameManager *IntGameVariable; // r0
int v3; // r4
GameManager *v4; // r0
v1 = (GameManager *)GameManager::sharedState(this);
IntGameVariable = (GameManager *)GameManager::getIntGameVariable(v1, "0239");
if ( IntGameVariable )
v3 = (unsigned __int16)IntGameVariable;
else
v3 = 0xFFFF;
v4 = (GameManager *)GameManager::sharedState(IntGameVariable);
if ( GameManager::safeModeEnabled(v4) )
return v3 & 0xFFFC;
return v3;
}