//
// SetupAreaMoveTriggerPopup::valueDidChange from 0x1405a5510 to 0x1405a55c9 (185 bytes)
//
// 8 xrefs:
// > ??> @ 0x1407ead88
// > ??> @ 0x1407eb2a0
// > ??> @ 0x1407eb758
// > ??> @ 0x1407ec390
// > ??> @ 0x1407ec8b8
// > ??> @ 0x1408deab0
// > ??> @ 0x1408deac0
// > ??> @ 0x14092d554
//
// 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 11:34:38 +0000
//
__int64 __fastcall SetupAreaMoveTriggerPopup::valueDidChange(__int64 a1, int a2, __int64 a3)
{
float v3; // xmm2_4
int v5; // edx
__int64 result; // rax
__int64 v7; // r8
v5 = a2 - 241;
if ( v5 )
{
if ( v5 == 20 )
{
if ( v3 == 0.0 )
{
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 1088LL))(a1, 9, 0);
}
else
{
LOBYTE(a3) = 1;
return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 1088LL))(a1, 9, a3);
}
}
}
else
{
LOBYTE(a3) = v3 == 0.0;
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 1088LL))(a1, 1, a3);
if ( v3 == 0.0 )
v7 = 0;
else
LOBYTE(v7) = 1;
return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 1088LL))(a1, 2, v7);
}
return result;
}