//
// cocos2d::CCMouseHandler::initWithDelegate from 0x180062c80 to 0x180062cba (58 bytes)
//
// 4 xrefs:
// > cocos2d::CCMouseHandler::handlerWithDelegate @ 0x180062c06
// > ??> @ 0x180100548
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd78c
//
// This function is hookable on this platform (idp: pc, 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 11:21:51 +0000
//
char __fastcall cocos2d::CCMouseHandler::initWithDelegate(
cocos2d::CCMouseHandler *this,
struct cocos2d::CCMouseDelegate *a2)
{
cocos2d::CCObject *v2; // rax
*((_QWORD *)this + 7) = a2;
v2 = (cocos2d::CCObject *)_RTDynamicCast(
a2,
0,
&cocos2d::CCMouseDelegate `RTTI Type Descriptor',
&cocos2d::CCObject `RTTI Type Descriptor',
0);
cocos2d::CCObject::retain(v2);
return 1;
}