//
// cocos2d::CCSpawn::create from 0xd35ea8 to 0xd35f60 (184 bytes)
//
// 1 xrefs:
// > ??> @ 0xbdb20
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:23 +0000
//
cocos2d::CCAction *__fastcall cocos2d::CCSpawn::create(cocos2d::CCSpawn *this, cocos2d::CCArray *a2)
{
unsigned int v3; // w19
cocos2d::ExtraAction *v4; // x0
cocos2d::CCAction *v5; // x21
unsigned int v6; // w19
cocos2d::CCFiniteTimeAction *v7; // x0
cocos2d::CCFiniteTimeAction *v8; // x2
bool v9; // cf
unsigned int v10; // w1
cocos2d::CCObject *v12; // x0
cocos2d::CCFiniteTimeAction *v13; // x2
v3 = cocos2d::CCArray::count(this);
if ( !v3 )
return nullptr;
v4 = (cocos2d::ExtraAction *)cocos2d::CCArray::objectAtIndex(this, 0);
v5 = v4;
if ( v3 <= 1 )
{
v12 = cocos2d::ExtraAction::create(v4);
return cocos2d::CCSpawn::createWithTwoActions(v5, v12, v13);
}
else
{
v6 = 1;
while ( 1 )
{
v9 = v6 >= (unsigned int)cocos2d::CCArray::count(this);
v10 = v6++;
if ( v9 )
break;
v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCArray::objectAtIndex(this, v10);
v5 = cocos2d::CCSpawn::createWithTwoActions(v5, v7, v8);
}
return v5;
}
}