//
// cocos2d::CCAnimate::startWithTarget from 0x180035ec0 to 0x180035f2c (108 bytes)
//
// 3 xrefs:
// > ??> @ 0x1800e9f20
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0840
//
// 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
//
void __fastcall cocos2d::CCAnimate::startWithTarget(cocos2d::CCAnimate *this, struct cocos2d::CCNode *a2)
{
cocos2d::CCObject *v4; // rcx
cocos2d::CCObject *v5; // rax
cocos2d::CCAction::startWithTarget(this, a2);
v4 = *(cocos2d::CCObject **)&this->m_uExecutedLoops;
this->m_elapsed = 0.0;
this->m_bFirstTick = 1;
if ( v4 )
cocos2d::CCObject::release(v4);
if ( LOBYTE(this->m_pSplitTimes[3]._Mypair._Myval2._Mylast) )
{
v5 = (cocos2d::CCObject *)((__int64 (__fastcall *)(struct cocos2d::CCNode *))a2->__vftable[1].setScaleY)(a2);
*(_QWORD *)&this->m_uExecutedLoops = v5;
cocos2d::CCObject::retain(v5);
}
*((_DWORD *)this + 32) = 0;
LODWORD(this->m_pOrigFrame) = 0;
}