; ; EditorUI::toggleFreeMove from 0x100007f50 to 0x100007fc9 (121 bytes) ; ; 2 xrefs: ; > EditorUI::handleEditorAction @ 0x10060c409 ; > EditorUI::init @ 0x100005c77 ; ; 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:18:48 +0000 ; push rbp ; +0x0, 0x100007f50 mov rbp, rsp ; +0x1, 0x100007f51 push rbx ; +0x4, 0x100007f54 push rax ; +0x5, 0x100007f55 mov rbx, rdi ; +0x6, 0x100007f56 xor byte ptr [rdi+360h], 1 ; +0x9, 0x100007f59 mov rdi, [rdi+3C0h] ; +0x10, 0x100007f60 mov rax, [rdi] ; +0x17, 0x100007f67 call qword ptr [rax+430h] ; +0x1a, 0x100007f6a lea rcx, aGjButton02Png; "GJ_button_02.png" ; +0x20, 0x100007f70 lea rsi, aGjButton01Png; "GJ_button_01.png" ; +0x27, 0x100007f77 cmp byte ptr [rbx+360h], 0 ; +0x2e, 0x100007f7e cmovnz rsi, rcx ; +0x35, 0x100007f85 mov rdi, rax ; +0x39, 0x100007f89 call ButtonSprite__updateBGImage ; +0x3c, 0x100007f8c call GameManager__sharedState ; +0x41, 0x100007f91 movzx edx, byte ptr [rbx+360h] ; +0x46, 0x100007f96 lea rsi, a0004; "0004" ; +0x4d, 0x100007f9d mov rdi, rax ; +0x54, 0x100007fa4 call GameManager__setGameVariable ; +0x57, 0x100007fa7 call EditorSFXManager__sharedState ; +0x5c, 0x100007fac mov rdi, rax ; +0x61, 0x100007fb1 mov esi, 0BFh ; +0x64, 0x100007fb4 mov edx, 0BDh ; +0x69, 0x100007fb9 add rsp, 8 ; +0x6e, 0x100007fbe pop rbx ; +0x72, 0x100007fc2 pop rbp ; +0x73, 0x100007fc3 jmp EditorSFXManager__playAction ; +0x74, 0x100007fc4