How to change the implementation (detour) of an externally declared function
Yes you can do that, using the ReadProcessMemory and WriteProcessMemory functions to patch the code of the current process. Basically, you get the address of the procedure or function to patch and then insert a Jump instruction to the address of the new procedure. Check this code Uses uThirdParty; //this is the unit where the … Read more