//
// cocos2d::CCCallFunc::initWithTarget from 0x1007ad110 to 0x1007ad143 (51 bytes)
//
// 4 xrefs:
// > ??> @ 0x100991d58
// > ??> @ 0x100991df0
// > ??> @ 0x100992340
// > ??> @ 0x100992438
//
// 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
//
bool __fastcall cocos2d::CCCallFunc::initWithTarget(cocos2d::CCCallFunc *a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v3; // rdi
if ( a2 )
cocos2d::CCObject::retain(a2);
v3 = (cocos2d::CCObject *)a1[1].__vftable;
if ( v3 )
cocos2d::CCObject::release(v3);
a1[1].__vftable = (cocos2d::CCCallFunc_vtbl *)a2;
return 1;
}