//
// SetupRotatePopup::onCustomToggleTriggerValue from 0x10066e910 to 0x10066e9bc (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b83c18
//
// 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 12:35:02 +0000
//
__int64 __fastcall SetupRotatePopup::onCustomToggleTriggerValue(_QWORD *a1, __int64 a2)
{
unsigned int v2; // r14d
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
SetupTriggerPopup::updateValue(a1, 0x61u, 0.0);
if ( v2 <= 2 )
SetupTriggerPopup::updateValue(a1, 0x62u, flt_100A0E15C[v2]);
(*(void (__fastcall **)(_QWORD *, __int64, bool))(*a1 + 1352LL))(a1, 2, v2 == 2);
SetupTriggerPopup::updateCustomToggleTrigger((__int64)a1, 0, v2 == 0);
SetupTriggerPopup::updateCustomToggleTrigger((__int64)a1, 2, v2 == 2);
return SetupTriggerPopup::updateCustomToggleTrigger((__int64)a1, 1, v2 == 1);
}