//
// cocos2d::CCTargetedAction::initWithTarget from 0xac4a3c to 0xac4a9c (96 bytes)
//
// 4 xrefs:
// > cocos2d::CCTargetedAction::create @ 0xac4acc
// > cocos2d::CCTargetedAction::copyWithZone @ 0xac4b2c
// > cocos2d::CCTargetedAction::copyWithZone @ 0xac4b94
// > ??> @ 0x7b618
//
// 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 cocos2d::CCTargetedAction::initWithTarget(
cocos2d::CCTargetedAction *a1,
cocos2d::CCNode *a2,
cocos2d::CCFiniteTimeAction *a3)
{
bool v6; // w20
v6 = cocos2d::CCActionInterval::initWithDuration(a1, a3->m_fDuration);
if ( v6 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
a1[1].__vftable = (cocos2d::CCTargetedAction_vtbl *)a2;
cocos2d::CCObject::retain(a3);
*(_QWORD *)&a1[1].m_uID = a3;
}
return v6;
}