//
// cocos2d::CCMouseHandler::handlerWithDelegate from 0x10008e8b0 to 0x10008e914 (100 bytes)
//
// 1 xrefs:
// > sub_10039AC3C @ 0x10039ac50
//
// This function is hookable on this platform (idp: arm, 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 10:58:22 +0000
//
_QWORD *__fastcall cocos2d::CCMouseHandler::handlerWithDelegate(void *a1)
{
_QWORD *v2; // x19
v2 = operator new(0x40u);
cocos2d::CCObject::CCObject(v2);
*v2 = off_1008CAB88;
if ( (unsigned int)cocos2d::CCMouseHandler::initWithDelegate((__int64)v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
cocos2d::CCObject::release(v2);
return nullptr;
}
return v2;
}