I recently started learning RE and other stuff.
I use Tsearch MHS ArtMoney CheatEngine to look up addresses and offsets (base address for example).
I am now quite good in C++ but still, I need to learn a lot(ex polymorphism,vectors,and other crazy stuff)
There some aimbot source on several sites, they all refer to one source:

LINK: ****[dot]net/forum/31-c-c-programming/82510-aimbot-tut.html
there even more sites with this example source code.
Here some pastebin of it:

I know its outdated, PEEK and POKE can be done now by ReadProcessMemory and WriteProcessMemory.
But now the question:
How do I know what is the Base address of the "Host" ( how to look for it?) and how to look for (offset) "the gap between players" ?
Also I dont understand the parameter PLAYER_DATA GetPlayerData(BYTE PlayerNum), how does the program know what is the PlayerNum?
As I said it is outdated but I want to understand at least these thing I stated.
I know that today's aimbots use WorldToScreen functions to convert 3D to 2D,and work with entities or textures.
Thanks anyways







