using System; using System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using HarmonyLib; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)] [assembly: AssemblyTitle("Tabs Poof Mod")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Tabs Poof Mod")] [assembly: AssemblyCopyright("Copyright © 2026")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("8aad4f38-2ad4-4206-bf0b-7d28fb6d5c2e")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.7.2", FrameworkDisplayName = ".NET Framework 4.7.2")] [assembly: AssemblyVersion("1.0.0.0")] namespace ShowPossessUI; [BepInPlugin("tabs.bayturtleking.skillcontrolfix", "Skill Control Fix", "1.0.0")] [BepInDependency(/*Could not decode attribute arguments.*/)] public class Plugin : BaseUnityPlugin { private const string ourtargetmodguid = "com.skillcontrol.tabsmod"; private static readonly string[] thenamesofthepatched = new string[4] { "StartPossess", "UpdateCooldowns", "UpdateHealth", "EndPossess" }; private void Awake() { //IL_0005: Unknown result type (might be due to invalid IL or missing references) //IL_000b: Expected O, but got Unknown Harmony val = new Harmony("tabs.bayturtleking.skillcontrolfix"); string[] array = thenamesofthepatched; foreach (string text in array) { MethodInfo methodInfo = AccessTools.Method(typeof(CameraAbilityPossessUI), text, (Type[])null, (Type[])null); if (!(methodInfo == null)) { try { val.Unpatch((MethodBase)methodInfo, (HarmonyPatchType)1, "com.skillcontrol.tabsmod"); } catch (Exception) { } } } } }