//
// cocos2d::CCCallFunc::initWithTarget from 0x1800303d0 to 0x18003040c (60 bytes)
//
// 7 xrefs:
// > cocos2d::CCCallFunc::create @ 0x18002f973
// > ??> @ 0x1800e9170
// > ??> @ 0x1800e91f8
// > ??> @ 0x1800e9298
// > ??> @ 0x1800e9340
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0150
//
// 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::CCCallFunc::initWithTarget(cocos2d::CCCallFunc *this, struct cocos2d::CCObject *a2)
{
cocos2d::CCObject *v4; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 11);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_QWORD *)this + 11) = a2;
return 1;
}