Add support to define function signatures in gamedata
A "Functions" section is parsed in gamedata files that allow you to define the signature of functions including metadata like the calling convention and specifying the register an argument is passed in. A new native DHookCreateFromConf can be used to setup a hook or detour from one of that function sections in the "Functions" section.
This commit is contained in:
@@ -121,6 +121,7 @@
|
||||
<ClCompile Include="..\extension.cpp" />
|
||||
<ClCompile Include="..\listeners.cpp" />
|
||||
<ClCompile Include="..\natives.cpp" />
|
||||
<ClCompile Include="..\signatures.cpp" />
|
||||
<ClCompile Include="..\util.cpp" />
|
||||
<ClCompile Include="..\vhook.cpp" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
<ClCompile Include="..\DynamicHooks\conventions\x86MsThiscall.cpp">
|
||||
<Filter>DynamicHooks\conventions</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\signatures.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\extension.h">
|
||||
|
||||
Reference in New Issue
Block a user