//
// sub_10000DFD0 from 0x10000dfd0 to 0x10000e03b (107 bytes)
//
// 1 xrefs:
// > GridSettingsLayer::valueDidChange @ 0x100908d3a
//
// 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 12:18:50 +0000
//
__int64 __fastcall sub_10000DFD0(__int64 a1, __int64 a2, __int64 a3, float a4)
{
__int64 v5; // rdi
__int64 v6; // rdx
__int64 v7; // rax
*(_BYTE *)(a1 + 656) = a2;
v5 = GameManager::sharedState(a1, a2, a3);
GameManager::setGameVariable(v5, "0194", (unsigned int)a2);
if ( (_DWORD)a2 )
{
a4 = 0.0;
if ( *(float *)(a1 + 652) <= 0.0 )
{
*(_DWORD *)(a1 + 652) = 1106247680;
v7 = GameManager::sharedState(v5, "0194", v6);
a4 = GameManager::setIntGameVariable(v7, "0193", 300);
}
}
return EditorUI::updateGridNodeSize_1(a1, a4);
}