//
// SetupRotateCommandPopup::updateControlVisibility from 0x4e0b88 to 0x4e0c32 (170 bytes)
//
// 3 xrefs:
// > SetupRotateCommandPopup::valueDidChange @ 0x4e0c74
// > SetupRotateCommandPopup::valueDidChange @ 0x4e0cb0
// > SetupRotateCommandPopup::init @ 0x4e15d8
//
// 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)
{
_BOOL4 v2; // r5
v2 = a1->getValue(a1, 100) != 0.0 || a1->getValue(a1, 394) != 0.0;
a1->toggleGroup(a1, 9002, v2);
a1->toggleGroup(a1, 9001, !v2);
if ( COERCE_FLOAT(((int (__fastcall *)(SetupRotateCommandPopup *, int))a1->getValue)(a1, 397)) == 0.0 )
v2 = 0;
a1->toggleGroup(a1, 9003, !v2);
a1->toggleGroup(a1, 9004, v2);
}