//
// cocos2d::CCCallFunc::initWithTarget from 0x180030b00 to 0x180030b3c (60 bytes)
//
// 7 xrefs:
// > cocos2d::CCCallFunc::create @ 0x1800300b3
// > ??> @ 0x1800ef1d8
// > ??> @ 0x1800ef260
// > ??> @ 0x1800ef300
// > ??> @ 0x1800ef3a8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba264
//
// 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:33 +0000
//
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;
}