//
// SetupTimeWarpPopup::determineStartValues from 0x100503340 to 0x10050343c (252 bytes)
//
// 1 xrefs:
// > ??> @ 0x100959180
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall SetupTimeWarpPopup::determineStartValues(SetupTimeWarpPopup *a1)
{
__int64 v1; // rsi
__int64 m_gameObjects; // r14
unsigned int v3; // r15d
__int64 v4; // rax
float v5; // xmm1_4
float v6; // [rsp+0h] [rbp-1Ch]
SetupTriggerPopup::determineStartValues(a1);
if ( a1->m_gameObject )
{
m_gameObjects = sub_10071F9E0(a1, v1);
sub_10071FCD0(m_gameObjects, a1->m_gameObject);
if ( !m_gameObjects )
return;
}
else
{
m_gameObjects = (__int64)a1->m_gameObjects;
if ( !m_gameObjects )
return;
}
if ( (unsigned int)sub_100720070(m_gameObjects) )
{
a1->m_timeWarpMod = 1.0;
if ( (unsigned int)sub_100720070(m_gameObjects) )
{
v3 = 0;
v6 = -1.0;
do
{
v4 = sub_1007200C0(m_gameObjects, v3);
v5 = v6;
if ( v6 == -1.0 )
{
v5 = *(float *)(v4 + 1764);
}
else if ( v6 != *(float *)(v4 + 1764) )
{
v5 = -2.0;
}
v6 = v5;
++v3;
}
while ( v3 < (unsigned int)sub_100720070(m_gameObjects) );
if ( v5 > 0.0 )
a1->m_timeWarpMod = v5;
}
}
}