//
// cocos2d::CCTouchDispatcher::addPrioTargetedDelegate from 0xb3ecb4 to 0xb3ed00 (76 bytes)
//
// 10 xrefs:
// > BoomScrollLayer::registerWithTouchDispatcher @ 0x56d148
// > TableView::registerWithTouchDispatcher @ 0x57a5dc
// > FLAlertLayer::registerWithTouchDispatcher @ 0x57df88
// > SliderTouchLogic::registerWithTouchDispatcher @ 0x59397c
// > CCTextInputNode::registerWithTouchDispatcher @ 0x5953b4
// > NumberInputLayer::registerWithTouchDispatcher @ 0x823744
// > DialogLayer::registerWithTouchDispatcher @ 0x915fe0
// > cocos2d::extension::CCControlHuePicker::registerWithTouchDispatcher @ 0xa9d044
// > cocos2d::extension::CCControlSaturationBrightnessPicker::registerWithTouchDispatcher @ 0xa9d91c
// > ??> @ 0xafb30
//
// 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)
{
bool isUsingForcePrio; // w0
int v7; // w2
isUsingForcePrio = cocos2d::CCTouchDispatcher::isUsingForcePrio(a1);
v7 = a3;
if ( isUsingForcePrio )
v7 = a1->m_targetPrio - 1;
cocos2d::CCTouchDispatcher::addTargetedDelegate(a1, a2, v7, a4);
}