; ; EditorUI::onPlayback from 0x140111aa0 to 0x140111f51 (1201 bytes) ; ; 6 xrefs: ; > EditorUI::onPause @ 0x1400e1a3d ; > EditorUI::onStopPlaytest @ 0x14011254e ; > EditorUI::keyDown @ 0x140125c4f ; > EditorUI::keyDown @ 0x140126745 ; > EditorUI::init @ 0x1400e0381 ; > @ 0x1406c8fc4 ; ; 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, 0x140111aa0 push rbp ; +0x5, 0x140111aa5 push rsi ; +0x6, 0x140111aa6 push rdi ; +0x7, 0x140111aa7 push r14 ; +0x8, 0x140111aa8 push r15 ; +0xa, 0x140111aaa sub rsp, 70h ; +0xc, 0x140111aac mov rsi, rcx ; +0x10, 0x140111ab0 cmp byte ptr [rcx+5A0h], 0 ; +0x13, 0x140111ab3 jnz loc_140111F3D ; +0x1a, 0x140111aba mov rax, [rcx+500h] ; +0x20, 0x140111ac0 cmp dword ptr [rax+880h], 0 ; +0x27, 0x140111ac7 jnz loc_140111F3D ; +0x2e, 0x140111ace mov dword ptr [rax+32A4h], 2 ; +0x34, 0x140111ad4 mov rax, [rcx+500h] ; +0x3e, 0x140111ade mov byte ptr [rax+850h], 0 ; +0x45, 0x140111ae5 xor r15b, r15b ; +0x4c, 0x140111aec cmp [rcx+258h], r15b ; +0x4f, 0x140111aef jnz short loc_140111B00 ; +0x56, 0x140111af6 mov r15b, 1 ; +0x58, 0x140111af8 call GJBaseGameLayer__pauseAudio ; +0x5b, 0x140111afb mov rbx, [rsi+500h] ; +0x60, 0x140111b00 mov dword ptr [rbx+3AA8h], 0 ; +0x67, 0x140111b07 lea rcx, [rbx+7B8h] ; +0x71, 0x140111b11 call sub_140249D70 ; +0x78, 0x140111b18 lea rcx, [rbx+7F8h] ; +0x7d, 0x140111b1d call sub_140249C30 ; +0x84, 0x140111b24 mov rax, [rbx+838h] ; +0x89, 0x140111b29 cmp rax, [rbx+840h] ; +0x90, 0x140111b30 jz short loc_140111B40 ; +0x97, 0x140111b37 mov [rbx+840h], rax ; +0x99, 0x140111b39 mov byte ptr [rbx+3B21h], 1 ; +0xa0, 0x140111b40 cmp byte ptr [rsi+258h], 0 ; +0xa7, 0x140111b47 jz loc_140111C23 ; +0xae, 0x140111b4e mov rbx, cs:qword_1406C2E88 ; +0xb4, 0x140111b54 test rbx, rbx ; +0xbb, 0x140111b5b jnz short loc_140111B92 ; +0xbe, 0x140111b5e mov ecx, 888h; Size ; +0xc0, 0x140111b60 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xc5, 0x140111b65 mov [rsp+98h+arg_0], rax ; +0xca, 0x140111b6a mov rcx, rax ; +0xd2, 0x140111b72 call FMODAudioEngine__FMODAudioEngine ; +0xd5, 0x140111b75 nop ; +0xda, 0x140111b7a mov cs:qword_1406C2E88, rax ; +0xdb, 0x140111b7b mov rdx, [rax] ; +0xe2, 0x140111b82 mov rcx, rax ; +0xe5, 0x140111b85 call qword ptr [rdx+48h] ; +0xe8, 0x140111b88 mov rbx, cs:qword_1406C2E88 ; +0xeb, 0x140111b8b cmp qword ptr [rbx+228h], 0 ; +0xf2, 0x140111b92 jz short loc_140111BA9 ; +0xfa, 0x140111b9a mov rcx, [rbx+228h] ; +0xfc, 0x140111b9c call cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x103, 0x140111ba3 lea rcx, [rbx+428h] ; +0x109, 0x140111ba9 call sub_14005E0D0 ; +0x110, 0x140111bb0 lea rcx, [rbx+468h] ; +0x115, 0x140111bb5 call sub_14005E0D0 ; +0x11c, 0x140111bbc lea rcx, [rbx+4A8h] ; +0x121, 0x140111bc1 call sub_14005E0D0 ; +0x128, 0x140111bc8 mov rcx, cs:qword_1406C2E88 ; +0x12d, 0x140111bcd test rcx, rcx ; +0x134, 0x140111bd4 jnz short loc_140111C0B ; +0x137, 0x140111bd7 mov ecx, 888h; Size ; +0x139, 0x140111bd9 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x13e, 0x140111bde mov [rsp+98h+arg_0], rax ; +0x143, 0x140111be3 mov rcx, rax ; +0x14b, 0x140111beb call FMODAudioEngine__FMODAudioEngine ; +0x14e, 0x140111bee nop ; +0x153, 0x140111bf3 mov cs:qword_1406C2E88, rax ; +0x154, 0x140111bf4 mov rdx, [rax] ; +0x15b, 0x140111bfb mov rcx, rax ; +0x15e, 0x140111bfe call qword ptr [rdx+48h] ; +0x161, 0x140111c01 mov rcx, cs:qword_1406C2E88 ; +0x164, 0x140111c04 call FMODAudioEngine__stopAllEffects ; +0x16b, 0x140111c0b mov rax, [rsi+500h] ; +0x170, 0x140111c10 mov byte ptr [rax+3860h], 1 ; +0x177, 0x140111c17 jmp loc_140111EA9 ; +0x17e, 0x140111c1e mov rax, [rsi+500h] ; +0x183, 0x140111c23 mov rbx, [rax+38C8h] ; +0x18a, 0x140111c2a mov word ptr [rbx+278h], 1 ; +0x191, 0x140111c31 mov rdx, [rbx+208h] ; +0x19a, 0x140111c3a mov rcx, [rbx+250h] ; +0x1a1, 0x140111c41 call LevelTools__sortSpeedObjects ; +0x1a8, 0x140111c48 lea rdx, [rbx+210h] ; +0x1ad, 0x140111c4d lea rcx, [rsp+98h+var_48] ; +0x1b4, 0x140111c54 call sub_14003BDB0 ; +0x1b9, 0x140111c59 mov rdx, rax ; +0x1be, 0x140111c5e mov rcx, rbx ; +0x1c1, 0x140111c61 call DrawGridLayer__loadTimeMarkers ; +0x1c4, 0x140111c64 mov rcx, [rsi+500h] ; +0x1c9, 0x140111c69 lea r8, dword_1406C1AA8 ; +0x1d0, 0x140111c70 lea rdx, [rsp+98h+arg_0] ; +0x1d7, 0x140111c77 mov rcx, [rcx+0FE8h] ; +0x1df, 0x140111c7f call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x1e6, 0x140111c86 movss xmm1, dword ptr [rsp+98h+arg_0] ; +0x1ec, 0x140111c8c subss xmm1, cs:dword_1406238D8 ; +0x1f5, 0x140111c95 movss xmm0, cs:dword_1406231E0 ; +0x1fd, 0x140111c9d comiss xmm0, xmm1 ; +0x205, 0x140111ca5 jbe short loc_140111CB5 ; +0x208, 0x140111ca8 mov dword ptr [rsp+98h+arg_0], 0 ; +0x20a, 0x140111caa xor ebp, ebp ; +0x215, 0x140111cb5 xor r14d, r14d ; +0x217, 0x140111cb7 mov rax, [rsi+500h] ; +0x21a, 0x140111cba mov rcx, [rax+3A90h] ; +0x221, 0x140111cc1 test rcx, rcx ; +0x228, 0x140111cc8 jz loc_140111D65 ; +0x22b, 0x140111ccb cmp dword ptr [rcx+40Ch], 1Fh ; +0x231, 0x140111cd1 jnz short loc_140111CED ; +0x238, 0x140111cd8 mov rax, [rcx] ; +0x23a, 0x140111cda lea rdx, [rsp+98h+arg_10] ; +0x23d, 0x140111cdd call qword ptr [rax+4A8h] ; +0x245, 0x140111ce5 jmp short loc_140111D02 ; +0x24b, 0x140111ceb lea rdx, [rcx+708h] ; +0x24d, 0x140111ced lea rcx, [rsp+98h+arg_10] ; +0x254, 0x140111cf4 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x25c, 0x140111cfc lea rdx, [rsp+98h+arg_10] ; +0x262, 0x140111d02 lea rcx, [rsp+98h+arg_0] ; +0x26a, 0x140111d0a call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x272, 0x140111d12 mov rdx, [rsi+500h] ; +0x278, 0x140111d18 mov rcx, [rdx+3A90h] ; +0x27f, 0x140111d1f test rcx, rcx ; +0x286, 0x140111d26 jz short loc_140111D5D ; +0x289, 0x140111d29 cmp dword ptr [rcx+40Ch], 1Fh ; +0x28b, 0x140111d2b jnz short loc_140111D4C ; +0x292, 0x140111d32 mov rax, [rcx+740h] ; +0x294, 0x140111d34 mov ebp, [rax+174h] ; +0x29b, 0x140111d3b mov r14d, [rax+178h] ; +0x2a1, 0x140111d41 mov eax, ebp ; +0x2a8, 0x140111d48 jmp short loc_140111D5F ; +0x2aa, 0x140111d4a mov ebp, [rcx+6FCh] ; +0x2ac, 0x140111d4c mov r14d, [rcx+700h] ; +0x2b2, 0x140111d52 mov eax, ebp ; +0x2b9, 0x140111d59 jmp short loc_140111D5F ; +0x2bb, 0x140111d5b xor eax, eax ; +0x2bd, 0x140111d5d mov [rdx+3AA8h], eax ; +0x2bf, 0x140111d5f mov rax, [rsi+500h] ; +0x2c5, 0x140111d65 mov rdi, [rax+38C8h] ; +0x2cc, 0x140111d6c lea rdx, [rsp+98h+arg_0] ; +0x2d3, 0x140111d73 lea rcx, [rsp+98h+arg_10] ; +0x2db, 0x140111d7b call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x2e3, 0x140111d83 mov rcx, [rdi+208h] ; +0x2e9, 0x140111d89 mov rbx, [rcx+0DB0h] ; +0x2f0, 0x140111d90 mov rdx, rax ; +0x2f7, 0x140111d97 lea rcx, [rsp+98h+arg_18] ; +0x2fa, 0x140111d9a call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x302, 0x140111da2 mov rcx, rax ; +0x308, 0x140111da8 mov [rsp+98h+var_50], 0 ; +0x30b, 0x140111dab mov [rsp+98h+var_58], 0 ; +0x313, 0x140111db3 mov [rsp+98h+var_60], 1 ; +0x318, 0x140111db8 movzx eax, byte ptr [rbx+155h] ; +0x31d, 0x140111dbd mov [rsp+98h+var_68], al ; +0x324, 0x140111dc4 mov [rsp+98h+var_70], 0 ; +0x328, 0x140111dc8 mov [rsp+98h+var_78], r14d ; +0x32d, 0x140111dcd mov r9d, ebp ; +0x332, 0x140111dd2 mov r8d, [rbx+14Ch] ; +0x335, 0x140111dd5 mov rdx, [rdi+250h] ; +0x33c, 0x140111ddc call LevelTools__timeForPos ; +0x343, 0x140111de3 movss dword ptr [rsi+288h], xmm0 ; +0x348, 0x140111de8 mov rax, [rsi+500h] ; +0x350, 0x140111df0 mov rdi, [rax+38C8h] ; +0x357, 0x140111df7 lea rdx, [rsp+98h+arg_0] ; +0x35e, 0x140111dfe lea rcx, [rsp+98h+arg_10] ; +0x366, 0x140111e06 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x36e, 0x140111e0e mov rcx, [rdi+208h] ; +0x374, 0x140111e14 mov rbx, [rcx+0DB0h] ; +0x37b, 0x140111e1b mov rdx, rax ; +0x382, 0x140111e22 lea rcx, [rsp+98h+arg_18] ; +0x385, 0x140111e25 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x38d, 0x140111e2d mov rcx, rax ; +0x393, 0x140111e33 mov [rsp+98h+var_50], 0 ; +0x396, 0x140111e36 mov [rsp+98h+var_58], 0 ; +0x39e, 0x140111e3e mov [rsp+98h+var_60], 0 ; +0x3a3, 0x140111e43 movzx eax, byte ptr [rbx+155h] ; +0x3a8, 0x140111e48 mov [rsp+98h+var_68], al ; +0x3af, 0x140111e4f mov [rsp+98h+var_70], 0 ; +0x3b3, 0x140111e53 mov [rsp+98h+var_78], r14d ; +0x3b8, 0x140111e58 mov r9d, ebp ; +0x3bd, 0x140111e5d mov r8d, [rbx+14Ch] ; +0x3c0, 0x140111e60 mov rdx, [rdi+250h] ; +0x3c7, 0x140111e67 call LevelTools__timeForPos ; +0x3ce, 0x140111e6e movss dword ptr [rsi+28Ch], xmm0 ; +0x3d3, 0x140111e73 movss xmm1, dword ptr [rsi+288h] ; +0x3db, 0x140111e7b mov rax, [rsi+500h] ; +0x3e3, 0x140111e83 mov rcx, [rax+38C8h] ; +0x3ea, 0x140111e8a movss dword ptr [rcx+1F0h], xmm1 ; +0x3f1, 0x140111e91 movss dword ptr [rcx+1F4h], xmm1 ; +0x3f9, 0x140111e99 movss dword ptr [rcx+1F8h], xmm1 ; +0x401, 0x140111ea1 cmp byte ptr [rsi+258h], 0 ; +0x409, 0x140111ea9 setz al ; +0x410, 0x140111eb0 mov [rsi+258h], al ; +0x413, 0x140111eb3 mov rcx, rsi ; +0x419, 0x140111eb9 call EditorUI__updatePlaybackBtn ; +0x41c, 0x140111ebc cmp byte ptr [rsi+258h], 0 ; +0x421, 0x140111ec1 jz short loc_140111F2A ; +0x428, 0x140111ec8 mov rcx, cs:qword_1406C2E88 ; +0x42a, 0x140111eca test rcx, rcx ; +0x431, 0x140111ed1 jnz short loc_140111F08 ; +0x434, 0x140111ed4 mov ecx, 888h; Size ; +0x436, 0x140111ed6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x43b, 0x140111edb mov [rsp+98h+arg_0], rax ; +0x440, 0x140111ee0 mov rcx, rax ; +0x448, 0x140111ee8 call FMODAudioEngine__FMODAudioEngine ; +0x44b, 0x140111eeb nop ; +0x450, 0x140111ef0 mov cs:qword_1406C2E88, rax ; +0x451, 0x140111ef1 mov rdx, [rax] ; +0x458, 0x140111ef8 mov rcx, rax ; +0x45b, 0x140111efb call qword ptr [rdx+48h] ; +0x45e, 0x140111efe mov rcx, cs:qword_1406C2E88 ; +0x461, 0x140111f01 xor r8d, r8d ; +0x468, 0x140111f08 xor edx, edx ; +0x46b, 0x140111f0b call FMODAudioEngine__updateReverb ; +0x46d, 0x140111f0d mov rcx, [rsi+500h] ; +0x472, 0x140111f12 call LevelEditorLayer__updateGameObjects ; +0x479, 0x140111f19 mov rcx, [rsi+500h] ; +0x47e, 0x140111f1e call GJBaseGameLayer__processQueuedAudioTriggers ; +0x485, 0x140111f25 test r15b, r15b ; +0x48a, 0x140111f2a jz short loc_140111F3D ; +0x48d, 0x140111f2d mov rax, [rsi+500h] ; +0x48f, 0x140111f2f mov byte ptr [rax+3766h], 1 ; +0x496, 0x140111f36 mov rbx, [rsp+98h+arg_8] ; +0x49d, 0x140111f3d add rsp, 70h ; +0x4a5, 0x140111f45 pop r15 ; +0x4a9, 0x140111f49 pop r14 ; +0x4ab, 0x140111f4b pop rdi ; +0x4ad, 0x140111f4d pop rsi ; +0x4ae, 0x140111f4e pop rbp ; +0x4af, 0x140111f4f retn ; +0x4b0, 0x140111f50