//
// cocos2d::CCTargetedTouchHandler::initWithDelegate from 0xb3f990 to 0xb3f9e4 (84 bytes)
//
// 2 xrefs:
// > cocos2d::CCTargetedTouchHandler::handlerWithDelegate @ 0xb3fa48
// > ??> @ 0x5bcf8
//
// 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)
{
bool v6; // w19
cocos2d::CCSet *v7; // x22
v6 = cocos2d::CCTouchHandler::initWithDelegate(a1, a2, a3);
if ( v6 )
{
v7 = (cocos2d::CCSet *)operator new(0x40u);
cocos2d::CCSet::CCSet(v7);
a1->m_pClaimedTouches = v7;
a1->m_bSwallowsTouches = a4;
}
return v6;
}