//
// SetupRotateCommandPopup::valueDidChange from 0x100406cd8 to 0x100406dec (276 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008180c8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetupRotateCommandPopup::valueDidChange(SetupRotateCommandPopup *a1, int a2, float a3)
{
int v5; // w1
if ( a2 <= 199 )
{
if ( a2 == 100 )
{
if ( a3 != 0.0 )
SetupTriggerPopup::updateValue(a1, 394, 0.0);
SetupRotateCommandPopup::updateControlVisibility(a1);
SetupTriggerPopup::togglePageArrows(a1, a3 != 0.0);
}
else if ( a2 == 138 && a3 != 0.0 )
{
v5 = 200;
LABEL_12:
SetupTriggerPopup::updateValue(a1, v5, 0.0);
SetupTriggerPopup::updateValue(a1, 401, 0.0);
}
}
else
{
if ( a2 != 200 )
{
if ( a2 == 394 )
{
if ( a3 != 0.0 )
SetupTriggerPopup::updateValue(a1, 100, 0.0);
}
else if ( a2 != 397 )
{
return;
}
SetupRotateCommandPopup::updateControlVisibility(a1);
return;
}
if ( a3 != 0.0 )
{
v5 = 138;
goto LABEL_12;
}
}
}