; ; EditorUI::onPlayback from 0x1401b4170 to 0x1401b4630 (1216 bytes) ; ; 6 xrefs: ; > EditorUI::onPause @ 0x1401acd8d ; > EditorUI::onStopPlaytest @ 0x1401b49c3 ; > EditorUI::handleAction @ 0x1401c1dcb ; > EditorUI::handleEditorAction @ 0x1401c2b8b ; > EditorUI::init @ 0x1401aab45 ; > @ 0x14091a0cc ; ; 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:57 +0000 ; push rbx ; +0x0, 0x1401b4170 push rbp ; +0x2, 0x1401b4172 push rsi ; +0x3, 0x1401b4173 push rdi ; +0x4, 0x1401b4174 push r12 ; +0x5, 0x1401b4175 push r14 ; +0x7, 0x1401b4177 push r15 ; +0x9, 0x1401b4179 sub rsp, 70h ; +0xb, 0x1401b417b mov rbp, rcx ; +0xf, 0x1401b417f cmp byte ptr [rcx+67Ch], 0 ; +0x12, 0x1401b4182 jnz loc_1401B4621 ; +0x19, 0x1401b4189 mov rax, [rcx+5E8h] ; +0x1f, 0x1401b418f cmp dword ptr [rax+89Ch], 0 ; +0x26, 0x1401b4196 jnz loc_1401B4621 ; +0x2d, 0x1401b419d mov dword ptr [rax+33A4h], 2 ; +0x33, 0x1401b41a3 mov rax, [rcx+5E8h] ; +0x3d, 0x1401b41ad mov byte ptr [rax+850h], 0 ; +0x44, 0x1401b41b4 xor r12b, r12b ; +0x4b, 0x1401b41bb cmp [rcx+298h], r12b ; +0x4e, 0x1401b41be jnz short loc_1401B41CF ; +0x55, 0x1401b41c5 mov r12b, 1 ; +0x57, 0x1401b41c7 call GJBaseGameLayer__pauseAudio ; +0x5a, 0x1401b41ca mov rbx, [rbp+5E8h] ; +0x5f, 0x1401b41cf mov dword ptr [rbx+3CB8h], 0 ; +0x66, 0x1401b41d6 lea rcx, [rbx+7B8h] ; +0x70, 0x1401b41e0 call sub_1403547B0 ; +0x77, 0x1401b41e7 lea rcx, [rbx+7F8h] ; +0x7c, 0x1401b41ec call sub_1403546E0 ; +0x83, 0x1401b41f3 mov rax, [rbx+838h] ; +0x88, 0x1401b41f8 cmp rax, [rbx+840h] ; +0x8f, 0x1401b41ff jz short loc_1401B420F ; +0x96, 0x1401b4206 mov [rbx+840h], rax ; +0x98, 0x1401b4208 mov byte ptr [rbx+3D31h], 1 ; +0x9f, 0x1401b420f cmp byte ptr [rbp+298h], 0 ; +0xa6, 0x1401b4216 jz loc_1401B42F3 ; +0xad, 0x1401b421d mov rbx, cs:qword_14090BF60 ; +0xb3, 0x1401b4223 test rbx, rbx ; +0xba, 0x1401b422a jnz short loc_1401B4264 ; +0xbd, 0x1401b422d mov ecx, 8A8h; Size ; +0xbf, 0x1401b422f call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xc4, 0x1401b4234 mov [rsp+0A8h+arg_0], rax ; +0xc9, 0x1401b4239 mov rcx, rax ; +0xd1, 0x1401b4241 call FMODAudioEngine__FMODAudioEngine ; +0xd4, 0x1401b4244 nop ; +0xd9, 0x1401b4249 mov cs:qword_14090BF60, rax ; +0xda, 0x1401b424a mov rcx, [rax] ; +0xe1, 0x1401b4251 mov rdx, [rcx+48h] ; +0xe4, 0x1401b4254 mov rcx, rax ; +0xe8, 0x1401b4258 call rdx ; +0xeb, 0x1401b425b mov rbx, cs:qword_14090BF60 ; +0xed, 0x1401b425d mov rcx, [rbx+228h] ; +0xf4, 0x1401b4264 test rcx, rcx ; +0xfb, 0x1401b426b jz short loc_1401B4276 ; +0xfe, 0x1401b426e call cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x100, 0x1401b4270 lea rcx, [rbx+448h] ; +0x106, 0x1401b4276 call sub_14003EB60 ; +0x10d, 0x1401b427d lea rcx, [rbx+488h] ; +0x112, 0x1401b4282 call sub_14003EB60 ; +0x119, 0x1401b4289 lea rcx, [rbx+4C8h] ; +0x11e, 0x1401b428e call sub_14003EB60 ; +0x125, 0x1401b4295 mov rcx, cs:qword_14090BF60 ; +0x12a, 0x1401b429a test rcx, rcx ; +0x131, 0x1401b42a1 jnz short loc_1401B42DB ; +0x134, 0x1401b42a4 mov ecx, 8A8h; Size ; +0x136, 0x1401b42a6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x13b, 0x1401b42ab mov [rsp+0A8h+arg_0], rax ; +0x140, 0x1401b42b0 mov rcx, rax ; +0x148, 0x1401b42b8 call FMODAudioEngine__FMODAudioEngine ; +0x14b, 0x1401b42bb nop ; +0x150, 0x1401b42c0 mov cs:qword_14090BF60, rax ; +0x151, 0x1401b42c1 mov rcx, [rax] ; +0x158, 0x1401b42c8 mov rdx, [rcx+48h] ; +0x15b, 0x1401b42cb mov rcx, rax ; +0x15f, 0x1401b42cf call rdx ; +0x162, 0x1401b42d2 mov rcx, cs:qword_14090BF60 ; +0x164, 0x1401b42d4 call FMODAudioEngine__stopAllEffects ; +0x16b, 0x1401b42db mov rax, [rbp+5E8h] ; +0x170, 0x1401b42e0 mov byte ptr [rax+39F8h], 1 ; +0x177, 0x1401b42e7 jmp loc_1401B458A ; +0x17e, 0x1401b42ee mov rax, [rbp+5E8h] ; +0x183, 0x1401b42f3 mov rbx, [rax+3A60h] ; +0x18a, 0x1401b42fa mov word ptr [rbx+278h], 1 ; +0x191, 0x1401b4301 mov rdx, [rbx+208h] ; +0x19a, 0x1401b430a mov rcx, [rbx+250h] ; +0x1a1, 0x1401b4311 call LevelTools__sortSpeedObjects ; +0x1a8, 0x1401b4318 lea rdx, [rbx+210h] ; +0x1ad, 0x1401b431d lea rcx, [rsp+0A8h+var_58] ; +0x1b4, 0x1401b4324 call sub_14003F4F0 ; +0x1b9, 0x1401b4329 mov rdx, rax ; +0x1be, 0x1401b432e mov rcx, rbx ; +0x1c1, 0x1401b4331 call DrawGridLayer__loadTimeMarkers ; +0x1c4, 0x1401b4334 mov rcx, [rbp+5E8h] ; +0x1c9, 0x1401b4339 lea r8, dword_14090A6E8 ; +0x1d0, 0x1401b4340 lea rdx, [rsp+0A8h+arg_0] ; +0x1d7, 0x1401b4347 mov rcx, [rcx+10C8h] ; +0x1df, 0x1401b434f call cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x1e6, 0x1401b4356 movss xmm1, dword ptr [rsp+0A8h+arg_0] ; +0x1ec, 0x1401b435c subss xmm1, cs:dword_140835E88 ; +0x1f5, 0x1401b4365 movss xmm0, cs:dword_1408356B0 ; +0x1fd, 0x1401b436d comiss xmm0, xmm1 ; +0x205, 0x1401b4375 jbe short loc_1401B4385 ; +0x208, 0x1401b4378 mov dword ptr [rsp+0A8h+arg_0], 0 ; +0x20a, 0x1401b437a xor r14d, r14d ; +0x215, 0x1401b4385 xor r15d, r15d ; +0x218, 0x1401b4388 mov rax, [rbp+5E8h] ; +0x21b, 0x1401b438b mov rcx, [rax+3CA0h] ; +0x222, 0x1401b4392 test rcx, rcx ; +0x229, 0x1401b4399 jz loc_1401B443A ; +0x22c, 0x1401b439c cmp dword ptr [rcx+40Ch], 1Fh ; +0x232, 0x1401b43a2 jnz short loc_1401B43BE ; +0x239, 0x1401b43a9 mov rax, [rcx] ; +0x23b, 0x1401b43ab lea rdx, [rsp+0A8h+arg_10] ; +0x23e, 0x1401b43ae call qword ptr [rax+4B8h] ; +0x246, 0x1401b43b6 jmp short loc_1401B43D3 ; +0x24c, 0x1401b43bc lea rdx, [rcx+708h] ; +0x24e, 0x1401b43be lea rcx, [rsp+0A8h+arg_10] ; +0x255, 0x1401b43c5 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x25d, 0x1401b43cd lea rdx, [rsp+0A8h+arg_10] ; +0x263, 0x1401b43d3 lea rcx, [rsp+0A8h+arg_0] ; +0x26b, 0x1401b43db call cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x273, 0x1401b43e3 mov rdx, [rbp+5E8h] ; +0x279, 0x1401b43e9 mov rcx, [rdx+3CA0h] ; +0x280, 0x1401b43f0 test rcx, rcx ; +0x287, 0x1401b43f7 jz short loc_1401B4432 ; +0x28a, 0x1401b43fa cmp dword ptr [rcx+40Ch], 1Fh ; +0x28c, 0x1401b43fc jnz short loc_1401B441F ; +0x293, 0x1401b4403 mov rax, [rcx+740h] ; +0x295, 0x1401b4405 mov r14d, [rax+174h] ; +0x29c, 0x1401b440c mov r15d, [rax+178h] ; +0x2a3, 0x1401b4413 mov eax, r14d ; +0x2aa, 0x1401b441a jmp short loc_1401B4434 ; +0x2ad, 0x1401b441d mov r14d, [rcx+6FCh] ; +0x2af, 0x1401b441f mov eax, r14d ; +0x2b6, 0x1401b4426 mov r15d, [rcx+700h] ; +0x2b9, 0x1401b4429 jmp short loc_1401B4434 ; +0x2c0, 0x1401b4430 xor eax, eax ; +0x2c2, 0x1401b4432 mov [rdx+3CB8h], eax ; +0x2c4, 0x1401b4434 mov rax, [rbp+5E8h] ; +0x2ca, 0x1401b443a mov rbx, [rax+3A60h] ; +0x2d1, 0x1401b4441 lea rdx, [rsp+0A8h+arg_0] ; +0x2d8, 0x1401b4448 lea rcx, [rsp+0A8h+arg_10] ; +0x2e0, 0x1401b4450 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x2e8, 0x1401b4458 mov rcx, [rbx+208h] ; +0x2ee, 0x1401b445e mov rdx, [rcx+0DC8h] ; +0x2f5, 0x1401b4465 movzx edi, byte ptr [rdx+155h] ; +0x2fc, 0x1401b446c mov esi, [rdx+14Ch] ; +0x303, 0x1401b4473 mov rbx, [rbx+250h] ; +0x309, 0x1401b4479 mov rdx, rax ; +0x310, 0x1401b4480 lea rcx, [rsp+0A8h+arg_18] ; +0x313, 0x1401b4483 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x31b, 0x1401b448b mov rcx, rax ; +0x321, 0x1401b4491 mov [rsp+0A8h+var_60], 0 ; +0x324, 0x1401b4494 mov [rsp+0A8h+var_68], 0 ; +0x32c, 0x1401b449c mov [rsp+0A8h+var_70], 1 ; +0x331, 0x1401b44a1 mov [rsp+0A8h+var_78], dil ; +0x336, 0x1401b44a6 mov [rsp+0A8h+var_80], 0 ; +0x33b, 0x1401b44ab mov [rsp+0A8h+var_88], r15d ; +0x340, 0x1401b44b0 mov r9d, r14d ; +0x345, 0x1401b44b5 mov r8d, esi ; +0x348, 0x1401b44b8 mov rdx, rbx ; +0x34b, 0x1401b44bb call LevelTools__timeForPos ; +0x34e, 0x1401b44be movss dword ptr [rbp+2D0h], xmm0 ; +0x353, 0x1401b44c3 mov rax, [rbp+5E8h] ; +0x35b, 0x1401b44cb mov rbx, [rax+3A60h] ; +0x362, 0x1401b44d2 lea rdx, [rsp+0A8h+arg_0] ; +0x369, 0x1401b44d9 lea rcx, [rsp+0A8h+arg_10] ; +0x371, 0x1401b44e1 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x379, 0x1401b44e9 mov rcx, [rbx+208h] ; +0x37f, 0x1401b44ef mov rdx, [rcx+0DC8h] ; +0x386, 0x1401b44f6 movzx edi, byte ptr [rdx+155h] ; +0x38d, 0x1401b44fd mov esi, [rdx+14Ch] ; +0x394, 0x1401b4504 mov rbx, [rbx+250h] ; +0x39a, 0x1401b450a mov rdx, rax ; +0x3a1, 0x1401b4511 lea rcx, [rsp+0A8h+arg_18] ; +0x3a4, 0x1401b4514 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x3ac, 0x1401b451c mov rcx, rax ; +0x3b2, 0x1401b4522 mov [rsp+0A8h+var_60], 0 ; +0x3b5, 0x1401b4525 mov [rsp+0A8h+var_68], 0 ; +0x3bd, 0x1401b452d mov [rsp+0A8h+var_70], 0 ; +0x3c2, 0x1401b4532 mov [rsp+0A8h+var_78], dil ; +0x3c7, 0x1401b4537 mov [rsp+0A8h+var_80], 0 ; +0x3cc, 0x1401b453c mov [rsp+0A8h+var_88], r15d ; +0x3d1, 0x1401b4541 mov r9d, r14d ; +0x3d6, 0x1401b4546 mov r8d, esi ; +0x3d9, 0x1401b4549 mov rdx, rbx ; +0x3dc, 0x1401b454c call LevelTools__timeForPos ; +0x3df, 0x1401b454f movss dword ptr [rbp+2D4h], xmm0 ; +0x3e4, 0x1401b4554 movss xmm1, dword ptr [rbp+2D0h] ; +0x3ec, 0x1401b455c mov rax, [rbp+5E8h] ; +0x3f4, 0x1401b4564 mov rcx, [rax+3A60h] ; +0x3fb, 0x1401b456b movss dword ptr [rcx+1F0h], xmm1 ; +0x402, 0x1401b4572 movss dword ptr [rcx+1F4h], xmm1 ; +0x40a, 0x1401b457a movss dword ptr [rcx+1F8h], xmm1 ; +0x412, 0x1401b4582 cmp byte ptr [rbp+298h], 0 ; +0x41a, 0x1401b458a setz al ; +0x421, 0x1401b4591 mov [rbp+298h], al ; +0x424, 0x1401b4594 mov rcx, rbp ; +0x42a, 0x1401b459a call EditorUI__updatePlaybackBtn ; +0x42d, 0x1401b459d cmp byte ptr [rbp+298h], 0 ; +0x432, 0x1401b45a2 jz short loc_1401B460E ; +0x439, 0x1401b45a9 mov rcx, cs:qword_14090BF60 ; +0x43b, 0x1401b45ab test rcx, rcx ; +0x442, 0x1401b45b2 jnz short loc_1401B45EC ; +0x445, 0x1401b45b5 mov ecx, 8A8h; Size ; +0x447, 0x1401b45b7 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x44c, 0x1401b45bc mov [rsp+0A8h+arg_0], rax ; +0x451, 0x1401b45c1 mov rcx, rax ; +0x459, 0x1401b45c9 call FMODAudioEngine__FMODAudioEngine ; +0x45c, 0x1401b45cc nop ; +0x461, 0x1401b45d1 mov cs:qword_14090BF60, rax ; +0x462, 0x1401b45d2 mov rcx, [rax] ; +0x469, 0x1401b45d9 mov rdx, [rcx+48h] ; +0x46c, 0x1401b45dc mov rcx, rax ; +0x470, 0x1401b45e0 call rdx ; +0x473, 0x1401b45e3 mov rcx, cs:qword_14090BF60 ; +0x475, 0x1401b45e5 xor r8d, r8d ; +0x47c, 0x1401b45ec xor edx, edx ; +0x47f, 0x1401b45ef call FMODAudioEngine__updateReverb ; +0x481, 0x1401b45f1 mov rcx, [rbp+5E8h] ; +0x486, 0x1401b45f6 call LevelEditorLayer__updateGameObjects ; +0x48d, 0x1401b45fd mov rcx, [rbp+5E8h] ; +0x492, 0x1401b4602 call GJBaseGameLayer__processQueuedAudioTriggers ; +0x499, 0x1401b4609 test r12b, r12b ; +0x49e, 0x1401b460e jz short loc_1401B4621 ; +0x4a1, 0x1401b4611 mov rax, [rbp+5E8h] ; +0x4a3, 0x1401b4613 mov byte ptr [rax+3866h], 1 ; +0x4aa, 0x1401b461a add rsp, 70h ; +0x4b1, 0x1401b4621 pop r15 ; +0x4b5, 0x1401b4625 pop r14 ; +0x4b7, 0x1401b4627 pop r12 ; +0x4b9, 0x1401b4629 pop rdi ; +0x4bb, 0x1401b462b pop rsi ; +0x4bc, 0x1401b462c pop rbp ; +0x4bd, 0x1401b462d pop rbx ; +0x4be, 0x1401b462e retn ; +0x4bf, 0x1401b462f