//
// EditorPauseLayer::onExitEditor from 0x10039e7c0 to 0x10039e7f8 (56 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::onSaveAndExit @ 0x10039dbc4
// > EditorPauseLayer::onExitNoSave @ 0x10039dd48
// > EditorPauseLayer::FLAlert_Clicked @ 0x10039e888
//
// 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::onExitEditor(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
FMODAudioEngine *v3; // x0
GameManager *v4; // x0
v3 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::unloadAllEffects(v3);
CCBlockLayer::decrementForcePrio(a1);
v4 = GameManager::sharedState();
GameManager::returnToLastScene(v4, a1->m_editorLayer->m_level);
}