//
// SetupMoveCommandPopup::valueDidChange from 0x4b8c82 to 0x4b8d94 (274 bytes)
//
// 0 xrefs:
//
// 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 SetupMoveCommandPopup::valueDidChange(SetupMoveCommandPopup *a1, int a2, float a3)
{
SetupMoveCommandPopup *v3; // r4
int v4; // r1
int v5; // r1
int v6; // r1
v3 = a1;
if ( a2 == 141 )
{
if ( a3 == 0.0 )
goto LABEL_23;
v5 = 58;
goto LABEL_22;
}
if ( a2 <= 141 )
{
if ( a2 == 59 )
{
if ( a3 == 0.0 )
goto LABEL_23;
v5 = 142;
goto LABEL_22;
}
if ( a2 <= 59 )
{
if ( a2 != 58 )
return;
if ( a3 != 0.0 )
{
v5 = 141;
goto LABEL_22;
}
goto LABEL_23;
}
if ( a2 == 100 )
{
if ( a3 != 0.0 )
{
v5 = 394;
LABEL_22:
SetupTriggerPopup::updateValue(a1, v5, 0.0);
}
LABEL_23:
SetupMoveCommandPopup::updateControlVisibility(v3);
return;
}
if ( a2 == 138 && a3 != 0.0 )
{
v6 = 200;
LABEL_38:
SetupTriggerPopup::updateValue(a1, v6, 0.0);
a1 = v3;
v4 = 71;
goto LABEL_39;
}
return;
}
if ( a2 == 393 )
{
a1->m_smallStep = a3 != 0.0;
SetupTriggerPopup::updateValue(a1, 28, 0.0);
SetupTriggerPopup::updateValue(v3, 29, 0.0);
a1 = v3;
v4 = 396;
goto LABEL_39;
}
if ( a2 >= 394 )
{
if ( a2 == 394 )
{
if ( a3 == 0.0 )
goto LABEL_23;
v5 = 100;
goto LABEL_22;
}
if ( a2 != 544 || a3 == 0.0 )
return;
v4 = 10;
LABEL_39:
SetupTriggerPopup::updateValue(a1, v4, 0.0);
return;
}
if ( a2 == 142 )
{
if ( a3 == 0.0 )
goto LABEL_23;
v5 = 59;
goto LABEL_22;
}
if ( a2 == 200 && a3 != 0.0 )
{
v6 = 138;
goto LABEL_38;
}
}