# Assassin's Creed The Rebel Collection - Assassin's Creed Rogue 1.0.0
# BID: 3DEF0E36AA8C6592

unsafeCheck: true

MASTER_WRITE:
# Patch code to divide last frametime by float scale factor stored in MAIN+0x61EE400
# To match it to Dynamic Resolution calculations
  -
    type: bytes
    main_offset: 0x9F1DDC
    value_type: uint32
    value:
      - 0xB002BFE8
      - 0xBD440101
# Write default dynamic resolution timing factor
  -
    type: bytes
    main_offset: 0x61EE400
    value_type: float
    value: 1000
ALL_FPS:
  -
    type: evaluate_write
    address: [MAIN, 0x61EE400]
    value_type: float
    value: "(FPS_TARGET / 30) * 1000"
