//
// SFXSettingsPopup::onClose from 0x14061f6f0 to 0x14061f754 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x140815808
// > ??> @ 0x1409303a4
//
// 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:35:21 +0000
//
__int64 __fastcall SFXSettingsPopup::onClose(__int64 a1)
{
__int64 v2; // rcx
__int64 v3; // rax
if ( *(_BYTE *)(a1 + 1144) )
{
v2 = *(_QWORD *)(a1 + 1136);
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 712);
if ( v3 )
{
if ( *(_QWORD *)(v3 + 120) )
{
*(_DWORD *)(v3 + 96) = 0;
cocos2d::CCNode::scheduleOnce(v2, FLAlertLayer::rebuildContentDeferred);
}
}
}
}
return SetupTriggerPopup::onClose(a1);
}