--- Daodan/src/Daodan_Patch.h 2013/03/04 15:52:19 689 +++ Daodan/src/Daodan_Patch.h 2014/03/16 20:06:52 983 @@ -1,8 +1,7 @@ -#pragma once #ifndef DAODAN_PATCH_H #define DAODAN_PATCH_H -#include "bool.h" +#include "stdint.h" #define DDrPatch_Const(d, c) DDrPatch_String(d, c, sizeof(c)) @@ -10,6 +9,7 @@ bool DDrPatch_MakeJump(void* from, void* to); bool DDrPatch_MakeCall(void* from, void* to); +void* DDrPatch_MakeDetour(void* from, void* to); bool DDrPatch_String(char* dest, const unsigned char* string, int length); bool DDrPatch_Byte(char* dest, unsigned char value); bool DDrPatch_Int32(int* dest, unsigned int value);