This is the code Fleep uses to access the starting point of Assault Cube.
He needs this information because the enemy base pointer is referenced from the start of the program, instead of a simple static address.
MyProcess.MainModule.BaseAddress.ToInt32() + 0x000E4E08;
I am working on a hack in C++ and I am curious if I should be going about this in a similar fashion. My current code is a derivative of Fleep's dll tutorial which means (I think) that my dll does not know where the start of the program is. Any hints?