; ; EditorUI::setCustomGridEnabled from 0x1401ae520 to 0x1401ae5c1 (161 bytes) ; ; 4 xrefs: ; > EditorUI::handleEditorAction @ 0x1401c2983 ; > GridSettingsLayer::valueDidChange @ 0x1402c9502 ; > GridSettingsLayer::valueDidChange @ 0x1402c9509 ; > @ 0x140919dfc ; ; 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 11:27:54 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1401ae520 push rdi ; +0x5, 0x1401ae525 sub rsp, 20h ; +0x6, 0x1401ae526 movzx edi, dl ; +0xa, 0x1401ae52a mov rbx, rcx ; +0xd, 0x1401ae52d mov [rcx+2C0h], dl ; +0x10, 0x1401ae530 mov rcx, cs:qword_14090BFD0 ; +0x16, 0x1401ae536 test rcx, rcx ; +0x1d, 0x1401ae53d jnz short loc_1401AE574 ; +0x20, 0x1401ae540 mov ecx, 6E8h; Size ; +0x22, 0x1401ae542 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x27, 0x1401ae547 mov [rsp+28h+arg_0], rax ; +0x2c, 0x1401ae54c mov rcx, rax ; +0x31, 0x1401ae551 call GameManager__GameManager ; +0x34, 0x1401ae554 nop ; +0x39, 0x1401ae559 mov cs:qword_14090BFD0, rax ; +0x3a, 0x1401ae55a mov rcx, [rax] ; +0x41, 0x1401ae561 mov rdx, [rcx+48h] ; +0x44, 0x1401ae564 mov rcx, rax ; +0x48, 0x1401ae568 call rdx ; +0x4b, 0x1401ae56b mov rcx, cs:qword_14090BFD0 ; +0x4d, 0x1401ae56d movzx r8d, dil ; +0x54, 0x1401ae574 lea rdx, a0194; "0194" ; +0x58, 0x1401ae578 call GameManager__setGameVariable ; +0x5f, 0x1401ae57f test dil, dil ; +0x64, 0x1401ae584 jz short loc_1401AE5AF ; +0x67, 0x1401ae587 xorps xmm0, xmm0 ; +0x69, 0x1401ae589 comiss xmm0, dword ptr [rbx+2BCh] ; +0x6c, 0x1401ae58c jb short loc_1401AE5AF ; +0x73, 0x1401ae593 movss xmm1, cs:dword_140835624 ; +0x75, 0x1401ae595 mov rcx, rbx ; +0x7d, 0x1401ae59d mov rbx, [rsp+28h+arg_8] ; +0x80, 0x1401ae5a0 add rsp, 20h ; +0x85, 0x1401ae5a5 pop rdi ; +0x89, 0x1401ae5a9 jmp EditorUI__setCustomGridNodeSize ; +0x8a, 0x1401ae5aa mov rcx, rbx ; +0x8f, 0x1401ae5af mov rbx, [rsp+28h+arg_8] ; +0x92, 0x1401ae5b2 add rsp, 20h ; +0x97, 0x1401ae5b7 pop rdi ; +0x9b, 0x1401ae5bb jmp EditorUI__updateGridNodeSize_1 ; +0x9c, 0x1401ae5bc