//
// cocos2d::CCTouchHandler::initWithDelegate from 0x1800b3e10 to 0x1800b3e66 (86 bytes)
//
// 7 xrefs:
// > cocos2d::CCStandardTouchHandler::handlerWithDelegate @ 0x1800b3be5
// > cocos2d::CCTouchHandler::handlerWithDelegate @ 0x1800b3d85
// > ??> @ 0x180106590
// > ??> @ 0x1801065e8
// > ??> @ 0x180106640
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b87cc
//
// 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
//
// Alternative name is '?initWithDelegate@CCStandardTouchHandler@cocos2d@@UEAA_NPEAVCCTouchDelegate@2@H@Z'
char __fastcall cocos2d::CCTouchHandler::initWithDelegate(
cocos2d::CCTouchHandler *this,
struct cocos2d::CCTouchDelegate *a2,
int a3)
{
cocos2d::CCObject *v5; // rax
this->m_pDelegate = a2;
v5 = (cocos2d::CCObject *)_RTDynamicCast(
a2,
0,
&cocos2d::CCTouchDelegate `RTTI Type Descriptor',
&cocos2d::CCObject `RTTI Type Descriptor',
0);
cocos2d::CCObject::retain(v5);
this->m_nPriority = a3;
this->m_nEnabledSelectors = 0;
return 1;
}