Please disclose if your mod was created primarily using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Decompiled source of InvertYMod v1.0.0
InvertYMod.dll
Decompiled a year agousing System.Diagnostics; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Runtime.Versioning; using BepInEx; using BepInEx.Logging; using HarmonyLib; using UnityEngine; [assembly: CompilationRelaxations(8)] [assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] [assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)] [assembly: AssemblyTitle("InvertYMod")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("InvertYMod")] [assembly: AssemblyCopyright("Copyright © 2025")] [assembly: AssemblyTrademark("")] [assembly: ComVisible(false)] [assembly: Guid("45c78344-eb16-4585-ac6d-9bf036522c90")] [assembly: AssemblyFileVersion("1.0.0.0")] [assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] [assembly: AssemblyVersion("1.0.0.0")] namespace InvertYMod; [BepInPlugin("Bobbossa.REPOInvertYMod", "InvertYMod", "0.1")] [BepInProcess("REPO.exe")] public class InvertYMod : BaseUnityPlugin { private const string modGUID = "Bobbossa.REPOInvertYMod"; private const string modName = "InvertYMod"; private const string modVersion = "0.1"; private readonly Harmony harmony = new Harmony("Bobbossa.REPOInvertYMod"); private static InvertYMod Instance; internal ManualLogSource mls; private void Awake() { if ((Object)(object)Instance == (Object)null) { Instance = this; } mls = Logger.CreateLogSource("Bobbossa.REPOInvertYMod"); mls.LogInfo((object)"InvertYMod has awoken."); harmony.PatchAll(); } } [HarmonyPatch(typeof(InputManager))] internal class InvertYPatch { [HarmonyPatch("GetMouseY")] [HarmonyPostfix] private static void GetInvertedMouseY(ref float __result) { __result *= -1f; } }