DOES THIS MAKE ANY SENSE?
Code:
#include "windows.h"
#include <iostream>
DWORD WINAPI Hacks(LPVOID)
{
bool oneshot = false;
bool norepeatreload = false;
bool gunkniferange = false;
bool unlimitedammo = false;
while(1)
{
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");
if(oneshot);
{
for(int i=0 ; i<445 ; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0xA0B280 ))+(4*i))) + 0x7F8) = 999999999 ;
}
}
}
}
if(norepeatreload);
{
for(int i=0 ; i<445 ; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0xA0B280))+(4*i))) + 0xA44) = 999999999 ;
}
}
if(gunkniferange);
{
for(int i=0 ; i<445 ; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0xA0B280 ))+(4*i))) + 0x2530) = 999999999 ;
}
}
if(unlimitedammo);
{
for(int i=0 ; i<445 ; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + 0xA0B280 ))+(4*i))) + 0x7FC) = 999999999 ;
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "Injected", "Good luck" , 0);
}
return true;
}


