//
// cocos2d::CCMouseHandler::handlerWithDelegate from 0x80a07c to 0x80a0b4 (56 bytes)
//
// 1 xrefs:
// > cocos2d::CCMouseDispatcher::forceAddDelegate @ 0x809dce
//
// 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:29 +0000
//
cocos2d::CCObject *__fastcall cocos2d::CCMouseHandler::handlerWithDelegate(
cocos2d::CCMouseHandler *this,
cocos2d::CCMouseDelegate *a2)
{
cocos2d::CCObject *v3; // r4
v3 = (cocos2d::CCObject *)operator new(0x38u);
cocos2d::CCObject::CCObject(v3);
*(_DWORD *)v3 = &off_D12CF8;
if ( cocos2d::CCMouseHandler::initWithDelegate(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
cocos2d::CCObject::release(v3);
return nullptr;
}
return v3;
}