//
// cocos2d::CCCallFuncND::initWithTarget from 0x180030460 to 0x1800304be (94 bytes)
//
// 4 xrefs:
// > cocos2d::CCCallFuncND::create @ 0x18002fc7b
// > ??> @ 0x1800e92b0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0168
//
// 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::CCCallFuncND::initWithTarget(_QWORD *a1, cocos2d::CCObject *a2, __int64 a3, __int64 a4)
{
cocos2d::CCObject *v8; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
v8 = (cocos2d::CCObject *)a1[11];
if ( v8 )
cocos2d::CCObject::release(v8);
a1[15] = a4;
a1[13] = a3;
a1[11] = a2;
return 1;
}