// // EditorPauseLayer::onSaveAndExit from 0x10027e360 to 0x10027e3ff (159 bytes) // // 1 xrefs: // > EditorPauseLayer::customSetup @ 0x10027d430 // // 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::onSaveAndExit(__int64 a1) { double v2; // xmm0_8 __int64 v3; // rax __int64 v4; // rdi __int64 v5; // rax __int64 v6; // rax __int64 v7; // rdx double v8; // xmm0_8 __int64 v9; // rax __int64 result; // rax if ( !*(_BYTE *)(a1 + 568) ) { v2 = (*(double (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0); *(_BYTE *)(a1 + 568) = 1; v3 = LocalLevelManager::sharedState(v2); sub_1004A5220(v3, 30.0); v4 = *(_QWORD *)(a1 + 576); if ( v4 ) LevelEditorLayer::saveLevel(v4); v5 = EditorSFXManager::sharedState(v4); EditorSFXManager::playAction_1(v5, 224); sub_1000A9AF0(30.0); v6 = FMODAudioEngine::sharedEngine(30.0); FMODAudioEngine::unloadAllEffects(v6); CCBlockLayer::decrementForcePrio(a1); *(_QWORD *)&v8 = GameManager::sharedState(a1, 224, v7).u64[0]; return GameManager::returnToLastScene(v9, *(_QWORD *)(*(_QWORD *)(a1 + 576) + 1936LL), v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source