//
// sub_100908B60 from 0x100908b60 to 0x100908bcc (108 bytes)
//
// 1 xrefs:
// > GridSettingsLayer::onBuildWindowContent @ 0x1009088b5
//
// 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:38:06 +0000
//
__int64 __fastcall sub_100908B60(_QWORD *a1, __int64 a2, __int64 a3)
{
__int64 result; // rax
__int64 v5; // rdi
v5 = a1[127];
if ( v5 )
{
EditorUI::cycleCustomGridPreset(v5, 0, a3);
result = a1[127];
if ( result )
{
SetupTriggerPopup::updateValueControls(a1, 0xFFFFFFFE, *(float *)(result + 652));
return (*(__int64 (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1448LL))(
a1,
0xFFFFFFFFLL,
*(unsigned __int8 *)(a1[127] + 656LL));
}
}
return result;
}