//
// cocos2d::CCTargetedAction::initWithTarget from 0xd362fc to 0xd3635c (96 bytes)
//
// 4 xrefs:
// > cocos2d::CCTargetedAction::create @ 0xd3638c
// > cocos2d::CCTargetedAction::copyWithZone @ 0xd363ec
// > cocos2d::CCTargetedAction::copyWithZone @ 0xd36454
// > ??> @ 0xa4cb0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:23 +0000
//
__int64 __fastcall cocos2d::CCTargetedAction::initWithTarget(
cocos2d::CCTargetedAction *this,
cocos2d::CCNode *a2,
cocos2d::CCFiniteTimeAction *a3)
{
unsigned __int8 v6; // w0
unsigned int v7; // w20
v6 = cocos2d::CCActionInterval::initWithDuration(this, *((float *)a3 + 20));
v7 = v6;
if ( v6 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
*((_QWORD *)this + 12) = a2;
cocos2d::CCObject::retain(a3);
*((_QWORD *)this + 13) = a3;
}
return v7;
}