//
// EditorUI::FLAlert_Clicked from 0x1003e9dac to 0x1003e9e7c (208 bytes)
//
// 2 xrefs:
// > sub_1003E9E7C @ 0x1003e9e80
// > ??> @ 0x100813fc8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall EditorUI::FLAlert_Clicked(EditorUI *a1, FLAlertLayer *a2, bool a3)
{
_BOOL4 v3; // w20
v3 = a3;
if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 122 )
{
a1->m_alertShown = 0;
}
else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 125 )
{
a1->m_alertShown = 0;
if ( v3 )
a1->m_editorLayer->m_level->m_highObjectsEnabled = 1;
}
else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 126 )
{
a1->m_alertShown = 0;
if ( v3 )
a1->m_editorLayer->m_level->m_unlimitedObjectsEnabled = 1;
}
else if ( v3 )
{
EditorUI::deselectAll(a1);
LevelEditorLayer::removeAllObjects(a1->m_editorLayer);
}
}