First draft of dynamic detours using Ayuto's DynamicHooks library
https://github.com/Ayuto/DynamicHooks
This commit is contained in:
@@ -2,9 +2,13 @@
|
||||
#define _INCLUDE_UTIL_FUNCTIONS_H_
|
||||
|
||||
#include "vhook.h"
|
||||
#include "convention.h"
|
||||
|
||||
size_t GetParamOffset(HookParamsStruct *params, unsigned int index);
|
||||
void * GetObjectAddr(HookParamType type, unsigned int flags, void **params, size_t offset);
|
||||
size_t GetParamTypeSize(HookParamType type);
|
||||
size_t GetParamsSize(DHooksCallback *dg);
|
||||
|
||||
DataType_t DynamicHooks_ConvertParamTypeFrom(HookParamType type);
|
||||
DataType_t DynamicHooks_ConvertReturnTypeFrom(ReturnType type);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user