// // cocos2d::CCMouseDispatcher::addDelegate from 0xb40bc4 to 0xb40c08 (68 bytes) // // 3 xrefs: // > cocos2d::CCLayer::setMouseEnabled @ 0xaeaad8 // > cocos2d::CCLayer::onEnter @ 0xaec444 // > @ 0x60990 // // 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 = (unsigned __int8)&dword_0 + 1; } else { cocos2d::CCMouseDispatcher::forceAddDelegate(a1, a2); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source