//
// cocos2d::CCTargetedTouchHandler::initWithDelegate from 0x10000c728 to 0x10000c770 (72 bytes)
//
// 1 xrefs:
// > cocos2d::CCTargetedTouchHandler::handlerWithDelegate @ 0x10000c6f4
//
// 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::CCTargetedTouchHandler::initWithDelegate(
cocos2d::CCTargetedTouchHandler *a1,
cocos2d::CCTouchDelegate *a2,
int a3,
bool a4)
{
cocos2d::CCSet *v6; // x21
cocos2d::CCTouchHandler::initWithDelegate(a1, a2, a3);
v6 = (cocos2d::CCSet *)operator new(0x40u);
j_cocos2d::CCSet::CCSet();
a1->m_pClaimedTouches = v6;
a1->m_bSwallowsTouches = a4;
return 1;
}