// // EditorUI::adjustCustomGridSize from 0x1401ae6f0 to 0x1401ae787 (151 bytes) // // 3 xrefs: // > EditorUI::handleEditorAction @ 0x1401c29d7 // > EditorUI::handleEditorAction @ 0x1401c29e6 // > @ 0x140919e14 // // 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 // __int64 __fastcall EditorUI::adjustCustomGridSize(__int64 a1, int a2, __int64 a3) { __int64 v4; // rcx void *v6; // [rsp+30h] [rbp+8h] if ( *(_BYTE *)(a1 + 704) ) return EditorUI::setCustomGridNodeSize(a1, (float)a2 + *(float *)(a1 + 700)); *(_BYTE *)(a1 + 704) = 1; v4 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v6 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v4 = qword_14090BFD0; } LOBYTE(a3) = 1; GameManager::setGameVariable(v4, "0194", a3); return EditorUI::setCustomGridNodeSize(a1, 30.0); }