//
// SetupTeleportPopup::valueDidChange from 0x1003459b0 to 0x100345a6b (187 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b1f6f8
//
// 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:28:45 +0000
//
__int64 __fastcall SetupTeleportPopup::valueDidChange(_QWORD *a1, int a2, __m128 a3)
{
__m128 v3; // xmm1
__int64 result; // rax
__m128 v5; // xmm1
if ( a2 == 347 )
{
v5.i32[0] = 0;
if ( a3.f32[0] != 0.0 )
{
SetupTriggerPopup::updateValue(a1, 0x159u, 0.0);
v5.i32[0] = 0;
a3 = (__m128)a3.u32[0];
}
return (*(__int64 (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1352LL))(
a1,
2,
_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(a3, v5)) & 1);
}
else if ( a2 == 345 )
{
v3.i32[0] = 0;
if ( a3.f32[0] != 0.0 )
{
SetupTriggerPopup::updateValue(a1, 0x15Bu, 0.0);
v3.i32[0] = 0;
a3 = (__m128)a3.u32[0];
}
return (*(__int64 (__fastcall **)(_QWORD *, __int64, _QWORD))(*a1 + 1352LL))(
a1,
1,
_mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(a3, v3)) & 1);
}
return result;
}