//
// SetupRotateCommandPopup::valueDidChange from 0x928d1c to 0x928e24 (264 bytes)
//
// 2 xrefs:
// > ??> @ 0x9e370
// > ??> @ 0x11af0e0
//
// 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 SetupRotateCommandPopup::valueDidChange(SetupRotateCommandPopup *a1, int a2, float a3)
{
int v5; // w1
if ( a2 == 200 )
{
if ( a3 == 0.0 )
return;
v5 = 138;
goto LABEL_18;
}
if ( a2 > 200 )
{
if ( a2 == 394 )
{
if ( a3 != 0.0 )
SetupTriggerPopup::updateValue(a1, 100, 0.0);
SetupRotateCommandPopup::updateControlVisibility(a1);
}
else if ( a2 == 397 )
{
SetupRotateCommandPopup::updateControlVisibility(a1);
}
}
else
{
if ( a2 != 100 )
{
if ( a2 != 138 || a3 == 0.0 )
return;
v5 = 200;
LABEL_18:
SetupTriggerPopup::updateValue(a1, v5, 0.0);
SetupTriggerPopup::updateValue(a1, 401, 0.0);
return;
}
if ( a3 != 0.0 )
SetupTriggerPopup::updateValue(a1, 394, 0.0);
SetupRotateCommandPopup::updateControlVisibility(a1);
SetupTriggerPopup::togglePageArrows(a1, a3 != 0.0);
}
}