//
// EditorUI::adjustCustomGridSize from 0x7c1608 to 0x7c166c (100 bytes)
//
// 3 xrefs:
// > EditorUI::handleEditorAction @ 0xbd7a2c
// > EditorUI::handleEditorAction @ 0xbd8694
// > ??> @ 0xeb480
//
// This function is hookable on this platform (idp: arm, 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:54:06 +0000
//
__int64 __fastcall EditorUI::adjustCustomGridSize(EditorUI *this, int a2)
{
GameManager *v3; // x0
if ( *((_BYTE *)this + 656) )
return EditorUI::setCustomGridNodeSize(this, (float)a2 + *((float *)this + 163));
*((_BYTE *)this + 656) = 1;
v3 = (GameManager *)GameManager::sharedState(this);
GameManager::setGameVariable(v3, "0194", 1u);
return EditorUI::setCustomGridNodeSize(this, 30.0);
}