using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using BiggerGuns;
using BoneLib.BoneMenu;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using Il2CppSLZ.Marrow;
using MelonLoader;
using UnityEngine;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: MelonInfo(typeof(global::BiggerGuns.BiggerGuns), "BiggerGuns", "1.0.0", "VXGT", null)]
[assembly: MelonGame("Stress Level Zero", "BONELAB")]
[assembly: AssemblyTitle("BiggerGuns")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BiggerGuns")]
[assembly: AssemblyCopyright("Copyright © 2026")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("97b85687-30f2-4e1d-8a33-4918d76fea34")]
[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 BiggerGuns;
public class BiggerGuns : MelonMod
{
public static Page MyModPage;
public int cursize = 2;
public override void OnInitializeMelon()
{
//IL_000b: Unknown result type (might be due to invalid IL or missing references)
//IL_0026: Unknown result type (might be due to invalid IL or missing references)
MyModPage = Page.Root.CreatePage("BiggerGuns", Color.white, 0, true);
MyModPage.CreateInt("Bigger Guns", Color.white, 2, 1, 1, 10, (Action<int>)delegate(int value)
{
cursize = value;
});
}
public override void OnUpdate()
{
//IL_003a: Unknown result type (might be due to invalid IL or missing references)
//IL_008c: Unknown result type (might be due to invalid IL or missing references)
Il2CppArrayBase<Gun> val = Object.FindObjectsOfType<Gun>();
Il2CppArrayBase<FlyingGun> val2 = Object.FindObjectsOfType<FlyingGun>();
foreach (FlyingGun item in val2)
{
((Component)item).transform.localScale = new Vector3((float)cursize, (float)cursize, (float)cursize);
}
foreach (Gun item2 in val)
{
((Component)item2).transform.localScale = new Vector3((float)cursize, (float)cursize, (float)cursize);
}
}
}