//
// cocos2d::CCSequence::create from 0xac17d0 to 0xac187c (172 bytes)
//
// 3 xrefs:
// > RewardUnlockLayer::playRewardEffect @ 0x93987c
// > GJPathPage::playUnlockAnimation @ 0xa6e198
// > ??> @ 0x775c8
//
// 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
//
cocos2d::CCSequence *cocos2d::CCSequence::create(cocos2d::CCArray *a1)
{
unsigned int v2; // w21
cocos2d::ExtraAction *v3; // x0
cocos2d::CCSequence *v4; // x20
int v5; // w19
unsigned int v6; // w1
cocos2d::CCFiniteTimeAction *v7; // x0
cocos2d::CCSequence *result; // x0
cocos2d::CCFiniteTimeAction *v9; // x0
v2 = cocos2d::CCArray::count(a1);
if ( !v2 )
return nullptr;
v3 = (cocos2d::ExtraAction *)cocos2d::CCArray::objectAtIndex(a1, 0);
v4 = (cocos2d::CCSequence *)v3;
if ( v2 <= 1 )
{
v9 = (cocos2d::CCFiniteTimeAction *)cocos2d::ExtraAction::create(v3);
return cocos2d::CCSequence::createWithTwoActions(v4, v9);
}
else
{
v5 = 1;
do
{
v6 = v5++;
v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCArray::objectAtIndex(a1, v6);
result = cocos2d::CCSequence::createWithTwoActions(v4, v7);
v4 = result;
}
while ( v5 != v2 );
}
return result;
}