# The Settlers: New Allies 1.0.0
# BID: 254DF6A118587EA0

unsafeCheck: true

MASTER_WRITE:
  # Redirect FPS Lock to float MAIN+B4DC000, frametime and DR target to float MAIN+B4DC004
  -
    type: bytes
    main_offset: 0x368BA0
    value_type: uint32
    value: 
      - 0x90058BA8
      - 0xBD4C0100
      - 0xBD4C0508
  -
    type: bytes
    main_offset: 0x32C5524
    value_type: uint32
    value: 
      - 0xF00410A0
      - 0xBD4C0400
  # Default values
  -
    type: bytes
    main_offset: 0xB4DC000
    value_type: float
    value: [30, 0.0333333333]
15FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [15, 0.0666666666]
20FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [20, 0.05]
25FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [25, 0.04]
30FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [30, 0.0333333333]
35FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [35, 0.028571]
40FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [40, 0.025]
45FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [45, 0.0222222222]
50FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [50, 0.02]
55FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [55, 0.0181818181]
60FPS:
  -
    type: write
    address: [MAIN, 0xB4DC000]
    value_type: float
    value: [60, 0.0166666666]
