Code:
#include <iostream>
#include <windows.h>
using namespace std;
BYTE test [3] = {0x90, 0x90, 0x90,};
int main()
{
HWND window = NULL;
while(window == NULL)
{
window = FindWindow(NULL, "Fenster");
Sleep(500);
}
WriteProcessMemory(handle,(void*)(0x004687b1),&test,3,&puffer);
return 0;
}
Das zu Ersetzende war übrigens "8b 91 cc"