//
// cocos2d::CCTouchDispatcher::unregisterForcePrio from 0x10014ece4 to 0x10014ed48 (100 bytes)
//
// 62 xrefs:
// > CustomizeObjectLayer::recreateLayer @ 0x10005042c
// > CustomizeObjectSettingsPopup::onClose @ 0x1000510a0
// > CustomizeObjectSettingsPopup::onClose @ 0x1000510e0
// > SetupSmartBlockLayer::onClose @ 0x10006fcc4
// > SetupSmartTemplateLayer::onClose @ 0x100071068
// > BrowseSmartTemplateLayer::onClose @ 0x10007281c
// > CCBlockLayer::dCCBlockLayer @ 0x1000861fc
// > CCBlockLayer::decrementForcePrio @ 0x100086548
// > DialogLayer::dDialogLayer @ 0x1000867a4
// > GJShopLayer::dGJShopLayer @ 0x10014a4c0
// > GJShopLayer::onBack @ 0x10014bbbc
// > GJShopLayer::dialogClosed @ 0x10014d67c
// > SFXBrowser::setupList @ 0x100169d48
// > ProfilePage::init @ 0x100196e6c
// > ProfilePage::onClose @ 0x10019748c
// > ProfilePage::onClose @ 0x1001974a4
// > ProfilePage::setupCommentsBrowser @ 0x100197b64
// > TopArtistsLayer::setupLeaderboard @ 0x1001a4e14
// > FRequestProfilePage::onClose @ 0x1001b69b8
// > FRequestProfilePage::onClose @ 0x1001b69d0
// > FRequestProfilePage::onSentRequests @ 0x1001b6a78
// > FRequestProfilePage::onSentRequests @ 0x1001b6a90
// > FRequestProfilePage::setupCommentsBrowser @ 0x1001b74a8
// > DailyLevelNode::dDailyLevelNode @ 0x1001badc8
// > MessagesProfilePage::onClose @ 0x1001cc86c
// > MessagesProfilePage::onClose @ 0x1001cc884
// > MessagesProfilePage::onSentMessages @ 0x1001cc92c
// > MessagesProfilePage::onSentMessages @ 0x1001cc944
// > MessagesProfilePage::setupCommentsBrowser @ 0x1001cd378
// > AudioAssetsBrowser::setupList @ 0x1001d20c0
// > FriendsProfilePage::onClose @ 0x1001d9414
// > FriendsProfilePage::onClose @ 0x1001d942c
// > FriendsProfilePage::onBlocked @ 0x1001d94cc
// > FriendsProfilePage::onBlocked @ 0x1001d94e4
// > FriendsProfilePage::setupUsersBrowser @ 0x1001d95cc
// > LevelLeaderboard::setupLeaderboard @ 0x100250724
// > LevelLeaderboard::reloadLeaderboard @ 0x100250c5c
// > LevelLeaderboard::reloadLeaderboard @ 0x100250c74
// > FLAlertLayer::dFLAlertLayer @ 0x1002abc7c
// > FLAlertLayer::onBtn1 @ 0x1002aca0c
// > FLAlertLayer::onBtn2 @ 0x1002aca6c
// > sub_1002D4FAC @ 0x1002d500c
// > GJPromoPopup::onClose @ 0x1002e549c
// > EndLevelLayer::goEdit @ 0x1002f8408
// > InfoLayer::onClose @ 0x100351c24
// > InfoLayer::setupCommentsBrowser @ 0x10035222c
// > InfoLayer::reloadWindow @ 0x1003532a8
// > InfoLayer::reloadWindow @ 0x1003532c0
// > LeaderboardsLayer::onBack @ 0x1003b17c4
// > LeaderboardsLayer::setupLevelBrowser @ 0x1003b18c8
// > GJDropDownLayer::dGJDropDownLayer @ 0x1003b21a4
// > GJPathsLayer::onClose @ 0x1003b8440
// > GJPathPage::onBack @ 0x1003ba0dc
// > GJPathRewardPopup::closePopup @ 0x1003bbdb8
// > MusicBrowser::onClose @ 0x1003c195c
// > MusicBrowser::setupList @ 0x1003c245c
// > OptionsScrollLayer::onClose @ 0x1003c2e18
// > OptionsScrollLayer::setupList @ 0x1003c2eb0
// > LevelBrowserLayer::dLevelBrowserLayer @ 0x100414120
// > LevelBrowserLayer::setupLevelBrowser @ 0x100418110
// > LevelBrowserLayer::exitLayer @ 0x100418f8c
// > EditButtonBar::loadFromItems @ 0x100420f80
//
// 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 *a1, cocos2d::CCObject *a2)
{
cocos2d::CCObject *v4; // x0
int v5; // w8
if ( a2 )
{
v4 = cocos2d::CCDictionary::objectForKey(a1->m_pForcePrioDict, a2->m_uID);
if ( v4 )
{
v5 = (int)v4[1].__vftable;
a1->m_forcePrio -= v5;
a1->m_targetPrio += v5;
cocos2d::CCDictionary::removeObjectForKey(a1->m_pForcePrioDict, a2->m_uID);
}
}
}