//
// cocos2d::CCMouseHandler::handlerWithDelegate from 0x1000847fc to 0x100084860 (100 bytes)
//
// 1 xrefs:
// > sub_1002FE284 @ 0x1002fe298
//
// 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
//
cocos2d::CCMouseHandler *__fastcall cocos2d::CCMouseHandler::handlerWithDelegate(cocos2d::CCMouseDelegate *a1)
{
cocos2d::CCMouseHandler *v2; // x19
v2 = (cocos2d::CCMouseHandler *)operator new(0x40u);
cocos2d::CCObject::CCObject(v2);
v2->__vftable = (cocos2d::CCMouseHandler_vtbl *)off_10077DB00;
if ( cocos2d::CCMouseHandler::initWithDelegate(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
cocos2d::CCObject::release(v2);
return nullptr;
}
return v2;
}