mirror of
https://github.com/Ultra-NX/UltraNX.git
synced 2025-09-11 11:08:35 +00:00
42 lines
826 B
YAML
42 lines
826 B
YAML
# PROJECT ZERO: Mask of the Lunar Eclipse West 1.0.3
|
|
# BID: 0248DC99035AD28A
|
|
|
|
DECLARATIONS:
|
|
-
|
|
type: variable
|
|
name: min_delta
|
|
value_type: float
|
|
default_value: 0.0333333333
|
|
evaluate: "1 / FPS_TARGET"
|
|
-
|
|
type: variable
|
|
name: fps_lock
|
|
value_type: uint32
|
|
default_value: 33333333
|
|
evaluate: "1000000000 / FPS_TARGET"
|
|
MASTER_WRITE:
|
|
# Redirect min delta
|
|
# REF: 00 D9 21 7E 28 19 20 1E
|
|
-
|
|
type: asm_a64
|
|
main_offset: 0x16D9B4
|
|
instructions: [
|
|
[adrp, x27, $min_delta],
|
|
[ldr, s8, [x27, $min_delta]]
|
|
]
|
|
# Redirect FPS Lock
|
|
# REF: 69 B2 40 B9 0A 40 99 52
|
|
-
|
|
type: asm_a64
|
|
main_offset: 0x16DDD0
|
|
instructions: [
|
|
[adrp, x9, $fps_lock],
|
|
[ldr, w9, [x9, $fps_lock]],
|
|
[nop],
|
|
[nop]
|
|
]
|
|
ALL_FPS:
|
|
-
|
|
type: block
|
|
what: timing
|