//
// cocos2d::CCTouchHandler::handlerWithDelegate from 0x808730 to 0x808776 (70 bytes)
//
// 0 xrefs:
//
// 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
//
_DWORD *__fastcall cocos2d::CCTouchHandler::handlerWithDelegate(
cocos2d::CCTouchHandler *this,
cocos2d::CCTouchDelegate *a2,
int a3)
{
_DWORD *v5; // r4
v5 = (_DWORD *)operator new(0x40u);
memset(v5, 0, 0x40u);
cocos2d::CCObject::CCObject(v5);
*v5 = &off_D12B78;
if ( cocos2d::CCTouchHandler::initWithDelegate((cocos2d::CCTouchHandler *)v5, this, (int)a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
}
else
{
cocos2d::CCObject::release(v5);
return nullptr;
}
return v5;
}