//
// cocos2d::CCCallFuncND::initWithTarget from 0x180030b90 to 0x180030bee (94 bytes)
//
// 4 xrefs:
// > cocos2d::CCCallFuncND::create @ 0x1800303bb
// > ??> @ 0x1800ef318
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba27c
//
// 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::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;
}