//
// CCBlockLayer::decrementForcePrio from 0x3c5aec to 0x3c5b12 (38 bytes)
//
// 8 xrefs:
// > PauseLayer::goEdit @ 0x48eb3e
// > PauseLayer::onResume @ 0x48ed98
// > PauseLayer::onRestart @ 0x48ee82
// > PauseLayer::onRestartFull @ 0x48eed4
// > PauseLayer::onQuit @ 0x48fafc
// > EditorPauseLayer::playStep3 @ 0x508e16
// > EditorPauseLayer::onResume @ 0x508e62
// > EditorPauseLayer::onExitEditor @ 0x5091b0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:46:34 +0000
//
cocos2d::CCObject *__fastcall CCBlockLayer::decrementForcePrio(cocos2d::CCObject *this)
{
cocos2d::CCObject *v1; // r4
int v2; // r0
cocos2d::CCTouchDispatcher *v3; // r0
v1 = this;
if ( *((_BYTE *)this + 441) )
{
*((_BYTE *)this + 441) = 0;
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 80))(v2);
return (cocos2d::CCObject *)cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, v1);
}
return this;
}