//
// cocos2d::CCTargetedAction::initWithTarget from 0x7bf83c to 0x7bf864 (40 bytes)
//
// 2 xrefs:
// > cocos2d::CCTargetedAction::create @ 0x7bf87c
// > cocos2d::CCTargetedAction::copyWithZone @ 0x7bf8d0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:19 +0000
//
int __fastcall cocos2d::CCTargetedAction::initWithTarget(
cocos2d::CCTargetedAction *this,
cocos2d::CCNode *a2,
cocos2d::CCFiniteTimeAction *a3)
{
int v6; // r6
v6 = cocos2d::CCActionInterval::initWithDuration(this, *((float *)a3 + 17));
if ( v6 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
*((_DWORD *)this + 20) = a2;
cocos2d::CCObject::retain(a3);
*((_DWORD *)this + 21) = a3;
}
return v6;
}