; ; 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 ; cmp byte ptr [rdi+221h], 1 ; +0x0, 0x100518170 jnz short locret_1005181AB ; +0x7, 0x100518177 push rbp ; +0x9, 0x100518179 mov rbp, rsp ; +0xa, 0x10051817a push rbx ; +0xd, 0x10051817d push rax ; +0xe, 0x10051817e mov byte ptr [rdi+221h], 0 ; +0xf, 0x10051817f mov rbx, rdi ; +0x16, 0x100518186 call cocos2d__CCDirector__sharedDirector ; +0x19, 0x100518189 mov rcx, [rax] ; +0x1e, 0x10051818e mov rdi, rax ; +0x21, 0x100518191 call qword ptr [rcx+0A0h] ; +0x24, 0x100518194 mov rdi, rax ; +0x2a, 0x10051819a mov rsi, rbx ; +0x2d, 0x10051819d add rsp, 8 ; +0x30, 0x1005181a0 pop rbx ; +0x34, 0x1005181a4 pop rbp ; +0x35, 0x1005181a5 jmp cocos2d__CCTouchDispatcher__unregisterForcePrio ; +0x36, 0x1005181a6 retn ; +0x3b, 0x1005181ab