//
// cocos2d::CCTargetedTouchHandler::initWithDelegate from 0x5faf78 to 0x5faf9c (36 bytes)
//
// 1 xrefs:
// > cocos2d::CCTargetedTouchHandler::handlerWithDelegate @ 0x5fafcc
//
// 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::CCTargetedTouchHandler::initWithDelegate(
cocos2d::CCTargetedTouchHandler *a1,
cocos2d::CCTouchDelegate *a2,
int a3,
bool a4)
{
_BOOL4 v6; // r4
cocos2d::CCSet *v7; // r7
v6 = cocos2d::CCTouchHandler::initWithDelegate(a1, a2, a3);
if ( v6 )
{
v7 = (cocos2d::CCSet *)operator new(0x38u);
cocos2d::CCSet::CCSet(v7);
a1->m_pClaimedTouches = v7;
a1->m_bSwallowsTouches = a4;
}
return v6;
}