//
// GameLevelManager::notificationMask from 0x100567710 to 0x100567757 (71 bytes)
//
// 2 xrefs:
// > NotificationFilterPopup::init @ 0x10098cad5
// > NotificationFilterPopup::onClose @ 0x10098d567
//
// 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:32:11 +0000
//
__int64 GameLevelManager::notificationMask()
{
__int64 v0; // rax
int IntGameVariable; // eax
unsigned int v2; // ebx
__int64 v3; // rax
char v4; // al
unsigned int v5; // ecx
v0 = GameManager::sharedState();
IntGameVariable = GameManager::getIntGameVariable(v0, "0239");
v2 = 0xFFFF;
if ( IntGameVariable )
v2 = (unsigned __int16)IntGameVariable;
v3 = GameManager::sharedState();
v4 = GameManager::safeModeEnabled(v3);
v5 = v2 & 0xFFFFFFFC;
if ( !v4 )
return v2;
return v5;
}