//
// EditorUI::FLAlert_Clicked from 0x1000330f0 to 0x1000331a8 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b0588
//
// 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)
{
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 ( a3 )
a1->m_editorLayer->m_level->m_highObjectsEnabled = 1;
}
else if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 126 )
{
a1->m_alertShown = 0;
if ( a3 )
a1->m_editorLayer->m_level->m_unlimitedObjectsEnabled = 1;
}
else if ( a3 )
{
EditorUI::deselectAll(a1);
LevelEditorLayer::removeAllObjects(a1->m_editorLayer);
}
}