//
// SetupRotateCommandPopup::updateControlVisibility from 0xa7b1fc to 0xa7b2e4 (232 bytes)
//
// 5 xrefs:
// > SetupRotateCommandPopup::valueDidChange @ 0xa7b34c
// > SetupRotateCommandPopup::valueDidChange @ 0xa7b374
// > SetupRotateCommandPopup::valueDidChange @ 0xa7b390
// > SetupRotateCommandPopup::init @ 0xa7c024
// > ??> @ 0xdd188
//
// 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
//
__int64 __fastcall SetupRotateCommandPopup::updateControlVisibility(SetupRotateCommandPopup *this)
{
unsigned int v2; // w21
_BOOL4 v3; // w20
unsigned int v4; // w20
if ( (*(float (__fastcall **)(SetupRotateCommandPopup *, __int64))(*(_QWORD *)this + 1464LL))(this, 100) == 0.0 )
{
v3 = (*(float (__fastcall **)(SetupRotateCommandPopup *, __int64))(*(_QWORD *)this + 1464LL))(this, 394) != 0.0;
v2 = !v3;
}
else
{
v2 = 0;
v3 = 1;
}
(*(void (__fastcall **)(SetupRotateCommandPopup *, __int64, _BOOL4))(*(_QWORD *)this + 1352LL))(this, 9002, v3);
(*(void (__fastcall **)(SetupRotateCommandPopup *, __int64, _QWORD))(*(_QWORD *)this + 1352LL))(this, 9001, v2);
v4 = v3 & ((*(float (__fastcall **)(SetupRotateCommandPopup *, __int64))(*(_QWORD *)this + 1464LL))(this, 397) != 0.0);
(*(void (__fastcall **)(SetupRotateCommandPopup *, __int64, _QWORD))(*(_QWORD *)this + 1352LL))(this, 9003, v4 ^ 1);
return (*(__int64 (__fastcall **)(SetupRotateCommandPopup *, __int64, _QWORD))(*(_QWORD *)this + 1352LL))(
this,
9004,
v4);
}