//
// cocos2d::CCSequence::createWithVariableList from 0x10018a4bc to 0x10018a53c (128 bytes)
//
// 1 xrefs:
// > sub_10018A494 @ 0x10018a4ac
//
// 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::createWithVariableList(
cocos2d::CCFiniteTimeAction *a1,
va_list a2)
{
cocos2d::CCSequence *v2; // x19
cocos2d::CCFiniteTimeAction *v3; // x20
cocos2d::CCFiniteTimeAction *v4; // x1
cocos2d::CCFiniteTimeAction **v5; // x8
cocos2d::CCFiniteTimeAction *v6; // x0
va_list v8; // [xsp+8h] [xbp-18h]
v2 = (cocos2d::CCSequence *)a1;
if ( a1 )
{
v8 = a2 + 8;
v3 = *(cocos2d::CCFiniteTimeAction **)a2;
if ( *(_QWORD *)a2 )
{
v4 = *(cocos2d::CCFiniteTimeAction **)a2;
do
{
v2 = cocos2d::CCSequence::createWithTwoActions(v2, v4);
v5 = (cocos2d::CCFiniteTimeAction **)v8;
v8 += 8;
v4 = *v5;
}
while ( *v5 );
}
if ( !v3 )
{
v6 = (cocos2d::CCFiniteTimeAction *)sub_10018A10C();
return cocos2d::CCSequence::createWithTwoActions(v2, v6);
}
}
return v2;
}