diff --git a/BepInEx.Core/BepInEx.Core.csproj b/BepInEx.Core/BepInEx.Core.csproj
index 8507948..4b208a9 100644
--- a/BepInEx.Core/BepInEx.Core.csproj
+++ b/BepInEx.Core/BepInEx.Core.csproj
@@ -8,7 +8,7 @@
-
+
diff --git a/BepInEx.Preloader.Core/BepInEx.Preloader.Core.csproj b/BepInEx.Preloader.Core/BepInEx.Preloader.Core.csproj
index c6ee1d4..06e3b9f 100644
--- a/BepInEx.Preloader.Core/BepInEx.Preloader.Core.csproj
+++ b/BepInEx.Preloader.Core/BepInEx.Preloader.Core.csproj
@@ -8,7 +8,7 @@
-
+
diff --git a/README.md b/README.md
index 3c397aa..920037f 100644
--- a/README.md
+++ b/README.md
@@ -58,14 +58,14 @@ A more comprehensive comparison list of features and compatibility is available
## Used libraries
- [NeighTools/UnityDoorstop](https://github.com/NeighTools/UnityDoorstop) - v4.0.0
-- [BepInEx/HarmonyX](https://github.com/BepInEx/HarmonyX) - v2.10.0
+- [BepInEx/HarmonyX](https://github.com/BepInEx/HarmonyX) - v2.10.1
- [0x0ade/MonoMod](https://github.com/0x0ade/MonoMod) - v22.5.1.1
- [jbevain/cecil](https://github.com/jbevain/cecil) - v0.10.4
#### IL2CPP libraries
- [SamboyCoding/Cpp2IL](https://github.com/SamboyCoding/Cpp2IL) - v2022.0.7.2
-- [BepInEx/Il2CppInterop](https://github.com/BepInEx/Il2CppInterop) - v1.3.0
+- [BepInEx/Il2CppInterop](https://github.com/BepInEx/Il2CppInterop) - v1.4.0
- [BepInEx/dotnet-runtime](https://github.com/BepInEx/dotnet-runtime) - v6.0.7
## License
diff --git a/Runtimes/NET/BepInEx.NET.Common/BepInEx.NET.Common.csproj b/Runtimes/NET/BepInEx.NET.Common/BepInEx.NET.Common.csproj
index 2e1873b..a93ecf2 100644
--- a/Runtimes/NET/BepInEx.NET.Common/BepInEx.NET.Common.csproj
+++ b/Runtimes/NET/BepInEx.NET.Common/BepInEx.NET.Common.csproj
@@ -6,7 +6,7 @@
-
+
diff --git a/Runtimes/NET/BepInEx.NET.Framework.Launcher/BepInEx.NET.Framework.Launcher.csproj b/Runtimes/NET/BepInEx.NET.Framework.Launcher/BepInEx.NET.Framework.Launcher.csproj
index 93e6ee2..5e5fe96 100644
--- a/Runtimes/NET/BepInEx.NET.Framework.Launcher/BepInEx.NET.Framework.Launcher.csproj
+++ b/Runtimes/NET/BepInEx.NET.Framework.Launcher/BepInEx.NET.Framework.Launcher.csproj
@@ -14,7 +14,7 @@
-
+
diff --git a/Runtimes/Unity/BepInEx.Unity.IL2CPP/BepInEx.Unity.IL2CPP.csproj b/Runtimes/Unity/BepInEx.Unity.IL2CPP/BepInEx.Unity.IL2CPP.csproj
index f06a929..a5cfaa0 100644
--- a/Runtimes/Unity/BepInEx.Unity.IL2CPP/BepInEx.Unity.IL2CPP.csproj
+++ b/Runtimes/Unity/BepInEx.Unity.IL2CPP/BepInEx.Unity.IL2CPP.csproj
@@ -13,12 +13,12 @@
-
+
-
-
+
+
-
+
diff --git a/Runtimes/Unity/BepInEx.Unity.IL2CPP/Hook/Il2CppInteropDetourProvider.cs b/Runtimes/Unity/BepInEx.Unity.IL2CPP/Hook/Il2CppInteropDetourProvider.cs
index 822bda3..b7d7cfa 100644
--- a/Runtimes/Unity/BepInEx.Unity.IL2CPP/Hook/Il2CppInteropDetourProvider.cs
+++ b/Runtimes/Unity/BepInEx.Unity.IL2CPP/Hook/Il2CppInteropDetourProvider.cs
@@ -22,6 +22,8 @@ internal class Il2CppInteropDetour : IDetour
public void Apply() => detour.Apply();
+ public T GenerateTrampoline() where T : Delegate => detour.GenerateTrampoline();
+
public nint Target => detour.OriginalMethodPtr;
public nint Detour => detour.DetourMethodPtr;
public nint OriginalTrampoline => detour.TrampolinePtr;
diff --git a/Runtimes/Unity/BepInEx.Unity.Mono.Preloader/BepInEx.Unity.Mono.Preloader.csproj b/Runtimes/Unity/BepInEx.Unity.Mono.Preloader/BepInEx.Unity.Mono.Preloader.csproj
index b935733..58887aa 100644
--- a/Runtimes/Unity/BepInEx.Unity.Mono.Preloader/BepInEx.Unity.Mono.Preloader.csproj
+++ b/Runtimes/Unity/BepInEx.Unity.Mono.Preloader/BepInEx.Unity.Mono.Preloader.csproj
@@ -16,6 +16,6 @@
-
+
diff --git a/Runtimes/Unity/BepInEx.Unity.Mono/BepInEx.Unity.Mono.csproj b/Runtimes/Unity/BepInEx.Unity.Mono/BepInEx.Unity.Mono.csproj
index 5cdafb5..26086e1 100644
--- a/Runtimes/Unity/BepInEx.Unity.Mono/BepInEx.Unity.Mono.csproj
+++ b/Runtimes/Unity/BepInEx.Unity.Mono/BepInEx.Unity.Mono.csproj
@@ -16,7 +16,7 @@
-
+