//
// SetupRotateCommandPopup::updateControlVisibility from 0x610116 to 0x6101c0 (170 bytes)
//
// 3 xrefs:
// > SetupRotateCommandPopup::valueDidChange @ 0x610202
// > SetupRotateCommandPopup::valueDidChange @ 0x61023e
// > SetupRotateCommandPopup::init @ 0x610bf6
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:51 +0000
//
int __fastcall SetupRotateCommandPopup::updateControlVisibility(SetupRotateCommandPopup *this)
{
_BOOL4 v2; // r5
v2 = (*(float (__fastcall **)(SetupRotateCommandPopup *, int))(*(_DWORD *)this + 732))(this, 100) != 0.0
|| (*(float (__fastcall **)(SetupRotateCommandPopup *, int))(*(_DWORD *)this + 732))(this, 394) != 0.0;
(*(void (__fastcall **)(SetupRotateCommandPopup *, int, _BOOL4))(*(_DWORD *)this + 676))(this, 9002, v2);
(*(void (__fastcall **)(SetupRotateCommandPopup *, int, bool))(*(_DWORD *)this + 676))(this, 9001, !v2);
if ( COERCE_FLOAT((*(int (__fastcall **)(SetupRotateCommandPopup *, int))(*(_DWORD *)this + 732))(this, 397)) == 0.0 )
v2 = 0;
(*(void (__fastcall **)(SetupRotateCommandPopup *, int, bool))(*(_DWORD *)this + 676))(this, 9003, !v2);
return (*(int (__fastcall **)(SetupRotateCommandPopup *, int, _BOOL4))(*(_DWORD *)this + 676))(this, 9004, v2);
}