//
// EditorUI::FLAlert_Clicked from 0x7c1ca8 to 0x7c1d90 (232 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'EditorUI::FLAlert_Clicked @ 0x7c1d94
// > ??> @ 0x82b40
// > ??> @ 0x1437200
//
// 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 12:54:07 +0000
//
__int64 __fastcall EditorUI::FLAlert_Clicked(EditorUI *this, FLAlertLayer *a2, unsigned __int8 a3)
{
int v5; // w21
__int64 result; // x0
v5 = a3;
result = (*(__int64 (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 122 )
{
*((_BYTE *)this + 632) = 0;
}
else
{
result = (*(__int64 (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 125 )
{
*((_BYTE *)this + 632) = 0;
if ( v5 )
{
result = *(_QWORD *)(*((_QWORD *)this + 180) + 1936LL);
*(_BYTE *)(result + 1200) = 1;
}
}
else
{
result = (*(__int64 (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 126 )
{
*((_BYTE *)this + 632) = 0;
if ( v5 )
{
result = *(_QWORD *)(*((_QWORD *)this + 180) + 1936LL);
*(_BYTE *)(result + 1201) = 1;
}
}
else if ( v5 )
{
return EditorUI::onDeleteAll((LevelEditorLayer **)this, nullptr);
}
}
}
return result;
}