



#include <windows.h>
#include <stdio.h>
int Speedhack=0;
DWORD CShellBase = (DWORD) GetModuleHandle("cshell.dll");
DWORD SpeedHack = CShellBase + 0x5BE458;
void Speed()
{
while(1){
if(GetAsyncKeyState(38)&1){ // 38 is the UP arrow
Speedhack++;
if(Speedhack > 2){Speedhack=1;};
}
if (Speedhack==1){ // Faster
*(DWORD*)(*(DWORD*)SpeedHack) = 0x46A29CE8;
*(DWORD*)((*(DWORD*)SpeedHack) + 0x20) = 0x46A29CE8;
}
if(Speedhack==2){ // Normal Speed Value
*(DWORD*)(*(DWORD*)SpeedHack) = 0x45938DF8;
*(DWORD*)((*(DWORD*)SpeedHack) + 0x20) = 0x45938DF8;
}
Sleep(100);
}
}
BOOL WINAPI DllMain(HINSTANCE module, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBox(NULL, "CF Hack By _corn_\nMade for MPGH", "CF Hack", MB_OK);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Speed, NULL, NULL, NULL);
}
return TRUE;
}
char Msg[] = {'M','a','d','e',' ','b','y',' ','N','e','e','c','h','a','n',',0 };
char Title[] = {'N','e','c','h','a','n',' ','v','1','0',0 };