; ; EditorUI::toggleCustomGridEnabled from 0x10000e040 to 0x10000e0c0 (128 bytes) ; ; 1 xrefs: ; > EditorUI::handleEditorAction @ 0x10060be3b ; ; 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:50 +0000 ; push rbp ; +0x0, 0x10000e040 mov rbp, rsp ; +0x1, 0x10000e041 push r15 ; +0x4, 0x10000e044 push r14 ; +0x6, 0x10000e046 push rbx ; +0x8, 0x10000e048 push rax ; +0x9, 0x10000e049 mov rbx, rdi ; +0xa, 0x10000e04a movzx r15d, byte ptr [rdi+290h] ; +0xd, 0x10000e04d mov r14d, r15d ; +0x15, 0x10000e055 xor r14d, 1 ; +0x18, 0x10000e058 mov [rdi+290h], r14b ; +0x1c, 0x10000e05c call GameManager__sharedState ; +0x23, 0x10000e063 lea rsi, a0194; "0194" ; +0x28, 0x10000e068 mov rdi, rax ; +0x2f, 0x10000e06f mov edx, r14d ; +0x32, 0x10000e072 call GameManager__setGameVariable ; +0x35, 0x10000e075 test r15d, r15d ; +0x3a, 0x10000e07a jnz short loc_10000E0AE ; +0x3d, 0x10000e07d xorps xmm0, xmm0 ; +0x3f, 0x10000e07f ucomiss xmm0, dword ptr [rbx+28Ch] ; +0x42, 0x10000e082 jb short loc_10000E0AE ; +0x49, 0x10000e089 mov dword ptr [rbx+28Ch], 41F00000h ; +0x4b, 0x10000e08b call GameManager__sharedState ; +0x55, 0x10000e095 lea rsi, a0193; "0193" ; +0x5a, 0x10000e09a mov rdi, rax ; +0x61, 0x10000e0a1 mov edx, 12Ch ; +0x64, 0x10000e0a4 call GameManager__setIntGameVariable ; +0x69, 0x10000e0a9 mov rdi, rbx ; +0x6e, 0x10000e0ae add rsp, 8 ; +0x71, 0x10000e0b1 pop rbx ; +0x75, 0x10000e0b5 pop r14 ; +0x76, 0x10000e0b6 pop r15 ; +0x78, 0x10000e0b8 pop rbp ; +0x7a, 0x10000e0ba jmp EditorUI__updateGridNodeSize_1 ; +0x7b, 0x10000e0bb