//
// SetupMGTrigger::determineStartValues from 0x69a0f8 to 0x69a286 (398 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:17 +0000
//
cocos2d::CCArray *__fastcall SetupMGTrigger::determineStartValues(cocos2d::CCObject **this)
{
cocos2d::CCArray *result; // r0
cocos2d::CCArray *v3; // r8
float v4; // s17
unsigned int v5; // r9
int v6; // r11
int v7; // r10
int v8; // r6
int v9; // r7
float v10; // s18
int v11; // r0
float *v12; // r2
float *v13; // r2
const cocos2d::CCPoint *v14; // r1
int v15; // [sp+4h] [bp-20h]
int v16; // [sp+8h] [bp-1Ch]
_BYTE v17[4]; // [sp+14h] [bp-10h] BYREF
float v18; // [sp+18h] [bp-Ch]
result = SetupTriggerPopup::determineStartValues((SetupTriggerPopup *)this);
if ( *(this + 132) )
{
v3 = (cocos2d::CCArray *)cocos2d::CCArray::create(result);
result = (cocos2d::CCArray *)cocos2d::CCArray::addObject(v3, *(this + 132));
}
else
{
v3 = *(this + 133);
}
*(this + 180) = (cocos2d::CCObject *)-943501440;
*(this + 182) = (cocos2d::CCObject *)-99999;
*(this + 188) = (cocos2d::CCObject *)-99999;
*(this + 183) = (cocos2d::CCObject *)-943501440;
if ( v3 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3);
if ( result )
{
v4 = -99999.0;
v5 = 0;
v6 = 0;
v7 = 0;
v8 = -99999;
v9 = -99999;
v16 = 0;
v10 = -99999.0;
v15 = 0;
while ( 1 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3);
if ( v5 >= (unsigned int)result )
break;
v11 = cocos2d::CCArray::objectAtIndex(v3, v5);
if ( !v15 )
{
v12 = (float *)(v11 + 1272);
if ( v10 == -99999.0 )
{
v10 = *v12;
}
else if ( v10 != *v12 )
{
v10 = -99999.0;
v15 = 1;
}
}
if ( !v16 )
{
if ( v9 == -99999 )
{
v9 = *(_DWORD *)(v11 + 1316);
}
else if ( v9 != *(_DWORD *)(v11 + 1316) )
{
v9 = -99999;
v16 = 1;
}
}
if ( !v7 )
{
v13 = (float *)(v11 + 1320);
if ( v4 == -99999.0 )
{
v4 = *v13;
}
else if ( v4 != *v13 )
{
v4 = -99999.0;
v7 = 1;
}
}
if ( !v6 )
{
v14 = (const cocos2d::CCPoint *)(v11 + 1308);
if ( v8 == -99999 )
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, v14);
v8 = (int)v18;
}
else
{
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, v14);
if ( v8 != (int)v18 )
{
v8 = -99999;
v6 = 1;
}
}
}
++v5;
}
if ( v10 != -99999.0 )
*((float *)this + 180) = v10;
if ( v9 != -99999 )
*(this + 182) = (cocos2d::CCObject *)v9;
if ( v4 != -99999.0 )
*((float *)this + 183) = v4;
if ( v8 != -99999 )
*(this + 188) = (cocos2d::CCObject *)v8;
}
}
return result;
}