//
// EditorPauseLayer::FLAlert_Clicked from 0x100294e50 to 0x100294f10 (192 bytes)
//
// 2 xrefs:
// > sub_100294F10 @ 0x100294f1c
// > ??> @ 0x1008f75b0
//
// 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 EditorPauseLayer::FLAlert_Clicked(EditorPauseLayer *a1, FLAlertLayer *a2, bool a3)
{
bool v3; // r14
FMODAudioEngine *v4; // rax
GameManager *v5; // rax
v3 = !a3;
if ( !a3 | (((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) != 1) )
{
if ( v3 | (((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) != 2) )
{
if ( !(v3 | (((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) != 3)) )
EditorPauseLayer::saveLevel(a1);
}
else
{
LevelEditorLayer::resetUnusedColorChannels(a1->m_editorLayer);
}
}
else
{
v4 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::unloadAllEffects(v4);
CCBlockLayer::decrementForcePrio(a1);
v5 = GameManager::sharedState();
GameManager::returnToLastScene(v5, a1->m_editorLayer->m_level);
}
}