//
// cocos2d::CCSequence::create from 0x180034cc0 to 0x180034da4 (228 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba768
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCSequence *__fastcall cocos2d::CCSequence::create(struct cocos2d::CCArray *this)
{
unsigned int v2; // ebp
struct cocos2d::CCFiniteTimeAction *v3; // rdi
unsigned int i; // ebx
struct cocos2d::CCFiniteTimeAction *v5; // rax
struct cocos2d::CCSequence *result; // rax
__int64 v7; // rbx
v2 = cocos2d::CCArray::count(this);
if ( !v2 )
return nullptr;
v3 = cocos2d::CCArray::stringAtIndex(this, 0);
if ( v2 <= 1 )
{
v7 = sub_1800E4AC0(0x58u);
if ( v7 )
{
*(_OWORD *)v7 = 0;
*(_OWORD *)(v7 + 16) = 0;
*(_OWORD *)(v7 + 32) = 0;
*(_OWORD *)(v7 + 48) = 0;
*(_OWORD *)(v7 + 64) = 0;
*(_QWORD *)(v7 + 80) = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v7);
*(_DWORD *)(v7 + 80) = 0;
*(_QWORD *)v7 = &cocos2d::ExtraAction::`vftable';
}
else
{
v7 = 0;
}
if ( v7 )
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
return cocos2d::CCSequence::createWithTwoActions(v3, (struct cocos2d::CCFiniteTimeAction *)v7);
}
else
{
for ( i = 1; i < v2; ++i )
{
v5 = cocos2d::CCArray::stringAtIndex(this, i);
result = cocos2d::CCSequence::createWithTwoActions(v3, v5);
v3 = result;
}
}
return result;
}