// // cocos2d::CCMouseHandler::handlerWithDelegate from 0x100284a40 to 0x100284aab (107 bytes) // // 3 xrefs: // > cocos2d::CCMouseDispatcher::addDelegate @ 0x100570e46 // > cocos2d::CCMouseDispatcher::forceAddDelegate @ 0x100570e7c // > cocos2d::CCMouseDispatcher::dispatchScrollMSG @ 0x100571056 // // 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 *v1; // rbx cocos2d::CCObject *v2; // rdi v1 = (cocos2d::CCMouseHandler *)operator new(0x40u); cocos2d::CCObject::CCObject(v1); v1->__vftable = (cocos2d::CCMouseHandler_vtbl *)off_1008F2CA0; v1->m_pDelegate = a1; if ( a1 ) v2 = (cocos2d::CCObject *)__dynamic_cast( a1, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCMouseDelegate, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, -2); else v2 = nullptr; cocos2d::CCObject::retain(v2); cocos2d::CCObject::autorelease(v1); return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source