//
// SetupTimeWarpPopup::determineStartValues from 0x1001c6b8c to 0x1001c6c5c (208 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008ebe10
//
// 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 11:00:17 +0000
//
void __fastcall SetupTimeWarpPopup::determineStartValues(__int64 a1)
{
__int64 started; // x0
__int64 v3; // x20
__int64 v4; // x21
float v5; // s9
__int64 v6; // x0
started = SetupTriggerPopup::determineStartValues(a1);
if ( *(_QWORD *)(a1 + 680) )
{
v3 = sub_1002E736C(started);
sub_1002E74E0(v3, *(_QWORD *)(a1 + 680));
if ( !v3 )
return;
}
else
{
v3 = *(_QWORD *)(a1 + 688);
if ( !v3 )
return;
}
if ( (unsigned int)sub_1002E757C(v3) )
{
*(_DWORD *)(a1 + 1032) = 1065353216;
if ( (unsigned int)sub_1002E757C(v3) )
{
v4 = 0;
v5 = -1.0;
do
{
v6 = sub_1002E75A0(v3, v4);
if ( v5 == -1.0 )
{
v5 = *(float *)(v6 + 1764);
}
else if ( v5 != *(float *)(v6 + 1764) )
{
v5 = -2.0;
}
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_1002E757C(v3) );
if ( v5 > 0.0 )
*(float *)(a1 + 1032) = v5;
}
}
}