//
// GridSettingsLayer::onReset from 0x1402c9540 to 0x1402c9582 (66 bytes)
//
// 2 xrefs:
// > GridSettingsLayer::onBuildWindowContent @ 0x1402c93a7
// > ??> @ 0x14091dc54
//
// 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:29:23 +0000
//
__int64 __fastcall GridSettingsLayer::onReset(__int64 a1)
{
__int64 v2; // rcx
__int64 result; // rax
v2 = *(_QWORD *)(a1 + 1000);
if ( v2 )
{
EditorUI::setCustomGridNodeSize(v2, 30.0);
return SetupTriggerPopup::updateValueControls(a1, 4294967294LL);
}
return result;
}