adg icon indicating copy to clipboard operation
adg copied to clipboard

Implemented: Generic Support for Methods in UnhollowerUtils

Open Sewer56 opened this issue 2 years ago • 2 comments

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.

Sewer56 avatar May 30 '22 22:05 Sewer56

Would really like to see this merged 👍

doombubbles avatar Aug 04 '22 18:08 doombubbles

any updates about this getting merged?

hemisemidemipresent avatar Nov 10 '22 12:11 hemisemidemipresent