using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Configuration;
using GameplayEntities;
using HarmonyLib;
using LLHandlers;
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("more inputs")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("more inputs")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")]
[assembly: ComVisible(false)]
[assembly: Guid("5c20c053-f176-4014-ae15-bc82b0e60192")]
[assembly: AssemblyFileVersion("1.0.5.0")]
[assembly: TargetFramework(".NETFramework,Version=v4.5", FrameworkDisplayName = ".NET Framework 4.5")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.5.0")]
[module: UnverifiableCode]
namespace gravityBallReal;
[BepInPlugin("us.wallace.plugins.llb.gravityBallReal", "Grav Ball Plug-In", "1.0.5.0")]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInDependency(/*Could not decode attribute arguments.*/)]
[BepInProcess("LLBlaze.exe")]
public class Plugin : BaseUnityPlugin
{
public static ConfigEntry<bool> controllerMode;
private void Awake()
{
//IL_0017: Unknown result type (might be due to invalid IL or missing references)
//IL_001d: Expected O, but got Unknown
((BaseUnityPlugin)this).Logger.LogDebug((object)"Patching Grav Ball...");
Harmony val = new Harmony("us.wallace.plugins.llb.gravityBallReal");
val.PatchAll(typeof(BallEntityUpdateStatePatch));
}
private void Start()
{
}
}
internal class BallEntityUpdateStatePatch
{
[HarmonyPatch(typeof(BallEntity), "UpdateState")]
[HarmonyPrefix]
public static bool UpdateState_Prefix(BallEntity __instance)
{
//IL_0007: Unknown result type (might be due to invalid IL or missing references)
//IL_000c: Unknown result type (might be due to invalid IL or missing references)
//IL_000f: Unknown result type (might be due to invalid IL or missing references)
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001b: Unknown result type (might be due to invalid IL or missing references)
//IL_0021: Invalid comparison between Unknown and I4
//IL_0055: Unknown result type (might be due to invalid IL or missing references)
//IL_005a: Unknown result type (might be due to invalid IL or missing references)
//IL_005f: Unknown result type (might be due to invalid IL or missing references)
//IL_0064: Unknown result type (might be due to invalid IL or missing references)
//IL_0076: Unknown result type (might be due to invalid IL or missing references)
//IL_007b: Unknown result type (might be due to invalid IL or missing references)
//IL_007d: Unknown result type (might be due to invalid IL or missing references)
//IL_007f: Unknown result type (might be due to invalid IL or missing references)
//IL_0081: Unknown result type (might be due to invalid IL or missing references)
//IL_00fc: Expected I4, but got Unknown
//IL_0037: Unknown result type (might be due to invalid IL or missing references)
//IL_003c: Unknown result type (might be due to invalid IL or missing references)
//IL_0041: Unknown result type (might be due to invalid IL or missing references)
//IL_0046: Unknown result type (might be due to invalid IL or missing references)
//IL_010d: Unknown result type (might be due to invalid IL or missing references)
//IL_0118: Unknown result type (might be due to invalid IL or missing references)
//IL_011d: Unknown result type (might be due to invalid IL or missing references)
//IL_0122: Unknown result type (might be due to invalid IL or missing references)
//IL_0132: Unknown result type (might be due to invalid IL or missing references)
//IL_0141: Unknown result type (might be due to invalid IL or missing references)
//IL_01e0: Unknown result type (might be due to invalid IL or missing references)
//IL_01e5: Unknown result type (might be due to invalid IL or missing references)
//IL_01f8: Unknown result type (might be due to invalid IL or missing references)
//IL_01fd: Unknown result type (might be due to invalid IL or missing references)
//IL_0202: Unknown result type (might be due to invalid IL or missing references)
//IL_0207: Unknown result type (might be due to invalid IL or missing references)
//IL_0212: Unknown result type (might be due to invalid IL or missing references)
//IL_0221: Unknown result type (might be due to invalid IL or missing references)
//IL_0426: Unknown result type (might be due to invalid IL or missing references)
//IL_042b: Unknown result type (might be due to invalid IL or missing references)
//IL_043e: Unknown result type (might be due to invalid IL or missing references)
//IL_0443: Unknown result type (might be due to invalid IL or missing references)
//IL_0448: Unknown result type (might be due to invalid IL or missing references)
//IL_044d: Unknown result type (might be due to invalid IL or missing references)
//IL_0458: Unknown result type (might be due to invalid IL or missing references)
//IL_0467: Unknown result type (might be due to invalid IL or missing references)
//IL_049e: Unknown result type (might be due to invalid IL or missing references)
//IL_04a3: Unknown result type (might be due to invalid IL or missing references)
//IL_04ba: Unknown result type (might be due to invalid IL or missing references)
//IL_04c0: Invalid comparison between Unknown and I4
//IL_054c: Unknown result type (might be due to invalid IL or missing references)
//IL_0552: Invalid comparison between Unknown and I4
//IL_0643: Unknown result type (might be due to invalid IL or missing references)
//IL_0649: Invalid comparison between Unknown and I4
//IL_0733: Unknown result type (might be due to invalid IL or missing references)
//IL_0739: Invalid comparison between Unknown and I4
//IL_0824: Unknown result type (might be due to invalid IL or missing references)
//IL_082a: Invalid comparison between Unknown and I4
//IL_0915: Unknown result type (might be due to invalid IL or missing references)
//IL_091b: Invalid comparison between Unknown and I4
//IL_0a2a: Unknown result type (might be due to invalid IL or missing references)
//IL_0a2f: Unknown result type (might be due to invalid IL or missing references)
//IL_0a31: Unknown result type (might be due to invalid IL or missing references)
//IL_0a34: Unknown result type (might be due to invalid IL or missing references)
//IL_0a39: Unknown result type (might be due to invalid IL or missing references)
//IL_0a3e: Unknown result type (might be due to invalid IL or missing references)
//IL_0a42: Unknown result type (might be due to invalid IL or missing references)
//IL_0a51: Unknown result type (might be due to invalid IL or missing references)
//IL_0acd: Unknown result type (might be due to invalid IL or missing references)
//IL_0ad3: Invalid comparison between Unknown and I4
//IL_0bb5: Unknown result type (might be due to invalid IL or missing references)
//IL_0bbb: Invalid comparison between Unknown and I4
//IL_0cbc: Unknown result type (might be due to invalid IL or missing references)
//IL_0cd4: Unknown result type (might be due to invalid IL or missing references)
//IL_0cd9: Unknown result type (might be due to invalid IL or missing references)
//IL_0cdd: Unknown result type (might be due to invalid IL or missing references)
//IL_0cdf: Unknown result type (might be due to invalid IL or missing references)
//IL_0e57: Unknown result type (might be due to invalid IL or missing references)
//IL_0e5d: Invalid comparison between Unknown and I4
//IL_0f25: Unknown result type (might be due to invalid IL or missing references)
//IL_0f2b: Invalid comparison between Unknown and I4
//IL_1016: Unknown result type (might be due to invalid IL or missing references)
//IL_101c: Invalid comparison between Unknown and I4
//IL_10fa: Unknown result type (might be due to invalid IL or missing references)
//IL_1100: Unknown result type (might be due to invalid IL or missing references)
//IL_1105: Unknown result type (might be due to invalid IL or missing references)
//IL_110a: Unknown result type (might be due to invalid IL or missing references)
//IL_110f: Unknown result type (might be due to invalid IL or missing references)
//IL_1114: Unknown result type (might be due to invalid IL or missing references)
//IL_1124: Unknown result type (might be due to invalid IL or missing references)
//IL_112a: Unknown result type (might be due to invalid IL or missing references)
//IL_112f: Unknown result type (might be due to invalid IL or missing references)
//IL_1168: Unknown result type (might be due to invalid IL or missing references)
//IL_1179: Unknown result type (might be due to invalid IL or missing references)
//IL_117f: Invalid comparison between Unknown and I4
//IL_1247: Unknown result type (might be due to invalid IL or missing references)
//IL_124d: Invalid comparison between Unknown and I4
//IL_0232: Unknown result type (might be due to invalid IL or missing references)
//IL_0238: Invalid comparison between Unknown and I4
//IL_05f3: Unknown result type (might be due to invalid IL or missing references)
//IL_05f9: Invalid comparison between Unknown and I4
//IL_056a: Unknown result type (might be due to invalid IL or missing references)
//IL_056f: Unknown result type (might be due to invalid IL or missing references)
//IL_0574: Unknown result type (might be due to invalid IL or missing references)
//IL_0579: Unknown result type (might be due to invalid IL or missing references)
//IL_0580: Unknown result type (might be due to invalid IL or missing references)
//IL_0581: Unknown result type (might be due to invalid IL or missing references)
//IL_0587: Unknown result type (might be due to invalid IL or missing references)
//IL_0597: Unknown result type (might be due to invalid IL or missing references)
//IL_059c: Unknown result type (might be due to invalid IL or missing references)
//IL_05a1: Unknown result type (might be due to invalid IL or missing references)
//IL_05a6: Unknown result type (might be due to invalid IL or missing references)
//IL_05ab: Unknown result type (might be due to invalid IL or missing references)
//IL_05b0: Unknown result type (might be due to invalid IL or missing references)
//IL_05bd: Unknown result type (might be due to invalid IL or missing references)
//IL_05c2: Unknown result type (might be due to invalid IL or missing references)
//IL_05ce: Unknown result type (might be due to invalid IL or missing references)
//IL_05df: Unknown result type (might be due to invalid IL or missing references)
//IL_05e0: Unknown result type (might be due to invalid IL or missing references)
//IL_05eb: Unknown result type (might be due to invalid IL or missing references)
//IL_05ec: Unknown result type (might be due to invalid IL or missing references)
//IL_06e9: Unknown result type (might be due to invalid IL or missing references)
//IL_06ef: Invalid comparison between Unknown and I4
//IL_0661: Unknown result type (might be due to invalid IL or missing references)
//IL_0666: Unknown result type (might be due to invalid IL or missing references)
//IL_066b: Unknown result type (might be due to invalid IL or missing references)
//IL_0670: Unknown result type (might be due to invalid IL or missing references)
//IL_0677: Unknown result type (might be due to invalid IL or missing references)
//IL_0678: Unknown result type (might be due to invalid IL or missing references)
//IL_067e: Unknown result type (might be due to invalid IL or missing references)
//IL_068d: Unknown result type (might be due to invalid IL or missing references)
//IL_0692: Unknown result type (might be due to invalid IL or missing references)
//IL_0697: Unknown result type (might be due to invalid IL or missing references)
//IL_069c: Unknown result type (might be due to invalid IL or missing references)
//IL_06a1: Unknown result type (might be due to invalid IL or missing references)
//IL_06a6: Unknown result type (might be due to invalid IL or missing references)
//IL_06b3: Unknown result type (might be due to invalid IL or missing references)
//IL_06b8: Unknown result type (might be due to invalid IL or missing references)
//IL_06c4: Unknown result type (might be due to invalid IL or missing references)
//IL_06d5: Unknown result type (might be due to invalid IL or missing references)
//IL_06d6: Unknown result type (might be due to invalid IL or missing references)
//IL_06e1: Unknown result type (might be due to invalid IL or missing references)
//IL_06e2: Unknown result type (might be due to invalid IL or missing references)
//IL_07da: Unknown result type (might be due to invalid IL or missing references)
//IL_07e0: Invalid comparison between Unknown and I4
//IL_0751: Unknown result type (might be due to invalid IL or missing references)
//IL_0756: Unknown result type (might be due to invalid IL or missing references)
//IL_075b: Unknown result type (might be due to invalid IL or missing references)
//IL_0760: Unknown result type (might be due to invalid IL or missing references)
//IL_0767: Unknown result type (might be due to invalid IL or missing references)
//IL_0768: Unknown result type (might be due to invalid IL or missing references)
//IL_076e: Unknown result type (might be due to invalid IL or missing references)
//IL_077e: Unknown result type (might be due to invalid IL or missing references)
//IL_0783: Unknown result type (might be due to invalid IL or missing references)
//IL_0788: Unknown result type (might be due to invalid IL or missing references)
//IL_078d: Unknown result type (might be due to invalid IL or missing references)
//IL_0792: Unknown result type (might be due to invalid IL or missing references)
//IL_0797: Unknown result type (might be due to invalid IL or missing references)
//IL_07a4: Unknown result type (might be due to invalid IL or missing references)
//IL_07a9: Unknown result type (might be due to invalid IL or missing references)
//IL_07b5: Unknown result type (might be due to invalid IL or missing references)
//IL_07c6: Unknown result type (might be due to invalid IL or missing references)
//IL_07c7: Unknown result type (might be due to invalid IL or missing references)
//IL_07d2: Unknown result type (might be due to invalid IL or missing references)
//IL_07d3: Unknown result type (might be due to invalid IL or missing references)
//IL_08cb: Unknown result type (might be due to invalid IL or missing references)
//IL_08d1: Invalid comparison between Unknown and I4
//IL_0842: Unknown result type (might be due to invalid IL or missing references)
//IL_0847: Unknown result type (might be due to invalid IL or missing references)
//IL_084c: Unknown result type (might be due to invalid IL or missing references)
//IL_0851: Unknown result type (might be due to invalid IL or missing references)
//IL_0858: Unknown result type (might be due to invalid IL or missing references)
//IL_0859: Unknown result type (might be due to invalid IL or missing references)
//IL_085f: Unknown result type (might be due to invalid IL or missing references)
//IL_086f: Unknown result type (might be due to invalid IL or missing references)
//IL_0874: Unknown result type (might be due to invalid IL or missing references)
//IL_0879: Unknown result type (might be due to invalid IL or missing references)
//IL_087e: Unknown result type (might be due to invalid IL or missing references)
//IL_0883: Unknown result type (might be due to invalid IL or missing references)
//IL_0888: Unknown result type (might be due to invalid IL or missing references)
//IL_0895: Unknown result type (might be due to invalid IL or missing references)
//IL_089a: Unknown result type (might be due to invalid IL or missing references)
//IL_08a6: Unknown result type (might be due to invalid IL or missing references)
//IL_08b7: Unknown result type (might be due to invalid IL or missing references)
//IL_08b8: Unknown result type (might be due to invalid IL or missing references)
//IL_08c3: Unknown result type (might be due to invalid IL or missing references)
//IL_08c4: Unknown result type (might be due to invalid IL or missing references)
//IL_09bc: Unknown result type (might be due to invalid IL or missing references)
//IL_09c2: Invalid comparison between Unknown and I4
//IL_0933: Unknown result type (might be due to invalid IL or missing references)
//IL_0938: Unknown result type (might be due to invalid IL or missing references)
//IL_093d: Unknown result type (might be due to invalid IL or missing references)
//IL_0942: Unknown result type (might be due to invalid IL or missing references)
//IL_0949: Unknown result type (might be due to invalid IL or missing references)
//IL_094a: Unknown result type (might be due to invalid IL or missing references)
//IL_0950: Unknown result type (might be due to invalid IL or missing references)
//IL_0960: Unknown result type (might be due to invalid IL or missing references)
//IL_0965: Unknown result type (might be due to invalid IL or missing references)
//IL_096a: Unknown result type (might be due to invalid IL or missing references)
//IL_096f: Unknown result type (might be due to invalid IL or missing references)
//IL_0974: Unknown result type (might be due to invalid IL or missing references)
//IL_0979: Unknown result type (might be due to invalid IL or missing references)
//IL_0986: Unknown result type (might be due to invalid IL or missing references)
//IL_098b: Unknown result type (might be due to invalid IL or missing references)
//IL_0997: Unknown result type (might be due to invalid IL or missing references)
//IL_09a8: Unknown result type (might be due to invalid IL or missing references)
//IL_09a9: Unknown result type (might be due to invalid IL or missing references)
//IL_09b4: Unknown result type (might be due to invalid IL or missing references)
//IL_09b5: Unknown result type (might be due to invalid IL or missing references)
//IL_0b74: Unknown result type (might be due to invalid IL or missing references)
//IL_0b7a: Invalid comparison between Unknown and I4
//IL_0aeb: Unknown result type (might be due to invalid IL or missing references)
//IL_0af0: Unknown result type (might be due to invalid IL or missing references)
//IL_0af5: Unknown result type (might be due to invalid IL or missing references)
//IL_0afa: Unknown result type (might be due to invalid IL or missing references)
//IL_0b01: Unknown result type (might be due to invalid IL or missing references)
//IL_0b02: Unknown result type (might be due to invalid IL or missing references)
//IL_0b08: Unknown result type (might be due to invalid IL or missing references)
//IL_0b18: Unknown result type (might be due to invalid IL or missing references)
//IL_0b1d: Unknown result type (might be due to invalid IL or missing references)
//IL_0b22: Unknown result type (might be due to invalid IL or missing references)
//IL_0b27: Unknown result type (might be due to invalid IL or missing references)
//IL_0b2c: Unknown result type (might be due to invalid IL or missing references)
//IL_0b31: Unknown result type (might be due to invalid IL or missing references)
//IL_0b3e: Unknown result type (might be due to invalid IL or missing references)
//IL_0b43: Unknown result type (might be due to invalid IL or missing references)
//IL_0b4f: Unknown result type (might be due to invalid IL or missing references)
//IL_0b60: Unknown result type (might be due to invalid IL or missing references)
//IL_0b61: Unknown result type (might be due to invalid IL or missing references)
//IL_0b6c: Unknown result type (might be due to invalid IL or missing references)
//IL_0b6d: Unknown result type (might be due to invalid IL or missing references)
//IL_0c63: Unknown result type (might be due to invalid IL or missing references)
//IL_0c69: Invalid comparison between Unknown and I4
//IL_0bda: Unknown result type (might be due to invalid IL or missing references)
//IL_0bdf: Unknown result type (might be due to invalid IL or missing references)
//IL_0be4: Unknown result type (might be due to invalid IL or missing references)
//IL_0be9: Unknown result type (might be due to invalid IL or missing references)
//IL_0bf0: Unknown result type (might be due to invalid IL or missing references)
//IL_0bf1: Unknown result type (might be due to invalid IL or missing references)
//IL_0bf7: Unknown result type (might be due to invalid IL or missing references)
//IL_0c07: Unknown result type (might be due to invalid IL or missing references)
//IL_0c0c: Unknown result type (might be due to invalid IL or missing references)
//IL_0c11: Unknown result type (might be due to invalid IL or missing references)
//IL_0c16: Unknown result type (might be due to invalid IL or missing references)
//IL_0c1b: Unknown result type (might be due to invalid IL or missing references)
//IL_0c20: Unknown result type (might be due to invalid IL or missing references)
//IL_0c2d: Unknown result type (might be due to invalid IL or missing references)
//IL_0c32: Unknown result type (might be due to invalid IL or missing references)
//IL_0c3e: Unknown result type (might be due to invalid IL or missing references)
//IL_0c4f: Unknown result type (might be due to invalid IL or missing references)
//IL_0c50: Unknown result type (might be due to invalid IL or missing references)
//IL_0c5b: Unknown result type (might be due to invalid IL or missing references)
//IL_0c5c: Unknown result type (might be due to invalid IL or missing references)
//IL_0f05: Unknown result type (might be due to invalid IL or missing references)
//IL_0f0b: Invalid comparison between Unknown and I4
//IL_0e75: Unknown result type (might be due to invalid IL or missing references)
//IL_0e7a: Unknown result type (might be due to invalid IL or missing references)
//IL_0e7f: Unknown result type (might be due to invalid IL or missing references)
//IL_0e84: Unknown result type (might be due to invalid IL or missing references)
//IL_0e8b: Unknown result type (might be due to invalid IL or missing references)
//IL_0e8c: Unknown result type (might be due to invalid IL or missing references)
//IL_0e92: Unknown result type (might be due to invalid IL or missing references)
//IL_0ea2: Unknown result type (might be due to invalid IL or missing references)
//IL_0ea7: Unknown result type (might be due to invalid IL or missing references)
//IL_0eac: Unknown result type (might be due to invalid IL or missing references)
//IL_0eb1: Unknown result type (might be due to invalid IL or missing references)
//IL_0eb6: Unknown result type (might be due to invalid IL or missing references)
//IL_0ebb: Unknown result type (might be due to invalid IL or missing references)
//IL_0ec8: Unknown result type (might be due to invalid IL or missing references)
//IL_0ecd: Unknown result type (might be due to invalid IL or missing references)
//IL_0ed9: Unknown result type (might be due to invalid IL or missing references)
//IL_0eea: Unknown result type (might be due to invalid IL or missing references)
//IL_0eeb: Unknown result type (might be due to invalid IL or missing references)
//IL_0ef6: Unknown result type (might be due to invalid IL or missing references)
//IL_0ef7: Unknown result type (might be due to invalid IL or missing references)
//IL_0fcc: Unknown result type (might be due to invalid IL or missing references)
//IL_0fd2: Invalid comparison between Unknown and I4
//IL_0f43: Unknown result type (might be due to invalid IL or missing references)
//IL_0f48: Unknown result type (might be due to invalid IL or missing references)
//IL_0f4d: Unknown result type (might be due to invalid IL or missing references)
//IL_0f52: Unknown result type (might be due to invalid IL or missing references)
//IL_0f59: Unknown result type (might be due to invalid IL or missing references)
//IL_0f5a: Unknown result type (might be due to invalid IL or missing references)
//IL_0f60: Unknown result type (might be due to invalid IL or missing references)
//IL_0f70: Unknown result type (might be due to invalid IL or missing references)
//IL_0f75: Unknown result type (might be due to invalid IL or missing references)
//IL_0f7a: Unknown result type (might be due to invalid IL or missing references)
//IL_0f7f: Unknown result type (might be due to invalid IL or missing references)
//IL_0f84: Unknown result type (might be due to invalid IL or missing references)
//IL_0f89: Unknown result type (might be due to invalid IL or missing references)
//IL_0f96: Unknown result type (might be due to invalid IL or missing references)
//IL_0f9b: Unknown result type (might be due to invalid IL or missing references)
//IL_0fa7: Unknown result type (might be due to invalid IL or missing references)
//IL_0fb8: Unknown result type (might be due to invalid IL or missing references)
//IL_0fb9: Unknown result type (might be due to invalid IL or missing references)
//IL_0fc4: Unknown result type (might be due to invalid IL or missing references)
//IL_0fc5: Unknown result type (might be due to invalid IL or missing references)
//IL_10c4: Unknown result type (might be due to invalid IL or missing references)
//IL_10ca: Invalid comparison between Unknown and I4
//IL_1034: Unknown result type (might be due to invalid IL or missing references)
//IL_1039: Unknown result type (might be due to invalid IL or missing references)
//IL_103e: Unknown result type (might be due to invalid IL or missing references)
//IL_1043: Unknown result type (might be due to invalid IL or missing references)
//IL_104a: Unknown result type (might be due to invalid IL or missing references)
//IL_104b: Unknown result type (might be due to invalid IL or missing references)
//IL_1051: Unknown result type (might be due to invalid IL or missing references)
//IL_1061: Unknown result type (might be due to invalid IL or missing references)
//IL_1066: Unknown result type (might be due to invalid IL or missing references)
//IL_106b: Unknown result type (might be due to invalid IL or missing references)
//IL_1070: Unknown result type (might be due to invalid IL or missing references)
//IL_1075: Unknown result type (might be due to invalid IL or missing references)
//IL_107a: Unknown result type (might be due to invalid IL or missing references)
//IL_1087: Unknown result type (might be due to invalid IL or missing references)
//IL_108c: Unknown result type (might be due to invalid IL or missing references)
//IL_1098: Unknown result type (might be due to invalid IL or missing references)
//IL_10a9: Unknown result type (might be due to invalid IL or missing references)
//IL_10aa: Unknown result type (might be due to invalid IL or missing references)
//IL_10b5: Unknown result type (might be due to invalid IL or missing references)
//IL_10b6: Unknown result type (might be due to invalid IL or missing references)
//IL_114c: Unknown result type (might be due to invalid IL or missing references)
//IL_1151: Unknown result type (might be due to invalid IL or missing references)
//IL_1156: Unknown result type (might be due to invalid IL or missing references)
//IL_1227: Unknown result type (might be due to invalid IL or missing references)
//IL_122d: Invalid comparison between Unknown and I4
//IL_1197: Unknown result type (might be due to invalid IL or missing references)
//IL_119c: Unknown result type (might be due to invalid IL or missing references)
//IL_11a1: Unknown result type (might be due to invalid IL or missing references)
//IL_11a6: Unknown result type (might be due to invalid IL or missing references)
//IL_11ad: Unknown result type (might be due to invalid IL or missing references)
//IL_11ae: Unknown result type (might be due to invalid IL or missing references)
//IL_11b4: Unknown result type (might be due to invalid IL or missing references)
//IL_11c4: Unknown result type (might be due to invalid IL or missing references)
//IL_11c9: Unknown result type (might be due to invalid IL or missing references)
//IL_11ce: Unknown result type (might be due to invalid IL or missing references)
//IL_11d3: Unknown result type (might be due to invalid IL or missing references)
//IL_11d8: Unknown result type (might be due to invalid IL or missing references)
//IL_11dd: Unknown result type (might be due to invalid IL or missing references)
//IL_11ea: Unknown result type (might be due to invalid IL or missing references)
//IL_11ef: Unknown result type (might be due to invalid IL or missing references)
//IL_11fb: Unknown result type (might be due to invalid IL or missing references)
//IL_120c: Unknown result type (might be due to invalid IL or missing references)
//IL_120d: Unknown result type (might be due to invalid IL or missing references)
//IL_1218: Unknown result type (might be due to invalid IL or missing references)
//IL_1219: Unknown result type (might be due to invalid IL or missing references)
//IL_12ee: Unknown result type (might be due to invalid IL or missing references)
//IL_12f4: Invalid comparison between Unknown and I4
//IL_1265: Unknown result type (might be due to invalid IL or missing references)
//IL_126a: Unknown result type (might be due to invalid IL or missing references)
//IL_126f: Unknown result type (might be due to invalid IL or missing references)
//IL_1274: Unknown result type (might be due to invalid IL or missing references)
//IL_127b: Unknown result type (might be due to invalid IL or missing references)
//IL_127c: Unknown result type (might be due to invalid IL or missing references)
//IL_1282: Unknown result type (might be due to invalid IL or missing references)
//IL_1292: Unknown result type (might be due to invalid IL or missing references)
//IL_1297: Unknown result type (might be due to invalid IL or missing references)
//IL_129c: Unknown result type (might be due to invalid IL or missing references)
//IL_12a1: Unknown result type (might be due to invalid IL or missing references)
//IL_12a6: Unknown result type (might be due to invalid IL or missing references)
//IL_12ab: Unknown result type (might be due to invalid IL or missing references)
//IL_12b8: Unknown result type (might be due to invalid IL or missing references)
//IL_12bd: Unknown result type (might be due to invalid IL or missing references)
//IL_12c9: Unknown result type (might be due to invalid IL or missing references)
//IL_12da: Unknown result type (might be due to invalid IL or missing references)
//IL_12db: Unknown result type (might be due to invalid IL or missing references)
//IL_12e6: Unknown result type (might be due to invalid IL or missing references)
//IL_12e7: Unknown result type (might be due to invalid IL or missing references)
//IL_017b: Unknown result type (might be due to invalid IL or missing references)
//IL_0181: Invalid comparison between Unknown and I4
//IL_023b: Unknown result type (might be due to invalid IL or missing references)
//IL_0241: Invalid comparison between Unknown and I4
//IL_0611: Unknown result type (might be due to invalid IL or missing references)
//IL_061c: Unknown result type (might be due to invalid IL or missing references)
//IL_0622: Unknown result type (might be due to invalid IL or missing references)
//IL_0628: Unknown result type (might be due to invalid IL or missing references)
//IL_062d: Unknown result type (might be due to invalid IL or missing references)
//IL_0632: Unknown result type (might be due to invalid IL or missing references)
//IL_0637: Unknown result type (might be due to invalid IL or missing references)
//IL_0707: Unknown result type (might be due to invalid IL or missing references)
//IL_0712: Unknown result type (might be due to invalid IL or missing references)
//IL_0718: Unknown result type (might be due to invalid IL or missing references)
//IL_071d: Unknown result type (might be due to invalid IL or missing references)
//IL_0722: Unknown result type (might be due to invalid IL or missing references)
//IL_0727: Unknown result type (might be due to invalid IL or missing references)
//IL_07f8: Unknown result type (might be due to invalid IL or missing references)
//IL_0803: Unknown result type (might be due to invalid IL or missing references)
//IL_0809: Unknown result type (might be due to invalid IL or missing references)
//IL_080e: Unknown result type (might be due to invalid IL or missing references)
//IL_0813: Unknown result type (might be due to invalid IL or missing references)
//IL_0818: Unknown result type (might be due to invalid IL or missing references)
//IL_08e9: Unknown result type (might be due to invalid IL or missing references)
//IL_08f4: Unknown result type (might be due to invalid IL or missing references)
//IL_08fa: Unknown result type (might be due to invalid IL or missing references)
//IL_08ff: Unknown result type (might be due to invalid IL or missing references)
//IL_0904: Unknown result type (might be due to invalid IL or missing references)
//IL_0909: Unknown result type (might be due to invalid IL or missing references)
//IL_09da: Unknown result type (might be due to invalid IL or missing references)
//IL_09e5: Unknown result type (might be due to invalid IL or missing references)
//IL_09eb: Unknown result type (might be due to invalid IL or missing references)
//IL_09f1: Unknown result type (might be due to invalid IL or missing references)
//IL_09f6: Unknown result type (might be due to invalid IL or missing references)
//IL_09fb: Unknown result type (might be due to invalid IL or missing references)
//IL_0a00: Unknown result type (might be due to invalid IL or missing references)
//IL_0b92: Unknown result type (might be due to invalid IL or missing references)
//IL_0b98: Unknown result type (might be due to invalid IL or missing references)
//IL_0b9d: Unknown result type (might be due to invalid IL or missing references)
//IL_0ba2: Unknown result type (might be due to invalid IL or missing references)
//IL_0c81: Unknown result type (might be due to invalid IL or missing references)
//IL_0c8c: Unknown result type (might be due to invalid IL or missing references)
//IL_0c92: Unknown result type (might be due to invalid IL or missing references)
//IL_0c98: Unknown result type (might be due to invalid IL or missing references)
//IL_0c9d: Unknown result type (might be due to invalid IL or missing references)
//IL_0ca2: Unknown result type (might be due to invalid IL or missing references)
//IL_0ca7: Unknown result type (might be due to invalid IL or missing references)
//IL_0cf6: Unknown result type (might be due to invalid IL or missing references)
//IL_0cfb: Unknown result type (might be due to invalid IL or missing references)
//IL_0d00: Unknown result type (might be due to invalid IL or missing references)
//IL_0d07: Unknown result type (might be due to invalid IL or missing references)
//IL_0d09: Unknown result type (might be due to invalid IL or missing references)
//IL_0fea: Unknown result type (might be due to invalid IL or missing references)
//IL_0ff5: Unknown result type (might be due to invalid IL or missing references)
//IL_0ffb: Unknown result type (might be due to invalid IL or missing references)
//IL_1000: Unknown result type (might be due to invalid IL or missing references)
//IL_1005: Unknown result type (might be due to invalid IL or missing references)
//IL_100a: Unknown result type (might be due to invalid IL or missing references)
//IL_130c: Unknown result type (might be due to invalid IL or missing references)
//IL_1317: Unknown result type (might be due to invalid IL or missing references)
//IL_131d: Unknown result type (might be due to invalid IL or missing references)
//IL_1322: Unknown result type (might be due to invalid IL or missing references)
//IL_1327: Unknown result type (might be due to invalid IL or missing references)
//IL_132c: Unknown result type (might be due to invalid IL or missing references)
//IL_0188: Unknown result type (might be due to invalid IL or missing references)
//IL_018e: Invalid comparison between Unknown and I4
//IL_0257: Unknown result type (might be due to invalid IL or missing references)
//IL_025c: Unknown result type (might be due to invalid IL or missing references)
//IL_026c: Unknown result type (might be due to invalid IL or missing references)
//IL_027f: Unknown result type (might be due to invalid IL or missing references)
//IL_0284: Unknown result type (might be due to invalid IL or missing references)
//IL_0289: Unknown result type (might be due to invalid IL or missing references)
//IL_028e: Unknown result type (might be due to invalid IL or missing references)
//IL_0a7c: Unknown result type (might be due to invalid IL or missing references)
//IL_0a8a: Unknown result type (might be due to invalid IL or missing references)
//IL_0a8f: Unknown result type (might be due to invalid IL or missing references)
//IL_0aa4: Unknown result type (might be due to invalid IL or missing references)
//IL_0aa9: Unknown result type (might be due to invalid IL or missing references)
//IL_02d4: Unknown result type (might be due to invalid IL or missing references)
//IL_02d9: Unknown result type (might be due to invalid IL or missing references)
//IL_02e9: Unknown result type (might be due to invalid IL or missing references)
//IL_02fc: Unknown result type (might be due to invalid IL or missing references)
//IL_0301: Unknown result type (might be due to invalid IL or missing references)
//IL_0306: Unknown result type (might be due to invalid IL or missing references)
//IL_030b: Unknown result type (might be due to invalid IL or missing references)
//IL_0310: Unknown result type (might be due to invalid IL or missing references)
//IL_0321: Unknown result type (might be due to invalid IL or missing references)
//IL_0326: Unknown result type (might be due to invalid IL or missing references)
//IL_0331: Unknown result type (might be due to invalid IL or missing references)
//IL_0341: Unknown result type (might be due to invalid IL or missing references)
//IL_02a5: Unknown result type (might be due to invalid IL or missing references)
//IL_02b8: Unknown result type (might be due to invalid IL or missing references)
//IL_02bd: Unknown result type (might be due to invalid IL or missing references)
//IL_02c2: Unknown result type (might be due to invalid IL or missing references)
//IL_02c7: Unknown result type (might be due to invalid IL or missing references)
//IL_02cc: Unknown result type (might be due to invalid IL or missing references)
//IL_0503: Unknown result type (might be due to invalid IL or missing references)
//IL_0512: Unknown result type (might be due to invalid IL or missing references)
//IL_0517: Unknown result type (might be due to invalid IL or missing references)
//IL_0522: Unknown result type (might be due to invalid IL or missing references)
//IL_0d20: Unknown result type (might be due to invalid IL or missing references)
//IL_0d25: Unknown result type (might be due to invalid IL or missing references)
//IL_0d2a: Unknown result type (might be due to invalid IL or missing references)
//IL_0d31: Unknown result type (might be due to invalid IL or missing references)
//IL_0d33: Unknown result type (might be due to invalid IL or missing references)
//IL_01a6: Unknown result type (might be due to invalid IL or missing references)
//IL_01ac: Invalid comparison between Unknown and I4
//IL_0357: Unknown result type (might be due to invalid IL or missing references)
//IL_035c: Unknown result type (might be due to invalid IL or missing references)
//IL_036c: Unknown result type (might be due to invalid IL or missing references)
//IL_037f: Unknown result type (might be due to invalid IL or missing references)
//IL_0384: Unknown result type (might be due to invalid IL or missing references)
//IL_0389: Unknown result type (might be due to invalid IL or missing references)
//IL_038e: Unknown result type (might be due to invalid IL or missing references)
//IL_0393: Unknown result type (might be due to invalid IL or missing references)
//IL_03a3: Unknown result type (might be due to invalid IL or missing references)
//IL_03a9: Invalid comparison between Unknown and I4
//IL_03f2: Unknown result type (might be due to invalid IL or missing references)
//IL_03fd: Unknown result type (might be due to invalid IL or missing references)
//IL_03b9: Unknown result type (might be due to invalid IL or missing references)
//IL_03c4: Unknown result type (might be due to invalid IL or missing references)
//IL_03d5: Unknown result type (might be due to invalid IL or missing references)
//IL_03da: Unknown result type (might be due to invalid IL or missing references)
//IL_0d4a: Unknown result type (might be due to invalid IL or missing references)
//IL_0d4f: Unknown result type (might be due to invalid IL or missing references)
//IL_0d54: Unknown result type (might be due to invalid IL or missing references)
//IL_0d5b: Unknown result type (might be due to invalid IL or missing references)
//IL_0d5d: Unknown result type (might be due to invalid IL or missing references)
//IL_0d74: Unknown result type (might be due to invalid IL or missing references)
//IL_0d79: Unknown result type (might be due to invalid IL or missing references)
//IL_0d7e: Unknown result type (might be due to invalid IL or missing references)
//IL_0d85: Unknown result type (might be due to invalid IL or missing references)
//IL_0d8a: Unknown result type (might be due to invalid IL or missing references)
//IL_0d8c: Unknown result type (might be due to invalid IL or missing references)
//IL_0d8e: Unknown result type (might be due to invalid IL or missing references)
//IL_0db9: Unknown result type (might be due to invalid IL or missing references)
//IL_0dc4: Unknown result type (might be due to invalid IL or missing references)
//IL_0dd4: Unknown result type (might be due to invalid IL or missing references)
//IL_0dd9: Unknown result type (might be due to invalid IL or missing references)
//IL_0dde: Unknown result type (might be due to invalid IL or missing references)
//IL_0de3: Unknown result type (might be due to invalid IL or missing references)
//IL_0de8: Unknown result type (might be due to invalid IL or missing references)
//IL_0ded: Unknown result type (might be due to invalid IL or missing references)
//IL_0dfd: Unknown result type (might be due to invalid IL or missing references)
//IL_0e04: Unknown result type (might be due to invalid IL or missing references)
//IL_0e09: Unknown result type (might be due to invalid IL or missing references)
//IL_0e0e: Unknown result type (might be due to invalid IL or missing references)
//IL_0da5: Unknown result type (might be due to invalid IL or missing references)
//IL_0da7: Unknown result type (might be due to invalid IL or missing references)
//IL_0e27: Unknown result type (might be due to invalid IL or missing references)
//IL_0e2c: Unknown result type (might be due to invalid IL or missing references)
//IL_0e31: Unknown result type (might be due to invalid IL or missing references)
//IL_0e41: Unknown result type (might be due to invalid IL or missing references)
//IL_0e46: Unknown result type (might be due to invalid IL or missing references)
//IL_0e4b: Unknown result type (might be due to invalid IL or missing references)
IBGCBLLKIHA velocity = ((EntityData)((GetHitBallEntity)__instance).ballData).velocity;
HHBCPNCDNDH gravityBallSpeed = ((IBGCBLLKIHA)(ref velocity)).BIJDJEBEJLL();
if ((int)((BouncingData)((GetHitBallEntity)__instance).ballData).ballState != 6)
{
BallData ballData = ((GetHitBallEntity)__instance).ballData;
((BouncingData)ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)ballData).timeSinceHit, World.FDELTA_TIME);
}
BallData ballData2 = ((GetHitBallEntity)__instance).ballData;
ballData2.stateTimer = HHBCPNCDNDH.GAFCIOAEGKD(ballData2.stateTimer, World.FDELTA_TIME);
__instance.UpdatePowerups();
BallState ballState = ((BouncingData)((GetHitBallEntity)__instance).ballData).ballState;
BallState val = ballState;
switch ((int)val)
{
case 0:
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, ((HitableData)((GetHitBallEntity)__instance).ballData).flySpeed);
break;
case 1:
case 2:
if (HHBCPNCDNDH.OCDKNPDIPOB(((GetHitBallEntity)__instance).ballData.stateTimer, HHBCPNCDNDH.NKKIFJJEPOL(0.5m)))
{
if (DebugSettings.instance.noPlayerServe)
{
((BouncableEntity)__instance).SetToTeam((BGHNEHPFHGC)4);
((BouncableEntity)__instance).SetBallState((BallState)3, (HitstunState)51);
}
if ((int)JOMBNFKIHIC.GIGAKBJGFDI.PNJOKAICMNN == 5 || (int)JOMBNFKIHIC.GIGAKBJGFDI.PNJOKAICMNN == 4)
{
((BouncableEntity)__instance).SetBallState((BallState)3, (HitstunState)51);
}
if ((int)((HitableEntity)__instance).GetTeam() != 4)
{
((BouncableEntity)__instance).SetBallState((BallState)4, (HitstunState)51);
}
((BouncableEntity)__instance).SetBallState((BallState)3, (HitstunState)51);
}
break;
case 3:
{
BallData ballData6 = ((GetHitBallEntity)__instance).ballData;
ballData6.glowRotation = HHBCPNCDNDH.GAFCIOAEGKD(ballData6.glowRotation, HHBCPNCDNDH.AJOCFFLIIIH(World.FDELTA_TIME, HHBCPNCDNDH.NKKIFJJEPOL(100.0m)));
if (!HHBCPNCDNDH.OCDKNPDIPOB(((GetHitBallEntity)__instance).ballData.stateTimer, HHBCPNCDNDH.NKKIFJJEPOL(0.5m)) || ((int)JOMBNFKIHIC.GIGAKBJGFDI.PNJOKAICMNN == 5 && (int)((HitableEntity)__instance).GetTeam() == 4))
{
break;
}
if (HHBCPNCDNDH.OAHDEOGKOIM(((Entity)__instance).GetPosition().CGJJEHPPOAN, HHBCPNCDNDH.GAFCIOAEGKD(((Entity)__instance).world.stageMin.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.NKKIFJJEPOL(105.0m), World.FPIXEL_SIZE))))
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = new IBGCBLLKIHA(HHBCPNCDNDH.DBOMOJGKIFI, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.NKKIFJJEPOL(-15.0m), World.FPIXEL60_SIZE));
}
((Entity)__instance).SetPosition(new IBGCBLLKIHA(((Entity)__instance).GetPosition().GCPKPHMKLBN, HHBCPNCDNDH.GAFCIOAEGKD(((Entity)__instance).world.stageMin.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.NKKIFJJEPOL(90.0m), World.FPIXEL_SIZE))));
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.GCPFGINDGEM();
if (HHBCPNCDNDH.OCDKNPDIPOB(((GetHitBallEntity)__instance).ballData.stateTimer, HHBCPNCDNDH.NKKIFJJEPOL(2.5m)))
{
((Entity)__instance).SetPosition(new IBGCBLLKIHA(((Entity)__instance).GetPosition().GCPKPHMKLBN, HHBCPNCDNDH.GAFCIOAEGKD(((Entity)__instance).world.stageMin.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.NKKIFJJEPOL(90.0m), World.FPIXEL_SIZE))));
if ((int)JOMBNFKIHIC.GIGAKBJGFDI.PNJOKAICMNN == 5)
{
((Entity)__instance).effectHandler.CreateServeEndEffect(((Entity)__instance).GetPosition(), ((HitableData)((GetHitBallEntity)__instance).ballData).team);
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = IBGCBLLKIHA.GNBPBDKODEA();
((BouncableEntity)__instance).SetBallState((BallState)19, (HitstunState)51);
}
((Entity)__instance).effectHandler.CreateServeEndEffect(((Entity)__instance).GetPosition(), ((HitableData)((GetHitBallEntity)__instance).ballData).team);
((BouncableEntity)__instance).SetBallState((BallState)5, (HitstunState)51);
}
break;
}
case 4:
{
BallData ballData5 = ((GetHitBallEntity)__instance).ballData;
ballData5.glowRotation = HHBCPNCDNDH.GAFCIOAEGKD(ballData5.glowRotation, HHBCPNCDNDH.AJOCFFLIIIH(World.FDELTA_TIME, HHBCPNCDNDH.NKKIFJJEPOL(100.0m)));
if (HHBCPNCDNDH.OCDKNPDIPOB(((GetHitBallEntity)__instance).ballData.stateTimer, HHBCPNCDNDH.NKKIFJJEPOL(0.8m)))
{
((BouncableEntity)__instance).SetBallState((BallState)3, (HitstunState)51);
((HittingEntity)((HitableEntity)__instance).GetLastPlayerHitter()).GiveBall((BallState)21, __instance, false);
}
break;
}
case 5:
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.GCPFGINDGEM();
break;
case 6:
{
((HitableEntity)__instance).UpdateHitstun();
if ((int)((HitableData)((GetHitBallEntity)__instance).ballData).hitstunState != 1 || !((GetHitBallEntity)__instance).IsActiveCuffedBall())
{
break;
}
PlayerEntity playerEntity3 = PlayerHandler.instance.GetPlayerEntity(((HitableData)((GetHitBallEntity)__instance).ballData).lastHitterIndex);
CopPlayer val6 = (CopPlayer)(object)((playerEntity3 is CopPlayer) ? playerEntity3 : null);
if ((Object)(object)val6 != (Object)null)
{
if (HHBCPNCDNDH.CJBFNLGJNIH(HHBCPNCDNDH.GAFCIOAEGKD(((HitableData)((GetHitBallEntity)__instance).ballData).hitstunTimer, HHBCPNCDNDH.NKKIFJJEPOL(0.1m)), ((HitableData)((GetHitBallEntity)__instance).ballData).hitstunDuration))
{
val6.ExtendChain();
}
val6.RetractChain();
}
break;
}
case 7:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, HHBCPNCDNDH.CIIKAHFKLAF(((HitableData)((GetHitBallEntity)__instance).ballData).flySpeed, ((AbilityBallEntity)__instance).candyBallMinSpeed, ((AbilityBallEntity)__instance).candyBallMaxSpeed));
}
break;
case 8:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(0.1m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, HHBCPNCDNDH.BBGBJJELCFJ(((HitableData)((GetHitBallEntity)__instance).ballData).flySpeed, ((AbilityBallEntity)__instance).shadowBallMinSpeed));
}
break;
case 9:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, HHBCPNCDNDH.BBGBJJELCFJ(((HitableData)((GetHitBallEntity)__instance).ballData).flySpeed, ((AbilityBallEntity)__instance).kickflipBallMinSpeed));
}
break;
case 10:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, HHBCPNCDNDH.BBGBJJELCFJ(((HitableData)((GetHitBallEntity)__instance).ballData).flySpeed, ((AbilityBallEntity)__instance).graffitiBallMinSpeed));
}
break;
case 11:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, HHBCPNCDNDH.CIIKAHFKLAF(((HitableData)((GetHitBallEntity)__instance).ballData).flySpeed, ((AbilityBallEntity)__instance).cuffBallSpeed, ((AbilityBallEntity)__instance).cuffBallMaxSpeed));
}
break;
case 12:
{
PlayerEntity playerEntity2 = PlayerHandler.instance.GetPlayerEntity(((GetHitBallEntity)__instance).ballData.cuffBallOwner);
CopPlayer val3 = (CopPlayer)(object)((playerEntity2 is CopPlayer) ? playerEntity2 : null);
IBGCBLLKIHA stickingBallPos = ((HittingEntity)val3).GetStickingBallPos();
IBGCBLLKIHA val4 = IBGCBLLKIHA.FCKBPDNEAOG(stickingBallPos, ((Entity)__instance).GetPosition());
if (HHBCPNCDNDH.HPLPMEAOJPM(((IBGCBLLKIHA)(ref val4)).BIJDJEBEJLL(), HHBCPNCDNDH.NKKIFJJEPOL(0.5m)) || ((BouncableEntity)__instance).hitbox.Intersects(((MovableEntity)val3).moveBox, true, true))
{
((Entity)__instance).SetPosition(stickingBallPos);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.GCPFGINDGEM();
val3.CuffReturned(__instance);
((EntityData)((PlayerEntity)val3).playerData).velocity = IBGCBLLKIHA.GCPFGINDGEM();
((HittingEntity)val3).GiveBall((BallState)22, __instance, false);
}
else
{
val3.RetractChain();
}
break;
}
case 13:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(0.25m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, ((AbilityBallEntity)__instance).bubbleBallInSpeed);
((AbilityBallEntity)__instance).UpdateBubbleBall();
}
break;
case 14:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((AbilityBallEntity)__instance).UpdateBubbleBall();
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, HHBCPNCDNDH.CIIKAHFKLAF(((HitableData)((GetHitBallEntity)__instance).ballData).flySpeed, ((AbilityBallEntity)__instance).bubbleBallOutMinSpeed, ((AbilityBallEntity)__instance).bubbleBallOutMaxSpeed));
((AbilityBallEntity)__instance).UpdateBubbleBall();
}
break;
case 15:
{
((BouncableEntity)__instance).SizeToSpeed(HHBCPNCDNDH.NKKIFJJEPOL(0), "main");
PlayerEntity lastPlayerHitter = ((HitableEntity)__instance).GetLastPlayerHitter();
IBGCBLLKIHA val5 = IBGCBLLKIHA.GCPFGINDGEM();
val5.GCPKPHMKLBN = HHBCPNCDNDH.GAFCIOAEGKD(val5.GCPKPHMKLBN, HHBCPNCDNDH.NKKIFJJEPOL(((ControllableEntity)lastPlayerHitter).GetInput(InputAction.RIGHT) ? 1 : 0));
val5.GCPKPHMKLBN = HHBCPNCDNDH.FCKBPDNEAOG(val5.GCPKPHMKLBN, HHBCPNCDNDH.NKKIFJJEPOL(((ControllableEntity)lastPlayerHitter).GetInput(InputAction.LEFT) ? 1 : 0));
val5.CGJJEHPPOAN = HHBCPNCDNDH.GAFCIOAEGKD(val5.CGJJEHPPOAN, HHBCPNCDNDH.NKKIFJJEPOL(((ControllableEntity)lastPlayerHitter).GetInput(InputAction.UP) ? 1 : 0));
val5.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(val5.CGJJEHPPOAN, HHBCPNCDNDH.NKKIFJJEPOL(((ControllableEntity)lastPlayerHitter).GetInput(InputAction.DOWN) ? 1 : 0));
val5 = ((IBGCBLLKIHA)(ref val5)).GMIHFKFEOBA();
if (IBGCBLLKIHA.EAOICALCHJI(val5, IBGCBLLKIHA.GCPFGINDGEM()))
{
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = val5;
}
BallData ballData3 = ((GetHitBallEntity)__instance).ballData;
((EntityData)ballData3).velocity = IBGCBLLKIHA.GAFCIOAEGKD(((EntityData)ballData3).velocity, IBGCBLLKIHA.AJOCFFLIIIH(IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, HHBCPNCDNDH.NKKIFJJEPOL(2.0m)), World.FPIXEL60_SIZE));
if (HHBCPNCDNDH.OAHDEOGKOIM(((IBGCBLLKIHA)(ref ((EntityData)((GetHitBallEntity)__instance).ballData).velocity)).BIJDJEBEJLL(), HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.NKKIFJJEPOL(14), World.FPIXEL60_SIZE)))
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.NKKIFJJEPOL(14), World.FPIXEL60_SIZE), ((IBGCBLLKIHA)(ref ((EntityData)((GetHitBallEntity)__instance).ballData).velocity)).GMIHFKFEOBA());
}
break;
}
case 16:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
((AbilityBallEntity)__instance).UpdatePongBall();
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((AbilityBallEntity)__instance).UpdatePongBall();
}
break;
case 17:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, HHBCPNCDNDH.BBGBJJELCFJ(((HitableData)((GetHitBallEntity)__instance).ballData).flySpeed, ((AbilityBallEntity)__instance).pitchedBallMinSpeed));
}
break;
case 18:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
((AbilityBallEntity)__instance).UpdateWallGrindBall();
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((AbilityBallEntity)__instance).UpdateWallGrindBall();
}
break;
case 19:
{
BallData ballData4 = ((GetHitBallEntity)__instance).ballData;
((EntityData)ballData4).velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(((EntityData)ballData4).velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, World.FDELTA_TIME));
if (HHBCPNCDNDH.HPLPMEAOJPM(((EntityData)((GetHitBallEntity)__instance).ballData).velocity.CGJJEHPPOAN, HHBCPNCDNDH.GANELPBAOPN(((Entity)__instance).maxGravity)))
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity.CGJJEHPPOAN = HHBCPNCDNDH.GANELPBAOPN(((Entity)__instance).maxGravity);
}
break;
}
case 20:
case 21:
case 22:
case 23:
__instance.UpdateSticking(((BouncingData)((GetHitBallEntity)__instance).ballData).ballState);
break;
case 24:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
((AbilityBallEntity)__instance).UpdateSoundBall();
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((AbilityBallEntity)__instance).UpdateSoundBall();
}
break;
case 25:
if ((int)((HitableEntity)__instance).ballType == 3)
{
((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit = HHBCPNCDNDH.GAFCIOAEGKD(((BouncingData)((GetHitBallEntity)__instance).ballData).timeSinceHit, World.FDELTA_TIME);
velocity.CGJJEHPPOAN = HHBCPNCDNDH.FCKBPDNEAOG(velocity.CGJJEHPPOAN, HHBCPNCDNDH.AJOCFFLIIIH(HHBCPNCDNDH.AJOCFFLIIIH(((Entity)__instance).gravityForce, HHBCPNCDNDH.NKKIFJJEPOL(1.5m)), World.FDELTA_TIME));
((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection = ((IBGCBLLKIHA)(ref velocity)).GMIHFKFEOBA();
((BouncableEntity)__instance).TurnToDirection(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection);
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = velocity;
((GetHitBallEntity)__instance).ballData.gravityBallSpeed = gravityBallSpeed;
}
if ((int)((HitableEntity)__instance).ballType != 3)
{
((EntityData)((GetHitBallEntity)__instance).ballData).velocity = IBGCBLLKIHA.AJOCFFLIIIH(((HitableData)((GetHitBallEntity)__instance).ballData).flyDirection, HHBCPNCDNDH.BBGBJJELCFJ(((HitableData)((GetHitBallEntity)__instance).ballData).flySpeed, ((AbilityBallEntity)__instance).snipeBallMinSpeed));
}
break;
case 26:
case 27:
case 28:
if (((GetHitBallEntity)__instance).IsActiveCuffedBall())
{
PlayerEntity playerEntity = PlayerHandler.instance.GetPlayerEntity(((HitableData)((GetHitBallEntity)__instance).ballData).lastHitterIndex);
CopPlayer val2 = (CopPlayer)(object)((playerEntity is CopPlayer) ? playerEntity : null);
if ((Object)(object)val2 != (Object)null)
{
val2.InterruptCuff(__instance);
}
}
break;
}
return false;
}
}