DWORD WINAPI Hack(LPVOID param) {
PDWORD Weapon = (PDWORD)(dwCShell + 0xA69120);
DWORD pWeaponMgr1 = *(DWORD*)(dwCShell + WeaponMgr);
bool norecoil = true;
if(norecoil == true)
{
if (pWeaponMgr1)
for(int i=0 ; i<601 ; i++)
{
DWORD Wep = *(DWORD*)(*Weapon + 4*i);
if(Wep)
{
for(int y = 0; y<9; y++)
{
*(float*)( Wep + (0x051C + (4*y))) = (float)0;//same "PerturbMin%d_%s"
*(float*)( Wep + (0x0684 + (4*y))) = (float)0;//same "PerturbMax%d_%s"
*(float*)( Wep + (0x192C + (4*y))) = (float)0;//same "BulletOffset" => second
*(float*)( Wep + (0x1B00 + (4*y))) = (float)0;//same "ShotReactPitch%d_%d" -8
*(float*)( Wep + (0x1F8C + (4*y))) = (float)0;//same "DetailPerturbShot%d_%s" -8
*(float*)( Wep + (0x20F4 + (4*y))) = (float)0;//same "DetailReactPitchShot%d_%s" -8
*(float*)( Wep + (0x225C + (4*y))) = (float)0;//same "DetailReactYawShot%d_%s" -8
}
}
}
}
}

#include <windows.h>
void hack()
{
DWORD _CShell = NULL;
while(_CShell==NULL)
{
_CShell = (DWORD)GetModuleHandleA("CShell.dll");
}
DWORD CShell = NULL;
DWORD Weapon = NULL;
DWORD pWeaponMgr = NULL;
bool norecoil = true;
while(1)
{
CShell = (DWORD)GetModuleHandleA("CShell.dll");
pWeaponMgr = *(DWORD*)(CShell + 0xA69120);
if (pWeaponMgr != NULL)
{
for(int i=0; i<576; i++)
{
Weapon = (*(DWORD*)(pWeaponMgr + (4*i)));
if(Weapon != NULL)
{
for(int y = 0; y<9; y++)
{
*(float*)( Weapon + (0x051C + (4*y))) = (float)0;//same "PerturbMin%d_%s"
*(float*)( Weapon + (0x0684 + (4*y))) = (float)0;//same "PerturbMax%d_%s"
*(float*)( Weapon + (0x192C + (4*y))) = (float)0;//same "BulletOffset" => second
*(float*)( Weapon + (0x1B00 + (4*y))) = (float)0;//same "ShotReactPitch%d_%d" -8
*(float*)( Weapon + (0x1F8C + (4*y))) = (float)0;//same "DetailPerturbShot%d_%s" -8
*(float*)( Weapon + (0x20F4 + (4*y))) = (float)0;//same "DetailReactPitchShot%d_%s" -8
*(float*)( Weapon + (0x225C + (4*y))) = (float)0;//same "DetailReactYawShot%d_%s" -8
}
}
}
}
}
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if(fdwReason==DLL_PROCESS_ATTACH)
{
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hack, NULL, NULL, NULL);
MessageBoxA(NULL, "Hack made by mustafafm", "Hack", MB_OK);
}
return TRUE; // succesful
}