//
// SetupInteractObjectPopup::valueDidChange from 0x10050fd20 to 0x10050fdb0 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b69ae0
//
// 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:36 +0000
//
__int64 __fastcall SetupInteractObjectPopup::valueDidChange(_QWORD *a1, int a2, __m128 a3)
{
__int64 result; // rax
__m128 v5; // xmm0
__m128 v6; // rt1
result = (unsigned int)(a2 - 381);
if ( (unsigned int)result > 1 )
{
if ( a2 == 463 )
return SetupTriggerPopup::updateValue(a1, 0x1CEu, a3.f32[0]);
}
else
{
*(double *)a3.i64 = (*(double (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 381);
v5 = _mm_cmpneq_ss(a3, (__m128)0LL);
(*(void (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1352LL))(a1, 1, _mm_cvtsi128_si32((__m128i)v5) & 1);
*(double *)v5.i64 = (*(double (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 382);
v6.i32[0] = 0;
return (*(__int64 (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1352LL))(
a1,
2,
_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(v5, v6)) & 1);
}
return result;
}