For the first release of cod7 thanks goes to Tamimego ( differently the first guy hacked the game )
Drawing:
R_AddDrawStretchPic
[PHP]int __cdecl sub_6EA5B0(int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10)
{
return sub_6EA440(a1, a2, COERCE_INT(1.0), a3, a4, a5, a6, a7, a8, a9, a10);
} [/PHP]
Code:
void (__cdecl *R_AddDrawStretchPic)(float x, float y, float w, float h, float s1, float t1, float s2, float t2, vec3_t color, qhandle_t hShader) = (void (__cdecl *)(float, float, float, float, float, float, float, float, vec3_t, qhandle_t ))0x6EA5B0;
ClientFrame call your esp/aimbot hire
[PHP]void __cdecl sub_4CA8C0(int a1, int a2) [/PHP]
Code:
struct struct_a2
{
BYTE f0[16];
DWORD dword10;
DWORD dword14;
};
void (*orig_CL_ClientFrame)( int size,struct_a2* a2 );
void CL_ClientFrame( int size, struct_a2* a2 )
{
orig_CL_ClientFrame( size, a2 );
}
DetourFunction((PBYTE)0x4CA8C0,(PBYTE)&CL_ClientFrame);
__asm mov [ orig_CL_ClientFrame ], eax;
others
CG_Obituary:
[PHP]int __usercall sub_7C96F0<eax>(int a1<eax>, int a2)[/PHP]
CG_FireWeapon:
[PHP]int __cdecl sub_43DA80(int a1, int a2, int a3, int a4, unsigned int a5, int a6, char a7)[/PHP]
CG_FireWeaponRecoil:
[PHP]void __cdecl sub_643F60(int a1, int a2, int a3, int a4) [/PHP]
CG_DrawBulletImpacts:
[PHP]int __cdecl sub_7F62B0(int a1, int a2, unsigned __int16 a3, int a4, int a5, int a6, char a7) [/PHP]
R_RenderScene:
[PHP]signed int __cdecl sub_6DF8F0(int a1, int a2) [/PHP]