adg
adg copied to clipboard
Implemented: Generic Support for Methods in UnhollowerUtils
This simple patch adds support for fetching Generic methods via the GetIl2CppMethodInfoPointerFieldForGeneratedMethod
API inside UnhollowerUtils
.
Not much to say here, no API changes.
I implemented this in order to allow 3rd party libraries such as HarmonyX (in MelonLoader) to be able to successfully hook generic methods.
[Previously GetIl2CppMethodInfoPointerFieldForGeneratedMethod
would return null and generic methods were not hookable.
Would really like to see this merged 👍
any updates about this getting merged?