Try to actually understand what you are doing first, what you are looking for and how to do these things.
ESP:
- Find Entity List
- Find what type the entities are; Player/Item/Vehicle/CarePackage
- Figure out what method of drawing you wish to use 2D/3D boxes, name esp, distance esp etc
- Hook into D3D and render your method of drawing to the device D3D Render Target
Aimbot
- Find Entity List
- Find all players and their bones
- Perform the calculations to find the player and move your crosshair to it.
Chams
- I'm not too sure on this one, though Chams are only a thing in games where they have already been implemented by
the developer, in PUBG's case you can turn on Chams when spectating, which means there is a function you can call
which you should look more into, this function could; call the chams on all players in the entitylist, or it could take an
entity as a parameter to show that entity specifically.