//
// NotificationFilterPopup::savedMask from 0x140479a60 to 0x140479b92 (306 bytes)
//
// 3 xrefs:
// > NotificationFilterPopup::init @ 0x1404792fb
// > NotificationFilterPopup::toggleSource @ 0x140479bf0
// > ??> @ 0x140928574
//
// 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:42 +0000
//
__int64 NotificationFilterPopup::savedMask()
{
__int64 v0; // rbx
cocos2d::CCString *v1; // rax
int v2; // ebx
void *v3; // r8
__int64 result; // rax
void *v5; // [rsp+30h] [rbp-38h]
void *Block[2]; // [rsp+38h] [rbp-30h] BYREF
__int64 v7; // [rsp+48h] [rbp-20h]
unsigned __int64 v8; // [rsp+50h] [rbp-18h]
v0 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v5 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v5);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v0 = qword_14090BFD0;
}
*(_OWORD *)Block = 0;
v7 = 3;
v8 = 15;
LODWORD(Block[0]) = 6256231;
sub_140044D80(Block, "0239", 4u);
v1 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v0 + 432), Block);
v2 = cocos2d::CCString::intValue(v1);
if ( v8 > 0xF )
{
v3 = Block[0];
if ( v8 + 1 >= 0x1000 )
{
v3 = *((void **)Block[0] - 1);
if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v3);
}
result = 0xFFFF;
if ( v2 )
return (unsigned __int16)v2;
return result;
}