//
// SetupMoveCommandPopup::valueDidChange from 0x100608cd0 to 0x100608ed4 (516 bytes)
//
// 1 xrefs:
// > ??> @ 0x10097f860
//
// 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 SetupMoveCommandPopup::valueDidChange(SetupMoveCommandPopup *a1, int a2, float a3)
{
SetupMoveCommandPopup *v3; // rbx
int v4; // esi
SetupMoveCommandPopup *v5; // rbx
int v6; // esi
if ( a2 > 141 )
{
if ( a2 > 392 )
{
if ( a2 == 393 )
{
a1->m_smallStep = a3 != 0.0;
SetupTriggerPopup::updateValue(a1, 28, 0.0);
SetupTriggerPopup::updateValue(a1, 29, 0.0);
SetupTriggerPopup::updateValue(a1, 396, 0.0);
return;
}
if ( a2 == 394 )
{
if ( a3 != 0.0 )
{
v3 = a1;
v4 = 100;
goto LABEL_35;
}
goto LABEL_36;
}
if ( a2 == 544 && a3 != 0.0 )
SetupTriggerPopup::updateValue(a1, 10, 0.0);
return;
}
if ( a2 == 142 )
{
if ( a3 != 0.0 )
{
v3 = a1;
v4 = 59;
goto LABEL_35;
}
goto LABEL_36;
}
if ( a2 == 200 && a3 != 0.0 )
{
v5 = a1;
v6 = 138;
goto LABEL_31;
}
}
else
{
if ( a2 > 99 )
{
if ( a2 == 100 )
{
if ( a3 != 0.0 )
{
v3 = a1;
v4 = 394;
goto LABEL_35;
}
goto LABEL_36;
}
if ( a2 != 138 )
{
if ( a2 == 141 )
{
if ( a3 != 0.0 )
{
v3 = a1;
v4 = 58;
LABEL_35:
SetupTriggerPopup::updateValue(a1, v4, 0.0);
a1 = v3;
goto LABEL_36;
}
goto LABEL_36;
}
return;
}
if ( a3 == 0.0 )
return;
v5 = a1;
v6 = 200;
LABEL_31:
SetupTriggerPopup::updateValue(a1, v6, 0.0);
SetupTriggerPopup::updateValue(v5, 71, 0.0);
return;
}
if ( a2 == 58 )
{
if ( a3 != 0.0 )
{
v3 = a1;
v4 = 141;
goto LABEL_35;
}
goto LABEL_36;
}
if ( a2 == 59 )
{
if ( a3 != 0.0 )
{
v3 = a1;
v4 = 142;
goto LABEL_35;
}
LABEL_36:
SetupMoveCommandPopup::updateControlVisibility(a1);
}
}
}