//
// EditorSoundsSettingsPopup::FLAlert_Clicked from 0x1008ffd10 to 0x1008ffd72 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bb83b8
//
// 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:38:02 +0000
//
__int64 __fastcall EditorSoundsSettingsPopup::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
char v3; // dl
__int64 v5; // rax
__int64 v6; // rdi
__int64 result; // rax
v3 = *(_BYTE *)(a1 + 680) & a3;
*(_BYTE *)(a1 + 680) = 0;
if ( v3 == 1 )
{
v5 = EditorSFXManager::sharedState();
EditorSFXManager::clearAll(v5);
v6 = *(_QWORD *)(a1 + 672);
if ( v6 )
sub_100495650(v6);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1);
}
return result;
}