; ; 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 ; cmp byte ptr [rdi+238h], 0 ; +0x0, 0x10027e360 jz short loc_10027E36A ; +0x7, 0x10027e367 retn ; +0x9, 0x10027e369 push rbp ; +0xa, 0x10027e36a mov rbp, rsp ; +0xb, 0x10027e36b push rbx ; +0xe, 0x10027e36e push rax ; +0xf, 0x10027e36f mov rbx, rdi ; +0x10, 0x10027e370 mov rax, [rdi] ; +0x13, 0x10027e373 xor esi, esi ; +0x16, 0x10027e376 call qword ptr [rax+430h] ; +0x18, 0x10027e378 mov byte ptr [rbx+238h], 1 ; +0x1e, 0x10027e37e call LocalLevelManager__sharedState ; +0x25, 0x10027e385 movsd xmm0, cs:qword_100A072C8 ; +0x2a, 0x10027e38a mov rdi, rax ; +0x32, 0x10027e392 call sub_1004A5220 ; +0x35, 0x10027e395 mov rdi, [rbx+240h] ; +0x3a, 0x10027e39a test rdi, rdi ; +0x41, 0x10027e3a1 jz short loc_10027E3AB ; +0x44, 0x10027e3a4 call LevelEditorLayer__saveLevel ; +0x46, 0x10027e3a6 call EditorSFXManager__sharedState ; +0x4b, 0x10027e3ab mov rdi, rax ; +0x50, 0x10027e3b0 mov esi, 0E0h ; +0x53, 0x10027e3b3 call EditorSFXManager__playAction_1 ; +0x58, 0x10027e3b8 mov rdi, [rbx+240h] ; +0x5d, 0x10027e3bd call sub_1000A9AF0 ; +0x64, 0x10027e3c4 call FMODAudioEngine__sharedEngine ; +0x69, 0x10027e3c9 mov rdi, rax ; +0x6e, 0x10027e3ce call FMODAudioEngine__unloadAllEffects ; +0x71, 0x10027e3d1 mov rdi, rbx ; +0x76, 0x10027e3d6 call CCBlockLayer__decrementForcePrio ; +0x79, 0x10027e3d9 call GameManager__sharedState ; +0x7e, 0x10027e3de mov rcx, [rbx+240h] ; +0x83, 0x10027e3e3 mov rsi, [rcx+790h] ; +0x8a, 0x10027e3ea mov rdi, rax ; +0x91, 0x10027e3f1 add rsp, 8 ; +0x94, 0x10027e3f4 pop rbx ; +0x98, 0x10027e3f8 pop rbp ; +0x99, 0x10027e3f9 jmp GameManager__returnToLastScene ; +0x9a, 0x10027e3fa