//
// SetupAreaTintTriggerPopup::valueDidChange from 0x1004d8d10 to 0x1004d8ded (221 bytes)
//
// 1 xrefs:
// > ??> @ 0x100953b38
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// local variable allocation has failed, the output may be wrong!
void __fastcall SetupAreaTintTriggerPopup::valueDidChange(SetupAreaTintTriggerPopup *a1, int a2, float a3)
{
if ( a2 <= 240 )
{
if ( a2 == 65 )
{
if ( a3 != 0.0 )
SetupTriggerPopup::updateValue(a1, 66, 0.0);
}
else if ( a2 == 66 && a3 != 0.0 )
{
SetupTriggerPopup::updateValue(a1, 65, 0.0);
}
}
else
{
if ( a2 == 278 )
{
LABEL_5:
((void (__fastcall *)(SetupAreaTintTriggerPopup *, __int64, _QWORD))a1->toggleGroup)(
a1,
1,
_mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss(*(__m128 *)&a3, (__m128)0LL)) & 1);
((void (__fastcall *)(SetupAreaTintTriggerPopup *, __int64, _QWORD))a1->toggleGroup)(
a1,
2,
_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(*(__m128 *)&a3, (__m128)0LL)) & 1);
return;
}
if ( a2 != 261 )
{
if ( a2 != 241 )
return;
goto LABEL_5;
}
((void (__fastcall *)(SetupAreaTintTriggerPopup *, __int64, _QWORD))a1->toggleGroup)(
a1,
9,
_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(*(__m128 *)&a3, (__m128)0LL)) & 1);
}
}