//
// cocos2d::CCCallFunc::initWithTarget from 0x5b511a to 0x5b5136 (28 bytes)
//
// 3 xrefs:
// > cocos2d::CCCallFuncN::initWithTarget @ 0x5b513e
// > cocos2d::CCCallFuncND::initWithTarget @ 0x5b5160
// > cocos2d::CCCallFuncO::initWithTarget @ 0x5b5188
//
// 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 cocos2d::CCCallFunc::initWithTarget(cocos2d::CCCallFunc *a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v4; // r0
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;
}