//
// SetupEnterEffectPopup::determineStartValues from 0x693878 to 0x6939b2 (314 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:13 +0000
//
cocos2d::CCArray *__fastcall SetupEnterEffectPopup::determineStartValues(cocos2d::CCObject **this)
{
cocos2d::CCArray *result; // r0
cocos2d::CCArray *v3; // r8
unsigned int v4; // r10
int v5; // r11
float v6; // r1
float v7; // r2
cocos2d::CCObject *v8; // r3
_BOOL4 v9; // r7
int v10; // r0
int v11; // r2
float *v12; // lr
cocos2d::CCObject *v13; // r3
float *v14; // r5
cocos2d::CCObject *v15; // r0
cocos2d::CCObject *v16; // r1
cocos2d::CCObject *v17; // r2
cocos2d::CCObject *v18; // r3
int v19; // r5
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);
}
if ( v3 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3);
if ( result )
{
*(this + 182) = (cocos2d::CCObject *)-1;
v4 = 0;
v5 = 1;
v6 = flt_D2D434;
v7 = flt_D2D438;
v8 = *(cocos2d::CCObject **)&word_D2D43C;
*(this + 184) = (cocos2d::CCObject *)LODWORD(flt_D2D430);
*((float *)this + 185) = v6;
*((float *)this + 186) = v7;
*(this + 187) = v8;
v9 = *(this + 179) != (cocos2d::CCObject *)((char *)&stru_BCC.st_name + 1);
while ( 1 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3);
if ( v4 >= (unsigned int)result )
return result;
v10 = cocos2d::CCArray::objectAtIndex(v3, v4);
v11 = (int)*(this + 182);
v12 = (float *)v10;
v13 = *(cocos2d::CCObject **)(v10 + 1648);
if ( v11 >= 0 )
{
if ( (cocos2d::CCObject *)v11 != v13 )
*(this + 182) = nullptr;
}
else
{
*(this + 182) = v13;
}
if ( !v9 )
{
v14 = (float *)(v10 + 1432);
v15 = *(cocos2d::CCObject **)(v10 + 1432);
v16 = *((cocos2d::CCObject **)v12 + 359);
v17 = *((cocos2d::CCObject **)v12 + 360);
v18 = *((cocos2d::CCObject **)v12 + 361);
if ( v5 )
{
v5 = 0;
*(this + 184) = v15;
*(this + 185) = v16;
*(this + 186) = v17;
*(this + 187) = v18;
goto LABEL_22;
}
if ( *((float *)this + 184) == *v14
&& *((float *)this + 185) == v12[359]
&& *((float *)this + 186) == v12[360] )
{
v19 = *((unsigned __int16 *)this + 374)
- (unsigned __int16)v18
+ (*((unsigned __int16 *)this + 374) == (unsigned __int16)v18)
+ (unsigned __int16)v18
- *((unsigned __int16 *)this + 374);
if ( v19 )
goto LABEL_22;
}
else
{
LOBYTE(v19) = 0;
}
*(this + 184) = (cocos2d::CCObject *)-1165815185;
v9 = 1;
*((_BYTE *)this + 748) = v19;
*((_BYTE *)this + 749) = v19;
*(this + 185) = nullptr;
*(this + 186) = nullptr;
}
LABEL_22:
++v4;
}
}
}
return result;
}