//
// SetupAnimationPopup::determineStartValues from 0x1003c3ed8 to 0x1003c3fac (212 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008131b0
//
// 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 SetupAnimationPopup::determineStartValues(SetupAnimationPopup *a1)
{
cocos2d::CCArray *m_gameObjects; // x20
unsigned int i; // w21
__int64 v4; // x0
int m_targetID; // w9
int v6; // w8
int m_animationID; // w9
int v8; // 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) )
{
*(_QWORD *)&a1->m_targetID = -1;
if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) )
{
for ( i = 0; i < (unsigned int)sub_10024A36C((__int64)m_gameObjects); ++i )
{
v4 = sub_10024A388((__int64)m_gameObjects, i);
m_targetID = a1->m_targetID;
v6 = *(_DWORD *)(v4 + 1464);
if ( m_targetID != -1 )
{
if ( m_targetID == v6 )
goto LABEL_12;
v6 = 0;
}
a1->m_targetID = v6;
LABEL_12:
m_animationID = a1->m_animationID;
v8 = *(_DWORD *)(v4 + 1652);
if ( m_animationID == -1 )
goto LABEL_15;
if ( m_animationID != v8 )
{
v8 = 0;
LABEL_15:
a1->m_animationID = v8;
}
}
}
}
}