//
// EditorPauseLayer::FLAlert_Clicked from 0x10039e7f8 to 0x10039e8b4 (188 bytes)
//
// 2 xrefs:
// > sub_10039E8B4 @ 0x10039e8b8
// > ??> @ 0x10080bc10
//
// 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)
{
_BOOL4 v3; // w20
cocos2d::CCObject *v6; // x1
v3 = a3;
if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) != 1 || !v3 )
{
if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) != 2 || !v3 )
{
if ( ((unsigned int (__fastcall *)(FLAlertLayer *))a2->getTag)(a2) == 3 && v3 )
EditorPauseLayer::saveLevel(a1);
}
else
{
LevelEditorLayer::resetUnusedColorChannels(a1->m_editorLayer);
}
}
else
{
EditorPauseLayer::onExitEditor(a1, v6);
}
}