//
// cocos2d::CCTouchDispatcher::unregisterForcePrio from 0x1800b3760 to 0x1800b37af (79 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b8730
//
// 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::unregisterForcePrio(
cocos2d::CCTouchDispatcher *this,
struct cocos2d::CCObject *a2)
{
struct cocos2d::CCObject *v4; // rax
int v5; // eax
if ( a2 )
{
v4 = cocos2d::CCDictionary::objectForKey(this->m_pForcePrioDict, a2->m_uID);
if ( v4 )
{
v5 = (int)v4[1].__vftable;
this->m_forcePrio -= v5;
this->m_targetPrio += v5;
cocos2d::CCDictionary::removeObjectForKey(this->m_pForcePrioDict, a2->m_uID);
}
}
}