//
// CCBlockLayer::decrementForcePrio from 0x100518170 to 0x1005181ac (60 bytes)
//
// 16 xrefs:
// > EditorPauseLayer::onResume @ 0x1002937a2
// > EditorPauseLayer::onSaveAndExit @ 0x1002938ad
// > EditorPauseLayer::onExitNoSave @ 0x100293ab5
// > EditorPauseLayer::playStep3 @ 0x100294dba
// > EditorPauseLayer::onExitEditor @ 0x100294e29
// > EditorPauseLayer::FLAlert_Clicked @ 0x100294e8b
// > EditorPauseLayer::keyBackClicked @ 0x100294f42
// > sub_100294FA0 @ 0x100294fbd
// > PauseLayer::onRestartFull @ 0x1003d7299
// > PauseLayer::onPracticeMode @ 0x1003d72fe
// > PauseLayer::onNormalMode @ 0x1003d734f
// > PauseLayer::onResume @ 0x1003d7389
// > PauseLayer::onRestart @ 0x1003d74c9
// > PauseLayer::goEdit @ 0x1003d78d7
// > PauseLayer::onQuit @ 0x1003d797c
// > PauseLayer::keyDown @ 0x1003d7b62
//
// 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 CCBlockLayer::decrementForcePrio(CCBlockLayer *a1)
{
cocos2d::CCDirector *v1; // rax
cocos2d::CCTouchDispatcher *v2; // rax
if ( a1->m_forcePrioRegistered )
{
a1->m_forcePrioRegistered = 0;
v1 = cocos2d::CCDirector::sharedDirector();
v2 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v1->getTouchDispatcher)(v1);
cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, a1);
}
}