//
// cocos2d::CCSpawn::createWithVariableList from 0x1800356d0 to 0x18003573c (108 bytes)
//
// 4 xrefs:
// > ??> @ 0x18013e758
// > ??> @ 0x18013e768
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba81c
//
// This function is hookable on this platform (idp: pc, 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 11:21:34 +0000
//
struct cocos2d::CCSpawn *__fastcall cocos2d::CCSpawn::createWithVariableList(
struct cocos2d::CCFiniteTimeAction *a1,
char *a2)
{
struct cocos2d::CCFiniteTimeAction *v2; // rdi
char v3; // al
char *v4; // rbx
struct cocos2d::CCFiniteTimeAction *v5; // rdx
struct cocos2d::CCFiniteTimeAction *v6; // rax
v2 = a1;
v3 = 1;
if ( !a1 )
return nullptr;
v4 = a2 - 8;
while ( 1 )
{
v5 = *((struct cocos2d::CCFiniteTimeAction **)v4 + 1);
v4 += 8;
if ( !v5 )
break;
v2 = cocos2d::CCSpawn::createWithTwoActions(v2, v5);
v3 = 0;
}
if ( !v3 )
return v2;
v6 = (struct cocos2d::CCFiniteTimeAction *)sub_180035490();
return cocos2d::CCSpawn::createWithTwoActions(v2, v6);
}