//
// cocos2d::CCTargetedAction::initWithTarget from 0x180035ef0 to 0x180035f5e (110 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba8c4
//
// This function is hookable on this platform (idp: pc, 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 11:21:35 +0000
//
char __fastcall cocos2d::CCTargetedAction::initWithTarget(
cocos2d::CCTargetedAction *this,
struct cocos2d::CCNode *a2,
struct cocos2d::CCFiniteTimeAction *a3)
{
float v3; // xmm1_4
v3 = *((float *)a3 + 20);
*((float *)this + 20) = v3;
if ( v3 == 0.0 )
*((_DWORD *)this + 20) = 872415232;
*((_DWORD *)this + 22) = 0;
*((_BYTE *)this + 92) = 1;
if ( a2 )
cocos2d::CCObject::retain(a2);
*((_QWORD *)this + 12) = a2;
cocos2d::CCObject::retain(a3);
*((_QWORD *)this + 13) = a3;
return 1;
}