using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using Microsoft.CodeAnalysis;
using Reptile;
using UnityEngine;
using UnityEngine.SceneManagement;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETFramework,Version=v4.6", FrameworkDisplayName = "")]
[assembly: AssemblyCompany("WoodzRunFast")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("Increased run speed for Bomb Rush Cyberfunk")]
[assembly: AssemblyFileVersion("0.0.1.0")]
[assembly: AssemblyInformationalVersion("0.0.1")]
[assembly: AssemblyProduct("WoodzRunFast")]
[assembly: AssemblyTitle("WoodzRunFast")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("0.0.1.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
internal sealed class EmbeddedAttribute : Attribute
{
}
}
namespace System.Runtime.CompilerServices
{
[CompilerGenerated]
[Microsoft.CodeAnalysis.Embedded]
[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
internal sealed class RefSafetyRulesAttribute : Attribute
{
public readonly int Version;
public RefSafetyRulesAttribute(int P_0)
{
Version = P_0;
}
}
}
namespace woodzrunfast
{
[BepInPlugin("info.mariobluegloves.woodzrunfast", "Run Fast", "0.0.1")]
[BepInProcess("Bomb Rush Cyberfunk.exe")]
public class RunFastWoodz : BaseUnityPlugin
{
private void Awake()
{
((BaseUnityPlugin)this).Logger.LogInfo((object)"Move Faster, Pokey!");
}
}
[BepInPlugin("info.mariobluegloves.woodzrunfastp", "Run Fast", "0.0.1")]
[BepInProcess("Bomb Rush Cyberfunk.exe")]
public class ToggleRunFastPlugin : BaseUnityPlugin
{
private const double S = 13.5;
private bool sceneLoaded = false;
private void Awake()
{
SceneManager.sceneLoaded += OnSceneLoaded;
}
private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
sceneLoaded = true;
}
private void Update()
{
//IL_0048: Unknown result type (might be due to invalid IL or missing references)
//IL_004d: Unknown result type (might be due to invalid IL or missing references)
if (!sceneLoaded)
{
return;
}
GameObject val = GameObject.Find("Player_HUMAN0");
if ((Object)(object)val != (Object)null)
{
Player component = val.GetComponent<Player>();
if ((Object)(object)component != (Object)null)
{
component.runSpeedModifier = 13.5f;
Scene activeScene = SceneManager.GetActiveScene();
Debug.Log((object)("Run speed increased for Player_HUMAN0's Player in scene: " + ((Scene)(ref activeScene)).name));
sceneLoaded = false;
}
}
}
}
}