#include <windows.h>
#include <detours.h>
//----------------------------------------//
#define WeaponMgr 0xAABD88 ;
#define WDamage 0x7F8 ;
//----------------------------------------//
float BDamage = 5000.0f;
//----------------------------------------//
int __fastcall BagiCash(void)
{ return 0; }
DWORD WINAPI CitindoHack(LPVOID param){
while (1) {
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
if (GetAsyncKeyState(VK_F4)&1){
if (pWeaponMgr) {
for(int i=0; i<445; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WDamage) = BDamage; } }
MessageBeep(1);
BagiCash(); }
{ Sleep(50); } } return(0); }
bool Laper() {
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0; }
BOOL WINAPI DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpvReserved) {
if(dwReason == DLL_PROCESS_ATTACH){
while(!Laper()) Sleep(50);}
else {
MessageBox(0, "Failed","", MB_OK | MB_ICONINFORMATION);
ExitProcess(0); }
CreateThread(NULL, NULL, CitindoHack, NULL, NULL, NULL);
return TRUE; }