Original Post
Hey guys, im trying to get an anticheat running for my game, however, i have hit a snag. I currently inject with some code that my friend has written, which basically injects some asm to execute the function, copy the arguments, and then copy back the return value of that function. At the moment we're having issues with it as it is a huge heap of code which is confusing to say the least. Is there any easy way to inject a dll (LoadLibraryA), and then execute two more functions which take structures as arguments, taking into account different dll load addressing, and then ensuring that the program uses the hooked functions rather than the normal API? Thanks