// // cocos2d::CCTouchDispatcher::setPriority from 0xb3f5ac to 0xb3f61c (112 bytes) // // 2 xrefs: // > cocos2d::CCMenu::setHandlerPriority @ 0xaf1a38 // > @ 0x86520 // // 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::CCTouchDispatcher::setPriority(cocos2d::CCTouchDispatcher *a1, int a2, cocos2d::CCTouchDelegate *a3) { cocos2d::CCTouchHandler *Handler; // x21 Handler = cocos2d::CCTouchDispatcher::findHandler(a1, a3); if ( cocos2d::CCTouchHandler::getPriority(Handler) != a2 ) { cocos2d::CCTouchHandler::setPriority(Handler, a2); cocos2d::CCTouchDispatcher::rearrangeHandlers(a1, a1->m_pTargetedHandlers); cocos2d::CCTouchDispatcher::rearrangeHandlers(a1, a1->m_pStandardHandlers); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source