//
// SetupRotateCommandPopup::updateControlVisibility from 0x1403af460 to 0x1403af53b (219 bytes)
//
// 4 xrefs:
// > SetupRotateCommandPopup::init @ 0x1403af122
// > SetupRotateCommandPopup::valueDidChange @ 0x1403af28f
// > SetupRotateCommandPopup::valueDidChange @ 0x1403af3e1
// > ??> @ 0x140923b7c
//
// This function is hookable on this platform (idp: pc, 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 11:31:22 +0000
//
__int64 __fastcall SetupRotateCommandPopup::updateControlVisibility(__int64 a1)
{
bool v2; // di
bool v3; // di
v2 = (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1168LL))(a1, 100) != 0.0
|| (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1168LL))(a1, 394) != 0.0;
(*(void (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1088LL))(a1, 9002, v2);
(*(void (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1088LL))(a1, 9001, !v2);
v3 = (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1168LL))(a1, 397) != 0.0 && v2;
(*(void (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1088LL))(a1, 9003, !v3);
return (*(__int64 (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1088LL))(a1, 9004, v3);
}