//
// SetupRotateCommandPopup::updateControlVisibility from 0x100006670 to 0x10000674a (218 bytes)
//
// 0 xrefs:
//
// 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)
{
__m128 v1; // xmm0
int v2; // r15d
__m128 v3; // rt1
unsigned __int8 v4; // r14
LOBYTE(v2) = 1;
if ( ((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 100) == 0.0 )
{
*(double *)v1.i64 = ((double (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 394);
v3.i32[0] = 0;
v2 = _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(v1, v3)) & 1;
}
((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9002, (unsigned __int8)v2);
((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9001, (unsigned __int8)v2 ^ 1u);
v4 = (((float (__fastcall *)(SetupRotateCommandPopup *, __int64))a1->getValue)(a1, 397) != 0.0) & v2;
((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9003, v4 ^ 1u);
((void (__fastcall *)(SetupRotateCommandPopup *, __int64, _QWORD))a1->toggleGroup)(a1, 9004, v4);
}