//
// EditorSoundsSettingsPopup::FLAlert_Clicked from 0x1004d9194 to 0x1004d9200 (108 bytes)
//
// 2 xrefs:
// > sub_1004D9200 @ 0x1004d9204
// > ??> @ 0x10098b3c0
//
// This function is hookable on this platform (idp: arm, 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:06:32 +0000
//
__int64 __fastcall EditorSoundsSettingsPopup::FLAlert_Clicked(__int64 result, __int64 a2, int a3)
{
int v3; // w8
_QWORD *v5; // x19
_QWORD *v6; // x0
__int64 v7; // x0
v3 = *(unsigned __int8 *)(result + 680);
*(_BYTE *)(result + 680) = 0;
if ( v3 == 1 && a3 != 0 )
{
v5 = (_QWORD *)result;
v6 = (_QWORD *)EditorSFXManager::sharedState();
EditorSFXManager::clearAll(v6);
v7 = v5[84];
if ( v7 )
FLAlertLayer::requestRebuild(v7);
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v5 + 1072LL))(v5, 0);
return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*v5 + 528LL))(v5, 1);
}
return result;
}