BepInEx / Il2CppInterop

A tool interoperate between CoreCLR and Il2Cpp at runtime
GNU Lesser General Public License v3.0
185 stars 59 forks source link

[Generator] Add a way to preserve the Cpp2IlInjected.AddressAttribute attributes #98

Closed slxdy closed 1 year ago

slxdy commented 1 year ago

Il2CppInterop does not save function offsets and instead forces the user to use il2cpp exports to get function pointers. By preserving the Cpp2IL attribute, you'd not have to rely on the runtime functions to hook an il2cpp function.

slxdy commented 1 year ago

99