//
// cocos2d::CCTargetedTouchHandler::initWithDelegate from 0xdb280c to 0xdb2860 (84 bytes)
//
// 2 xrefs:
// > cocos2d::CCTargetedTouchHandler::handlerWithDelegate @ 0xdb28c4
// > ??> @ 0x7de78
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:40 +0000
//
__int64 __fastcall cocos2d::CCTargetedTouchHandler::initWithDelegate(
cocos2d::CCTargetedTouchHandler *this,
cocos2d::CCTouchDelegate *a2,
int a3,
char a4)
{
unsigned __int8 v6; // w0
unsigned int v7; // w19
cocos2d::CCSet *v8; // x22
v6 = cocos2d::CCTouchHandler::initWithDelegate(this, a2, a3);
v7 = v6;
if ( v6 )
{
v8 = (cocos2d::CCSet *)operator new(0x40u);
cocos2d::CCSet::CCSet(v8);
*((_QWORD *)this + 10) = v8;
*((_BYTE *)this + 72) = a4;
}
return v7;
}