; ; EditorUI::adjustCustomGridSize from 0x10000e200 to 0x10000e2b9 (185 bytes) ; ; 2 xrefs: ; > EditorUI::handleEditorAction @ 0x10060cd13 ; > EditorUI::handleEditorAction @ 0x10060cd3d ; ; 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, 0x10000e200 mov rbp, rsp ; +0x1, 0x10000e201 push rbx ; +0x4, 0x10000e204 push rax ; +0x5, 0x10000e205 mov rbx, rdi ; +0x6, 0x10000e206 cmp byte ptr [rdi+290h], 0 ; +0x9, 0x10000e209 jz short loc_10000E268 ; +0x10, 0x10000e210 cvtsi2ss xmm0, esi ; +0x12, 0x10000e212 addss xmm0, dword ptr [rbx+28Ch] ; +0x16, 0x10000e216 xorps xmm1, xmm1 ; +0x1e, 0x10000e21e ucomiss xmm0, xmm1 ; +0x21, 0x10000e221 jbe short loc_10000E239 ; +0x24, 0x10000e224 minss xmm0, cs:dword_100A03734 ; +0x26, 0x10000e226 maxss xmm0, cs:flt_100A035C0 ; +0x2e, 0x10000e22e movaps xmm1, xmm0 ; +0x36, 0x10000e236 movss [rbp+var_C], xmm1 ; +0x39, 0x10000e239 movss dword ptr [rbx+28Ch], xmm1 ; +0x3e, 0x10000e23e call GameManager__sharedState ; +0x46, 0x10000e246 movss xmm0, [rbp+var_C] ; +0x4b, 0x10000e24b mulss xmm0, cs:dword_100A035BC ; +0x50, 0x10000e250 cvttss2si edx, xmm0 ; +0x58, 0x10000e258 lea rsi, a0193; "0193" ; +0x5c, 0x10000e25c mov rdi, rax ; +0x63, 0x10000e263 jmp short loc_10000E2A6 ; +0x66, 0x10000e266 mov byte ptr [rbx+290h], 1 ; +0x68, 0x10000e268 call GameManager__sharedState ; +0x6f, 0x10000e26f lea rsi, a0194; "0194" ; +0x74, 0x10000e274 mov rdi, rax ; +0x7b, 0x10000e27b mov edx, 1 ; +0x7e, 0x10000e27e call GameManager__setGameVariable ; +0x83, 0x10000e283 mov dword ptr [rbx+28Ch], 41F00000h ; +0x88, 0x10000e288 call GameManager__sharedState ; +0x92, 0x10000e292 lea rsi, a0193; "0193" ; +0x97, 0x10000e297 mov rdi, rax ; +0x9e, 0x10000e29e mov edx, 12Ch ; +0xa1, 0x10000e2a1 call GameManager__setIntGameVariable ; +0xa6, 0x10000e2a6 mov rdi, rbx ; +0xab, 0x10000e2ab add rsp, 8 ; +0xae, 0x10000e2ae pop rbx ; +0xb2, 0x10000e2b2 pop rbp ; +0xb3, 0x10000e2b3 jmp EditorUI__updateGridNodeSize_1 ; +0xb4, 0x10000e2b4