//
// EditorPauseLayer::onExitEditor from 0x100444b1c to 0x100444b68 (76 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::onSaveAndExit @ 0x100444480
// > EditorPauseLayer::onExitNoSave @ 0x100444604
// > EditorPauseLayer::FLAlert_Clicked @ 0x100444c90
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:05:14 +0000
//
void __fastcall EditorPauseLayer::onExitEditor(__int64 a1, __n128 a2)
{
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x0
v3 = EditorSFXManager::sharedState(a2);
EditorSFXManager::playAction_1(v3, 224);
LevelEditorLayer::waitForAutoSave();
v4 = FMODAudioEngine::sharedEngine();
FMODAudioEngine::unloadAllEffects(v4);
CCBlockLayer::decrementForcePrio(a1);
v5 = GameManager::sharedState();
GameManager::returnToLastScene(v5, *(_DWORD **)(*(_QWORD *)(a1 + 576) + 1936LL));
}