{"type": "func", "start": 4300313152, "end": 4300313212, "name": "CCBlockLayer::decrementForcePrio", "pseudocode": "// \n// CCBlockLayer::decrementForcePrio from 0x100519240 to 0x10051927c (60 bytes)\n// \n// 14 xrefs:\n// > EditorPauseLayer::onResume @ 0x10027e277\n// > EditorPauseLayer::onSaveAndExit @ 0x10027e3d9\n// > EditorPauseLayer::onExitNoSave @ 0x10027e5f3\n// > EditorPauseLayer::playStep3 @ 0x10027f3aa\n// > EditorPauseLayer::onExitEditor @ 0x10027f437\n// > EditorPauseLayer::FLAlert_Clicked @ 0x10027f4b9\n// > EditorPauseLayer::keyBackClicked @ 0x10027f5a7\n// > sub_10027F600 @ 0x10027f62f\n// > PauseLayer::onRestartFull @ 0x1003c11b8\n// > PauseLayer::onResume @ 0x1003c12de\n// > PauseLayer::onResume @ 0x1003c1355\n// > PauseLayer::onRestart @ 0x1003c1568\n// > PauseLayer::goEdit @ 0x1003c30c7\n// > PauseLayer::onQuit @ 0x1003c316c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:31:40 +0000\n// \n\nvoid __fastcall CCBlockLayer::decrementForcePrio(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // rax\n\n  if ( *(_BYTE *)(a1 + 545) == 1 )\n  {\n    *(_BYTE *)(a1 + 545) = 0;\n    v1 = cocos2d::CCDirector::sharedDirector();\n    v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 160LL))(v1);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v2, a1);\n  }\n}", "assembly": "; \n; CCBlockLayer::decrementForcePrio from 0x100519240 to 0x10051927c (60 bytes)\n; \n; 14 xrefs:\n; > EditorPauseLayer::onResume @ 0x10027e277\n; > EditorPauseLayer::onSaveAndExit @ 0x10027e3d9\n; > EditorPauseLayer::onExitNoSave @ 0x10027e5f3\n; > EditorPauseLayer::playStep3 @ 0x10027f3aa\n; > EditorPauseLayer::onExitEditor @ 0x10027f437\n; > EditorPauseLayer::FLAlert_Clicked @ 0x10027f4b9\n; > EditorPauseLayer::keyBackClicked @ 0x10027f5a7\n; > sub_10027F600 @ 0x10027f62f\n; > PauseLayer::onRestartFull @ 0x1003c11b8\n; > PauseLayer::onResume @ 0x1003c12de\n; > PauseLayer::onResume @ 0x1003c1355\n; > PauseLayer::onRestart @ 0x1003c1568\n; > PauseLayer::goEdit @ 0x1003c30c7\n; > PauseLayer::onQuit @ 0x1003c316c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:31:40 +0000\n; \ncmp     byte ptr [rdi+221h], 1                                         ; +0x0, 0x100519240\njnz     short locret_10051927B                                         ; +0x7, 0x100519247\npush    rbp                                                            ; +0x9, 0x100519249\nmov     rbp, rsp                                                       ; +0xa, 0x10051924a\npush    rbx                                                            ; +0xd, 0x10051924d\npush    rax                                                            ; +0xe, 0x10051924e\nmov     byte ptr [rdi+221h], 0                                         ; +0xf, 0x10051924f\nmov     rbx, rdi                                                       ; +0x16, 0x100519256\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x19, 0x100519259\nmov     rcx, [rax]                                                     ; +0x1e, 0x10051925e\nmov     rdi, rax                                                       ; +0x21, 0x100519261\ncall    qword ptr [rcx+0A0h]                                           ; +0x24, 0x100519264\nmov     rdi, rax                                                       ; +0x2a, 0x10051926a\nmov     rsi, rbx                                                       ; +0x2d, 0x10051926d\nadd     rsp, 8                                                         ; +0x30, 0x100519270\npop     rbx                                                            ; +0x34, 0x100519274\npop     rbp                                                            ; +0x35, 0x100519275\njmp     cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x36, 0x100519276\nretn                                                                   ; +0x3b, 0x10051927b", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}