//
// cocos2d::CCCallFunc::initWithTarget from 0xd2ed84 to 0xd2edc4 (64 bytes)
//
// 9 xrefs:
// > cocos2d::CCCallFuncN::initWithTarget @ 0xd2edd8
// > cocos2d::CCCallFuncND::initWithTarget @ 0xd2ee14
// > cocos2d::CCCallFuncO::initWithTarget @ 0xd2ee60
// > cocos2d::CCCallFunc::create @ 0xd30120
// > ??> @ 0xd70b0
// > ??> @ 0x1513358
// > ??> @ 0x15133f8
// > ??> @ 0x15134b8
// > ??> @ 0x1513588
//
// 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:19 +0000
//
__int64 __fastcall cocos2d::CCCallFunc::initWithTarget(cocos2d::CCCallFunc *this, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v4; // x0
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 11);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)this + 11) = a2;
return 1;
}