// // cocos2d::CCTouchDispatcher::addStandardDelegate from 0xb3eafc to 0xb3eb98 (156 bytes) // // 2 xrefs: // > cocos2d::CCLayer::registerWithTouchDispatcher @ 0xaea170 // > @ 0x7c668 // // 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::addStandardDelegate( cocos2d::CCTouchDispatcher *a1, cocos2d::CCTouchDelegate *a2, int a3) { cocos2d::CCStandardTouchHandler *v5; // x21 cocos2d::CCObject *v6; // x2 v5 = cocos2d::CCStandardTouchHandler::handlerWithDelegate(a2, a3); if ( a1->m_bLocked ) { if ( cocos2d::ccCArrayContainsValue((int *)a1->m_pHandlersToRemove, (__int64)a2) ) { cocos2d::ccCArrayRemoveValue((int *)a1->m_pHandlersToRemove, (__int64)a2); } else { cocos2d::CCArray::addObject(a1->m_pHandlersToAdd, (cocos2d::_ccArray *)v5, v6); a1->m_bToAdd = 1; } } else { cocos2d::CCTouchDispatcher::forceAddHandler(a1, v5, a1->m_pStandardHandlers); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source