//
// sub_100475030 from 0x100475030 to 0x100475084 (84 bytes)
//
// 1 xrefs:
// > EditorUI::updateGridNodeSize @ 0x10047502c
//
// 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 11:05:40 +0000
//
void __fastcall sub_100475030(__int64 a1, int a2)
{
__int64 v4; // x0
float v5; // s0
v4 = ObjectToolbox::sharedState();
v5 = ObjectToolbox::gridNodeSizeForKey(v4, a2);
if ( *(_BYTE *)(a1 + 656) == 1 && *(float *)(a1 + 652) > 0.0 )
v5 = *(float *)(a1 + 652);
*(float *)(a1 + 648) = v5;
*(float *)(*(_QWORD *)(*(_QWORD *)(a1 + 1440) + 14288LL) + 604LL) = v5;
}