//
// cocos2d::CCTouchDispatcher::addPrioTargetedDelegate from 0x5fa842 to 0x5fa868 (38 bytes)
//
// 9 xrefs:
// > BoomScrollLayer::registerWithTouchDispatcher @ 0x2e1c04
// > TableView::registerWithTouchDispatcher @ 0x2e8dda
// > FLAlertLayer::registerWithTouchDispatcher @ 0x2eade8
// > SliderTouchLogic::registerWithTouchDispatcher @ 0x2f51ae
// > CCTextInputNode::registerWithTouchDispatcher @ 0x2f9ffa
// > NumberInputLayer::registerWithTouchDispatcher @ 0x45500a
// > DialogLayer::registerWithTouchDispatcher @ 0x4d5c2e
// > cocos2d::extension::CCControlHuePicker::registerWithTouchDispatcher @ 0x5a2b96
// > cocos2d::extension::CCControlSaturationBrightnessPicker::registerWithTouchDispatcher @ 0x5a31e2
//
// 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::addPrioTargetedDelegate(
cocos2d::CCTouchDispatcher *a1,
cocos2d::CCTouchDelegate *a2,
int a3,
bool a4)
{
if ( cocos2d::CCTouchDispatcher::isUsingForcePrio(a1) )
a3 = a1->m_targetPrio - 1;
cocos2d::CCTouchDispatcher::addTargetedDelegate(a1, a2, a3, a4);
}