mirror of
https://github.com/Ultra-NX/UltraNX.git
synced 2025-09-17 14:08:46 +00:00
60 lines
1.1 KiB
YAML
60 lines
1.1 KiB
YAML
# Resident Evil 1.0.0
|
|
# BID: 6BEC9B23B09DF46C
|
|
|
|
unsafeCheck: true
|
|
|
|
MASTER_WRITE:
|
|
# Detect prerendered cutscenes
|
|
-
|
|
type: asm_a64
|
|
main_offset: 0xB1A810
|
|
instructions: [
|
|
[b, 0xb31be8]
|
|
]
|
|
-
|
|
type: asm_a64
|
|
main_offset: 0xB31BE8
|
|
instructions: [
|
|
[str, x19, [sp, -0x20], "!"],
|
|
[mov, w1, 1],
|
|
[adrp, x19, 0x24e7000],
|
|
[str, w1, [x19, 0xff0]],
|
|
[mov, x19, x0],
|
|
[mov, w0, 0xca00],
|
|
[movk, w0, 0x3b9a, 16],
|
|
[svc, 0xb],
|
|
[mov, x0, x19],
|
|
[b, 0xb1a814]
|
|
]
|
|
-
|
|
type: asm_a64
|
|
main_offset: 0xB1A9BC
|
|
instructions: [
|
|
[b, 0xb31c10]
|
|
]
|
|
-
|
|
type: asm_a64
|
|
main_offset: 0xB31C10
|
|
instructions: [
|
|
[mov, w1, wzr],
|
|
[adrp, x2, 0x24e7000],
|
|
[str, w1, [x2, 0xff0]],
|
|
[b, 0xb24ec0]
|
|
]
|
|
ALL_FPS:
|
|
# Internal FPS Lock
|
|
-
|
|
type: evaluate_write
|
|
address: [MAIN, 0x1EC6CF0, 0x4C]
|
|
value_type: float
|
|
value: "FPS_LOCK_TARGET"
|
|
-
|
|
type: compare
|
|
compare_type: "=="
|
|
compare_value_type: uint32
|
|
compare_value: 1
|
|
compare_address: [MAIN, 0x24E7FF0]
|
|
address: [MAIN]
|
|
value_type: refresh_rate
|
|
value: 30
|