//
// SetupTeleportPopup::updateDefaultTriggerValues from 0x1003458b0 to 0x100345934 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b1f6e0
//
// 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
//
unsigned int *__fastcall SetupTeleportPopup::updateDefaultTriggerValues(_QWORD *a1, double a2)
{
unsigned int *result; // rax
__int64 *v3; // r15
unsigned __int64 v4; // r12
__int64 v5; // rbx
int v6; // eax
SetupTriggerPopup::updateDefaultTriggerValues(a1, a2);
(*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, 354);
result = (unsigned int *)a1[127];
if ( result )
{
result = *((unsigned int **)result + 7);
if ( *result )
{
v3 = *((__int64 **)result + 2);
v4 = (unsigned __int64)&v3[*result - 1];
do
{
v5 = *v3;
if ( !*v3 )
break;
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 64LL))(*v3);
result = (unsigned int *)CCMenuItemToggler::toggle(v5, v6 == (int)*(float *)&a2);
++v3;
}
while ( (unsigned __int64)v3 <= v4 );
}
}
return result;
}