//
// cocos2d::CCSequence::createWithVariableList from 0xd33330 to 0xd33404 (212 bytes)
//
// 2 xrefs:
// > cocos2d::CCSequence::create @ 0xd33498
// > ??> @ 0xf7738
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:21 +0000
//
cocos2d::CCSequence *__fastcall cocos2d::CCSequence::createWithVariableList(
cocos2d::CCSequence *this,
cocos2d::CCFiniteTimeAction ***a2,
__va_list a3)
{
cocos2d::CCSequence *v4; // x21
cocos2d::CCFiniteTimeAction **v5; // x1
int v6; // w20
int v7; // w3
unsigned __int64 v8; // x19
cocos2d::CCFiniteTimeAction *v9; // x2
cocos2d::CCSequence *result; // x0
cocos2d::CCFiniteTimeAction *v11; // x1
cocos2d::CCFiniteTimeAction **v12; // x0
cocos2d::CCObject *v13; // x0
cocos2d::CCFiniteTimeAction *v14; // x2
v4 = this;
v5 = *a2;
v6 = *((_DWORD *)a2 + 6);
if ( !this )
return nullptr;
v7 = 1;
while ( (v6 & 0x80000000) == 0 )
{
v8 = ((unsigned __int64)v5 + 15) & 0xFFFFFFFFFFFFFFF8LL;
v9 = *v5;
result = v4;
v11 = v9;
if ( !v9 )
goto LABEL_9;
LABEL_5:
v4 = cocos2d::CCSequence::createWithTwoActions(result, v11, v9);
v7 = 0;
v5 = (cocos2d::CCFiniteTimeAction **)v8;
}
v8 = ((unsigned __int64)v5 + 15) & 0xFFFFFFFFFFFFFFF8LL;
v12 = v5;
if ( v6 + 8 <= 0 )
{
v8 = (unsigned __int64)v5;
v12 = (cocos2d::CCFiniteTimeAction **)((char *)a2[1] + v6);
}
v6 += 8;
v9 = *v12;
result = v4;
v11 = v9;
if ( v9 )
goto LABEL_5;
LABEL_9:
if ( v7 )
{
v13 = cocos2d::ExtraAction::create(result);
return cocos2d::CCSequence::createWithTwoActions(v4, v13, v14);
}
return result;
}