// // CCBlockLayer::decrementForcePrio from 0x100519240 to 0x10051927c (60 bytes) // // 14 xrefs: // > EditorPauseLayer::onResume @ 0x10027e277 // > EditorPauseLayer::onSaveAndExit @ 0x10027e3d9 // > EditorPauseLayer::onExitNoSave @ 0x10027e5f3 // > EditorPauseLayer::playStep3 @ 0x10027f3aa // > EditorPauseLayer::onExitEditor @ 0x10027f437 // > EditorPauseLayer::FLAlert_Clicked @ 0x10027f4b9 // > EditorPauseLayer::keyBackClicked @ 0x10027f5a7 // > sub_10027F600 @ 0x10027f62f // > PauseLayer::onRestartFull @ 0x1003c11b8 // > PauseLayer::onResume @ 0x1003c12de // > PauseLayer::onResume @ 0x1003c1355 // > PauseLayer::onRestart @ 0x1003c1568 // > PauseLayer::goEdit @ 0x1003c30c7 // > PauseLayer::onQuit @ 0x1003c316c // // This function is hookable on this platform (idp: pc, 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:31:40 +0000 // void __fastcall CCBlockLayer::decrementForcePrio(__int64 a1) { __int64 v1; // rax __int64 v2; // rax if ( *(_BYTE *)(a1 + 545) == 1 ) { *(_BYTE *)(a1 + 545) = 0; v1 = cocos2d::CCDirector::sharedDirector(); v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 160LL))(v1); cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, a1); } }