// // cocos2d::CCMouseDispatcher::addDelegate from 0x180060c70 to 0x180060cb4 (68 bytes) // // 4 xrefs: // > cocos2d::CCLayer::onEnter @ 0x180050661 // > cocos2d::CCLayer::setMouseEnabled @ 0x180050d87 // > @ 0x1801438a8 // > @ 0x1801b3504 // // 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 // void __fastcall cocos2d::CCMouseDispatcher::addDelegate(cocos2d::CCMouseDispatcher *this, cocos2d::CCObject_vtbl *a2) { struct cocos2d::CCMouseHandler *v3; // rax if ( a2 ) { if ( this->m_bLocked ) { sub_18009E170(this->m_pHandlersToAdd); this->m_bToAdd = 1; } else { v3 = cocos2d::CCMouseHandler::handlerWithDelegate(a2); if ( v3 ) cocos2d::CCArray::addObject(this->m_pMouseHandlers, v3); } } }