//
// SetupRotateCommandPopup::updateControlVisibility from 0x928c34 to 0x928d1c (232 bytes)
//
// 5 xrefs:
// > SetupRotateCommandPopup::valueDidChange @ 0x928d84
// > SetupRotateCommandPopup::valueDidChange @ 0x928dac
// > SetupRotateCommandPopup::valueDidChange @ 0x928dc8
// > SetupRotateCommandPopup::init @ 0x929ae8
// > ??> @ 0xa8990
//
// 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::updateControlVisibility(SetupRotateCommandPopup *a1)
{
int v2; // w21
int v3; // w20
_BOOL4 v4; // w20
if ( a1->getValue(a1, 100) == 0.0 )
{
v3 = a1->getValue(a1, 394) != 0.0;
v2 = v3 ^ 1;
}
else
{
v2 = 0;
v3 = 1;
}
a1->toggleGroup(a1, 9002, v3);
a1->toggleGroup(a1, 9001, v2);
v4 = (unsigned __int8)v3 & (a1->getValue(a1, 397) != 0.0);
a1->toggleGroup(a1, 9003, !v4);
a1->toggleGroup(a1, 9004, v4);
}