//
// cocos2d::CCCallFuncN::initWithTarget from 0x180030b40 to 0x180030b8d (77 bytes)
//
// 5 xrefs:
// > cocos2d::CCCallFuncN::create @ 0x180030261
// > ??> @ 0x1800ef270
// > ??> @ 0x1800ef310
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba270
//
// 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::CCCallFuncN::initWithTarget(__int64 a1, cocos2d::CCObject *a2, __int64 a3)
{
cocos2d::CCObject *v6; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
v6 = *(cocos2d::CCObject **)(a1 + 88);
if ( v6 )
cocos2d::CCObject::release(v6);
*(_QWORD *)(a1 + 88) = a2;
*(_QWORD *)(a1 + 104) = a3;
return 1;
}