//
// cocos2d::CCSequence::create from 0x5b7a88 to 0x5b7ad4 (76 bytes)
//
// 2 xrefs:
// > RewardUnlockLayer::playRewardEffect @ 0x4e9aca
// > GJPathPage::playUnlockAnimation @ 0x58c676
//
// 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; // r5
cocos2d::ExtraAction *v3; // r0
cocos2d::CCSequence *v4; // r4
unsigned int i; // r6
cocos2d::CCFiniteTimeAction *v6; // r0
cocos2d::CCFiniteTimeAction *v7; // r1
v2 = cocos2d::CCArray::count(a1);
if ( !v2 )
return nullptr;
v3 = (cocos2d::ExtraAction *)cocos2d::CCArray::objectAtIndex(a1, 0);
v4 = (cocos2d::CCSequence *)v3;
if ( v2 <= 1 )
{
v7 = (cocos2d::CCFiniteTimeAction *)cocos2d::ExtraAction::create(v3);
return cocos2d::CCSequence::createWithTwoActions(v4, v7);
}
for ( i = 1; i != v2; ++i )
{
v6 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCArray::objectAtIndex(a1, i);
v4 = cocos2d::CCSequence::createWithTwoActions(v4, v6);
}
return v4;
}