//
// SetupRotatePopup::onCustomToggleTriggerValue from 0x100305fac to 0x100306068 (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092b080
//
// 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 11:03:07 +0000
//
__int64 __fastcall SetupRotatePopup::onCustomToggleTriggerValue(_QWORD *a1, __int64 a2)
{
unsigned int v3; // w20
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
sub_1001AFA70(a1, 97, 0.0);
if ( v3 <= 2 )
sub_1001AFA70(a1, 98, flt_10076B884[v3]);
(*(void (__fastcall **)(_QWORD *, __int64, bool))(*a1 + 1352LL))(a1, 2, v3 == 2);
sub_1001B0178((__int64)a1, 0, v3 == 0);
sub_1001B0178((__int64)a1, 2, v3 == 2);
return sub_1001B0178((__int64)a1, 1, v3 == 1);
}