//
// cocos2d::CCSequence::createWithVariableList from 0x180035010 to 0x18003507c (108 bytes)
//
// 5 xrefs:
// > ??> @ 0x1801355d0
// > ??> @ 0x1801355e0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b06cc
// > ??> @ 0x1801b06d8
//
// 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
//
struct cocos2d::CCSequence *__fastcall cocos2d::CCSequence::createWithVariableList(
struct cocos2d::CCFiniteTimeAction *this,
char *a2)
{
struct cocos2d::CCSequence *v2; // rdi
char v3; // al
char *v4; // rbx
struct cocos2d::CCFiniteTimeAction *v5; // rdx
struct cocos2d::CCFiniteTimeAction *v6; // rax
v2 = (struct cocos2d::CCSequence *)this;
v3 = 1;
if ( !this )
return nullptr;
v4 = a2 - 8;
while ( 1 )
{
v5 = *((struct cocos2d::CCFiniteTimeAction **)v4 + 1);
v4 += 8;
if ( !v5 )
break;
v2 = cocos2d::CCSequence::createWithTwoActions(v2, v5);
v3 = 0;
}
if ( !v3 )
return v2;
v6 = (struct cocos2d::CCFiniteTimeAction *)sub_180034E40();
return cocos2d::CCSequence::createWithTwoActions(v2, v6);
}