
#include <Windows.h>
#define WeaponMgr 0xA974A0
#define WallMgr 0xA9748C
DWORD WINAPI Hacks (LPVOID)
{
bool shootthroughwall = true;
while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWallMgr = *(PDWORD)(CShell+WallMgr);
DWORD pWeaponMgr = *(PDWORD)(CShell+WeaponMgr);
if(shootthroughwall)
{
if(pWeaponMgr)
{
for(int i=0; i<64; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WallMgr))+(4*i))) != NULL)
*(bool*)((*(DWORD*)((CShell)+WallMgr))+(i*0x4F4)+ 0x4E8) = true;
*(bool*)((*(DWORD*)((CShell)+WallMgr))+(i*0x4F4)+ 0x4EC) = true;
*(bool*)((*(DWORD*)((CShell)+WallMgr))+(i*0x4F4)+ 0x4F0) = true;
}
}
}
Sleep(25);
// rest of code