; ; EditorUI::toggleSnap from 0x10000bee0 to 0x10000bf58 (120 bytes) ; ; 2 xrefs: ; > EditorUI::keyDown @ 0x100050d4c ; > EditorUI::init @ 0x100009af6 ; ; 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 ; push rbp ; +0x0, 0x10000bee0 mov rbp, rsp ; +0x1, 0x10000bee1 push r15 ; +0x4, 0x10000bee4 push r14 ; +0x6, 0x10000bee6 push r12 ; +0x8, 0x10000bee8 push rbx ; +0xa, 0x10000beea mov rbx, rdi ; +0xb, 0x10000beeb call GameManager__sharedState ; +0xe, 0x10000beee lea r14, a0008; "0008" ; +0x13, 0x10000bef3 mov rdi, rax ; +0x1a, 0x10000befa mov rsi, r14 ; +0x1d, 0x10000befd call GameManager__getGameVariable ; +0x20, 0x10000bf00 mov r15d, eax ; +0x25, 0x10000bf05 mov r12d, eax ; +0x28, 0x10000bf08 xor r12b, 1 ; +0x2b, 0x10000bf0b call GameManager__sharedState ; +0x2f, 0x10000bf0f movzx edx, r12b ; +0x34, 0x10000bf14 mov rdi, rax ; +0x38, 0x10000bf18 mov rsi, r14 ; +0x3b, 0x10000bf1b call GameManager__setGameVariable ; +0x3e, 0x10000bf1e mov rdi, [rbx+370h] ; +0x43, 0x10000bf23 mov rax, [rdi] ; +0x4a, 0x10000bf2a call qword ptr [rax+420h] ; +0x4d, 0x10000bf2d lea rcx, aGjButton01Png; "GJ_button_01.png" ; +0x53, 0x10000bf33 lea rsi, aGjButton02Png; "GJ_button_02.png" ; +0x5a, 0x10000bf3a test r15b, r15b ; +0x61, 0x10000bf41 cmovnz rsi, rcx ; +0x64, 0x10000bf44 mov rdi, rax ; +0x68, 0x10000bf48 pop rbx ; +0x6b, 0x10000bf4b pop r12 ; +0x6c, 0x10000bf4c pop r14 ; +0x6e, 0x10000bf4e pop r15 ; +0x70, 0x10000bf50 pop rbp ; +0x72, 0x10000bf52 jmp ButtonSprite__updateBGImage ; +0x73, 0x10000bf53