//
// cocos2d::CCMouseHandler::initWithDelegate from 0x809ff0 to 0x80a014 (36 bytes)
//
// 1 xrefs:
// > cocos2d::CCMouseHandler::handlerWithDelegate @ 0x80a09a
//
// 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
//
int __fastcall cocos2d::CCMouseHandler::initWithDelegate(
cocos2d::CCMouseHandler *this,
cocos2d::CCMouseDelegate *lpsrc)
{
cocos2d::CCMouseDelegate *v2; // r0
*((_DWORD *)this + 13) = lpsrc;
v2 = lpsrc;
if ( lpsrc )
v2 = (cocos2d::CCMouseDelegate *)_dynamic_cast(
lpsrc,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCMouseDelegate,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
-2);
cocos2d::CCObject::retain((int)v2);
return 1;
}