


#include "windows.h"
#define WeaponMgr 0xA69120
#define wallclass 0xA6910C
#define NoReload 0x269C
void MatheusGtx(){
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD pWallClass = *(DWORD*)(CShell + wallclass);
DWORD dwCShell = (DWORD)GetModuleHandleA("CShell.dll");
if(pWallClass) {
for(int i = 0;i<64;i++) {
*(float*)(pWallClass+(i*0x04F4)+0x4E8) = true;//shoot throught wall
*(float*)(pWallClass+(i*0x04F4)+0x4EC) = true;//shoot throught wall
*(float*)(pWallClass+(i*0x04F4)+0x4F0) = true;//shoot throught wall
}
}
if (pWeaponMgr){
for(int i=0; i<577; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoReload) = 100.0f;//no reload
}
}
}
}
void HackEngine(){
DWORD CShell = NULL;
do{CShell = (DWORD)GetModuleHandleA("CShell.dll"); Sleep(100);} while (CShell == NULL);
while(1){ MatheusGtx(); Sleep(100); }
}
extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved){
if(fdwReason == DLL_PROCESS_ATTACH){
DisableThreadLibraryCalls(hinstDLL);
MessageBoxA(0, "Here the credits","", 0);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)HackEngine, NULL, NULL, NULL);
return true;
}
return false;
}
