//
// SetupTouchTogglePopup::determineStartValues from 0x62a5c6 to 0x62a690 (202 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:55:12 +0000
//
cocos2d::CCArray *__fastcall SetupTouchTogglePopup::determineStartValues(cocos2d::CCObject **this)
{
cocos2d::CCArray *result; // r0
cocos2d::CCArray *v3; // r6
unsigned int v4; // r5
int v5; // r0
cocos2d::CCObject *v6; // r2
cocos2d::CCObject *v7; // r3
cocos2d::CCObject *v8; // r2
cocos2d::CCObject *v9; // r3
cocos2d::CCObject *v10; // r2
cocos2d::CCObject *v11; // r3
result = (cocos2d::CCArray *)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 )
{
v4 = 0;
*(this + 179) = (cocos2d::CCObject *)-1;
*((_BYTE *)this + 720) = 1;
*((_BYTE *)this + 740) = 1;
*(this + 181) = (cocos2d::CCObject *)-1;
*(this + 182) = (cocos2d::CCObject *)-1;
while ( 1 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3);
if ( v4 >= (unsigned int)result )
break;
v5 = cocos2d::CCArray::objectAtIndex(v3, v4);
if ( !*(_BYTE *)(v5 + 1458) )
*((_BYTE *)this + 720) = 0;
if ( !*(_BYTE *)(v5 + 1468) )
*((_BYTE *)this + 740) = 0;
v6 = *(this + 179);
v7 = *(cocos2d::CCObject **)(v5 + 1284);
if ( v6 == (cocos2d::CCObject *)-1 )
{
*(this + 179) = v7;
}
else if ( v6 != v7 )
{
*(this + 179) = nullptr;
}
v8 = *(this + 181);
v9 = *(cocos2d::CCObject **)(v5 + 1460);
if ( v8 == (cocos2d::CCObject *)-1 )
{
*(this + 181) = v9;
}
else if ( v8 != v9 )
{
*(this + 181) = nullptr;
}
v10 = *(this + 182);
v11 = *(cocos2d::CCObject **)(v5 + 1464);
if ( v10 == (cocos2d::CCObject *)-1 )
{
*(this + 182) = v11;
}
else if ( v10 != v11 )
{
*(this + 182) = nullptr;
}
++v4;
}
}
}
return result;
}