2025-09-05 17:12:01 +03:00

37 lines
846 B
YAML

# Assassin's Creed: The Ezio Collection - Assassin's Creed Brotherhood 1.3
# BID: 2B59D6C677258A2A
# Scenes exclusively 2D are tied to framerate, so at 60 FPS they are 2x faster.
unsafeCheck: true
MASTER_WRITE:
# Patch code to multiply last frametime by float scale factor stored in MAIN+0x4276B00
# To match it to Dynamic Resolution calculations
-
type: asm_a64
main_offset: 0xBDBE44
instructions: [
[adrp, x8, 0x4276000],
[ldr, s0, [x8, 0xb00]]
]
-
type: asm_a64
main_offset: 0xBDBE58
instructions: [
[fmul, s0, s8, s0],
[nop]
]
# Write default dynamic resolution timing factor
-
type: bytes
main_offset: 0x4276B00
value_type: float
value: 1
ALL_FPS:
-
type: evaluate_write
address: [MAIN, 0x4276B00]
value_type: float
value: "FPS_TARGET / 30"