//
// cocos2d::CCSpawn::createWithTwoActions from 0x180034f80 to 0x180035010 (144 bytes)
//
// 8 xrefs:
// > cocos2d::CCSpawn::create @ 0x180034b43
// > cocos2d::CCSpawn::create @ 0x180034bb0
// > cocos2d::CCSpawn::create @ 0x180034bcb
// > cocos2d::CCSpawn::createWithVariableList @ 0x1800350b0
// > cocos2d::CCSpawn::createWithVariableList @ 0x1800350d5
// > cocos2d::CCSpawn::reverse @ 0x180035e07
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b06cc
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCSpawn *__fastcall cocos2d::CCSpawn::createWithTwoActions(
struct cocos2d::CCFiniteTimeAction *a1,
struct cocos2d::CCFiniteTimeAction *a2)
{
_OWORD *v4; // rax
_OWORD *v5; // rbx
v4 = operator new(0x70u);
v5 = v4;
if ( v4 )
{
*v4 = 0;
v4[1] = 0;
v4[2] = 0;
v4[3] = 0;
v4[4] = 0;
v4[5] = 0;
v4[6] = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v4);
*((_DWORD *)v5 + 20) = 0;
*(_QWORD *)v5 = &cocos2d::CCSpawn::`vftable';
}
else
{
v5 = nullptr;
}
cocos2d::CCSpawn::initWithTwoActions((cocos2d::CCSpawn *)v5, a1, a2);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return (struct cocos2d::CCSpawn *)v5;
}