CS:GO wallhack achieved by patching one byte of game memory. Written in Python 3.
This does the same as r_drawothermodels 2 command but without touching the cvar, so it's VAC - safe.
This program patches assembly code produced by compiling the following line of the game code:
int extraFlags = 0;
if ( r_drawothermodels.GetInt() == 2 )
{
extraFlags |= STUDIO_WIREFRAME;
}
The r_drawothermodels check is modified to make the if
expression evaluate to true when r_drawothermodels cvar is set to default value (1).