//
// SetupInteractObjectPopup::valueDidChange from 0x10050ebf0 to 0x10050ec80 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095d020
//
// 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 SetupInteractObjectPopup::valueDidChange(SetupInteractObjectPopup *a1, int a2, float a3)
{
__m128 v3; // xmm0
__m128 v4; // xmm0
__m128 v5; // rt1
if ( (unsigned int)(a2 - 381) > 1 )
{
if ( a2 == 463 )
SetupTriggerPopup::updateValue(a1, 462, a3);
}
else
{
*(double *)v3.i64 = ((double (__fastcall *)(SetupInteractObjectPopup *, __int64, float))a1->getValue)(a1, 381, a3);
v4 = _mm_cmpneq_ss(v3, (__m128)0LL);
((void (__fastcall *)(SetupInteractObjectPopup *, __int64, _QWORD))a1->toggleGroup)(
a1,
1,
_mm_cvtsi128_si32((__m128i)v4) & 1);
*(double *)v4.i64 = ((double (__fastcall *)(SetupInteractObjectPopup *, __int64))a1->getValue)(a1, 382);
v5.i32[0] = 0;
((void (__fastcall *)(SetupInteractObjectPopup *, __int64, _QWORD))a1->toggleGroup)(
a1,
2,
_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(v4, v5)) & 1);
}
}