Skip to content

Instantly share code, notes, and snippets.


bstaint/dmcrack.cpp Secret

Last active Dec 10, 2017
What would you like to do?
#include <tchar.h>
#include <Windows.h>
#include "dmcrack.h"
int patch()
TCHAR addr[50] = { 0 };
auto patched = (BYTE *)GetModuleHandle(_T("dm.dll")) + 0x1063D0;
_stprintf(addr, _T("addr = 0x%x"), (DWORD)patched);
*patched = 1;
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment