//
// cocos2d::CCTouchDispatcher::registerForcePrio from 0xb3e924 to 0xb3e9b4 (144 bytes)
//
// 10 xrefs:
// > CCBlockLayer::incrementForcePrio @ 0x57501c
// > FLAlertLayer::incrementForcePrio @ 0x57e1f0
// > SlideInLayer::init @ 0x59320c
// > LevelBrowserLayer::init @ 0x6eac00
// > GJDropDownLayer::init @ 0x7c6564
// > GJCommentListLayer::init @ 0x8c9a68
// > DailyLevelNode::init @ 0x913918
// > DialogLayer::init @ 0x916cf0
// > GJShopLayer::init @ 0x92de28
// > ??> @ 0x2c640
//
// 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)
{
__int64 v6; // x22
if ( a2 )
{
cocos2d::CCTouchDispatcher::incrementForcePrio(a1, a3);
if ( !cocos2d::CCDictionary::objectForKey(a1->m_pForcePrioDict, a2->m_uID) )
{
v6 = operator new(0x40u);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v6);
*(_DWORD *)(v6 + 56) = a3;
*(_QWORD *)v6 = &off_1148430;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
cocos2d::CCDictionary::setObject(a1->m_pForcePrioDict, (cocos2d::CCObject *)v6, a2->m_uID);
}
}
}