//
// cocos2d::CCTouchDispatcher::addPrioTargetedDelegate from 0x1004cbcb0 to 0x1004cbccb (27 bytes)
//
// 9 xrefs:
// > CCTextInputNode::registerWithTouchDispatcher @ 0x1000a1044
// > SliderTouchLogic::registerWithTouchDispatcher @ 0x1003044c7
// > cocos2d::extension::CCControlHuePicker::registerWithTouchDispatcher @ 0x100356f57
// > cocos2d::extension::CCControlSaturationBrightnessPicker::registerWithTouchDispatcher @ 0x100368c57
// > BoomScrollLayer::registerWithTouchDispatcher @ 0x1003a6b44
// > DialogLayer::registerWithTouchDispatcher @ 0x1003c8317
// > NumberInputLayer::registerWithTouchDispatcher @ 0x100493367
// > FLAlertLayer::registerWithTouchDispatcher @ 0x10049c707
// > TableView::registerWithTouchDispatcher @ 0x100622b44
//
// 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 __fastcall cocos2d::CCTouchDispatcher::addPrioTargetedDelegate(
cocos2d::CCTouchDispatcher *a1,
cocos2d::CCTouchDelegate *a2,
int a3,
bool a4)
{
if ( a1->m_forcePrio > 0 )
a3 = a1->m_targetPrio - 1;
cocos2d::CCTouchDispatcher::addTargetedDelegate(a1, a2, a3, a4);
}