//
// SetupAreaTintTriggerPopup::valueDidChange from 0x10003bd50 to 0x10003be18 (200 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008b79a8
//
// 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 10:57:34 +0000
//
__int64 __fastcall SetupAreaTintTriggerPopup::valueDidChange(__int64 a1, int a2, float a3)
{
__int64 result; // x0
__int64 v7; // x0
__int64 v8; // x1
result = SetupAreaMoveTriggerPopup::valueDidChange(a1, a2, a3);
if ( a2 == 278 )
{
(*(void (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1352LL))(a1, 1, a3 == 0.0);
return (*(__int64 (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)a1 + 1352LL))(a1, 2, a3 != 0.0);
}
else if ( a2 == 66 )
{
if ( a3 != 0.0 )
{
v7 = a1;
v8 = 65;
return sub_1001AFA70(v7, v8, 0.0);
}
}
else if ( a2 == 65 && a3 != 0.0 )
{
v7 = a1;
v8 = 66;
return sub_1001AFA70(v7, v8, 0.0);
}
return result;
}