//
// EditorUI::FLAlert_Clicked from 0x481d88 to 0x481dfc (116 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'EditorUI::FLAlert_Clicked @ 0x481e00
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:23 +0000
//
unsigned int __fastcall EditorUI::FLAlert_Clicked(EditorUI *this, FLAlertLayer *a2, int a3)
{
unsigned int result; // r0
result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);
if ( result == 122 )
{
*((_BYTE *)this + 464) = 0;
}
else
{
result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);
if ( result == 125 )
{
*((_BYTE *)this + 464) = 0;
if ( a3 )
*(_BYTE *)(*(_DWORD *)(*((_DWORD *)this + 236) + 1408) + 984) = 1;
}
else
{
result = (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)a2 + 32))(a2);
if ( result == 126 )
{
*((_BYTE *)this + 464) = 0;
if ( a3 )
*(_BYTE *)(*(_DWORD *)(*((_DWORD *)this + 236) + 1408) + 985) = 1;
}
else if ( a3 )
{
return EditorUI::onDeleteAll((LevelEditorLayer **)this, nullptr);
}
}
}
return result;
}