; ; EditorUI::cycleCustomGridPreset from 0x1401ae5d0 to 0x1401ae6ef (287 bytes) ; ; 5 xrefs: ; > EditorUI::handleEditorAction @ 0x1401c29a6 ; > EditorUI::handleEditorAction @ 0x1401c29bd ; > GridSettingsLayer::onCycleUp @ 0x1402c95a7 ; > GridSettingsLayer::onCycleDown @ 0x1402c9617 ; > @ 0x140919e08 ; ; 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 ; push rbx ; +0x0, 0x1401ae5d0 sub rsp, 20h ; +0x2, 0x1401ae5d2 mov rbx, rcx ; +0x6, 0x1401ae5d6 cmp byte ptr [rcx+2C0h], 0 ; +0x9, 0x1401ae5d9 jnz short loc_1401AE64E ; +0x10, 0x1401ae5e0 mov byte ptr [rcx+2C0h], 1 ; +0x12, 0x1401ae5e2 mov rcx, cs:qword_14090BFD0 ; +0x19, 0x1401ae5e9 test rcx, rcx ; +0x20, 0x1401ae5f0 jnz short loc_1401AE627 ; +0x23, 0x1401ae5f3 mov ecx, 6E8h; Size ; +0x25, 0x1401ae5f5 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x2a, 0x1401ae5fa mov [rsp+28h+arg_0], rax ; +0x2f, 0x1401ae5ff mov rcx, rax ; +0x34, 0x1401ae604 call GameManager__GameManager ; +0x37, 0x1401ae607 nop ; +0x3c, 0x1401ae60c mov cs:qword_14090BFD0, rax ; +0x3d, 0x1401ae60d mov rcx, [rax] ; +0x44, 0x1401ae614 mov rdx, [rcx+48h] ; +0x47, 0x1401ae617 mov rcx, rax ; +0x4b, 0x1401ae61b call rdx ; +0x4e, 0x1401ae61e mov rcx, cs:qword_14090BFD0 ; +0x50, 0x1401ae620 mov r8b, 1 ; +0x57, 0x1401ae627 lea rdx, a0194; "0194" ; +0x5a, 0x1401ae62a call GameManager__setGameVariable ; +0x61, 0x1401ae631 movss xmm2, cs:dword_140835624 ; +0x66, 0x1401ae636 movaps xmm1, xmm2 ; +0x6e, 0x1401ae63e mov rcx, rbx ; +0x71, 0x1401ae641 add rsp, 20h ; +0x74, 0x1401ae644 pop rbx ; +0x78, 0x1401ae648 jmp EditorUI__setCustomGridNodeSize ; +0x79, 0x1401ae649 movss xmm0, dword ptr [rcx+2BCh] ; +0x7e, 0x1401ae64e lea rax, flt_1407517A8 ; +0x86, 0x1401ae656 test dl, dl ; +0x8d, 0x1401ae65d jz short loc_1401AE6A2 ; +0x8f, 0x1401ae65f movss xmm2, cs:dword_1408357F4 ; +0x91, 0x1401ae661 addss xmm0, cs:dword_140834D8C ; +0x99, 0x1401ae669 lea rcx, flt_1407517BC ; +0xa1, 0x1401ae671 nop dword ptr [rax+rax+00000000h] ; +0xa8, 0x1401ae678 movss xmm1, dword ptr [rax] ; +0xb0, 0x1401ae680 comiss xmm1, xmm0 ; +0xb4, 0x1401ae684 ja short loc_1401AE6E2 ; +0xb7, 0x1401ae687 add rax, 4 ; +0xb9, 0x1401ae689 cmp rax, rcx ; +0xbd, 0x1401ae68d jl short loc_1401AE680 ; +0xc0, 0x1401ae690 movaps xmm1, xmm2 ; +0xc2, 0x1401ae692 mov rcx, rbx ; +0xc5, 0x1401ae695 add rsp, 20h ; +0xc8, 0x1401ae698 pop rbx ; +0xcc, 0x1401ae69c jmp EditorUI__setCustomGridNodeSize ; +0xcd, 0x1401ae69d movss xmm2, cs:dword_1408354B4 ; +0xd2, 0x1401ae6a2 subss xmm0, cs:dword_140834D8C ; +0xda, 0x1401ae6aa lea rcx, unk_1407517B8 ; +0xe2, 0x1401ae6b2 nop dword ptr [rax+00000000h] ; +0xe9, 0x1401ae6b9 movss xmm1, dword ptr [rcx] ; +0xf0, 0x1401ae6c0 comiss xmm0, xmm1 ; +0xf4, 0x1401ae6c4 ja short loc_1401AE6E2 ; +0xf7, 0x1401ae6c7 sub rcx, 4 ; +0xf9, 0x1401ae6c9 cmp rcx, rax ; +0xfd, 0x1401ae6cd jge short loc_1401AE6C0 ; +0x100, 0x1401ae6d0 movaps xmm1, xmm2 ; +0x102, 0x1401ae6d2 mov rcx, rbx ; +0x105, 0x1401ae6d5 add rsp, 20h ; +0x108, 0x1401ae6d8 pop rbx ; +0x10c, 0x1401ae6dc jmp EditorUI__setCustomGridNodeSize ; +0x10d, 0x1401ae6dd mov rcx, rbx ; +0x112, 0x1401ae6e2 add rsp, 20h ; +0x115, 0x1401ae6e5 pop rbx ; +0x119, 0x1401ae6e9 jmp EditorUI__setCustomGridNodeSize ; +0x11a, 0x1401ae6ea