# TRANSFORMERS: EARTHSPARK - Expedition 1.0.5
# BID: F87BEAF2C5CE13E3
# Game is using double frontbuffer and single backbuffer, everything is hardcoded

unsafeCheck: true

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