//
// cocos2d::CCTouchDispatcher::registerForcePrio from 0x5fa688 to 0x5fa6d0 (72 bytes)
//
// 9 xrefs:
// > CCBlockLayer::incrementForcePrio @ 0x2e5cfe
// > FLAlertLayer::incrementForcePrio @ 0x2eaf16
// > SlideInLayer::init @ 0x2f4c24
// > LevelBrowserLayer::init @ 0x3bc096
// > GJDropDownLayer::init @ 0x420bc6
// > GJCommentListLayer::init @ 0x4ab910
// > DailyLevelNode::init @ 0x4d433c
// > DialogLayer::init @ 0x4d61c0
// > GJShopLayer::init @ 0x4e3080
//
// 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::registerForcePrio(cocos2d::CCTouchDispatcher *a1, cocos2d::CCObject *a2, int a3)
{
cocos2d::CCObject *v6; // r4
if ( a2 )
{
cocos2d::CCTouchDispatcher::incrementForcePrio(a1, a3);
if ( !cocos2d::CCDictionary::objectForKey(a1->m_pForcePrioDict, a2->m_uID) )
{
v6 = (cocos2d::CCObject *)operator new(0x38u);
cocos2d::CCObject::CCObject(v6);
v6[1].__vftable = (cocos2d::CCObject_vtbl *)a3;
v6->__vftable = (cocos2d::CCObject_vtbl *)&off_A45350;
cocos2d::CCObject::autorelease(v6);
cocos2d::CCDictionary::setObject(a1->m_pForcePrioDict, v6, a2->m_uID);
}
}
}