//
// SetupRotateCommandPopup::updateControlVisibility from 0x100406bdc to 0x100406cac (208 bytes)
//
// 3 xrefs:
// > SetupRotateCommandPopup::init @ 0x1004069dc
// > SetupRotateCommandPopup::valueDidChange @ 0x100406da8
// > SetupRotateCommandPopup::valueDidChange @ 0x100406dd0
//
// 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 SetupRotateCommandPopup::updateControlVisibility(SetupRotateCommandPopup *a1)
{
__int64 v2; // x20
v2 = ((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 100) != 0.0
|| ((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 394) != 0.0;
((void (__fastcall *)(SetupRotateCommandPopup *, __int64, __int64))a1->toggleGroup)(a1, 9002, v2);
((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9001, (unsigned int)v2 ^ 1);
if ( ((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 397) == 0.0 )
v2 = 0;
else
v2 = (unsigned int)v2;
((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9003, (unsigned int)v2 ^ 1);
((void (__fastcall *)(SetupRotateCommandPopup *, __int64, __int64))a1->toggleGroup)(a1, 9004, v2);
}