source: Daodan/Daodan_Patch.h@ 269

Last change on this file since 269 was 269, checked in by rossy, 16 years ago

Daodan WIP

File size: 461 bytes
Line 
1#pragma once
2#ifndef DAODAN_PATCH_H
3#define DAODAN_PATCH_H
4
5#include <stdbool.h>
6
7#define DDrPatch_Const(d, c) DDrPatch_String(d, c, sizeof(c))
8
9bool DDrPatch_MakeJump(void* from, void* to);
10bool DDrPatch_MakeCall(void* from, void* to);
11bool DDrPatch_String(char* dest, const char* string, int length);
12bool DDrPatch_Byte(char* dest, char value);
13bool DDrPatch_Int32(int* dest, int value);
14bool DDrPatch_Int16(short* dest, short value);
15
16#endif
Note: See TracBrowser for help on using the repository browser.