; ; EditorUI::toggleSnap from 0x100007fd0 to 0x10000805f (143 bytes) ; ; 2 xrefs: ; > EditorUI::handleEditorAction @ 0x10060c654 ; > EditorUI::init @ 0x100005cee ; ; 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, 0x100007fd0 mov rbp, rsp ; +0x1, 0x100007fd1 push r15 ; +0x4, 0x100007fd4 push r14 ; +0x6, 0x100007fd6 push r12 ; +0x8, 0x100007fd8 push rbx ; +0xa, 0x100007fda mov rbx, rdi ; +0xb, 0x100007fdb call GameManager__sharedState ; +0xe, 0x100007fde lea r14, a0008; "0008" ; +0x13, 0x100007fe3 mov rdi, rax ; +0x1a, 0x100007fea mov rsi, r14 ; +0x1d, 0x100007fed call GameManager__getGameVariable ; +0x20, 0x100007ff0 mov r15d, eax ; +0x25, 0x100007ff5 mov r12d, eax ; +0x28, 0x100007ff8 xor r12b, 1 ; +0x2b, 0x100007ffb call GameManager__sharedState ; +0x2f, 0x100007fff movzx edx, r12b ; +0x34, 0x100008004 mov rdi, rax ; +0x38, 0x100008008 mov rsi, r14 ; +0x3b, 0x10000800b call GameManager__setGameVariable ; +0x3e, 0x10000800e mov rdi, [rbx+3D0h] ; +0x43, 0x100008013 mov rax, [rdi] ; +0x4a, 0x10000801a call qword ptr [rax+430h] ; +0x4d, 0x10000801d lea rcx, aGjButton01Png; "GJ_button_01.png" ; +0x53, 0x100008023 lea rsi, aGjButton02Png; "GJ_button_02.png" ; +0x5a, 0x10000802a test r15b, r15b ; +0x61, 0x100008031 cmovnz rsi, rcx ; +0x64, 0x100008034 mov rdi, rax ; +0x68, 0x100008038 call ButtonSprite__updateBGImage ; +0x6b, 0x10000803b call EditorSFXManager__sharedState ; +0x70, 0x100008040 mov rdi, rax ; +0x75, 0x100008045 mov esi, 0BEh ; +0x78, 0x100008048 mov edx, 0BDh ; +0x7d, 0x10000804d pop rbx ; +0x82, 0x100008052 pop r12 ; +0x83, 0x100008053 pop r14 ; +0x85, 0x100008055 pop r15 ; +0x87, 0x100008057 pop rbp ; +0x89, 0x100008059 jmp EditorSFXManager__playAction ; +0x8a, 0x10000805a