//
// SetupTeleportPopup::valueDidChange from 0x10000c2bc to 0x10000c368 (172 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ae048
//
// This function is hookable on this platform (idp: arm, 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 10:57:14 +0000
//
__int64 __fastcall SetupTeleportPopup::valueDidChange(__int64 result, int a2, float a3)
{
__int64 v4; // x19
v4 = result;
if ( a2 == 347 )
{
if ( a3 != 0.0 )
sub_1001AFA70(result, 345, 0.0);
return (*(__int64 (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)v4 + 1352LL))(v4, 2, a3 != 0.0);
}
else if ( a2 == 345 )
{
if ( a3 != 0.0 )
sub_1001AFA70(result, 347, 0.0);
return (*(__int64 (__fastcall **)(__int64, __int64, bool))(*(_QWORD *)v4 + 1352LL))(v4, 1, a3 != 0.0);
}
return result;
}