//
// cocos2d::CCTargetedTouchHandler::initWithDelegate from 0x8087d8 to 0x8087fc (36 bytes)
//
// 1 xrefs:
// > cocos2d::CCTargetedTouchHandler::handlerWithDelegate @ 0x80882c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:01:27 +0000
//
int __fastcall cocos2d::CCTargetedTouchHandler::initWithDelegate(
cocos2d::CCTargetedTouchHandler *this,
cocos2d::CCTouchDelegate *a2,
int a3,
bool a4)
{
int v6; // r4
cocos2d::CCSet *v7; // r7
v6 = cocos2d::CCTouchHandler::initWithDelegate(this, a2, a3);
if ( v6 )
{
v7 = (cocos2d::CCSet *)operator new(0x38u);
cocos2d::CCSet::CCSet(v7);
*((_DWORD *)this + 17) = v7;
*((_BYTE *)this + 64) = a4;
}
return v6;
}