//
// EditorUI::FLAlert_Clicked from 0x100010170 to 0x10001024d (221 bytes)
//
// 2 xrefs:
// > sub_100010250 @ 0x10001025c
// > ??> @ 0x100ab50b0
//
// 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:18:51 +0000
//
__int64 __fastcall EditorUI::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)
{
__int64 result; // rax
_DWORD *v6; // rdi
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 122 )
{
*(_BYTE *)(a1 + 632) = 0;
}
else
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 125 )
{
*(_BYTE *)(a1 + 632) = 0;
if ( a3 )
{
result = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 1936LL);
*(_BYTE *)(result + 1200) = 1;
}
}
else
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 126 )
{
*(_BYTE *)(a1 + 632) = 0;
if ( a3 )
{
result = *(_QWORD *)(*(_QWORD *)(a1 + 1440) + 1936LL);
*(_BYTE *)(result + 1201) = 1;
}
}
else if ( a3 )
{
EditorUI::deselectAll(a1);
v6 = *(_DWORD **)(a1 + 1440);
v6[3678] += v6[3568] - v6[3569];
EditorBuildStats::noteAction(v6 + 3676);
return LevelEditorLayer::removeAllObjects(*(_QWORD *)(a1 + 1440));
}
}
}
return result;
}