; ; EditorUI::onPause from 0x1400e19c0 to 0x1400e1dc6 (1030 bytes) ; ; 4 xrefs: ; > EditorUI::keyBackClicked @ 0x140114989 ; > EditorUI::keyDown @ 0x140126769 ; > EditorUI::init @ 0x1400e0929 ; > @ 0x1406c8b74 ; ; 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], rbx ; +0x0, 0x1400e19c0 mov [rsp+arg_10], rbp ; +0x5, 0x1400e19c5 push rsi ; +0xa, 0x1400e19ca push rdi ; +0xb, 0x1400e19cb push r14 ; +0xc, 0x1400e19cc sub rsp, 50h ; +0xe, 0x1400e19ce mov rax, cs:__security_cookie ; +0x12, 0x1400e19d2 xor rax, rsp ; +0x19, 0x1400e19d9 mov [rsp+68h+var_20], rax ; +0x1c, 0x1400e19dc mov rdi, rcx ; +0x21, 0x1400e19e1 cmp byte ptr [rcx+5A0h], 0 ; +0x24, 0x1400e19e4 jnz loc_1400E1DA3 ; +0x2b, 0x1400e19eb mov rcx, [rcx+500h] ; +0x31, 0x1400e19f1 cmp dword ptr [rcx+880h], 0 ; +0x38, 0x1400e19f8 jnz short loc_1400E1A19 ; +0x3f, 0x1400e19ff mov rcx, [rcx+0FE8h] ; +0x41, 0x1400e1a01 mov rax, [rcx] ; +0x48, 0x1400e1a08 call qword ptr [rax+0A8h] ; +0x4b, 0x1400e1a0b movss dword ptr [rdi+59Ch], xmm0 ; +0x51, 0x1400e1a11 mov rcx, [rdi+500h] ; +0x59, 0x1400e1a19 call LevelEditorLayer__updateKeyframeObjects ; +0x60, 0x1400e1a20 mov dl, 1 ; +0x65, 0x1400e1a25 mov rcx, rdi ; +0x67, 0x1400e1a27 call EditorUI__showUI ; +0x6a, 0x1400e1a2a cmp byte ptr [rdi+258h], 0 ; +0x6f, 0x1400e1a2f jz short loc_1400E1A42 ; +0x76, 0x1400e1a36 xor edx, edx ; +0x78, 0x1400e1a38 mov rcx, rdi ; +0x7a, 0x1400e1a3a call EditorUI__onPlayback ; +0x7d, 0x1400e1a3d mov rcx, [rdi+500h] ; +0x82, 0x1400e1a42 call LevelEditorLayer__onStopPlaytest ; +0x89, 0x1400e1a49 mov rcx, rdi ; +0x8e, 0x1400e1a4e call EditorUI__playtestStopped ; +0x91, 0x1400e1a51 mov rcx, rdi ; +0x96, 0x1400e1a56 call EditorUI__updatePlaybackBtn ; +0x99, 0x1400e1a59 mov rax, [rdi+500h] ; +0x9e, 0x1400e1a5e mov rcx, [rax+0FE8h] ; +0xa5, 0x1400e1a65 mov rbx, [rax+878h] ; +0xac, 0x1400e1a6c mov rax, [rcx] ; +0xb3, 0x1400e1a73 call qword ptr [rax+0C8h] ; +0xb6, 0x1400e1a76 mov rdx, rax ; +0xbc, 0x1400e1a7c lea rcx, [rsp+68h+var_48] ; +0xbf, 0x1400e1a7f call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xc4, 0x1400e1a84 lea rcx, [rbx+43Ch] ; +0xca, 0x1400e1a8a mov rdx, rax ; +0xd1, 0x1400e1a91 call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xd4, 0x1400e1a94 mov rax, [rdi+500h] ; +0xda, 0x1400e1a9a mov rcx, [rax+0FE8h] ; +0xe1, 0x1400e1aa1 mov rbx, [rax+878h] ; +0xe8, 0x1400e1aa8 mov rax, [rcx] ; +0xef, 0x1400e1aaf call qword ptr [rax+0A8h] ; +0xf2, 0x1400e1ab2 movss dword ptr [rbx+444h], xmm0 ; +0xf8, 0x1400e1ab8 mov rax, [rdi+2F8h] ; +0x100, 0x1400e1ac0 mov rcx, [rax+158h] ; +0x107, 0x1400e1ac7 mov ebx, [rcx+244h] ; +0x10e, 0x1400e1ace cmp byte ptr [rcx+1C0h], 0 ; +0x114, 0x1400e1ad4 jz short loc_1400E1AE6 ; +0x11b, 0x1400e1adb mov rcx, [rcx+1B8h] ; +0x11d, 0x1400e1add jmp short loc_1400E1AED ; +0x124, 0x1400e1ae4 mov rcx, [rcx+1D8h] ; +0x126, 0x1400e1ae6 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x12d, 0x1400e1aed mov ecx, eax ; +0x133, 0x1400e1af3 test ebx, ebx ; +0x135, 0x1400e1af5 jle short loc_1400E1B02 ; +0x137, 0x1400e1af7 mov eax, ebx ; +0x139, 0x1400e1af9 cdq ; +0x13b, 0x1400e1afb idiv ecx ; +0x13c, 0x1400e1afc mov ebx, edx ; +0x13e, 0x1400e1afe jmp short loc_1400E1B08 ; +0x140, 0x1400e1b00 jns short loc_1400E1B08 ; +0x142, 0x1400e1b02 add ebx, ecx ; +0x144, 0x1400e1b04 js short loc_1400E1B04 ; +0x146, 0x1400e1b06 mov rax, [rdi+500h] ; +0x148, 0x1400e1b08 mov rcx, [rax+878h] ; +0x14f, 0x1400e1b0f mov [rcx+44Ch], ebx ; +0x156, 0x1400e1b16 mov rax, [rdi+500h] ; +0x15c, 0x1400e1b1c mov rcx, [rax+878h] ; +0x163, 0x1400e1b23 mov eax, [rdi+558h] ; +0x16a, 0x1400e1b2a mov [rcx+448h], eax ; +0x170, 0x1400e1b30 mov rax, [rdi+500h] ; +0x176, 0x1400e1b36 movsx ecx, word ptr [rax+387Ah] ; +0x17d, 0x1400e1b3d mov rax, [rax+878h] ; +0x184, 0x1400e1b44 mov [rax+450h], ecx ; +0x18b, 0x1400e1b4b xor r14d, r14d ; +0x191, 0x1400e1b51 mov esi, r14d ; +0x194, 0x1400e1b54 mov rcx, [rdi+440h] ; +0x197, 0x1400e1b57 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x19e, 0x1400e1b5e test eax, eax ; +0x1a4, 0x1400e1b64 jz loc_1400E1C94 ; +0x1a6, 0x1400e1b66 nop dword ptr [rax+00h] ; +0x1ac, 0x1400e1b6c mov edx, esi ; +0x1b0, 0x1400e1b70 mov rcx, [rdi+440h] ; +0x1b2, 0x1400e1b72 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1b9, 0x1400e1b79 mov rcx, [rax+158h] ; +0x1bf, 0x1400e1b7f mov ebx, [rcx+244h] ; +0x1c6, 0x1400e1b86 cmp byte ptr [rcx+1C0h], 0 ; +0x1cc, 0x1400e1b8c jz short loc_1400E1B9E ; +0x1d3, 0x1400e1b93 mov rcx, [rcx+1B8h] ; +0x1d5, 0x1400e1b95 jmp short loc_1400E1BA5 ; +0x1dc, 0x1400e1b9c mov rcx, [rcx+1D8h] ; +0x1de, 0x1400e1b9e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1e5, 0x1400e1ba5 mov ecx, eax ; +0x1eb, 0x1400e1bab test ebx, ebx ; +0x1ed, 0x1400e1bad jle short loc_1400E1BBA ; +0x1ef, 0x1400e1baf mov eax, ebx ; +0x1f1, 0x1400e1bb1 cdq ; +0x1f3, 0x1400e1bb3 idiv ecx ; +0x1f4, 0x1400e1bb4 mov ebx, edx ; +0x1f6, 0x1400e1bb6 jmp short loc_1400E1BC4 ; +0x1f8, 0x1400e1bb8 jns short loc_1400E1BC4 ; +0x1fa, 0x1400e1bba nop dword ptr [rax+00h] ; +0x1fc, 0x1400e1bbc add ebx, ecx ; +0x200, 0x1400e1bc0 js short loc_1400E1BC0 ; +0x202, 0x1400e1bc2 mov rax, [rdi+500h] ; +0x204, 0x1400e1bc4 mov rbp, [rax+878h] ; +0x20b, 0x1400e1bcb mov edx, esi ; +0x212, 0x1400e1bd2 lea rcx, aI_11; "%i" ; +0x214, 0x1400e1bd4 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x21b, 0x1400e1bdb mov rcx, rax ; +0x221, 0x1400e1be1 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x224, 0x1400e1be4 xorps xmm0, xmm0 ; +0x22a, 0x1400e1bea movups [rsp+68h+var_40], xmm0 ; +0x22d, 0x1400e1bed mov [rsp+68h+var_30], r14 ; +0x232, 0x1400e1bf2 mov [rsp+68h+var_28], r14 ; +0x237, 0x1400e1bf7 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x23c, 0x1400e1bfc inc r8 ; +0x243, 0x1400e1c03 cmp byte ptr [rax+r8], 0 ; +0x246, 0x1400e1c06 jnz short loc_1400E1C03 ; +0x24b, 0x1400e1c0b mov rdx, rax ; +0x24d, 0x1400e1c0d lea rcx, [rsp+68h+var_40] ; +0x250, 0x1400e1c10 call sub_14003A930 ; +0x255, 0x1400e1c15 nop ; +0x25a, 0x1400e1c1a mov edx, ebx ; +0x25b, 0x1400e1c1b lea rcx, aI_11; "%i" ; +0x25d, 0x1400e1c1d call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x264, 0x1400e1c24 mov rdx, rax ; +0x26a, 0x1400e1c2a lea r8, [rsp+68h+var_40] ; +0x26d, 0x1400e1c2d mov rcx, [rbp+140h] ; +0x272, 0x1400e1c32 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x279, 0x1400e1c39 nop ; +0x27f, 0x1400e1c3f mov rdx, [rsp+68h+var_28] ; +0x280, 0x1400e1c40 cmp rdx, 0Fh ; +0x285, 0x1400e1c45 jbe short loc_1400E1C7D ; +0x289, 0x1400e1c49 inc rdx ; +0x28b, 0x1400e1c4b mov rcx, qword ptr [rsp+68h+var_40] ; +0x28e, 0x1400e1c4e mov rax, rcx ; +0x293, 0x1400e1c53 cmp rdx, 1000h ; +0x296, 0x1400e1c56 jb short loc_1400E1C78 ; +0x29d, 0x1400e1c5d add rdx, 27h ; ''' ; +0x29f, 0x1400e1c5f mov rcx, [rcx-8]; Block ; +0x2a3, 0x1400e1c63 sub rax, rcx ; +0x2a7, 0x1400e1c67 add rax, 0FFFFFFFFFFFFFFF8h ; +0x2aa, 0x1400e1c6a cmp rax, 1Fh ; +0x2ae, 0x1400e1c6e ja loc_1400E1D65 ; +0x2b2, 0x1400e1c72 call j_j_free ; +0x2b8, 0x1400e1c78 inc esi ; +0x2bd, 0x1400e1c7d mov rcx, [rdi+440h] ; +0x2bf, 0x1400e1c7f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2c6, 0x1400e1c86 cmp esi, eax ; +0x2cc, 0x1400e1c8c jb loc_1400E1B70 ; +0x2ce, 0x1400e1c8e mov rbx, [rdi+500h] ; +0x2d4, 0x1400e1c94 mov ecx, 270h; Size ; +0x2db, 0x1400e1c9b call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2e0, 0x1400e1ca0 mov rsi, rax ; +0x2e5, 0x1400e1ca5 mov [rsp+68h+var_48], rax ; +0x2e8, 0x1400e1ca8 mov rcx, rax ; +0x2ed, 0x1400e1cad call CCBlockLayer__CCBlockLayer ; +0x2f0, 0x1400e1cb0 lea rax, ??_7EditorPauseLayer@@6B@; const EditorPauseLayer::`vftable' ; +0x2f5, 0x1400e1cb5 mov [rsi], rax ; +0x2fc, 0x1400e1cbc lea rax, ??_7EditorPauseLayer@@6B@_0; const EditorPauseLayer::`vftable' ; +0x2ff, 0x1400e1cbf mov [rsi+140h], rax ; +0x306, 0x1400e1cc6 lea rax, ??_7EditorPauseLayer@@6B@_1; const EditorPauseLayer::`vftable' ; +0x30d, 0x1400e1ccd mov [rsi+148h], rax ; +0x314, 0x1400e1cd4 lea rax, ??_7EditorPauseLayer@@6B@_2; const EditorPauseLayer::`vftable' ; +0x31b, 0x1400e1cdb mov [rsi+150h], rax ; +0x322, 0x1400e1ce2 lea rax, ??_7EditorPauseLayer@@6B@_3; const EditorPauseLayer::`vftable' ; +0x329, 0x1400e1ce9 mov [rsi+158h], rax ; +0x330, 0x1400e1cf0 lea rax, ??_7EditorPauseLayer@@6B@_4; const EditorPauseLayer::`vftable' ; +0x337, 0x1400e1cf7 mov [rsi+160h], rax ; +0x33e, 0x1400e1cfe lea rax, ??_7EditorPauseLayer@@6B@_5; const EditorPauseLayer::`vftable' ; +0x345, 0x1400e1d05 mov [rsi+198h], rax ; +0x34c, 0x1400e1d0c lea rax, ??_7EditorPauseLayer@@6B@_6; const EditorPauseLayer::`vftable' ; +0x353, 0x1400e1d13 mov [rsi+1B0h], rax ; +0x35a, 0x1400e1d1a lea rax, ??_7EditorPauseLayer@@6B@_7; const EditorPauseLayer::`vftable' ; +0x361, 0x1400e1d21 mov [rsi+228h], rax ; +0x368, 0x1400e1d28 mov byte ptr [rsi+230h], 0 ; +0x36f, 0x1400e1d2f mov [rsi+238h], r14 ; +0x376, 0x1400e1d36 mov [rsi+240h], r14 ; +0x37d, 0x1400e1d3d mov [rsi+248h], r14 ; +0x384, 0x1400e1d44 mov rdx, rbx ; +0x38b, 0x1400e1d4b mov rcx, rsi ; +0x38e, 0x1400e1d4e call EditorPauseLayer__init ; +0x391, 0x1400e1d51 mov rcx, rsi ; +0x396, 0x1400e1d56 test al, al ; +0x399, 0x1400e1d59 jz short loc_1400E1D6C ; +0x39b, 0x1400e1d5b call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x39d, 0x1400e1d5d jmp short loc_1400E1D7A ; +0x3a3, 0x1400e1d63 call cs:_invalid_parameter_noinfo_noreturn ; +0x3a5, 0x1400e1d65 align 4 ; +0x3ab, 0x1400e1d6b mov rax, [rsi] ; +0x3ac, 0x1400e1d6c mov edx, 1 ; +0x3af, 0x1400e1d6f call qword ptr [rax+8] ; +0x3b4, 0x1400e1d74 mov rsi, r14 ; +0x3b7, 0x1400e1d77 mov rax, [rdi] ; +0x3ba, 0x1400e1d7a mov rcx, rdi ; +0x3bd, 0x1400e1d7d call qword ptr [rax+1E8h] ; +0x3c0, 0x1400e1d80 mov r9, [rax] ; +0x3c6, 0x1400e1d86 mov r8d, 64h ; 'd' ; +0x3c9, 0x1400e1d89 mov rdx, rsi ; +0x3cf, 0x1400e1d8f mov rcx, rax ; +0x3d2, 0x1400e1d92 call qword ptr [r9+1B8h] ; +0x3d5, 0x1400e1d95 mov byte ptr [rdi+5A0h], 1 ; +0x3dc, 0x1400e1d9c mov rcx, [rsp+68h+var_20] ; +0x3e3, 0x1400e1da3 xor rcx, rsp; StackCookie ; +0x3e8, 0x1400e1da8 call __security_check_cookie ; +0x3eb, 0x1400e1dab mov rbx, [rsp+68h+arg_8] ; +0x3f0, 0x1400e1db0 mov rbp, [rsp+68h+arg_10] ; +0x3f5, 0x1400e1db5 add rsp, 50h ; +0x3fd, 0x1400e1dbd pop r14 ; +0x401, 0x1400e1dc1 pop rdi ; +0x403, 0x1400e1dc3 pop rsi ; +0x404, 0x1400e1dc4 retn ; +0x405, 0x1400e1dc5