//
// cocos2d::CCTouchDispatcher::unregisterForcePrio from 0x1800b74b0 to 0x1800b7520 (112 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c2a24
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:22 +0000
//
void __fastcall cocos2d::CCTouchDispatcher::unregisterForcePrio(
cocos2d::CCDictionary **this,
struct cocos2d::CCObject *a2)
{
struct cocos2d::CCObject *v4; // rax
int v5; // eax
if ( a2 )
{
v4 = cocos2d::CCDictionary::objectForKey(*(this + 17), *((unsigned int *)a2 + 2));
if ( v4 )
{
v5 = *((_DWORD *)v4 + 14);
*((_DWORD *)this + 40) -= v5;
*((_DWORD *)this + 32) += v5;
cocos2d::CCDictionary::removeObjectForKey(*(this + 17), *((unsigned int *)a2 + 2));
}
cocos2d::CCDictionary::removeObjectForKey(*(this + 18), *((unsigned int *)a2 + 2));
cocos2d::CCDictionary::removeObjectForKey(*(this + 19), *((unsigned int *)a2 + 2));
}
}