//
// EditorPauseLayer::onExitEditor from 0x78e8c8 to 0x78e900 (56 bytes)
//
// 4 xrefs:
// > EditorPauseLayer::onSaveAndExit @ 0x78e954
// > EditorPauseLayer::FLAlert_Clicked @ 0x78e9a4
// > EditorPauseLayer::onExitNoSave @ 0x78ea64
// > ??> @ 0x2f358
//
// 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 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);
}