//
// cocos2d::CCSequence::initWithTwoActions from 0x10018a430 to 0x10018a494 (100 bytes)
//
// 2 xrefs:
// > cocos2d::CCSequence::createWithTwoActions @ 0x10018a3fc
// > cocos2d::CCSequence::copyWithZone @ 0x10018a688
//
// 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
//
bool __fastcall cocos2d::CCSequence::initWithTwoActions(
cocos2d::CCSequence *a1,
cocos2d::CCFiniteTimeAction *a2,
cocos2d::CCFiniteTimeAction *a3)
{
float v5; // s0
v5 = a2->m_fDuration + a3->m_fDuration;
if ( v5 == 0.0 )
v5 = 0.00000011921;
a1->m_fDuration = v5;
a1->m_elapsed = 0.0;
a1->m_bFirstTick = 1;
a1[1].__vftable = (cocos2d::CCSequence_vtbl *)a2;
cocos2d::CCObject::retain(a2);
*(_QWORD *)&a1[1].m_uID = a3;
cocos2d::CCObject::retain(a3);
return 1;
}