#include <windows.h>
void please_get_all_hacks_patched()
{
unsigned long cshell_needs_to_be_protected = (unsigned long)(GetModuleHandle("CShell.dll"));
unsigned long weapon_hacks_are_so_annoying = *(unsigned long*)(cshell+0xAAC3D0);
if(weapon_hacks_are_so_annoying!=0)
{
for(int i=0;i<601;i++)
{
unsigned long weapons_are_too_easy_to_modify = *(unsigned long*)(weapon_hacks_are_so_annoying+(i*4));
if(weapons_are_too_easy_to_modify!=0)
{
*(float*)(weapons_are_too_easy_to_modify+0x26A4)=100.0f;
}
}
}
}
int common_way_to_run_function()
{
please_get_all_hacks_patched();
return true;
}
void _stdcall DllMain(HMODULE hDll, unsigned long dwReason, LPVOID lpReserved)
{
if (dwReason == 1)
{
common_way_to_run_function()();
}
if (dwReason == 0)
{
}
}