)player.dll+1CFF23

117
235




#include <windows.h>
#include <stdio.h>
#include <tlhelp32.h>
#include <tchar.h>
#include <string>
HWND hwnd;
DWORD pid;
HANDLE handle;
DWORD dw_no_recoil;
DWORD playerDLL;
BYTE b_no_recoil[2] = {0xEB, 0x7C};
DWORD getPlayer(DWORD pid) {
HANDLE hModuleSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pid);
MODULEENTRY32 me32;
me32.dwSize = sizeof(MODULEENTRY32);
for (;;) {
Module32Next(hModuleSnap, &me32);
std::string compare = me32.szModule;
printf("\n%s", me32.szModule);
if (compare == "player.dll") {
printf(" <<-- found you ^^\n");
break;
}
}
return (DWORD)me32.modBaseAddr;
}
int main() {
hwnd = FindWindowA(0, "H&G");
GetWindowThreadProcessId(hwnd, &pid);
handle = OpenProcess(PROCESS_VM_OPERATION | PROCESS_VM_READ | PROCESS_VM_WRITE, 0, pid);
if (handle) {
playerDLL = getPlayer(pid);
WriteProcessMemory(handle, (LPVOID)(playerDLL + 0x1CFF23), & b_no_recoil, 2, 0);
printf("there you go .. it should work now.\n");
} else printf("you downt have enough power to control this pc ^^\n");
printf("press enter 2x times to exit ...");
getchar();
return 0;
}

#include <windows.h>
#include <stdio.h>
#include <tlhelp32.h>
#include <tchar.h>
#include <string>
HWND hwnd;
DWORD pid;
HANDLE handle;
DWORD playerDLL;
BOOL bl_norecoil = FALSE;
BOOL bl_3rdview = FALSE;
BOOL bl_1stview_when_zoom = FALSE;
BOOL rmouse_down = FALSE;
DWORD getPlayer(DWORD pid) {
HANDLE hModuleSnap = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, pid);
MODULEENTRY32 me32;
me32.dwSize = sizeof(MODULEENTRY32);
for (;;) {
Module32Next(hModuleSnap, &me32);
std::string compare = me32.szModule;
printf("\n%s", me32.szModule);
if (compare == "player.dll") {
printf(" <<-- found you ^^\n");
break;
}
}
return (DWORD)me32.modBaseAddr;
}
int main() {
hwnd = FindWindowA(0, "H&G");
GetWindowThreadProcessId(hwnd, &pid);
handle = OpenProcess(PROCESS_VM_OPERATION | PROCESS_VM_READ | PROCESS_VM_WRITE, 0, pid);
if (handle) {
playerDLL = getPlayer(pid);
for (;; Sleep(10)) {
if (GetAsyncKeyState(VK_NUMPAD5) & 1) {
bl_norecoil = !bl_norecoil;
if (bl_norecoil == TRUE) {
WriteProcessMemory(handle, (LPVOID)(playerDLL + 0x1CFF23), &"\xEB\x7C", 2, 0);
printf("there you go .. no recoil should work now.\n");
} else {
WriteProcessMemory(handle, (LPVOID)(playerDLL + 0x1CFF23), &"\x75\x7C", 2, 0);
printf("no recoil disabled.\n");
}
} else if (GetAsyncKeyState(VK_NUMPAD4) & 1) {
bl_3rdview = !bl_3rdview;
if (bl_3rdview == TRUE) {
WriteProcessMemory(handle, (LPVOID)(playerDLL + 0x1C00A9), &"\xC6\x86\xDF\x00\x00\x00\x08", 7, 0);
printf("there you go .. 3-rd person look should work now.\n");
} else {
WriteProcessMemory(handle, (LPVOID)(playerDLL + 0x1C00A9), &"\xF6\x86\xDF\x00\x00\x00\x04", 7, 0);
printf("3-rd person look disabled.\n");
}
} else if (GetAsyncKeyState(VK_NUMPAD6) & 1) {
if (bl_3rdview == TRUE) {
bl_1stview_when_zoom = !bl_1stview_when_zoom;
if (bl_1stview_when_zoom == TRUE) {
printf("there you go .. 1-rd person look when aim enabled.\n");
} else {
printf("1-rd person look when aim disabled.\n");
}
} else printf("enable 3-rd person look first.\n");
}
if (GetAsyncKeyState(VK_RBUTTON) & 0x8000) {
if (bl_3rdview == TRUE && rmouse_down == FALSE) {
rmouse_down = TRUE;
WriteProcessMemory(handle, (LPVOID)(playerDLL + 0x1C00A9), &"\xF6\x86\xDF\x00\x00\x00\x04", 7, 0);
}
} else if (bl_3rdview == TRUE && rmouse_down == TRUE) {
rmouse_down = FALSE;
WriteProcessMemory(handle, (LPVOID)(playerDLL + 0x1C00A9), &"\xC6\x86\xDF\x00\x00\x00\x08", 7, 0);
}
}
} else printf("you downt have enough power to control this pc ^^\n");
printf("press enter 2x times to exit ...");
getchar();
return 0;
}