//
// EditorUI::FLAlert_Clicked from 0x1401b0fd0 to 0x1401b10ad (221 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407516f8
// > ??> @ 0x140919f1c
//
// 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:27:56 +0000
//
__int64 __fastcall EditorUI::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 result; // rax
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
if ( (_DWORD)result == 122 )
{
*(_BYTE *)(a1 + 272) = 0;
}
else
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
if ( (_DWORD)result == 125 )
{
*(_BYTE *)(a1 + 272) = 0;
if ( a3 )
{
result = *(_QWORD *)(a1 + 1104);
*(_BYTE *)(*(_QWORD *)(result + 2168) + 1296LL) = 1;
}
}
else
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
if ( (_DWORD)result == 126 )
{
*(_BYTE *)(a1 + 272) = 0;
if ( a3 )
{
result = *(_QWORD *)(a1 + 1104);
*(_BYTE *)(*(_QWORD *)(result + 2168) + 1297LL) = 1;
}
}
else if ( a3 )
{
return EditorUI::onDeleteAll(a1 - 408);
}
}
}
return result;
}