; ; EditorPauseLayer::onSaveAndPlay from 0x10027e2d0 to 0x10027e356 (134 bytes) ; ; 1 xrefs: ; > EditorPauseLayer::customSetup @ 0x10027d3ce ; ; 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, 0x10027e2d0 jz short loc_10027E2DA ; +0x7, 0x10027e2d7 retn ; +0x9, 0x10027e2d9 push rbp ; +0xa, 0x10027e2da mov rbp, rsp ; +0xb, 0x10027e2db push r14 ; +0xe, 0x10027e2de push rbx ; +0x10, 0x10027e2e0 mov rbx, rdi ; +0x11, 0x10027e2e1 mov rax, [rdi] ; +0x14, 0x10027e2e4 xor esi, esi ; +0x17, 0x10027e2e7 call qword ptr [rax+430h] ; +0x19, 0x10027e2e9 mov byte ptr [rbx+238h], 1 ; +0x1f, 0x10027e2ef call LocalLevelManager__sharedState ; +0x26, 0x10027e2f6 movsd xmm0, cs:qword_100A072C8 ; +0x2b, 0x10027e2fb mov rdi, rax ; +0x33, 0x10027e303 call sub_1004A5220 ; +0x36, 0x10027e306 mov rdi, [rbx+240h] ; +0x3b, 0x10027e30b test rdi, rdi ; +0x42, 0x10027e312 jz short loc_10027E31C ; +0x45, 0x10027e315 call LevelEditorLayer__saveLevel ; +0x47, 0x10027e317 xorps xmm0, xmm0 ; +0x4c, 0x10027e31c call cocos2d__CCDelayTime__create ; +0x4f, 0x10027e31f mov r14, rax ; +0x54, 0x10027e324 lea rsi, EditorPauseLayer__playStep2 ; +0x57, 0x10027e327 mov rdi, rbx ; +0x5e, 0x10027e32e xor edx, edx ; +0x61, 0x10027e331 call cocos2d__CCCallFunc__create ; +0x63, 0x10027e333 mov rdi, r14 ; +0x68, 0x10027e338 mov rsi, rax ; +0x6b, 0x10027e33b xor edx, edx ; +0x6e, 0x10027e33e xor eax, eax ; +0x70, 0x10027e340 call sub_10039EB60 ; +0x72, 0x10027e342 mov rdi, rbx ; +0x77, 0x10027e347 mov rsi, rax ; +0x7a, 0x10027e34a pop rbx ; +0x7d, 0x10027e34d pop r14 ; +0x7e, 0x10027e34e pop rbp ; +0x80, 0x10027e350 jmp cocos2d__CCNode__runAction ; +0x81, 0x10027e351