; ; EditorPauseLayer::onSaveAndExit from 0x140182b30 to 0x140182b8d (93 bytes) ; ; 3 xrefs: ; > EditorPauseLayer::customSetup @ 0x1401816f9 ; > @ 0x140918c68 ; > @ 0x140918c74 ; ; 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 11:27:37 +0000 ; push rbx ; +0x0, 0x140182b30 sub rsp, 20h ; +0x2, 0x140182b32 cmp byte ptr [rcx+238h], 0 ; +0x6, 0x140182b36 mov rbx, rcx ; +0xd, 0x140182b3d jnz short loc_140182B87 ; +0x10, 0x140182b40 mov rax, [rcx] ; +0x12, 0x140182b42 xor edx, edx ; +0x15, 0x140182b45 call qword ptr [rax+3E0h] ; +0x17, 0x140182b47 mov byte ptr [rbx+238h], 1 ; +0x1d, 0x140182b4d call LocalLevelManager__sharedState ; +0x24, 0x140182b54 movsd xmm1, cs:qword_140835380 ; +0x29, 0x140182b59 mov rcx, rax ; +0x31, 0x140182b61 call GManager__waitForSave ; +0x34, 0x140182b64 mov rcx, [rbx+240h] ; +0x39, 0x140182b69 test rcx, rcx ; +0x40, 0x140182b70 jz short loc_140182B7A ; +0x43, 0x140182b73 call LevelEditorLayer__saveLevel ; +0x45, 0x140182b75 mov rcx, rbx ; +0x4a, 0x140182b7a add rsp, 20h ; +0x4d, 0x140182b7d pop rbx ; +0x51, 0x140182b81 jmp EditorPauseLayer__onExitEditor ; +0x52, 0x140182b82 add rsp, 20h ; +0x57, 0x140182b87 pop rbx ; +0x5b, 0x140182b8b retn ; +0x5c, 0x140182b8c