; ; EditorUI::toggleFreeMove from 0x1401b34c0 to 0x1401b3588 (200 bytes) ; ; 4 xrefs: ; > EditorUI::init @ 0x1401ac316 ; > EditorUI::handleEditorAction @ 0x1401c2920 ; > EditorUI::init @ 0x1401aa609 ; > @ 0x14091a024 ; ; 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:56 +0000 ; push rbx ; +0x0, 0x1401b34c0 sub rsp, 20h ; +0x2, 0x1401b34c2 mov rbx, rcx ; +0x6, 0x1401b34c6 cmp byte ptr [rcx+390h], 0 ; +0x9, 0x1401b34c9 setz al ; +0x10, 0x1401b34d0 mov [rcx+390h], al ; +0x13, 0x1401b34d3 mov rcx, [rcx+3F0h] ; +0x19, 0x1401b34d9 mov rax, [rcx] ; +0x20, 0x1401b34e0 call qword ptr [rax+3B8h] ; +0x23, 0x1401b34e3 lea rcx, aGjButton02Png; "GJ_button_02.png" ; +0x29, 0x1401b34e9 lea rdx, aGjButton01Png; "GJ_button_01.png" ; +0x30, 0x1401b34f0 cmp byte ptr [rbx+390h], 0 ; +0x37, 0x1401b34f7 cmovnz rdx, rcx ; +0x3e, 0x1401b34fe mov rcx, rax ; +0x42, 0x1401b3502 call ButtonSprite__updateBGImage ; +0x45, 0x1401b3505 mov rcx, cs:qword_14090BFD0 ; +0x4a, 0x1401b350a test rcx, rcx ; +0x51, 0x1401b3511 jnz short loc_1401B3548 ; +0x54, 0x1401b3514 mov ecx, 6E8h; Size ; +0x56, 0x1401b3516 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x5b, 0x1401b351b mov [rsp+28h+arg_0], rax ; +0x60, 0x1401b3520 mov rcx, rax ; +0x65, 0x1401b3525 call GameManager__GameManager ; +0x68, 0x1401b3528 nop ; +0x6d, 0x1401b352d mov cs:qword_14090BFD0, rax ; +0x6e, 0x1401b352e mov rcx, [rax] ; +0x75, 0x1401b3535 mov rdx, [rcx+48h] ; +0x78, 0x1401b3538 mov rcx, rax ; +0x7c, 0x1401b353c call rdx ; +0x7f, 0x1401b353f mov rcx, cs:qword_14090BFD0 ; +0x81, 0x1401b3541 movzx r8d, byte ptr [rbx+390h] ; +0x88, 0x1401b3548 lea rdx, a0004; "0004" ; +0x90, 0x1401b3550 call GameManager__setGameVariable ; +0x97, 0x1401b3557 call EditorSFXManager__sharedState ; +0x9c, 0x1401b355c mov rbx, rax ; +0xa1, 0x1401b3561 mov edx, 0BFh ; +0xa4, 0x1401b3564 mov rcx, rax ; +0xa9, 0x1401b3569 call EditorSFXManager__hasSoundsForAction ; +0xac, 0x1401b356c movzx edx, al ; +0xb1, 0x1401b3571 lea edx, ds:0BDh[rdx*2] ; +0xb4, 0x1401b3574 mov rcx, rbx ; +0xbb, 0x1401b357b add rsp, 20h ; +0xbe, 0x1401b357e pop rbx ; +0xc2, 0x1401b3582 jmp EditorSFXManager__playAction ; +0xc3, 0x1401b3583