//
// CCBlockLayer::decrementForcePrio from 0x690648 to 0x690684 (60 bytes)
//
// 10 xrefs:
// > PauseLayer::goEdit @ 0x7d536c
// > PauseLayer::onResume @ 0x7d5580
// > PauseLayer::onResume @ 0x7d55c4
// > PauseLayer::onRestart @ 0x7d5714
// > PauseLayer::onRestartFull @ 0x7d5794
// > PauseLayer::onQuit @ 0x7d6524
// > EditorPauseLayer::playStep3 @ 0x8b65c8
// > EditorPauseLayer::onResume @ 0x8b6648
// > EditorPauseLayer::onExitEditor @ 0x8b6e44
// > ??> @ 0xb5798
//
// This function is hookable on this platform (idp: arm, 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 12:50:35 +0000
//
cocos2d::CCObject *__fastcall CCBlockLayer::decrementForcePrio(cocos2d::CCObject *this)
{
__int64 v1; // x0
cocos2d::CCTouchDispatcher *v2; // x0
cocos2d::CCObject *v3; // [xsp+18h] [xbp+18h]
if ( *((_BYTE *)this + 545) )
{
*((_BYTE *)this + 545) = 0;
v3 = this;
v1 = cocos2d::CCDirector::sharedDirector(this);
v2 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 160LL))(v1);
return (cocos2d::CCObject *)cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, v3);
}
return this;
}