//
// SetupTimeWarpPopup::determineStartValues from 0x525a9e to 0x525b34 (150 bytes)
//
// 0 xrefs:
//
// 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 SetupTimeWarpPopup::determineStartValues(SetupTimeWarpPopup *a1)
{
cocos2d::CCArray *v2; // r0
cocos2d::CCArray *m_gameObjects; // r5
float v4; // s16
unsigned int v5; // r6
float *v6; // r0
SetupTriggerPopup::determineStartValues(a1);
if ( a1->m_gameObject )
{
m_gameObjects = (cocos2d::CCArray *)cocos2d::CCArray::create(v2);
cocos2d::CCArray::addObject(m_gameObjects, a1->m_gameObject);
}
else
{
m_gameObjects = a1->m_gameObjects;
}
if ( m_gameObjects && cocos2d::CCArray::count(m_gameObjects) )
{
v4 = -1.0;
v5 = 0;
a1->m_timeWarpMod = 1.0;
while ( v5 < cocos2d::CCArray::count(m_gameObjects) )
{
v6 = (float *)(cocos2d::CCArray::objectAtIndex(m_gameObjects, v5) + 1572);
if ( v4 == -1.0 )
{
v4 = *v6;
}
else if ( v4 != *v6 )
{
v4 = -2.0;
}
++v5;
}
if ( v4 > 0.0 )
a1->m_timeWarpMod = v4;
}
}