//
// cocos2d::CCCallFuncO::initWithTarget from 0xd2ee40 to 0xd2eea0 (96 bytes)
//
// 2 xrefs:
// > ??> @ 0x52f90
// > ??> @ 0x15135a0
//
// This function is hookable on this platform (idp: arm, 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 13:07:19 +0000
//
__int64 __fastcall cocos2d::CCCallFuncO::initWithTarget(
_QWORD *a1,
cocos2d::CCObject *a2,
__int64 a3,
__int64 a4,
cocos2d::CCObject *a5)
{
unsigned __int8 v8; // w0
unsigned int v9; // w20
_QWORD *v10; // x19
v8 = cocos2d::CCCallFunc::initWithTarget((cocos2d::CCCallFunc *)a1, a2);
v9 = v8;
if ( v8 )
{
a1[16] = a5;
if ( a5 )
cocos2d::CCObject::retain(a5);
v10 = a1 + 13;
*v10 = a3;
v10[1] = a4;
}
return v9;
}