//
// SetupEnterTriggerPopup::determineStartValues from 0x1002d2dd0 to 0x1002d2e80 (176 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007de930
//
// 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 SetupEnterTriggerPopup::determineStartValues(SetupEnterTriggerPopup *a1)
{
cocos2d::CCArray *m_gameObjects; // x20
unsigned int v3; // w21
__int64 v4; // x0
int m_enterType; // w9
int v6; // w8
SetupTriggerPopup::determineStartValues(a1);
if ( a1->m_gameObject )
{
m_gameObjects = (cocos2d::CCArray *)sub_10024A15C();
sub_10024A2D0((__int64)m_gameObjects);
if ( !m_gameObjects )
return;
}
else
{
m_gameObjects = a1->m_gameObjects;
if ( !m_gameObjects )
return;
}
if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) )
{
a1->m_enterType = -1;
if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) )
{
v3 = 0;
while ( 1 )
{
v4 = sub_10024A388((__int64)m_gameObjects, v3);
m_enterType = a1->m_enterType;
v6 = *(_DWORD *)(v4 + 1836);
if ( m_enterType < 0 )
goto LABEL_11;
if ( m_enterType != v6 )
break;
LABEL_12:
if ( ++v3 >= (unsigned int)sub_10024A36C((__int64)m_gameObjects) )
return;
}
v6 = 0;
LABEL_11:
a1->m_enterType = v6;
goto LABEL_12;
}
}
}