//
// cocos2d::CCMouseHandler::initWithDelegate from 0x5fc250 to 0x5fc274 (36 bytes)
//
// 1 xrefs:
// > cocos2d::CCMouseHandler::handlerWithDelegate @ 0x5fc2fa
//
// 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
//
bool cocos2d::CCMouseHandler::initWithDelegate(cocos2d::CCMouseHandler *a1, cocos2d::CCMouseDelegate *a2)
{
cocos2d::CCObject *v2; // r0
a1->m_pDelegate = a2;
v2 = (cocos2d::CCObject *)a2;
if ( a2 )
v2 = (cocos2d::CCObject *)_dynamic_cast(
a2,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCMouseDelegate,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject,
-2);
cocos2d::CCObject::retain(v2);
return 1;
}