//
// SetupAreaTintTriggerPopup::valueDidChange from 0x1004d4080 to 0x1004d415d (221 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b5ee80
//
// 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:31:13 +0000
//
__int64 __fastcall SetupAreaTintTriggerPopup::valueDidChange(_QWORD *a1, int a2, __m128 a3)
{
__int64 result; // rax
if ( a2 <= 240 )
{
if ( a2 == 65 )
{
if ( a3.f32[0] != 0.0 )
return SetupTriggerPopup::updateValue(a1, 0x42u, 0.0);
}
else if ( a2 == 66 && a3.f32[0] != 0.0 )
{
return SetupTriggerPopup::updateValue(a1, 0x41u, 0.0);
}
}
else
{
if ( a2 == 278 )
{
LABEL_5:
(*(void (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1352LL))(
a1,
1,
_mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss(a3, (__m128)0LL)) & 1);
return (*(__int64 (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1352LL))(
a1,
2,
_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(a3, (__m128)0LL)) & 1);
}
if ( a2 != 261 )
{
if ( a2 != 241 )
return result;
goto LABEL_5;
}
return (*(__int64 (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1352LL))(
a1,
9,
_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(a3, (__m128)0LL)) & 1);
}
return result;
}