//
// EditorPauseLayer::onExitEditor from 0x10027f400 to 0x10027f45d (93 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:27:42 +0000
//
__int64 __fastcall EditorPauseLayer::onExitEditor(__int64 a1, double a2)
{
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rdx
double v5; // xmm0_8
__int64 v6; // rax
v2 = EditorSFXManager::sharedState(a1);
EditorSFXManager::playAction_1(v2, 224);
sub_1000A9AF0(a2);
v3 = FMODAudioEngine::sharedEngine(a2);
FMODAudioEngine::unloadAllEffects(v3);
CCBlockLayer::decrementForcePrio(a1);
*(_QWORD *)&v5 = GameManager::sharedState(a1, 224, v4).u64[0];
return GameManager::returnToLastScene(v6, *(_QWORD *)(*(_QWORD *)(a1 + 576) + 1936LL), v5);
}