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

Gradle Implementation vs API configuration

Gradle compile keyword was deprecated in favor of the api and implementation keywords to configure dependencies. Using api is the equivalent of using the deprecated compile, so if you replace all compile with api everything will works as always. To understand the implementation keyword consider the following example. EXAMPLE Suppose you have a library called … Read more