//
// cocos2d::CCTouchDispatcher::registerForcePrio from 0x1800b3050 to 0x1800b30b6 (102 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b8694
//
// 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::registerForcePrio(
cocos2d::CCTouchDispatcher *this,
struct cocos2d::CCObject *a2,
int a3)
{
struct cocos2d::CCInteger *v6; // rax
if ( a2 )
{
this->m_forcePrio += a3;
this->m_targetPrio -= a3;
if ( !cocos2d::CCDictionary::objectForKey(this->m_pForcePrioDict, a2->m_uID) )
{
v6 = cocos2d::CCInteger::create(a3);
cocos2d::CCDictionary::setObject(this->m_pForcePrioDict, v6, a2->m_uID);
}
}
}