//
// SetupRotateCommandPopup::valueDidChange from 0xa7b2e4 to 0xa7b3ec (264 bytes)
//
// 2 xrefs:
// > ??> @ 0xd0420
// > ??> @ 0x1495c20
//
// This function is hookable on this platform (idp: arm, 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 13:00:28 +0000
//
SetupTriggerPopup *__fastcall SetupRotateCommandPopup::valueDidChange(SetupTriggerPopup *this, int a2, float a3)
{
SetupRotateCommandPopup *v3; // x19
int v5; // w1
v3 = this;
if ( a2 == 200 )
{
if ( a3 == 0.0 )
return this;
v5 = 138;
goto LABEL_18;
}
if ( a2 > 200 )
{
if ( a2 == 394 )
{
if ( a3 != 0.0 )
SetupTriggerPopup::updateValue(this, 100, 0.0);
return (SetupTriggerPopup *)SetupRotateCommandPopup::updateControlVisibility(v3);
}
else if ( a2 == 397 )
{
return (SetupTriggerPopup *)SetupRotateCommandPopup::updateControlVisibility(this);
}
}
else
{
if ( a2 != 100 )
{
if ( a2 != 138 || a3 == 0.0 )
return this;
v5 = 200;
LABEL_18:
SetupTriggerPopup::updateValue(this, v5, 0.0);
return (SetupTriggerPopup *)SetupTriggerPopup::updateValue(v3, 401, 0.0);
}
if ( a3 != 0.0 )
SetupTriggerPopup::updateValue(this, 394, 0.0);
SetupRotateCommandPopup::updateControlVisibility(v3);
return (SetupTriggerPopup *)SetupTriggerPopup::togglePageArrows(v3, a3 != 0.0);
}
return this;
}