This is where the "magic" happens. The hack intercepts the DirectX or GDI drawing calls.
Notifying the hacker whenever an enemy clicked a location or unit (even in fog). dota 1 maphack work
Revealing invisible units, illusions (marked differently), and hero icons on the minimap. This is where the "magic" happens