//
// cocos2d::CCTouchDispatcher::addPrioTargetedDelegate from 0x10014ed58 to 0x10014ed70 (24 bytes)
//
// 9 xrefs:
// > DialogLayer::registerWithTouchDispatcher @ 0x1000874a0
// > NumberInputLayer::registerWithTouchDispatcher @ 0x1000f96e0
// > BoomScrollLayer::registerWithTouchDispatcher @ 0x10012c3bc
// > CCTextInputNode::registerWithTouchDispatcher @ 0x10016e954
// > cocos2d::extension::CCControlHuePicker::registerWithTouchDispatcher @ 0x1001afa90
// > cocos2d::extension::CCControlSaturationBrightnessPicker::registerWithTouchDispatcher @ 0x1001be388
// > FLAlertLayer::registerWithTouchDispatcher @ 0x1002acf70
// > SliderTouchLogic::registerWithTouchDispatcher @ 0x1002ef420
// > TableView::registerWithTouchDispatcher @ 0x1002ff450
//
// 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 >= 1 )
a3 = a1->m_targetPrio - 1;
cocos2d::CCTouchDispatcher::addTargetedDelegate(a1, a2, a3, a4);
}