//
// cocos2d::CCCallFuncN::initWithTarget from 0x1008907f0 to 0x100890839 (73 bytes)
//
// 2 xrefs:
// > ??> @ 0x100ba7a90
// > ??> @ 0x100ba7b88
//
// 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 12:37:04 +0000
//
char __fastcall cocos2d::CCCallFuncN::initWithTarget(_QWORD *a1, __int64 a2, __int64 a3, __int64 a4)
{
_DWORD *v7; // rdi
if ( a2 )
cocos2d::CCObject::retain(a2);
v7 = (_DWORD *)a1[11];
if ( v7 )
cocos2d::CCObject::release(v7);
a1[11] = a2;
a1[13] = a3;
a1[14] = a4;
return 1;
}