//
// cocos2d::CCCallFuncO::initWithTarget from 0x5b517c to 0x5b51aa (46 bytes)
//
// 0 xrefs:
//
// 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::CCCallFuncO::initWithTarget(
cocos2d::CCCallFuncO *a1,
cocos2d::CCObject *a2,
cocos2d::SEL_MenuHandler a3,
cocos2d::CCObject *a4)
{
_BOOL4 v5; // r7
v5 = cocos2d::CCCallFunc::initWithTarget(a1, a2);
if ( v5 )
{
a1[1].m_uReference = (unsigned int)a4;
if ( a4 )
cocos2d::CCObject::retain(a4);
*(cocos2d::SEL_MenuHandler *)&a1[1].m_uID = a3;
}
return v5;
}