3
0
mirror of https://github.com/CrazyRedMachine/popnhax.git synced 2024-12-18 07:55:52 +01:00
popnhax/util/patch.h
CrazyRedMachine 698e9c5476 Omnimix v2
2023-02-10 20:33:37 +01:00

13 lines
275 B
C

#ifndef __PATCH_H__
#define __PATCH_H__
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
typedef unsigned long DWORD;
void patch_memory(uint64_t patch_addr, char *data, size_t len);
char *getDllData(const char *dllFilename, DWORD *dllSize);
#endif