; ; EditorPauseLayer::onExitEditor from 0x1400de2a0 to 0x1400de36e (206 bytes) ; ; 4 xrefs: ; > EditorPauseLayer::onSaveAndExit @ 0x1400de294 ; > EditorPauseLayer::onExitNoSave @ 0x1400de3a5 ; > EditorPauseLayer::FLAlert_Clicked @ 0x1400de522 ; > @ 0x1406c8a90 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_8], rdx ; +0x0, 0x1400de2a0 push rbx ; +0x5, 0x1400de2a5 sub rsp, 20h ; +0x6, 0x1400de2a6 mov rbx, rcx ; +0xa, 0x1400de2aa mov rcx, cs:qword_1406C2E88 ; +0xd, 0x1400de2ad test rcx, rcx ; +0x14, 0x1400de2b4 jnz short loc_1400DE2E8 ; +0x17, 0x1400de2b7 mov ecx, 888h; Size ; +0x19, 0x1400de2b9 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1e, 0x1400de2be mov [rsp+28h+arg_8], rax ; +0x23, 0x1400de2c3 mov rcx, rax ; +0x28, 0x1400de2c8 call FMODAudioEngine__FMODAudioEngine ; +0x2b, 0x1400de2cb nop ; +0x30, 0x1400de2d0 mov cs:qword_1406C2E88, rax ; +0x31, 0x1400de2d1 mov rdx, [rax] ; +0x38, 0x1400de2d8 mov rcx, rax ; +0x3b, 0x1400de2db call qword ptr [rdx+48h] ; +0x3e, 0x1400de2de mov rcx, cs:qword_1406C2E88 ; +0x41, 0x1400de2e1 call FMODAudioEngine__unloadAllEffects ; +0x48, 0x1400de2e8 cmp byte ptr [rbx+221h], 0 ; +0x4d, 0x1400de2ed jz short loc_1400DE31B ; +0x54, 0x1400de2f4 mov byte ptr [rbx+221h], 0 ; +0x56, 0x1400de2f6 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x5d, 0x1400de2fd mov rdx, [rax] ; +0x63, 0x1400de303 mov rcx, rax ; +0x66, 0x1400de306 call qword ptr [rdx+90h] ; +0x69, 0x1400de309 mov rcx, rax ; +0x6f, 0x1400de30f mov rdx, rbx ; +0x72, 0x1400de312 call cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x75, 0x1400de315 mov rcx, cs:qword_1406C2ED8 ; +0x7b, 0x1400de31b test rcx, rcx ; +0x82, 0x1400de322 jnz short loc_1400DE356 ; +0x85, 0x1400de325 mov ecx, 668h; Size ; +0x87, 0x1400de327 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x8c, 0x1400de32c mov [rsp+28h+arg_8], rax ; +0x91, 0x1400de331 mov rcx, rax ; +0x96, 0x1400de336 call sub_14017AB00 ; +0x99, 0x1400de339 nop ; +0x9e, 0x1400de33e mov cs:qword_1406C2ED8, rax ; +0x9f, 0x1400de33f mov rdx, [rax] ; +0xa6, 0x1400de346 mov rcx, rax ; +0xa9, 0x1400de349 call qword ptr [rdx+48h] ; +0xac, 0x1400de34c mov rcx, cs:qword_1406C2ED8 ; +0xaf, 0x1400de34f mov rdx, [rbx+248h] ; +0xb6, 0x1400de356 mov rdx, [rdx+878h] ; +0xbd, 0x1400de35d add rsp, 20h ; +0xc4, 0x1400de364 pop rbx ; +0xc8, 0x1400de368 jmp GameManager__returnToLastScene ; +0xc9, 0x1400de369