#include <windows.h>
#include <iostream>
#include <fstream>
using namespace std;
#define WeaponMgr 0xAAC3D0
int StartHack()
{
while(GetModuleHandleA("CShell.dll") == 0){Sleep(100); }
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
if(fdwReason == DLL_PROCESS_ATTACH){
StartHack(); // xtrap DETECTED if you CreateThread
}
return TRUE;
}
#include <windows.h>
#define WeaponMgr 0xAAC3D0
#define NoReload 0x26A4
bool noreload = true;
void Hacks()
{
while(1)
{
while(GetModuleHandleA("CShell.dll") == 0){Sleep(100); }
for (;;){
__asm pushad;
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
while(1)
{
if (noreload)
{
if (pWeaponMgr)
{
for(int i=0; i<576; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + NoReload) = 100;
}
}
}
}
__asm popad;
}
}
}
BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
if(fdwReason == DLL_PROCESS_ATTACH){
Hacks();
}
return true;
}
