// // cocos2d::CCMouseDispatcher::addDelegate from 0x5fc0be to 0x5fc0e0 (34 bytes) // // 2 xrefs: // > cocos2d::CCLayer::setMouseEnabled @ 0x5cf428 // > cocos2d::CCLayer::onEnter @ 0x5d037e // // 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 cocos2d::CCMouseDispatcher::addDelegate(cocos2d::CCMouseDispatcher *a1, cocos2d::CCMouseDelegate *a2) { if ( a2 ) { if ( a1->m_bLocked ) { cocos2d::ccCArrayAppendValue(&a1->m_pHandlersToAdd->num, (cocos2d::_ccCArray *)a2); a1->m_bToAdd = 1; } else { cocos2d::CCMouseDispatcher::forceAddDelegate(a1, a2); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source