//
// EditorUI::updateGridNodeSize from 0x481838 to 0x481878 (64 bytes)
//
// 1 xrefs:
// > EditorUI::updateGridNodeSize @ 0x481910
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:22 +0000
//
int __fastcall EditorUI::updateGridNodeSize(EditorUI *this, int a2)
{
ObjectToolbox *v4; // r0
int result; // r0
int v6; // s15
v4 = (ObjectToolbox *)ObjectToolbox::sharedState(this);
result = ObjectToolbox::gridNodeSizeForKey(v4, a2);
v6 = result;
if ( *((_BYTE *)this + 480) && *((float *)this + 119) > 0.0 )
v6 = *((_DWORD *)this + 119);
*((_DWORD *)this + 118) = v6;
*(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 236) + 11880) + 444) = v6;
return result;
}