//
// cocos2d::CCSequence::create from 0x10018a53c to 0x10018a5d8 (156 bytes)
//
// 2 xrefs:
// > RewardUnlockLayer::playRewardEffect @ 0x1001c6988
// > GJPathPage::playUnlockAnimation @ 0x1003ba5c4
//
// 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 *__fastcall cocos2d::CCSequence::create(cocos2d::CCArray *a1)
{
int v2; // w0
int v3; // w20
cocos2d::CCSequence *v4; // x21
cocos2d::CCFiniteTimeAction *v5; // x1
__int64 v7; // x22
cocos2d::CCFiniteTimeAction *v8; // x0
v2 = sub_10024A36C(a1);
if ( !v2 )
return nullptr;
v3 = v2;
v4 = (cocos2d::CCSequence *)sub_10024A388(a1, 0);
if ( v3 == 1 )
{
v5 = (cocos2d::CCFiniteTimeAction *)sub_10018A10C();
return cocos2d::CCSequence::createWithTwoActions(v4, v5);
}
v7 = 1;
do
{
v8 = (cocos2d::CCFiniteTimeAction *)sub_10024A388(a1, v7);
v4 = cocos2d::CCSequence::createWithTwoActions(v4, v8);
v7 = (unsigned int)(v7 + 1);
}
while ( v3 != (_DWORD)v7 );
return v4;
}