//
// cocos2d::CCSpawn::createWithTwoActions from 0x1800355d0 to 0x180035660 (144 bytes)
//
// 8 xrefs:
// > cocos2d::CCSpawn::create @ 0x180035193
// > cocos2d::CCSpawn::create @ 0x180035200
// > cocos2d::CCSpawn::create @ 0x18003521b
// > cocos2d::CCSpawn::createWithVariableList @ 0x180035700
// > cocos2d::CCSpawn::createWithVariableList @ 0x180035725
// > cocos2d::CCSpawn::reverse @ 0x1800364f7
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba7ec
//
// 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::CCSpawn *__fastcall cocos2d::CCSpawn::createWithTwoActions(
struct cocos2d::CCFiniteTimeAction *a1,
struct cocos2d::CCFiniteTimeAction *a2)
{
cocos2d::CCSpawn *v4; // rax
cocos2d::CCSpawn *v5; // rbx
v4 = (cocos2d::CCSpawn *)sub_1800E4AC0(0x70u);
v5 = v4;
if ( v4 )
{
*(_OWORD *)v4 = 0;
*((_OWORD *)v4 + 1) = 0;
*((_OWORD *)v4 + 2) = 0;
*((_OWORD *)v4 + 3) = 0;
*((_OWORD *)v4 + 4) = 0;
*((_OWORD *)v4 + 5) = 0;
*((_OWORD *)v4 + 6) = 0;
cocos2d::CCAction::CCAction(v4);
*((_DWORD *)v5 + 20) = 0;
*(_QWORD *)v5 = &cocos2d::CCSpawn::`vftable';
}
else
{
v5 = nullptr;
}
cocos2d::CCSpawn::initWithTwoActions(v5, a1, a2);
cocos2d::CCObject::autorelease(v5);
return v5;
}