I was wondering if anyone here knows how the maphacks are implemented and how do they exactly work? I've tried to find some information on google, but without success.
No idea. I work as software developer and try to improve my skills in all directions. I'm not thinking about making a version just for training and skills improvement and private use, eventually help to people who are willing to help.
You could download a maphack for diablo 2 (Not d2r) and take a look at it/reverse engineer
this but a couple basic ways are read the memory and find an object you want and plot a line to it on an overlay (probably the safest and what autum does in classic d2) or find the game seed and the map layout algorithm and manually compute it yourself or find the map draw call and force it to draw the map.