# No Man's Sky 5.5.8
# BID: FB1995474546F7C0

unsafeCheck: true

MASTER_WRITE:
  # Redirect DR frametime target to MAIN+0x4B90FF0
  # REF: 08 4E A8 52 00 01 27 1E 48 8F A8 52, ADRP + ADD + LDR above that
  -
    type: bytes
    main_offset: 0x201C7F8
    value_type: uint32
    value:
      - 0x90015BA9 # adrp x9, #0x4b90000
      - 0xBD4FF120 # ldr s0, [x9, #0xff0]
      - 0xD503201F # NOP
  # default value
  -
    type: bytes
    main_offset: 0x4B90FF0
    value_type: float
    value: 30
ALL_FPS:
  -
    type: evaluate_write
    address: [MAIN, 0x4B90FF0]
    value_type: float
    value: FPS_TARGET