//
// GridSettingsLayer::onCycleUp from 0x1402c9590 to 0x1402c95f9 (105 bytes)
//
// 2 xrefs:
// > GridSettingsLayer::onBuildWindowContent @ 0x1402c9312
// > ??> @ 0x14091dc60
//
// 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
//
void __fastcall GridSettingsLayer::onCycleUp(_QWORD *a1, __int64 a2, __int64 a3)
{
__int64 v4; // rcx
v4 = a1[125];
if ( v4 )
{
EditorUI::cycleCustomGridPreset(v4, 1, a3);
if ( a1[125] )
{
SetupTriggerPopup::updateValueControls(a1, 4294967294LL);
(*(void (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1152LL))(
a1,
0xFFFFFFFFLL,
*(unsigned __int8 *)(a1[125] + 704LL));
}
}
}