//
// EditorSoundsSettingsPopup::FLAlert_Clicked from 0x1403d5130 to 0x1403d51a8 (120 bytes)
//
// 2 xrefs:
// > ??> @ 0x140785fb0
// > ??> @ 0x140924944
//
// 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:31:36 +0000
//
__int64 __fastcall EditorSoundsSettingsPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 result; // rax
_QWORD *v5; // rax
__int64 v6; // rcx
__int64 v7; // rdx
result = *(unsigned __int8 *)(a1 + 16);
*(_BYTE *)(a1 + 16) = 0;
if ( (_BYTE)result && a3 )
{
v5 = (_QWORD *)EditorSFXManager::sharedState();
EditorSFXManager::clearAll(v5);
v6 = *(_QWORD *)(a1 + 8);
if ( v6 )
cocos2d::CCNode::scheduleOnce(v6, FLAlertLayer::rebuildContentDeferred);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 664) + 992LL))(a1 - 664, 0);
LOBYTE(v7) = 1;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)(a1 - 664) + 520LL))(a1 - 664, v7);
}
return result;
}