{"type": "func", "start": 4295555444, "end": 4295555512, "name": "CCBlockLayer::decrementForcePrio", "pseudocode": "// \n// CCBlockLayer::decrementForcePrio from 0x10008f974 to 0x10008f9b8 (68 bytes)\n// \n// 9 xrefs:\n// > PauseLayer::onRestartFull @ 0x1001bf7dc\n// > PauseLayer::onResume @ 0x1001bf8c8\n// > PauseLayer::onResume @ 0x1001bf910\n// > PauseLayer::onRestart @ 0x1001bfad4\n// > PauseLayer::goEdit @ 0x1001c108c\n// > PauseLayer::onQuit @ 0x1001c1120\n// > EditorPauseLayer::onResume @ 0x100444364\n// > EditorPauseLayer::playStep3 @ 0x100444af4\n// > EditorPauseLayer::onExitEditor @ 0x100444b4c\n// \n// This function is hookable on this platform (idp: arm, 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 10:58:23 +0000\n// \n\n__int64 __fastcall CCBlockLayer::decrementForcePrio(__int64 result)\n{\n  __int64 v1; // x19\n  __int64 v2; // x0\n  __int64 v3; // x0\n\n  if ( *(_BYTE *)(result + 545) == 1 )\n  {\n    v1 = result;\n    *(_BYTE *)(result + 545) = 0;\n    v2 = cocos2d::CCDirector::sharedDirector(result);\n    v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n    return cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, v1);\n  }\n  return result;\n}", "assembly": "; \n; CCBlockLayer::decrementForcePrio from 0x10008f974 to 0x10008f9b8 (68 bytes)\n; \n; 9 xrefs:\n; > PauseLayer::onRestartFull @ 0x1001bf7dc\n; > PauseLayer::onResume @ 0x1001bf8c8\n; > PauseLayer::onResume @ 0x1001bf910\n; > PauseLayer::onRestart @ 0x1001bfad4\n; > PauseLayer::goEdit @ 0x1001c108c\n; > PauseLayer::onQuit @ 0x1001c1120\n; > EditorPauseLayer::onResume @ 0x100444364\n; > EditorPauseLayer::playStep3 @ 0x100444af4\n; > EditorPauseLayer::onExitEditor @ 0x100444b4c\n; \n; This function is hookable on this platform (idp: arm, 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 10:58:23 +0000\n; \nLDRB            W8, [X0,#0x221]                                        ; +0x0, 0x10008f974\nCMP             W8, #1                                                 ; +0x4, 0x10008f978\nB.NE            locret_10008F9B4                                       ; +0x8, 0x10008f97c\nSTP             X20, X19, [SP,#var_20]!                                ; +0xc, 0x10008f980\nSTP             X29, X30, [SP,#0x20+var_10]                            ; +0x10, 0x10008f984\nADD             X29, SP, #0x20+var_10                                  ; +0x14, 0x10008f988\nMOV             X19, X0                                                ; +0x18, 0x10008f98c\nSTRB            WZR, [X0,#0x221]                                       ; +0x1c, 0x10008f990\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x20, 0x10008f994\nLDR             X8, [X0]                                               ; +0x24, 0x10008f998\nLDR             X8, [X8,#0xA0]                                         ; +0x28, 0x10008f99c\nBLR             X8                                                     ; +0x2c, 0x10008f9a0\nMOV             X1, X19                                                ; +0x30, 0x10008f9a4\nLDP             X29, X30, [SP,#0x20+var_10]                            ; +0x34, 0x10008f9a8\nLDP             X20, X19, [SP+0x20+var_20],#0x20                       ; +0x38, 0x10008f9ac\nB               cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x3c, 0x10008f9b0\nRET                                                                    ; +0x40, 0x10008f9b4", "xrefs": ["PauseLayer::onRestartFull @ 0x1001bf7dc", "PauseLayer::onResume @ 0x1001bf8c8", "PauseLayer::onResume @ 0x1001bf910", "PauseLayer::onRestart @ 0x1001bfad4", "PauseLayer::goEdit @ 0x1001c108c", "PauseLayer::onQuit @ 0x1001c1120", "EditorPauseLayer::onResume @ 0x100444364", "EditorPauseLayer::playStep3 @ 0x100444af4", "EditorPauseLayer::onExitEditor @ 0x100444b4c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}