# Hogwarts Legacy 1.0.4
# BID: 2980E59C32A0E147

unsafeCheck: true

ALL_FPS:
  # r.DynamicRes.FrameTimeBudget = 1000/FPS cutted to 2 decimals
  -
    type: evaluate_write
    address: [MAIN, 0xA42B688, 0]
    value_type: float
    value: ["TruncDec(FRAMETIME_TARGET, 2)", "TruncDec(FRAMETIME_TARGET, 2)"]
  # t.MaxFPS
  -
    type: evaluate_write
    address: [MAIN, 0xA45F3A0, 0]
    value_type: float
    value: [FPS_LOCK_TARGET, FPS_LOCK_TARGET]
  # r.VSync
  -
    type: write
    address: [MAIN, 0x9C0DEC0, 0]
    value_type: uint32
    value: [0, 0]
  -
    type: block
    what: timing