//
// cocos2d::CCTouchDispatcher::unregisterForcePrio from 0x1004cbc50 to 0x1004cbc9c (76 bytes)
//
// 123 xrefs:
// > CustomizeObjectLayer::recreateLayer @ 0x1001f88dc
// > CustomizeObjectSettingsPopup::onClose @ 0x1001f9ca9
// > CustomizeObjectSettingsPopup::onClose @ 0x1001f9cec
// > MessagesProfilePage::onClose @ 0x10022e42e
// > MessagesProfilePage::onClose @ 0x10022e44a
// > MessagesProfilePage::onSentMessages @ 0x10022e54e
// > MessagesProfilePage::onSentMessages @ 0x10022e56a
// > MessagesProfilePage::setupCommentsBrowser @ 0x10022f518
// > DailyLevelNode::dDailyLevelNode @ 0x1002326d8
// > sub_100232710 @ 0x100232748
// > sub_100232780 @ 0x1002327b8
// > sub_10028E130 @ 0x10028e1c5
// > sub_10028E1E0 @ 0x10028e275
// > sub_10028E290 @ 0x10028e317
// > sub_10028E340 @ 0x10028e3d5
// > sub_10028E400 @ 0x10028e487
// > sub_10029ECC0 @ 0x10029ed4c
// > sub_10029ED70 @ 0x10029edfc
// > sub_10029EE20 @ 0x10029eea1
// > sub_10029EEC0 @ 0x10029ef4c
// > sub_10029EF70 @ 0x10029eff1
// > GJPromoPopup::onClose @ 0x1002b6720
// > GJPromoPopup::keyBackClicked @ 0x1002b67c0
// > sub_1002B6800 @ 0x1002b6828
// > GJPathsLayer::onClose @ 0x1002fe8d0
// > GJPathsLayer::keyBackClicked @ 0x1002fee20
// > sub_1002FEE60 @ 0x1002fee88
// > GJPathPage::onBack @ 0x100300b69
// > GJPathPage::unlockAnimationFinished @ 0x100301f40
// > GJPathPage::unlockAnimationFinished @ 0x100301fbf
// > GJPathPage::keyBackClicked @ 0x100302a99
// > sub_100302B00 @ 0x100302b39
// > GJPathRewardPopup::onClaim @ 0x1003034f5
// > GJPathRewardPopup::closePopup @ 0x100303560
// > TopArtistsLayer::setupLeaderboard @ 0x100310fd6
// > GJShopLayer::dGJShopLayer @ 0x100322cfa
// > GJShopLayer::onBack @ 0x100324a09
// > GJShopLayer::dialogClosed @ 0x100327176
// > DialogLayer::dDialogLayer @ 0x1003c6eda
// > sub_1003C6F10 @ 0x1003c6faa
// > sub_1003C6FE0 @ 0x1003c7070
// > sub_1003C70A0 @ 0x1003c713a
// > LevelLeaderboard::setupLeaderboard @ 0x1003db7a6
// > LevelLeaderboard::reloadLeaderboard @ 0x1003dbd78
// > LevelLeaderboard::reloadLeaderboard @ 0x1003dbd94
// > SFXBrowser::setupList @ 0x10043fe08
// > LevelBrowserLayer::dLevelBrowserLayer @ 0x10048ace9
// > LevelBrowserLayer::setupLevelBrowser @ 0x10048fc78
// > LevelBrowserLayer::onBack @ 0x1004910c9
// > LevelBrowserLayer::exitLayer @ 0x100491130
// > FLAlertLayer::dFLAlertLayer @ 0x10049ae05
// > sub_10049AE20 @ 0x10049aeb5
// > sub_10049AED0 @ 0x10049af57
// > sub_10049AF80 @ 0x10049b015
// > sub_10049B040 @ 0x10049b0c7
// > FLAlertLayer::onBtn1 @ 0x10049bfe0
// > FLAlertLayer::onBtn2 @ 0x10049c040
// > FLAlertLayer::keyDown @ 0x10049c0c4
// > FLAlertLayer::keyBackClicked @ 0x10049c172
// > sub_10049C1B0 @ 0x10049c207
// > EndLevelLayer::goEdit @ 0x1004c3143
// > SetupSmartBlockLayer::onClose @ 0x1004e6c51
// > SetupSmartTemplateLayer::onClose @ 0x1004e87a9
// > BrowseSmartTemplateLayer::onTemplateObject @ 0x1004ea198
// > BrowseSmartTemplateLayer::onClose @ 0x1004ea780
// > BrowseSmartTemplateLayer::onBack @ 0x1004ea9e8
// > BrowseSmartKeyLayer::onBack @ 0x1004ebf80
// > LeaderboardsLayer::onBack @ 0x1005136a0
// > LeaderboardsLayer::setupLevelBrowser @ 0x1005137b8
// > LeaderboardsLayer::keyBackClicked @ 0x100514200
// > sub_100514230 @ 0x100514258
// > CCBlockLayer::dCCBlockLayer @ 0x100517a55
// > sub_100517A70 @ 0x100517b05
// > sub_100517B20 @ 0x100517ba7
// > sub_100517BD0 @ 0x100517c65
// > sub_100517C90 @ 0x100517d17
// > CCBlockLayer::decrementForcePrio @ 0x1005181a6
// > EditButtonBar::loadFromItems @ 0x1005e1e9c
// > GJDropDownLayer::dGJDropDownLayer @ 0x1005e7c6c
// > sub_1005E7C90 @ 0x1005e7d1c
// > sub_1005E7D40 @ 0x1005e7dc1
// > sub_1005E7DE0 @ 0x1005e7e6c
// > sub_1005E7E90 @ 0x1005e7f11
// > MusicBrowser::onClose @ 0x10060e92e
// > MusicBrowser::setupList @ 0x10060f5ae
// > MusicBrowser::keyBackClicked @ 0x10060ffbe
// > sub_100610020 @ 0x10061004e
// > OptionsScrollLayer::onClose @ 0x10061060e
// > OptionsScrollLayer::setupList @ 0x1006106aa
// > OptionsScrollLayer::keyBackClicked @ 0x1006108be
// > sub_100610920 @ 0x10061094e
// > FriendsProfilePage::onClose @ 0x1006582fe
// > FriendsProfilePage::onClose @ 0x10065831a
// > FriendsProfilePage::onBlocked @ 0x1006583be
// > FriendsProfilePage::onBlocked @ 0x1006583da
// > FriendsProfilePage::setupUsersBrowser @ 0x1006584cf
// > FRequestProfilePage::onClose @ 0x10079086e
// > FRequestProfilePage::onClose @ 0x10079088a
// > FRequestProfilePage::onSentRequests @ 0x10079098e
// > FRequestProfilePage::onSentRequests @ 0x1007909aa
// > FRequestProfilePage::setupCommentsBrowser @ 0x1007919a8
// > InfoLayer::onClose @ 0x1007b0ebe
// > InfoLayer::setupCommentsBrowser @ 0x1007b1686
// > InfoLayer::keyBackClicked @ 0x1007b22ee
// > sub_1007B2340 @ 0x1007b236f
// > InfoLayer::reloadWindow @ 0x1007b3107
// > InfoLayer::reloadWindow @ 0x1007b31a0
// > InfoLayer::reloadWindow @ 0x1007b31bc
// > AudioAssetsBrowser::setupList @ 0x1007b4bea
// > ProfilePage::init @ 0x1007b8c0b
// > ProfilePage::onClose @ 0x1007b926e
// > ProfilePage::onClose @ 0x1007b928a
// > ProfilePage::setupCommentsBrowser @ 0x1007b9a28
// > ProfilePage::onMessages @ 0x1007be62e
// > ProfilePage::onMessages @ 0x1007be64a
// > ProfilePage::onFriends @ 0x1007be6be
// > ProfilePage::onFriends @ 0x1007be6da
// > ProfilePage::onRequests @ 0x1007be74e
// > ProfilePage::onRequests @ 0x1007be76a
// > ProfilePage::keyBackClicked @ 0x1007bf94e
// > ProfilePage::keyBackClicked @ 0x1007bf96a
// > sub_1007BF9A0 @ 0x1007bf9cf
// > sub_1007BF9A0 @ 0x1007bf9f2
//
// 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 *v2; // rax
int v3; // eax
if ( a2 )
{
v2 = cocos2d::CCDictionary::objectForKey(a1->m_pForcePrioDict, a2->m_uID);
if ( v2 )
{
v3 = (int)v2[1].__vftable;
a1->m_forcePrio -= v3;
a1->m_targetPrio += v3;
cocos2d::CCDictionary::removeObjectForKey(a1->m_pForcePrioDict, a2->m_uID);
}
}
}