/windows-timescale-hook

Hooks for timescale-related exports in winmm and kernel32

Primary LanguageC++MIT LicenseMIT

windows-timescale-hook

After being injected into a target process, windows-timescale-hook.dll hooks various functions existing in kernel32.dll and winmm.dll that measure absolute and relative time intervals. It can be used to modify the timescale of any process that directly or indirectly invokes any of the functions noted below.

Hooks

Usage

  1. Clone this repository and its submodules.
  2. Use premake to generate the project files.
  3. Compile the submodules within the /dependencies folder.
  4. Move Detours.lib into the project's root directory.
  5. Optionally modify the fRateModifier float value then compile the project.
  6. Inject the compiled DLL into the target process of your choice 💸