#ifndef __PATCH_H__ #define __PATCH_H__ #include #include #include typedef unsigned long DWORD; void patch_memory(uint64_t patch_addr, char *data, size_t len); char *getDllData(const char *dllFilename, DWORD *dllSize); #endif