Skip to content

Example/Template for Function Hooking on X64 Platform Architecture

Notifications You must be signed in to change notification settings

Highflex/ExampleFunctionHookX64

Repository files navigation

Example Function Hooks for X64 Architecture

Example/Template Project to demonstrate hooking Program Functions under X64 Architecture using the latest Version of Microsoft Detours.

Features:

  • Hook Void and Type Function example
  • Modify and intercept Arguments
  • Signature Scanning to find Function Address
  • Ability to specify Function Address without Signature Scanning ( For fast testing )
  • Patch any Instructions in Target Program example
  • Hook and manipulate C++ Class Members and Virtual Functions example ( including ReClass Template )

Compiling:

  1. Clone Repository to your local machine.
  2. Open and Build Solution in Visual Studio 2022.
  3. Go to ExampleFunctionHookX64\x64\Debug and run your desired Test App.
  4. Execute SimpleInjector.exe and select Target Application to Inject the Example Hook DLLs into.
  5. Observe Modifications.

Motivation/Aim of Project:

  • Finding simple and clear Information on X64 Function Hooking is rather difficult, this Repository should simplify the Process for anyone getting started, beware that this example is just one of many ways to do this and is also not the most proficient code. Function Hooking plays a very important Role if you want to create Modifications for a closed-source Game.

Credits/Tools used:

About

Example/Template for Function Hooking on X64 Platform Architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published