//
// cocos2d::CCAnimate::startWithTarget from 0x5b635e to 0x5b6390 (50 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCAnimate::startWithTarget(cocos2d::CCAnimate *a1, cocos2d::CCNode *a2)
{
cocos2d::CCObject *m_uExecutedLoops; // r0
cocos2d::CCObject *v5; // r0
cocos2d::CCActionInterval::startWithTarget(a1, a2);
m_uExecutedLoops = (cocos2d::CCObject *)a1->m_uExecutedLoops;
if ( m_uExecutedLoops )
cocos2d::CCObject::release(m_uExecutedLoops);
if ( LOBYTE(a1->m_pSplitTimes[5].m_reserveEnd) )
{
v5 = (cocos2d::CCObject *)((int (__fastcall *)(cocos2d::CCNode *))a2->__vftable[1].setAnchorPoint)(a2);
a1->m_uExecutedLoops = (unsigned int)v5;
cocos2d::CCObject::retain(v5);
}
a1->m_pOrigFrame = nullptr;
*(_DWORD *)&a1->m_bRecenterFrames = 0;
}