//
// cocos2d::CCCallFunc::initWithTarget from 0x1001adcf0 to 0x1001add30 (64 bytes)
//
// 4 xrefs:
// > cocos2d::CCCallFunc::create @ 0x1001adc9c
// > cocos2d::CCCallFuncO::initWithTarget @ 0x1001ae090
// > ??> @ 0x1007aee38
// > ??> @ 0x1007aeed0
//
// 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 *v4; // x0
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = (cocos2d::CCObject *)a1[1].__vftable;
if ( v4 )
cocos2d::CCObject::release(v4);
a1[1].__vftable = (cocos2d::CCCallFunc_vtbl *)a2;
return 1;
}