//
// SetupKeyframePopup::onCustomToggleTriggerValue from 0x10024a6e4 to 0x10024a788 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009093a0
//
// 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:01:28 +0000
//
__int64 __fastcall SetupKeyframePopup::onCustomToggleTriggerValue(_QWORD *a1, __int64 a2)
{
int v4; // w21
int v5; // w20
v4 = (int)(*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 536);
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == v4 )
v5 = 0;
else
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
sub_1001AFA70(a1, 536, (float)v5);
sub_1001B0178((__int64)a1, 1, v5 == 1);
return sub_1001B0178((__int64)a1, 2, v5 == 2);
}