# Othercide 1.3.0.5
# BID: A8BA2A8F93AAE647

unsafeCheck: true

MASTER_WRITE:
  # Redirect DynamicResolutionManager$$Update Timing to be read from MAIN+0x72C6500
  -
    type: bytes
    main_offset: 0x2B0188C
    value_type: uint32
    value: 
      - 0xB0023E28
      - 0xBD450101
  # Write default value
  -
    type: bytes
    main_offset: 0x72C6500
    value_type: float
    value: 41
ALL_FPS:
  # Game's priority is resolution over framerate with factor 1.23, I am changing that to 0.97
  -
    type: evaluate_write
    address: [MAIN, 0x72C6500]
    value_type: float
    value: "0.97 * FRAMETIME_TARGET"