; ; EditorPauseLayer::onExitEditor from 0x140182b90 to 0x140182c7e (238 bytes) ; ; 4 xrefs: ; > EditorPauseLayer::onSaveAndExit @ 0x140182b82 ; > EditorPauseLayer::onExitNoSave @ 0x140182cb5 ; > EditorPauseLayer::FLAlert_Clicked @ 0x140182e32 ; > @ 0x140918c80 ; ; 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 ; mov [rsp+arg_8], rdx ; +0x0, 0x140182b90 push rbx ; +0x5, 0x140182b95 sub rsp, 20h ; +0x6, 0x140182b96 mov rbx, rcx ; +0xa, 0x140182b9a call EditorSFXManager__sharedState ; +0xd, 0x140182b9d mov rcx, rax ; +0x12, 0x140182ba2 mov edx, 0E0h ; +0x15, 0x140182ba5 call EditorSFXManager__playAction ; +0x1a, 0x140182baa call LevelEditorLayer__waitForAutoSave ; +0x1f, 0x140182baf mov rcx, cs:qword_14090BF60 ; +0x24, 0x140182bb4 test rcx, rcx ; +0x2b, 0x140182bbb jnz short loc_140182BF2 ; +0x2e, 0x140182bbe mov ecx, 8A8h; Size ; +0x30, 0x140182bc0 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x35, 0x140182bc5 mov [rsp+28h+arg_8], rax ; +0x3a, 0x140182bca mov rcx, rax ; +0x3f, 0x140182bcf call FMODAudioEngine__FMODAudioEngine ; +0x42, 0x140182bd2 nop ; +0x47, 0x140182bd7 mov cs:qword_14090BF60, rax ; +0x48, 0x140182bd8 mov rcx, [rax] ; +0x4f, 0x140182bdf mov rdx, [rcx+48h] ; +0x52, 0x140182be2 mov rcx, rax ; +0x56, 0x140182be6 call rdx ; +0x59, 0x140182be9 mov rcx, cs:qword_14090BF60 ; +0x5b, 0x140182beb call FMODAudioEngine__unloadAllEffects ; +0x62, 0x140182bf2 cmp byte ptr [rbx+221h], 0 ; +0x67, 0x140182bf7 jz short loc_140182C28 ; +0x6e, 0x140182bfe mov byte ptr [rbx+221h], 0 ; +0x70, 0x140182c00 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x77, 0x140182c07 mov rcx, [rax] ; +0x7d, 0x140182c0d mov rdx, [rcx+90h] ; +0x80, 0x140182c10 mov rcx, rax ; +0x87, 0x140182c17 call rdx ; +0x8a, 0x140182c1a mov rcx, rax ; +0x8c, 0x140182c1c mov rdx, rbx ; +0x8f, 0x140182c1f call cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x92, 0x140182c22 mov rcx, cs:qword_14090BFD0 ; +0x98, 0x140182c28 test rcx, rcx ; +0x9f, 0x140182c2f jnz short loc_140182C66 ; +0xa2, 0x140182c32 mov ecx, 6E8h; Size ; +0xa4, 0x140182c34 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xa9, 0x140182c39 mov [rsp+28h+arg_8], rax ; +0xae, 0x140182c3e mov rcx, rax ; +0xb3, 0x140182c43 call GameManager__GameManager ; +0xb6, 0x140182c46 nop ; +0xbb, 0x140182c4b mov cs:qword_14090BFD0, rax ; +0xbc, 0x140182c4c mov rcx, [rax] ; +0xc3, 0x140182c53 mov rdx, [rcx+48h] ; +0xc6, 0x140182c56 mov rcx, rax ; +0xca, 0x140182c5a call rdx ; +0xcd, 0x140182c5d mov rcx, cs:qword_14090BFD0 ; +0xcf, 0x140182c5f mov rdx, [rbx+240h] ; +0xd6, 0x140182c66 mov rdx, [rdx+878h] ; +0xdd, 0x140182c6d add rsp, 20h ; +0xe4, 0x140182c74 pop rbx ; +0xe8, 0x140182c78 jmp GameManager__returnToLastScene ; +0xe9, 0x140182c79