//
// cocos2d::CCTargetedAction::initWithTarget from 0x180035840 to 0x1800358ae (110 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0798
//
// 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
//
char __fastcall cocos2d::CCTargetedAction::initWithTarget(
cocos2d::CCTargetedAction *this,
struct cocos2d::CCNode *a2,
struct cocos2d::CCFiniteTimeAction *a3)
{
float m_fDuration; // xmm1_4
m_fDuration = a3->m_fDuration;
this->m_fDuration = m_fDuration;
if ( m_fDuration == 0.0 )
this->m_fDuration = 0.00000011920929;
this->m_elapsed = 0.0;
this->m_bFirstTick = 1;
if ( a2 )
cocos2d::CCObject::retain(a2);
*((_QWORD *)this + 12) = a2;
cocos2d::CCObject::retain(a3);
*((_QWORD *)this + 13) = a3;
return 1;
}