Decompiled source of Honey v0.3.0

HoneyMod.dll

Decompiled 14 hours ago
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using BepInEx;
using EntityStates;
using KinematicCharacterController;
using Microsoft.CodeAnalysis;
using R2API;
using RoR2;
using RoR2.Projectile;
using RoR2.Skills;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.Networking;
using UnityEngine.Rendering;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("HoneyMod")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("HoneyMod")]
[assembly: AssemblyTitle("HoneyMod")]
[assembly: AssemblyVersion("1.0.0.0")]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Parameter | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableAttribute : Attribute
	{
		public readonly byte[] NullableFlags;

		public NullableAttribute(byte P_0)
		{
			NullableFlags = new byte[1] { P_0 };
		}

		public NullableAttribute(byte[] P_0)
		{
			NullableFlags = P_0;
		}
	}
	[CompilerGenerated]
	[Embedded]
	[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Method | AttributeTargets.Interface | AttributeTargets.Delegate, AllowMultiple = false, Inherited = false)]
	internal sealed class NullableContextAttribute : Attribute
	{
		public readonly byte Flag;

		public NullableContextAttribute(byte P_0)
		{
			Flag = P_0;
		}
	}
	[CompilerGenerated]
	[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 HoneyMod
{
	public static class HoneyAssets
	{
		private static readonly Color HoneyGold = new Color(1f, 0.76f, 0.15f);

		private static readonly Color IconBg = new Color(0.13f, 0.11f, 0.09f);

		private static readonly Color Yellow = new Color(1f, 0.86f, 0.25f);

		private static readonly Color DarkYellow = new Color(0.82f, 0.62f, 0.1f);

		private static readonly Color Brown = new Color(0.36f, 0.22f, 0.1f);

		private static readonly Color FurDark = new Color(0.17f, 0.15f, 0.15f);

		private static readonly Color FurLight = new Color(0.36f, 0.32f, 0.3f);

		private static readonly Color Skin = new Color(0.58f, 0.45f, 0.35f);

		private static readonly Color Orange = new Color(1f, 0.55f, 0.12f);

		private static readonly Color Cyan = new Color(0.45f, 0.9f, 1f);

		private static readonly Color White = Color.white;

		private static string iconFolder = "";

		private static Transform holder;

		private static Shader shader;

		public static void Apply(BaseUnityPlugin plugin)
		{
			try
			{
				iconFolder = Path.Combine(Path.GetDirectoryName(plugin.Info.Location), "icons");
			}
			catch
			{
				iconFolder = "";
			}
			ApplySkillIcons();
			ApplyBuffIcons();
			ApplyPortrait();
			ApplyProjectileVisuals();
		}

		private static void ApplySkillIcons()
		{
			//IL_01f5: Unknown result type (might be due to invalid IL or missing references)
			//IL_01fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_01fc: Unknown result type (might be due to invalid IL or missing references)
			//IL_020b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0220: Unknown result type (might be due to invalid IL or missing references)
			Dictionary<string, Sprite> dictionary = new Dictionary<string, Sprite>
			{
				["HoneyThrowBanana"] = Icon("banana", DrawBananaIcon),
				["HoneyBananaPeel"] = Icon("peel", DrawPeelIcon),
				["HoneyGroundPound"] = Icon("pound", DrawPoundIcon),
				["HoneyBananaBunch"] = Icon("bunch", DrawBunchIcon),
				["HoneyGorillaLeap"] = Icon("leap", DrawLeapIcon),
				["HoneyFourLegRush"] = Icon("rush", DrawRushIcon),
				["HoneyChestBeat"] = Icon("chestbeat", DrawChestBeatIcon),
				["HoneyBananaEnergy"] = Icon("energy", DrawEnergyIcon),
				["HoneyThickFur"] = Icon("fur", DrawFurIcon)
			};
			GenericSkill[] components = HoneyPlugin.HoneyBody.GetComponents<GenericSkill>();
			foreach (GenericSkill val in components)
			{
				if (!Object.op_Implicit((Object)(object)val.skillFamily))
				{
					continue;
				}
				Variant[] variants = val.skillFamily.variants;
				foreach (Variant val2 in variants)
				{
					if (Object.op_Implicit((Object)(object)val2.skillDef) && dictionary.TryGetValue(val2.skillDef.skillName, out var value))
					{
						val2.skillDef.icon = value;
					}
				}
			}
		}

		private static void ApplyBuffIcons()
		{
			if (Object.op_Implicit((Object)(object)HoneyPlugin.ChestBeatBuff))
			{
				HoneyPlugin.ChestBeatBuff.iconSprite = Icon("buff_chestbeat", DrawChestBeatBuff, background: false);
			}
			if (Object.op_Implicit((Object)(object)HoneyPlugin.ThickFurBuff))
			{
				HoneyPlugin.ThickFurBuff.iconSprite = Icon("buff_fur", DrawFurBuff, background: false);
			}
		}

		private static void ApplyPortrait()
		{
			CharacterBody component = HoneyPlugin.HoneyBody.GetComponent<CharacterBody>();
			if (Object.op_Implicit((Object)(object)component))
			{
				component.portraitIcon = (Texture)(object)Icon("portrait", DrawPortrait, background: false).texture;
			}
		}

		private static Sprite Icon(string fileName, Action<IconCanvas> draw, bool background = true)
		{
			//IL_0091: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Unknown result type (might be due to invalid IL or missing references)
			//IL_0060: Unknown result type (might be due to invalid IL or missing references)
			Texture2D val = LoadPng(fileName);
			if (!Object.op_Implicit((Object)(object)val))
			{
				IconCanvas iconCanvas = new IconCanvas();
				if (background)
				{
					iconCanvas.Fill(IconShapes.RoundRect(0f, 0f, 128f, 128f, 16f), HoneyGold);
					iconCanvas.Fill(IconShapes.RoundRect(6f, 6f, 122f, 122f, 12f), IconBg);
				}
				draw(iconCanvas);
				val = iconCanvas.ToTexture();
			}
			return Sprite.Create(val, new Rect(0f, 0f, (float)((Texture)val).width, (float)((Texture)val).height), new Vector2(0.5f, 0.5f), 100f);
		}

		private static Texture2D LoadPng(string fileName)
		{
			//IL_0098: Unknown result type (might be due to invalid IL or missing references)
			//IL_009e: Expected O, but got Unknown
			byte[] array = null;
			if (!string.IsNullOrEmpty(iconFolder))
			{
				string path = Path.Combine(iconFolder, fileName + ".png");
				if (File.Exists(path))
				{
					array = File.ReadAllBytes(path);
				}
			}
			if (array == null)
			{
				using Stream stream = typeof(HoneyAssets).Assembly.GetManifestResourceStream("HoneyMod.icons." + fileName + ".png");
				if (stream != null)
				{
					using MemoryStream memoryStream = new MemoryStream();
					stream.CopyTo(memoryStream);
					array = memoryStream.ToArray();
				}
			}
			if (array == null)
			{
				return null;
			}
			Texture2D val = new Texture2D(2, 2, (TextureFormat)4, false);
			if (!ImageConversion.LoadImage(val, array))
			{
				return null;
			}
			((Texture)val).wrapMode = (TextureWrapMode)1;
			return val;
		}

		private static void Banana(IconCanvas c, float cx, float cy, float s, float rotDeg)
		{
			//IL_0056: Unknown result type (might be due to invalid IL or missing references)
			//IL_005b: Unknown result type (might be due to invalid IL or missing references)
			//IL_006d: Unknown result type (might be due to invalid IL or missing references)
			//IL_008a: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ad: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cc: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00fb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0101: 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)
			float num = rotDeg * (MathF.PI / 180f);
			float cos = Mathf.Cos(num);
			float sin = Mathf.Sin(num);
			Vector2 cut = W(0.3f * s, 0.3f * s);
			c.Fill(Crescent(s), DarkYellow);
			c.Fill(Crescent(s * 0.9f), Yellow);
			Vector2 val = W(0.841f * s, -0.541f * s);
			Vector2 val2 = W(-0.541f * s, 0.841f * s);
			c.Fill(IconShapes.Circle(val.x, val.y, 0.1f * s), Brown);
			c.Fill(IconShapes.Circle(val2.x, val2.y, 0.1f * s), Brown);
			Func<float, float, bool> Crescent(float outer)
			{
				return delegate(float x, float y)
				{
					float num2 = x - cx;
					float num3 = y - cy;
					float num4 = x - cut.x;
					float num5 = y - cut.y;
					return num2 * num2 + num3 * num3 <= outer * outer && num4 * num4 + num5 * num5 > s * s;
				};
			}
			Vector2 W(float u, float v)
			{
				//IL_0030: Unknown result type (might be due to invalid IL or missing references)
				return new Vector2(cx + u * cos - v * sin, cy + u * sin + v * cos);
			}
		}

		private static void DrawBananaIcon(IconCanvas c)
		{
			Banana(c, 76f, 76f, 46f, 0f);
		}

		private static void DrawPeelIcon(IconCanvas c)
		{
			//IL_0062: Unknown result type (might be due to invalid IL or missing references)
			//IL_0084: Unknown result type (might be due to invalid IL or missing references)
			//IL_009c: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e7: Unknown result type (might be due to invalid IL or missing references)
			float[] array = new float[3] { 90f, 210f, 330f };
			for (int i = 0; i < array.Length; i++)
			{
				float num = array[i] * (MathF.PI / 180f);
				float num2 = 64f + Mathf.Cos(num) * 40f;
				float num3 = 60f + Mathf.Sin(num) * 40f;
				c.Fill(IconShapes.Segment(64f, 60f, num2, num3, 22f), DarkYellow);
				c.Fill(IconShapes.Segment(64f, 60f, num2, num3, 14f), Yellow);
				c.Fill(IconShapes.Circle(num2, num3, 6f), Brown);
			}
			c.Fill(IconShapes.Circle(64f, 60f, 12f), DarkYellow);
			c.Fill(IconShapes.Circle(64f, 60f, 6f), Brown);
		}

		private static void DrawPoundIcon(IconCanvas c)
		{
			//IL_0038: Unknown result type (might be due to invalid IL or missing references)
			//IL_0066: Unknown result type (might be due to invalid IL or missing references)
			//IL_008f: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e1: Unknown result type (might be due to invalid IL or missing references)
			//IL_010a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0133: Unknown result type (might be due to invalid IL or missing references)
			//IL_015c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0185: Unknown result type (might be due to invalid IL or missing references)
			c.Fill(IconShapes.Arc(64f, 24f, 36f, 41f, 0f, 180f), new Color(1f, 0.55f, 0.12f, 0.6f));
			c.Fill(IconShapes.Arc(64f, 24f, 22f, 28f, 0f, 180f), Orange);
			c.Fill(IconShapes.Segment(14f, 22f, 114f, 22f, 5f), DarkYellow);
			c.Fill(IconShapes.RoundRect(50f, 84f, 78f, 106f, 6f), FurDark);
			c.Fill(IconShapes.RoundRect(42f, 46f, 86f, 88f, 10f), FurLight);
			c.Fill(IconShapes.RoundRect(36f, 50f, 50f, 72f, 6f), FurLight);
			c.Fill(IconShapes.Segment(53f, 50f, 53f, 62f, 3f), FurDark);
			c.Fill(IconShapes.Segment(64f, 50f, 64f, 62f, 3f), FurDark);
			c.Fill(IconShapes.Segment(75f, 50f, 75f, 62f, 3f), FurDark);
		}

		private static void DrawBunchIcon(IconCanvas c)
		{
			Banana(c, 60f, 80f, 36f, -30f);
			Banana(c, 70f, 76f, 36f, 0f);
			Banana(c, 80f, 72f, 36f, 30f);
		}

		private static void DrawLeapIcon(IconCanvas c)
		{
			//IL_001f: 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)
			//IL_007b: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d7: Unknown result type (might be due to invalid IL or missing references)
			c.Fill(IconShapes.Segment(14f, 22f, 114f, 22f, 5f), DarkYellow);
			c.Fill(IconShapes.Arc(64f, 36f, 34f, 42f, 20f, 160f), White);
			c.Fill(IconShapes.Triangle(105.2f, 34f, 109.1f, 52.4f, 90.3f, 45.6f), White);
			c.Fill(IconShapes.Arc(104f, 22f, 7f, 10f, 0f, 180f), Orange);
			c.Fill(IconShapes.Arc(104f, 22f, 14f, 16f, 0f, 180f), Orange);
		}

		private static void DrawRushIcon(IconCanvas c)
		{
			//IL_001f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0048: Unknown result type (might be due to invalid IL or missing references)
			//IL_0071: Unknown result type (might be due to invalid IL or missing references)
			//IL_009a: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c8: Unknown result type (might be due to invalid IL or missing references)
			c.Fill(IconShapes.Segment(12f, 44f, 32f, 44f, 6f), HoneyGold);
			c.Fill(IconShapes.Segment(8f, 64f, 30f, 64f, 6f), HoneyGold);
			c.Fill(IconShapes.Segment(12f, 84f, 32f, 84f, 6f), HoneyGold);
			c.Fill(IconShapes.RoundRect(40f, 54f, 92f, 74f, 4f), White);
			c.Fill(IconShapes.Triangle(88f, 36f, 88f, 92f, 116f, 64f), White);
		}

		private static void DrawChestBeatIcon(IconCanvas c)
		{
			//IL_001f: Unknown result type (might be due to invalid IL or missing references)
			//IL_003e: Unknown result type (might be due to invalid IL or missing references)
			//IL_005d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0086: Unknown result type (might be due to invalid IL or missing references)
			//IL_00af: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0101: Unknown result type (might be due to invalid IL or missing references)
			//IL_012a: Unknown result type (might be due to invalid IL or missing references)
			c.Fill(IconShapes.RoundRect(24f, 14f, 104f, 92f, 22f), FurDark);
			c.Fill(IconShapes.Circle(48f, 58f, 19f), FurLight);
			c.Fill(IconShapes.Circle(80f, 58f, 19f), FurLight);
			c.Fill(IconShapes.Segment(64f, 98f, 64f, 116f, 6f), Orange);
			c.Fill(IconShapes.Segment(48f, 96f, 38f, 112f, 6f), Orange);
			c.Fill(IconShapes.Segment(80f, 96f, 90f, 112f, 6f), Orange);
			c.Fill(IconShapes.Segment(28f, 96f, 16f, 108f, 6f), Orange);
			c.Fill(IconShapes.Segment(100f, 96f, 112f, 108f, 6f), Orange);
		}

		private static void DrawEnergyIcon(IconCanvas c)
		{
			//IL_0039: Unknown result type (might be due to invalid IL or missing references)
			//IL_0062: Unknown result type (might be due to invalid IL or missing references)
			//IL_008b: Unknown result type (might be due to invalid IL or missing references)
			Banana(c, 64f, 64f, 40f, 0f);
			c.Fill(IconShapes.Segment(100f, 112f, 82f, 84f, 8f), Cyan);
			c.Fill(IconShapes.Segment(82f, 84f, 104f, 84f, 8f), Cyan);
			c.Fill(IconShapes.Segment(104f, 84f, 84f, 46f, 8f), Cyan);
		}

		private static void DrawFurIcon(IconCanvas c)
		{
			//IL_001f: 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)
			//IL_0076: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cd: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_011f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0148: Unknown result type (might be due to invalid IL or missing references)
			c.Fill(IconShapes.RoundRect(30f, 50f, 98f, 110f, 12f), FurDark);
			c.Fill(IconShapes.Triangle(30f, 56f, 98f, 56f, 64f, 14f), FurDark);
			c.Fill(IconShapes.RoundRect(38f, 56f, 90f, 102f, 8f), FurLight);
			c.Fill(IconShapes.Triangle(38f, 60f, 90f, 60f, 64f, 26f), FurLight);
			c.Fill(IconShapes.Segment(50f, 90f, 56f, 76f, 4f), FurDark);
			c.Fill(IconShapes.Segment(64f, 92f, 70f, 78f, 4f), FurDark);
			c.Fill(IconShapes.Segment(78f, 90f, 84f, 76f, 4f), FurDark);
			c.Fill(IconShapes.Segment(57f, 66f, 63f, 52f, 4f), FurDark);
		}

		private static void DrawChestBeatBuff(IconCanvas c)
		{
			//IL_0015: Unknown result type (might be due to invalid IL or missing references)
			//IL_0034: Unknown result type (might be due to invalid IL or missing references)
			//IL_005d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0086: Unknown result type (might be due to invalid IL or missing references)
			//IL_00af: Unknown result type (might be due to invalid IL or missing references)
			c.Fill(IconShapes.Circle(46f, 58f, 22f), White);
			c.Fill(IconShapes.Circle(82f, 58f, 22f), White);
			c.Fill(IconShapes.Segment(64f, 92f, 64f, 120f, 8f), White);
			c.Fill(IconShapes.Segment(44f, 90f, 32f, 112f, 8f), White);
			c.Fill(IconShapes.Segment(84f, 90f, 96f, 112f, 8f), White);
		}

		private static void DrawFurBuff(IconCanvas c)
		{
			//IL_001f: 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)
			c.Fill(IconShapes.RoundRect(30f, 50f, 98f, 110f, 12f), White);
			c.Fill(IconShapes.Triangle(30f, 56f, 98f, 56f, 64f, 14f), White);
		}

		private static void DrawPortrait(IconCanvas c)
		{
			//IL_0020: Unknown result type (might be due to invalid IL or missing references)
			//IL_003f: Unknown result type (might be due to invalid IL or missing references)
			//IL_005e: 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_009c: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bb: Unknown result type (might be due to invalid IL or missing references)
			//IL_00da: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f9: 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_0141: Unknown result type (might be due to invalid IL or missing references)
			//IL_0160: Unknown result type (might be due to invalid IL or missing references)
			//IL_017f: Unknown result type (might be due to invalid IL or missing references)
			//IL_01a8: Unknown result type (might be due to invalid IL or missing references)
			c.Fill((float x, float y) => true, HoneyGold);
			c.Fill(IconShapes.Circle(24f, 66f, 11f), FurDark);
			c.Fill(IconShapes.Circle(104f, 66f, 11f), FurDark);
			c.Fill(IconShapes.Circle(64f, 64f, 42f), FurDark);
			c.Fill(IconShapes.Circle(64f, 50f, 27f), Skin);
			c.Fill(IconShapes.Circle(52f, 70f, 9f), Skin);
			c.Fill(IconShapes.Circle(76f, 70f, 9f), Skin);
			c.Fill(IconShapes.Circle(52f, 69f, 4f), Color.black);
			c.Fill(IconShapes.Circle(76f, 69f, 4f), Color.black);
			c.Fill(IconShapes.Segment(40f, 80f, 88f, 80f, 9f), FurDark);
			c.Fill(IconShapes.Circle(58f, 52f, 3.5f), FurDark);
			c.Fill(IconShapes.Circle(70f, 52f, 3.5f), FurDark);
			c.Fill(IconShapes.Segment(52f, 38f, 76f, 38f, 4f), FurDark);
		}

		private static void ApplyProjectileVisuals()
		{
			AttachModel(HoneyPlugin.BananaProjectile, BuildBananaModel, 720f, keepUpright: false);
			AttachModel(HoneyPlugin.BananaPeelProjectile, BuildPeelModel, 0f, keepUpright: true);
			if (!Object.op_Implicit((Object)(object)HoneyPlugin.HoneyBody.GetComponent<HoneyChestBeatAnimator>()))
			{
				HoneyPlugin.HoneyBody.AddComponent<HoneyChestBeatAnimator>();
			}
		}

		private static void AttachModel(GameObject projectile, Action<Transform> buildModel, float spinSpeed, bool keepUpright)
		{
			//IL_000e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0014: Expected O, but got Unknown
			if (Object.op_Implicit((Object)(object)projectile))
			{
				GameObject val = new GameObject("HoneyModel");
				val.transform.SetParent(projectile.transform, false);
				buildModel(val.transform);
				if (spinSpeed != 0f)
				{
					val.AddComponent<HoneySpinner>().Speed = spinSpeed;
				}
				if (keepUpright)
				{
					val.AddComponent<HoneyKeepUpright>();
				}
				projectile.AddComponent<HoneyHideGhost>();
			}
		}

		private static void BuildBananaModel(Transform root)
		{
			//IL_0000: Unknown result type (might be due to invalid IL or missing references)
			//IL_000b: Unknown result type (might be due to invalid IL or missing references)
			//IL_009b: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0121: Unknown result type (might be due to invalid IL or missing references)
			//IL_0123: Unknown result type (might be due to invalid IL or missing references)
			//IL_012d: 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)
			Material mat = Mat(Yellow);
			Material mat2 = Mat(Brown);
			Vector3 pos = default(Vector3);
			for (int i = 0; i < 9; i++)
			{
				float num = (float)i / 8f;
				float num2 = Mathf.Lerp(-55f, 55f, num) * (MathF.PI / 180f);
				float num3 = Mathf.Lerp(0.08f, 0.15f, 1f - Mathf.Abs(num - 0.5f) * 2f);
				((Vector3)(ref pos))..ctor(0f, 0.4f * Mathf.Cos(num2) - 0.4f + 0.085f, 0.4f * Mathf.Sin(num2));
				Part(root, (PrimitiveType)0, pos, new Vector3(num3, num3, num3 * 1.8f), new Vector3(num2 * 57.29578f, 0f, 0f), mat);
			}
			Vector3 pos2 = default(Vector3);
			for (int j = -1; j <= 1; j += 2)
			{
				float num4 = 60f * (float)j * (MathF.PI / 180f);
				((Vector3)(ref pos2))..ctor(0f, 0.4f * Mathf.Cos(num4) - 0.4f + 0.085f, 0.4f * Mathf.Sin(num4));
				Part(root, (PrimitiveType)0, pos2, Vector3.one * 0.06f, Vector3.zero, mat2);
			}
		}

		private static void BuildPeelModel(Transform root)
		{
			//IL_0000: Unknown result type (might be due to invalid IL or missing references)
			//IL_000b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0016: 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_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_0063: Unknown result type (might be due to invalid IL or missing references)
			//IL_0074: Unknown result type (might be due to invalid IL or missing references)
			//IL_0085: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00de: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f2: Unknown result type (might be due to invalid IL or missing references)
			Material mat = Mat(Yellow);
			Material mat2 = Mat(DarkYellow);
			Material mat3 = Mat(Brown);
			for (int i = 0; i < 4; i++)
			{
				float num = (float)i * 90f + 45f;
				Vector3 pos = Quaternion.Euler(0f, num, 0f) * new Vector3(0f, 0.02f, 0.17f);
				Part(root, (PrimitiveType)0, pos, new Vector3(0.12f, 0.03f, 0.34f), new Vector3(12f, num, 0f), mat);
			}
			Part(root, (PrimitiveType)0, new Vector3(0f, 0.07f, 0f), new Vector3(0.11f, 0.16f, 0.11f), Vector3.zero, mat2);
			Part(root, (PrimitiveType)0, new Vector3(0f, 0.16f, 0f), Vector3.one * 0.05f, Vector3.zero, mat3);
		}

		private static void Part(Transform parent, PrimitiveType type, Vector3 pos, Vector3 scale, Vector3 euler, Material mat)
		{
			//IL_0000: Unknown result type (might be due to invalid IL or missing references)
			//IL_002e: Unknown result type (might be due to invalid IL or missing references)
			//IL_003a: 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_004c: Unknown result type (might be due to invalid IL or missing references)
			GameObject obj = GameObject.CreatePrimitive(type);
			Collider component = obj.GetComponent<Collider>();
			if (Object.op_Implicit((Object)(object)component))
			{
				Object.DestroyImmediate((Object)(object)component);
			}
			obj.transform.SetParent(parent, false);
			obj.transform.localPosition = pos;
			obj.transform.localRotation = Quaternion.Euler(euler);
			obj.transform.localScale = scale;
			MeshRenderer component2 = obj.GetComponent<MeshRenderer>();
			((Renderer)component2).sharedMaterial = mat;
			((Renderer)component2).shadowCastingMode = (ShadowCastingMode)0;
		}

		private static Material Mat(Color color)
		{
			//IL_0084: Unknown result type (might be due to invalid IL or missing references)
			//IL_0089: Unknown result type (might be due to invalid IL or missing references)
			//IL_008a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0091: Expected O, but got Unknown
			//IL_0011: Unknown result type (might be due to invalid IL or missing references)
			//IL_0016: Unknown result type (might be due to invalid IL or missing references)
			if (!Object.op_Implicit((Object)(object)shader))
			{
				try
				{
					shader = Addressables.LoadAssetAsync<Shader>((object)"RoR2/Base/Shaders/HGStandard.shader").WaitForCompletion();
				}
				catch
				{
					shader = null;
				}
				if (!Object.op_Implicit((Object)(object)shader))
				{
					shader = Shader.Find("Hopoo Games/Deferred/Standard");
				}
				if (!Object.op_Implicit((Object)(object)shader))
				{
					shader = Shader.Find("Standard");
				}
				if (!Object.op_Implicit((Object)(object)shader))
				{
					shader = Shader.Find("Sprites/Default");
				}
			}
			return new Material(shader)
			{
				color = color
			};
		}
	}
	public class IconCanvas
	{
		public const int Size = 128;

		private readonly Color[] pixels = (Color[])(object)new Color[16384];

		public void Fill(Func<float, float, bool> inside, Color color)
		{
			//IL_0086: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_00b1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00da: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ee: Unknown result type (might be due to invalid IL or missing references)
			//IL_00f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0111: Unknown result type (might be due to invalid IL or missing references)
			//IL_0119: Unknown result type (might be due to invalid IL or missing references)
			//IL_0120: Unknown result type (might be due to invalid IL or missing references)
			//IL_0136: Unknown result type (might be due to invalid IL or missing references)
			//IL_013b: Unknown result type (might be due to invalid IL or missing references)
			for (int i = 0; i < 128; i++)
			{
				for (int j = 0; j < 128; j++)
				{
					int num = 0;
					if (inside((float)j + 0.25f, (float)i + 0.25f))
					{
						num++;
					}
					if (inside((float)j + 0.75f, (float)i + 0.25f))
					{
						num++;
					}
					if (inside((float)j + 0.25f, (float)i + 0.75f))
					{
						num++;
					}
					if (inside((float)j + 0.75f, (float)i + 0.75f))
					{
						num++;
					}
					if (num != 0)
					{
						float num2 = color.a * (float)num / 4f;
						int num3 = i * 128 + j;
						Color val = pixels[num3];
						float num4 = num2 + val.a * (1f - num2);
						pixels[num3] = new Color((color.r * num2 + val.r * val.a * (1f - num2)) / num4, (color.g * num2 + val.g * val.a * (1f - num2)) / num4, (color.b * num2 + val.b * val.a * (1f - num2)) / num4, num4);
					}
				}
			}
		}

		public Texture2D ToTexture()
		{
			//IL_000c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0011: Unknown result type (might be due to invalid IL or missing references)
			//IL_001d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0023: Unknown result type (might be due to invalid IL or missing references)
			//IL_002a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0032: Expected O, but got Unknown
			Texture2D val = new Texture2D(128, 128, (TextureFormat)4, false);
			val.SetPixels(pixels);
			val.Apply();
			((Texture)val).wrapMode = (TextureWrapMode)1;
			((Texture)val).filterMode = (FilterMode)1;
			return val;
		}
	}
	public static class IconShapes
	{
		public static Func<float, float, bool> Circle(float cx, float cy, float r)
		{
			return (float x, float y) => (x - cx) * (x - cx) + (y - cy) * (y - cy) <= r * r;
		}

		public static Func<float, float, bool> RoundRect(float x0, float y0, float x1, float y1, float rad)
		{
			return delegate(float num, float num2)
			{
				if (num < x0 || num > x1 || num2 < y0 || num2 > y1)
				{
					return false;
				}
				float num3 = Mathf.Max(new float[3]
				{
					x0 + rad - num,
					0f,
					num - (x1 - rad)
				});
				float num4 = Mathf.Max(new float[3]
				{
					y0 + rad - num2,
					0f,
					num2 - (y1 - rad)
				});
				return num3 * num3 + num4 * num4 <= rad * rad;
			};
		}

		public static Func<float, float, bool> Segment(float x0, float y0, float x1, float y1, float width)
		{
			return delegate(float num4, float num5)
			{
				float num = x1 - x0;
				float num2 = y1 - y0;
				float num3 = Mathf.Clamp01(((num4 - x0) * num + (num5 - y0) * num2) / (num * num + num2 * num2));
				float num6 = x0 + num * num3 - num4;
				float num7 = y0 + num2 * num3 - num5;
				return num6 * num6 + num7 * num7 <= width * width / 4f;
			};
		}

		public static Func<float, float, bool> Triangle(float ax, float ay, float bx, float by, float cx, float cy)
		{
			return delegate(float x, float y)
			{
				float num = (x - bx) * (ay - by) - (ax - bx) * (y - by);
				float num2 = (x - cx) * (by - cy) - (bx - cx) * (y - cy);
				float num3 = (x - ax) * (cy - ay) - (cx - ax) * (y - ay);
				bool flag = num < 0f || num2 < 0f || num3 < 0f;
				bool flag2 = num > 0f || num2 > 0f || num3 > 0f;
				return !(flag && flag2);
			};
		}

		public static Func<float, float, bool> Arc(float cx, float cy, float r0, float r1, float a0, float a1)
		{
			return delegate(float x, float y)
			{
				float num = x - cx;
				float num2 = y - cy;
				float num3 = num * num + num2 * num2;
				if (num3 < r0 * r0 || num3 > r1 * r1)
				{
					return false;
				}
				float num4 = Mathf.Atan2(num2, num) * 57.29578f;
				if (num4 < 0f)
				{
					num4 += 360f;
				}
				return num4 >= a0 && num4 <= a1;
			};
		}
	}
	public class HoneySpinner : MonoBehaviour
	{
		public float Speed = 720f;

		private void Update()
		{
			((Component)this).transform.Rotate(Speed * Time.deltaTime, 0f, 0f, (Space)1);
		}
	}
	public class HoneyKeepUpright : MonoBehaviour
	{
		private void LateUpdate()
		{
			//IL_0028: Unknown result type (might be due to invalid IL or missing references)
			//IL_0037: Unknown result type (might be due to invalid IL or missing references)
			if (Object.op_Implicit((Object)(object)((Component)this).transform.parent))
			{
				((Component)this).transform.rotation = Quaternion.Euler(0f, ((Component)this).transform.parent.eulerAngles.y, 0f);
			}
		}
	}
	public static class HoneyGorilla
	{
		private static List<Renderer> parts;

		private static List<int> partRoles;

		private static List<int> partGroups;

		private static int partCounter;

		public static void Apply()
		{
			if (Object.op_Implicit((Object)(object)HoneyPlugin.HoneyBody))
			{
				ModelLocator component = HoneyPlugin.HoneyBody.GetComponent<ModelLocator>();
				Build((Object.op_Implicit((Object)(object)component) && Object.op_Implicit((Object)(object)component.modelTransform)) ? component.modelTransform : HoneyPlugin.HoneyBody.transform, "oyun ici");
			}
			if (Object.op_Implicit((Object)(object)HoneyPlugin.HoneyDisplay))
			{
				Build(HoneyPlugin.HoneyDisplay.transform, "karakter secme");
			}
		}

		private static void Build(Transform root, string label)
		{
			//IL_035b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0362: 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_0395: Unknown result type (might be due to invalid IL or missing references)
			//IL_039a: Unknown result type (might be due to invalid IL or missing references)
			//IL_039f: 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_03a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_03fb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0400: Unknown result type (might be due to invalid IL or missing references)
			//IL_0405: Unknown result type (might be due to invalid IL or missing references)
			//IL_040a: Unknown result type (might be due to invalid IL or missing references)
			//IL_040c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0411: Unknown result type (might be due to invalid IL or missing references)
			//IL_0419: Unknown result type (might be due to invalid IL or missing references)
			//IL_041f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0425: Unknown result type (might be due to invalid IL or missing references)
			//IL_0430: Unknown result type (might be due to invalid IL or missing references)
			//IL_0435: Unknown result type (might be due to invalid IL or missing references)
			//IL_043a: Unknown result type (might be due to invalid IL or missing references)
			//IL_043f: 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_03c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_03ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_03d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_046f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0475: Unknown result type (might be due to invalid IL or missing references)
			//IL_047a: Unknown result type (might be due to invalid IL or missing references)
			//IL_047f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0483: Unknown result type (might be due to invalid IL or missing references)
			//IL_0488: Unknown result type (might be due to invalid IL or missing references)
			//IL_048e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0494: Unknown result type (might be due to invalid IL or missing references)
			//IL_0499: 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_04a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_04a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_04b2: Unknown result type (might be due to invalid IL or missing references)
			//IL_04bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_04c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_04c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_04d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_04e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_04f1: Unknown result type (might be due to invalid IL or missing references)
			//IL_04f7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0501: Unknown result type (might be due to invalid IL or missing references)
			//IL_050c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0511: Unknown result type (might be due to invalid IL or missing references)
			//IL_0516: Unknown result type (might be due to invalid IL or missing references)
			//IL_0527: Unknown result type (might be due to invalid IL or missing references)
			//IL_0532: Unknown result type (might be due to invalid IL or missing references)
			//IL_0540: Unknown result type (might be due to invalid IL or missing references)
			//IL_0546: Unknown result type (might be due to invalid IL or missing references)
			//IL_0550: Unknown result type (might be due to invalid IL or missing references)
			//IL_055b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0560: Unknown result type (might be due to invalid IL or missing references)
			//IL_0566: Unknown result type (might be due to invalid IL or missing references)
			//IL_0570: Unknown result type (might be due to invalid IL or missing references)
			//IL_057b: 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_0585: Unknown result type (might be due to invalid IL or missing references)
			//IL_0596: 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_0462: 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_03dc: Unknown result type (might be due to invalid IL or missing references)
			//IL_03e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_03e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_03f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_05b7: 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_05c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_05d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_05d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_05dc: Unknown result type (might be due to invalid IL or missing references)
			//IL_05ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_05f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0642: Unknown result type (might be due to invalid IL or missing references)
			//IL_0648: Unknown result type (might be due to invalid IL or missing references)
			//IL_0652: Unknown result type (might be due to invalid IL or missing references)
			//IL_065d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0662: Unknown result type (might be due to invalid IL or missing references)
			//IL_0667: Unknown result type (might be due to invalid IL or missing references)
			//IL_0669: Unknown result type (might be due to invalid IL or missing references)
			//IL_0673: 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_068e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0694: Unknown result type (might be due to invalid IL or missing references)
			//IL_069e: Unknown result type (might be due to invalid IL or missing references)
			//IL_06a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_06ae: 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_06b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_06bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_06ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_0611: Unknown result type (might be due to invalid IL or missing references)
			//IL_0616: Unknown result type (might be due to invalid IL or missing references)
			//IL_0627: 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_073f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0744: Unknown result type (might be due to invalid IL or missing references)
			//IL_0746: Unknown result type (might be due to invalid IL or missing references)
			//IL_0750: 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_0774: Unknown result type (might be due to invalid IL or missing references)
			//IL_0779: Unknown result type (might be due to invalid IL or missing references)
			//IL_077b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0785: Unknown result type (might be due to invalid IL or missing references)
			//IL_0790: Unknown result type (might be due to invalid IL or missing references)
			//IL_0805: Unknown result type (might be due to invalid IL or missing references)
			//IL_080b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0815: Unknown result type (might be due to invalid IL or missing references)
			//IL_0820: Unknown result type (might be due to invalid IL or missing references)
			//IL_0825: Unknown result type (might be due to invalid IL or missing references)
			//IL_082a: Unknown result type (might be due to invalid IL or missing references)
			//IL_083b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0846: 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_0865: 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_087a: Unknown result type (might be due to invalid IL or missing references)
			//IL_087f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0884: 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_08a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_08be: 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_08ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_08d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_08de: Unknown result type (might be due to invalid IL or missing references)
			//IL_08b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_08e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c09: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c0f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c19: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c24: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c29: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c2f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c39: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c44: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c49: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c4e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c5f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c6a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c78: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c7e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c88: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c93: 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_0c9e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ca8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cb3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cb8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cbd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cce: 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_0ce7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ced: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cf7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d02: 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_0d0d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d17: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d22: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d27: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d2c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d3d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d48: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d58: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d5e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d68: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d73: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d78: 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_0d88: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d93: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d98: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d9d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dae: Unknown result type (might be due to invalid IL or missing references)
			//IL_0db3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dc7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dd2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0de2: 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_0df2: 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_0e02: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e08: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e12: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e1d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e22: 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_0e38: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e3d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e51: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e5c: Unknown result type (might be due to invalid IL or missing references)
			//IL_08f5: 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_08fc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0906: Unknown result type (might be due to invalid IL or missing references)
			//IL_0911: Unknown result type (might be due to invalid IL or missing references)
			//IL_091f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0921: Unknown result type (might be due to invalid IL or missing references)
			//IL_0932: 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_094b: Unknown result type (might be due to invalid IL or missing references)
			//IL_094e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0958: Unknown result type (might be due to invalid IL or missing references)
			//IL_0963: Unknown result type (might be due to invalid IL or missing references)
			//IL_0968: Unknown result type (might be due to invalid IL or missing references)
			//IL_096e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0978: Unknown result type (might be due to invalid IL or missing references)
			//IL_0983: Unknown result type (might be due to invalid IL or missing references)
			//IL_0988: Unknown result type (might be due to invalid IL or missing references)
			//IL_098d: Unknown result type (might be due to invalid IL or missing references)
			//IL_099e: 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_09b7: Unknown result type (might be due to invalid IL or missing references)
			//IL_09ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_09c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_09cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_09d4: 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_09e4: Unknown result type (might be due to invalid IL or missing references)
			//IL_09ef: Unknown result type (might be due to invalid IL or missing references)
			//IL_09f4: Unknown result type (might be due to invalid IL or missing references)
			//IL_09f9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a0a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a15: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a23: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a26: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a30: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a3b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a40: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a46: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a50: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a5b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a60: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a65: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a76: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a81: 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_0a92: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a9c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aa7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aac: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ab2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0abc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ac7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0acc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ad1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ae2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aed: Unknown result type (might be due to invalid IL or missing references)
			//IL_0afb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0afe: 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_0b13: 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_0b1e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b28: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b33: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b38: 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_0b48: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b53: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b58: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b5d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b5f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b69: 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_0b82: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b85: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b8f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b9a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b9f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ba5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0baf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bba: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bbf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bc5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bcf: Unknown result type (might be due to invalid IL or missing references)
			//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_0be6: 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_0bfb: 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_0e91: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e9b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ea6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0eab: Unknown result type (might be due to invalid IL or missing references)
			//IL_0eb0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ec1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ecc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ee5: 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_0ef5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f00: 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_0f0a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f1b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f26: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f42: 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_0f52: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f5d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f62: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f67: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f78: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f83: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f93: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f99: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fa3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fae: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fb3: 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_0fc3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fce: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fd3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fd8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fe9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ff4: Unknown result type (might be due to invalid IL or missing references)
			//IL_135f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1370: Unknown result type (might be due to invalid IL or missing references)
			//IL_1375: Unknown result type (might be due to invalid IL or missing references)
			//IL_137a: Unknown result type (might be due to invalid IL or missing references)
			//IL_137d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1383: Unknown result type (might be due to invalid IL or missing references)
			//IL_138d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1398: Unknown result type (might be due to invalid IL or missing references)
			//IL_139d: Unknown result type (might be due to invalid IL or missing references)
			//IL_13a3: Unknown result type (might be due to invalid IL or missing references)
			//IL_13ad: Unknown result type (might be due to invalid IL or missing references)
			//IL_13b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_13bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_13c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_13c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_13c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_13d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_13e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_13f1: Unknown result type (might be due to invalid IL or missing references)
			//IL_13f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_13f5: Unknown result type (might be due to invalid IL or missing references)
			//IL_13fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_140b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1410: Unknown result type (might be due to invalid IL or missing references)
			//IL_1415: Unknown result type (might be due to invalid IL or missing references)
			//IL_1426: Unknown result type (might be due to invalid IL or missing references)
			//IL_1431: Unknown result type (might be due to invalid IL or missing references)
			//IL_100e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1011: Unknown result type (might be due to invalid IL or missing references)
			//IL_101b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1026: Unknown result type (might be due to invalid IL or missing references)
			//IL_102b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1030: Unknown result type (might be due to invalid IL or missing references)
			//IL_1041: Unknown result type (might be due to invalid IL or missing references)
			//IL_104c: Unknown result type (might be due to invalid IL or missing references)
			//IL_105a: Unknown result type (might be due to invalid IL or missing references)
			//IL_105d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1067: Unknown result type (might be due to invalid IL or missing references)
			//IL_1072: Unknown result type (might be due to invalid IL or missing references)
			//IL_1077: Unknown result type (might be due to invalid IL or missing references)
			//IL_107d: 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_1092: Unknown result type (might be due to invalid IL or missing references)
			//IL_1097: Unknown result type (might be due to invalid IL or missing references)
			//IL_109c: Unknown result type (might be due to invalid IL or missing references)
			//IL_10ad: Unknown result type (might be due to invalid IL or missing references)
			//IL_10b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_10c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_10c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_10d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_10de: Unknown result type (might be due to invalid IL or missing references)
			//IL_10e3: Unknown result type (might be due to invalid IL or missing references)
			//IL_10e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_10f9: Unknown result type (might be due to invalid IL or missing references)
			//IL_1104: Unknown result type (might be due to invalid IL or missing references)
			//IL_1446: Unknown result type (might be due to invalid IL or missing references)
			//IL_144c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1456: Unknown result type (might be due to invalid IL or missing references)
			//IL_1461: Unknown result type (might be due to invalid IL or missing references)
			//IL_1466: Unknown result type (might be due to invalid IL or missing references)
			//IL_146c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1476: Unknown result type (might be due to invalid IL or missing references)
			//IL_1481: Unknown result type (might be due to invalid IL or missing references)
			//IL_1486: Unknown result type (might be due to invalid IL or missing references)
			//IL_148c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1494: Unknown result type (might be due to invalid IL or missing references)
			//IL_149e: Unknown result type (might be due to invalid IL or missing references)
			//IL_14a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_14ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_14b3: Unknown result type (might be due to invalid IL or missing references)
			//IL_14b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_14b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_14c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_14d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_14e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_14e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_14f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_14fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_1502: Unknown result type (might be due to invalid IL or missing references)
			//IL_1507: Unknown result type (might be due to invalid IL or missing references)
			//IL_1518: Unknown result type (might be due to invalid IL or missing references)
			//IL_1523: Unknown result type (might be due to invalid IL or missing references)
			//IL_1534: Unknown result type (might be due to invalid IL or missing references)
			//IL_1537: Unknown result type (might be due to invalid IL or missing references)
			//IL_1541: Unknown result type (might be due to invalid IL or missing references)
			//IL_154c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1551: Unknown result type (might be due to invalid IL or missing references)
			//IL_1556: Unknown result type (might be due to invalid IL or missing references)
			//IL_1567: Unknown result type (might be due to invalid IL or missing references)
			//IL_1572: Unknown result type (might be due to invalid IL or missing references)
			//IL_1591: Unknown result type (might be due to invalid IL or missing references)
			//IL_1597: Unknown result type (might be due to invalid IL or missing references)
			//IL_15a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_15ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_15b1: Unknown result type (might be due to invalid IL or missing references)
			//IL_15b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_15c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_15d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_15d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_1122: Unknown result type (might be due to invalid IL or missing references)
			//IL_1127: Unknown result type (might be due to invalid IL or missing references)
			//IL_112d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1132: Unknown result type (might be due to invalid IL or missing references)
			//IL_1137: Unknown result type (might be due to invalid IL or missing references)
			//IL_11ee: Unknown result type (might be due to invalid IL or missing references)
			//IL_11f1: 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_1206: Unknown result type (might be due to invalid IL or missing references)
			//IL_120b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1211: Unknown result type (might be due to invalid IL or missing references)
			//IL_121b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1226: Unknown result type (might be due to invalid IL or missing references)
			//IL_122b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1230: Unknown result type (might be due to invalid IL or missing references)
			//IL_1241: Unknown result type (might be due to invalid IL or missing references)
			//IL_124c: Unknown result type (might be due to invalid IL or missing references)
			//IL_15df: Unknown result type (might be due to invalid IL or missing references)
			//IL_15e1: Unknown result type (might be due to invalid IL or missing references)
			//IL_15f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_15fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_1602: Unknown result type (might be due to invalid IL or missing references)
			//IL_1604: Unknown result type (might be due to invalid IL or missing references)
			//IL_1619: Unknown result type (might be due to invalid IL or missing references)
			//IL_1620: Unknown result type (might be due to invalid IL or missing references)
			//IL_1625: Unknown result type (might be due to invalid IL or missing references)
			//IL_1627: Unknown result type (might be due to invalid IL or missing references)
			//IL_163c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1643: Unknown result type (might be due to invalid IL or missing references)
			//IL_114b: Unknown result type (might be due to invalid IL or missing references)
			//IL_114e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1161: Unknown result type (might be due to invalid IL or missing references)
			//IL_116c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1171: Unknown result type (might be due to invalid IL or missing references)
			//IL_1176: Unknown result type (might be due to invalid IL or missing references)
			//IL_117d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1188: Unknown result type (might be due to invalid IL or missing references)
			//IL_118d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1192: Unknown result type (might be due to invalid IL or missing references)
			//IL_1196: Unknown result type (might be due to invalid IL or missing references)
			//IL_1198: Unknown result type (might be due to invalid IL or missing references)
			//IL_119b: Unknown result type (might be due to invalid IL or missing references)
			//IL_11a0: 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_11b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_11c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_11d2: Unknown result type (might be due to invalid IL or missing references)
			//IL_1260: Unknown result type (might be due to invalid IL or missing references)
			//IL_1263: Unknown result type (might be due to invalid IL or missing references)
			//IL_126d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1278: Unknown result type (might be due to invalid IL or missing references)
			//IL_127d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1283: Unknown result type (might be due to invalid IL or missing references)
			//IL_128b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1295: Unknown result type (might be due to invalid IL or missing references)
			//IL_12a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_12a5: Unknown result type (might be due to invalid IL or missing references)
			//IL_12aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_12ad: Unknown result type (might be due to invalid IL or missing references)
			//IL_12b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_12bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_12c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_12ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_12d0: 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_12df: Unknown result type (might be due to invalid IL or missing references)
			//IL_12e4: Unknown result type (might be due to invalid IL or missing references)
			//IL_12e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_12ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_12ef: Unknown result type (might be due to invalid IL or missing references)
			//IL_12f1: Unknown result type (might be due to invalid IL or missing references)
			//IL_12f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_1303: Unknown result type (might be due to invalid IL or missing references)
			//IL_1308: Unknown result type (might be due to invalid IL or missing references)
			//IL_130d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1311: Unknown result type (might be due to invalid IL or missing references)
			//IL_1313: Unknown result type (might be due to invalid IL or missing references)
			//IL_132b: Unknown result type (might be due to invalid IL or missing references)
			//IL_132d: Unknown result type (might be due to invalid IL or missing references)
			//IL_132f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1339: Unknown result type (might be due to invalid IL or missing references)
			//IL_1344: Unknown result type (might be due to invalid IL or missing references)
			//IL_16eb: Unknown result type (might be due to invalid IL or missing references)
			//IL_16f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_16f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_16fb: Unknown result type (might be due to invalid IL or missing references)
			//IL_1701: Unknown result type (might be due to invalid IL or missing references)
			//IL_170b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1716: Unknown result type (might be due to invalid IL or missing references)
			//IL_171b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1720: Unknown result type (might be due to invalid IL or missing references)
			//IL_1727: Unknown result type (might be due to invalid IL or missing references)
			//IL_1732: Unknown result type (might be due to invalid IL or missing references)
			//IL_1737: Unknown result type (might be due to invalid IL or missing references)
			//IL_173c: Unknown result type (might be due to invalid IL or missing references)
			//IL_173f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1742: Unknown result type (might be due to invalid IL or missing references)
			//IL_1747: Unknown result type (might be due to invalid IL or missing references)
			//IL_174e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1753: Unknown result type (might be due to invalid IL or missing references)
			//IL_1776: Unknown result type (might be due to invalid IL or missing references)
			//IL_1778: Unknown result type (might be due to invalid IL or missing references)
			//IL_177f: Unknown result type (might be due to invalid IL or missing references)
			//IL_178a: Unknown result type (might be due to invalid IL or missing references)
			//IL_178f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1795: Unknown result type (might be due to invalid IL or missing references)
			//IL_179f: Unknown result type (might be due to invalid IL or missing references)
			//IL_17aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_17af: Unknown result type (might be due to invalid IL or missing references)
			//IL_17b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_17bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_17c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_17c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_17e8: Unknown result type (might be due to invalid IL or missing references)
			//IL_17eb: Unknown result type (might be due to invalid IL or missing references)
			//IL_17f5: Unknown result type (might be due to invalid IL or missing references)
			//IL_1800: Unknown result type (might be due to invalid IL or missing references)
			//IL_1805: Unknown result type (might be due to invalid IL or missing references)
			//IL_180b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1815: Unknown result type (might be due to invalid IL or missing references)
			//IL_181b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1825: Unknown result type (might be due to invalid IL or missing references)
			//IL_182a: Unknown result type (might be due to invalid IL or missing references)
			//IL_182f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1836: Unknown result type (might be due to invalid IL or missing references)
			//IL_183b: Unknown result type (might be due to invalid IL or missing references)
			//IL_186d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1872: Unknown result type (might be due to invalid IL or missing references)
			//IL_1879: Unknown result type (might be due to invalid IL or missing references)
			//IL_1884: Unknown result type (might be due to invalid IL or missing references)
			//IL_1889: Unknown result type (might be due to invalid IL or missing references)
			//IL_188e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1895: Unknown result type (might be due to invalid IL or missing references)
			//IL_189b: Unknown result type (might be due to invalid IL or missing references)
			//IL_18a5: Unknown result type (might be due to invalid IL or missing references)
			//IL_18aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_18b0: Unknown result type (might be due to invalid IL or missing references)
			//IL_18ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_18bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_18e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_18ea: Unknown result type (might be due to invalid IL or missing references)
			//IL_18f1: Unknown result type (might be due to invalid IL or missing references)
			//IL_18fc: Unknown result type (might be due to invalid IL or missing references)
			//IL_1901: Unknown result type (might be due to invalid IL or missing references)
			//IL_1907: Unknown result type (might be due to invalid IL or missing references)
			//IL_1911: Unknown result type (might be due to invalid IL or missing references)
			//IL_191c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1921: Unknown result type (might be due to invalid IL or missing references)
			//IL_1926: Unknown result type (might be due to invalid IL or missing references)
			//IL_192d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1933: Unknown result type (might be due to invalid IL or missing references)
			//IL_193d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1942: Unknown result type (might be due to invalid IL or missing references)
			//IL_1948: Unknown result type (might be due to invalid IL or missing references)
			//IL_1952: Unknown result type (might be due to invalid IL or missing references)
			//IL_1957: Unknown result type (might be due to invalid IL or missing references)
			Dictionary<string, Transform> bones = new Dictionary<string, Transform>();
			List<string> list = new List<string>();
			Transform[] componentsInChildren = ((Component)root).GetComponentsInChildren<Transform>(true);
			foreach (Transform val in componentsInChildren)
			{
				list.Add(((Object)val).name);
				string key = ((Object)val).name.ToLowerInvariant();
				if (!bones.ContainsKey(key))
				{
					bones[key] = val;
				}
			}
			Transform val2 = Bone(new string[3] { "chest", "upper_chest", "spine.003" });
			Transform val3 = Bone(new string[3] { "stomach", "spine", "spine.002" });
			Transform val4 = Bone(new string[3] { "pelvis", "hips", "hip" });
			Transform val5 = Bone(new string[1] { "head" });
			Transform val6 = Bone(new string[2] { "upper_arm.l", "upperarm.l" });
			Transform val7 = Bone(new string[2] { "lower_arm.l", "forearm.l" }) ?? FirstChild(val6);
			Transform val8 = Bone(new string[1] { "hand.l" }) ?? FirstChild(val7);
			Transform val9 = Bone(new string[2] { "upper_arm.r", "upperarm.r" });
			Transform val10 = Bone(new string[2] { "lower_arm.r", "forearm.r" }) ?? FirstChild(val9);
			Transform val11 = Bone(new string[1] { "hand.r" }) ?? FirstChild(val10);
			Transform val12 = Bone(new string[2] { "thigh.l", "upper_leg.l" });
			Transform val13 = Bone(new string[3] { "calf.l", "shin.l", "lower_leg.l" }) ?? FirstChild(val12);
			Transform val14 = Bone(new string[1] { "foot.l" }) ?? FirstChild(val13);
			Transform val15 = Bone(new string[2] { "thigh.r", "upper_leg.r" });
			Transform val16 = Bone(new string[3] { "calf.r", "shin.r", "lower_leg.r" }) ?? FirstChild(val15);
			Transform val17 = Bone(new string[1] { "foot.r" }) ?? FirstChild(val16);
			if (!Object.op_Implicit((Object)(object)val2) || !Object.op_Implicit((Object)(object)val6) || !Object.op_Implicit((Object)(object)val9))
			{
				Debug.LogWarning((object)("[HoneyMod] Goril modeli kurulamadi (" + label + "). Kemikler: " + string.Join(", ", list)));
				return;
			}
			if (!Object.op_Implicit((Object)(object)val5) || !Object.op_Implicit((Object)(object)val12) || !Object.op_Implicit((Object)(object)val15))
			{
				Debug.LogWarning((object)("[HoneyMod] Bazi goril parcalari eksik kalacak (" + label + "). Kemikler: " + string.Join(", ", list)));
			}
			Renderer[] componentsInChildren2 = ((Component)root).GetComponentsInChildren<Renderer>(true);
			parts = new List<Renderer>();
			partRoles = new List<int>();
			partGroups = new List<int>();
			partCounter = 0;
			float U = Vector3.Distance(val6.position, val9.position);
			if (U < 0.01f)
			{
				U = 0.4f;
			}
			Vector3 val18 = val9.position - val6.position;
			Vector3 right = ((Vector3)(ref val18)).normalized;
			Vector3 val19 = (Object.op_Implicit((Object)(object)val4) ? val4.position : ((Object.op_Implicit((Object)(object)val12) && Object.op_Implicit((Object)(object)val15)) ? ((val12.position + val15.position) * 0.5f) : (val2.position - Vector3.up)));
			Vector3 up = val2.position - val19;
			val18 = up - Vector3.Dot(up, right) * right;
			up = ((Vector3)(ref val18)).normalized;
			if (((Vector3)(ref up)).sqrMagnitude < 0.001f)
			{
				up = Vector3.up;
			}
			val18 = Vector3.Cross(right, up);
			Vector3 fwd = ((Vector3)(ref val18)).normalized;
			Quaternion val20 = Quaternion.LookRotation(fwd, up);
			Ball(val2, val2.position - up * 0.1f * U, val20, new Vector3(1.75f, 1.5f, 1.3f) * U, HoneyRole.Fur, HoneyGroup.Base);
			Ball(val2, val2.position - fwd * 0.4f * U, val20, new Vector3(1.4f, 1.2f, 0.7f) * U, HoneyRole.Silver, HoneyGroup.Base);
			Ball(val2, val2.position + fwd * 0.5f * U - up * 0.15f * U, val20, new Vector3(1.15f, 0.9f, 0.5f) * U, HoneyRole.Skin, HoneyGroup.Base);
			if (Object.op_Implicit((Object)(object)val3))
			{
				Ball(val3, val3.position + fwd * 0.1f * U, val20, new Vector3(1.35f, 1.1f, 1.1f) * U, HoneyRole.Fur, HoneyGroup.Base);
			}
			if (Object.op_Implicit((Object)(object)val4))
			{
				Ball(val4, val4.position, val20, new Vector3(1.25f, 0.85f, 0.95f) * U, HoneyRole.Fur, HoneyGroup.Base);
			}
			Ball(val6, val6.position + up * 0.05f * U, val20, Vector3.one * 0.8f * U, HoneyRole.Fur, HoneyGroup.Base);
			Ball(val9, val9.position + up * 0.05f * U, val20, Vector3.one * 0.8f * U, HoneyRole.Fur, HoneyGroup.Base);
			Limb(val6, val7, 0.62f * U, HoneyRole.Fur, HoneyGroup.Base);
			Limb(val9, val10, 0.62f * U, HoneyRole.Fur, HoneyGroup.Base);
			Limb(val7, val8, 0.58f * U, HoneyRole.Fur, HoneyGroup.Base);
			Limb(val10, val11, 0.58f * U, HoneyRole.Fur, HoneyGroup.Base);
			if (Object.op_Implicit((Object)(object)val8))
			{
				Ball(val8, val8.position, val20, Vector3.one * 0.5f * U, HoneyRole.Skin, HoneyGroup.Base);
			}
			if (Object.op_Implicit((Object)(object)val11))
			{
				Ball(val11, val11.position, val20, Vector3.one * 0.5f * U, HoneyRole.Skin, HoneyGroup.Base);
			}
			Limb(val12, val13, 0.6f * U, HoneyRole.Fur, HoneyGroup.Base);
			Limb(val15, val16, 0.6f * U, HoneyRole.Fur, HoneyGroup.Base);
			Limb(val13, val14, 0.5f * U, HoneyRole.Fur, HoneyGroup.Base);
			Limb(val16, val17, 0.5f * U, HoneyRole.Fur, HoneyGroup.Base);
			if (Object.op_Implicit((Object)(object)val14))
			{
				Ball(val14, val14.position + fwd * 0.12f * U, val20, new Vector3(0.45f, 0.3f, 0.65f) * U, HoneyRole.Skin, HoneyGroup.Base);
			}
			if (Object.op_Implicit((Object)(object)val17))
			{
				Ball(val17, val17.position + fwd * 0.12f * U, val20, new Vector3(0.45f, 0.3f, 0.65f) * U, HoneyRole.Skin, HoneyGroup.Base);
			}
			Vector3 val21 = (Object.op_Implicit((Object)(object)val5) ? (val5.position + up * 0.3f * U) : Vector3.zero);
			if (Object.op_Implicit((Object)(object)val5))
			{
				Ball(val5, val5.position, val20, Vector3.one * 0.6f * U, HoneyRole.Fur, HoneyGroup.Base);
				Ball(val5, val21, val20, new Vector3(0.9f, 0.95f, 0.9f) * U, HoneyRole.Fur, HoneyGroup.Base);
				Ball(val5, val21 + up * 0.38f * U - fwd * 0.08f * U, val20, new Vector3(0.35f, 0.4f, 0.6f) * U, HoneyRole.Fur, HoneyGroup.Base);
				Ball(val5, val21 + fwd * 0.33f * U - up * 0.15f * U, val20, new Vector3(0.62f, 0.48f, 0.42f) * U, HoneyRole.Skin, HoneyGroup.Base);
				Ball(val5, val21 + fwd * 0.38f * U + up * 0.12f * U, val20, new Vector3(0.72f, 0.14f, 0.22f) * U, HoneyRole.Brow, HoneyGroup.Base);
				Ball(val5, val21 + fwd * 0.53f * U - up * 0.08f * U, val20, new Vector3(0.22f, 0.1f, 0.08f) * U, HoneyRole.Brow, HoneyGroup.Base);
				Ball(val5, val21 + fwd * 0.42f * U + up * 0.02f * U - right * 0.14f * U, val20, Vector3.one * 0.09f * U, HoneyRole.Eye, HoneyGroup.Base);
				Ball(val5, val21 + fwd * 0.42f * U + up * 0.02f * U + right * 0.14f * U, val20, Vector3.one * 0.09f * U, HoneyRole.Eye, HoneyGroup.Base);
			}
			Box(val2, val2.position + fwd * 0.64f * U + up * 0.1f * U, val20, new Vector3(1.05f, 0.55f, 0.24f) * U, HoneyRole.Armor, HoneyGroup.Armor);
			Box(val2, val2.position + fwd * 0.775f * U + up * 0.2f * U, val20, new Vector3(1.07f, 0.08f, 0.03f) * U, HoneyRole.Accent, HoneyGroup.Armor);
			Ball(val2, val2.position + fwd * 0.78f * U - up * 0.02f * U, val20, new Vector3(0.2f, 0.2f, 0.1f) * U, HoneyRole.Glow, HoneyGroup.Armor);
			Box(val6, val6.position + up * 0.4f * U - right * 0.06f * U, val20 * Quaternion.Euler(0f, 0f, 25f), new Vector3(0.78f, 0.2f, 0.85f) * U, HoneyRole.Armor, HoneyGroup.Armor);
			Box(val9, val9.position + up * 0.4f * U + right * 0.06f * U, val20 * Quaternion.Euler(0f, 0f, -25f), new Vector3(0.78f, 0.2f, 0.85f) * U, HoneyRole.Armor, HoneyGroup.Armor);
			Gauntlet(val7, val8);
			Gauntlet(val10, val11);
			if (Object.op_Implicit((Object)(object)val13))
			{
				Box(val13, val13.position + fwd * 0.3f * U, val20, new Vector3(0.42f, 0.4f, 0.18f) * U, HoneyRole.Armor, HoneyGroup.Armor);
			}
			if (Object.op_Implicit((Object)(object)val16))
			{
				Box(val16, val16.position + fwd * 0.3f * U, val20, new Vector3(0.42f, 0.4f, 0.18f) * U, HoneyRole.Armor, HoneyGroup.Armor);
			}
			if (Object.op_Implicit((Object)(object)val4))
			{
				Cyl(val4, val4.position + up * 0.22f * U, val20, new Vector3(1.12f, 0.08f, 0.88f) * U, HoneyRole.ArmorDark, HoneyGroup.Armor);
				Box(val4, val4.position + up * 0.22f * U + fwd * 0.45f * U, val20, new Vector3(0.22f, 0.2f, 0.06f) * U, HoneyRole.Accent, HoneyGroup.Armor);
			}
			if (Object.op_Implicit((Object)(object)val5))
			{
				Cyl(val5, val21 + up * 0.03f * U, val20, new Vector3(0.95f, 0.04f, 0.95f) * U, HoneyRole.ArmorDark, HoneyGroup.Visor);
				Box(val5, val21 + fwd * 0.47f * U + up * 0.03f * U, val20, new Vector3(0.66f, 0.12f, 0.1f) * U, HoneyRole.Glow, HoneyGroup.Visor);
				Cyl(val5, val21 + up * 0.44f * U, val20, new Vector3(0.56f, 0.05f, 0.56f) * U, HoneyRole.Armor, HoneyGroup.Crown);
				for (int j = 0; j < 5; j++)
				{
					Vector3 val22 = Quaternion.AngleAxis((float)j * 72f, up) * fwd;
					float num = ((j == 0) ? 0.17f : 0.13f);
					Vector3 pos = val21 + up * (0.47f + num * 0.3f) * U + val22 * 0.26f * U;
					Box(val5, pos, Quaternion.LookRotation(val22, up) * Quaternion.Euler(0f, 0f, 45f), new Vector3(num, num, 0.05f) * U, HoneyRole.Armor, HoneyGroup.Crown);
				}
				Ball(val5, val21 + up * 0.521f * U + fwd * 0.29f * U, val20, new Vector3(0.07f, 0.07f, 0.05f) * U, HoneyRole.Accent, HoneyGroup.Crown);
				for (int k = -1; k <= 1; k += 2)
				{
					Vector3 val23 = val21 + up * 0.28f * U + right * (float)k * 0.3f * U;
					val18 = right * (float)k * 0.55f + up - fwd * 0.25f;
					Vector3 normalized = ((Vector3)(ref val18)).normalized;
					Vector3 val24 = val23 + normalized * 0.55f * U;
					Rod(val5, val23, val24, 0.17f * U, HoneyRole.ArmorDark, HoneyGroup.Horns);
					Ball(val5, val24, val20, Vector3.one * 0.11f * U, HoneyRole.Glow, HoneyGroup.Horns);
				}
			}
			Quaternion val25 = val20 * Quaternion.Euler(8f, 0f, 0f);
			Vector3 val26 = val2.position - fwd * 0.82f * U - up * 0.75f * U;
			Box(val2, val26, val25, new Vector3(1.5f, 1.9f, 0.05f) * U, HoneyRole.Cape, HoneyGroup.Cape);
			Box(val2, val26 + val25 * Vector3.up * (0.95f * U), val25, new Vector3(1.55f, 0.1f, 0.08f) * U, HoneyRole.Armor, HoneyGroup.Cape);
			for (int l = -1; l <= 1; l += 2)
			{
				Vector3 val27 = val2.position - fwd * 0.8f * U + up * 0.32f * U + right * (float)l * 0.32f * U;
				Cyl(val2, val27, val20, new Vector3(0.28f, 0.3f, 0.28f) * U, HoneyRole.ArmorDark, HoneyGroup.Packs);
				Cyl(val2, val27 + up * 0.31f * U, val20, new Vector3(0.22f, 0.03f, 0.22f) * U, HoneyRole.Glow, HoneyGroup.Packs);
				Cyl(val2, val27 - up * 0.08f * U, val20, new Vector3(0.3f, 0.03f, 0.3f) * U, HoneyRole.Accent, HoneyGroup.Packs);
			}
			Vector3 center = val2.position - up * 0.1f * U;
			Vector3 semi = new Vector3(0.875f, 0.75f, 0.65f) * U;
			for (int m = -1; m <= 1; m += 2)
			{
				Crack(val2, OnShell(center, semi, new Vector3(0.95f * (float)m, 0.1f, 0.45f)), OnShell(center, semi, new Vector3(0.85f * (float)m, -0.2f, 0.55f)), OnShell(center, semi, new Vector3(0.95f * (float)m, -0.5f, 0.35f)));
			}
			LimbCrack(val6, val7, 0.31f * U, -1f);
			LimbCrack(val9, val10, 0.31f * U, 1f);
			LimbCrack(val12, val13, 0.3f * U, -1f);
			LimbCrack(val15, val16, 0.3f * U, 1f);
			for (int n = -1; n <= 1; n += 2)
			{
				Transform obj = ((n < 0) ? val6 : val9);
				Transform val28 = ((n < 0) ? val8 : val11);
				Vector3 val29 = right * (float)n;
				Vector3 val30 = obj.position + up * 0.42f * U + val29 * 0.12f * U;
				Crystal(obj, val30, up + val29 * 0.35f, 0.5f * U, 0.15f * U);
				Crystal(obj, val30 + val29 * 0.15f * U - fwd * 0.08f * U, up * 0.7f + val29, 0.38f * U, 0.12f * U);
				Crystal(obj, val30 - fwd * 0.2f * U, up * 0.8f - fwd * 0.6f + val29 * 0.2f, 0.32f * U, 0.11f * U);
				if (Object.op_Implicit((Object)(object)val28))
				{
					Crystal(val28, val28.position + val29 * 0.2f * U, val29 * 0.7f + up * 0.5f + fwd * 0.2f, 0.28f * U, 0.1f * U);
					Crystal(val28, val28.position + val29 * 0.18f * U - fwd * 0.1f * U, val29 * 0.6f + up * 0.4f - fwd * 0.4f, 0.22f * U, 0.08f * U);
				}
			}
			HoneySkinApplier honeySkinApplier = ((Component)root).gameObject.AddComponent<HoneySkinApplier>();
			honeySkinApplier.Parts = parts.ToArray();
			honeySkinApplier.Roles = partRoles.ToArray();
			honeySkinApplier.Groups = partGroups.ToArray();
			((Component)root).gameObject.AddComponent<HoneyModelHider>().Originals = componentsInChildren2;
			Transform Bone(string[] candidates)
			{
				foreach (string key2 in candidates)
				{
					if (bones.TryGetValue(key2, out var value))
					{
						return value;
					}
				}
				return null;
			}
			void Crack(Transform bone, Vector3 p0, Vector3 p1, Vector3 p2)
			{
				//IL_0001: Unknown result type (might be due to invalid IL or missing references)
				//IL_0002: Unknown result type (might be due to invalid IL or missing references)
				//IL_001e: Unknown result type (might be due to invalid IL or missing references)
				//IL_001f: Unknown result type (might be due to invalid IL or missing references)
				Bar(bone, p0, p1, 0.05f * U, HoneyRole.Glow, HoneyGroup.Cracks, 0f);
				Bar(bone, p1, p2, 0.05f * U, HoneyRole.Glow, HoneyGroup.Cracks, 0f);
			}
			static void Crystal(Transform bone, Vector3 at, Vector3 dir, float length, float thickness)
			{
				//IL_0002: Unknown result type (might be due to invalid IL or missing references)
				//IL_0007: Unknown result type (might be due to invalid IL or missing references)
				//IL_000a: Unknown result type (might be due to invalid IL or missing references)
				//IL_000b: 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_000e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0013: Unknown result type (might be due to invalid IL or missing references)
				//IL_0028: Unknown result type (might be due to invalid IL or missing references)
				//IL_0029: Unknown result type (might be due to invalid IL or missing references)
				//IL_0031: Unknown result type (might be due to invalid IL or missing references)
				//IL_0036: Unknown result type (might be due to invalid IL or missing references)
				//IL_003b: 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_0044: Unknown result type (might be due to invalid IL or missing references)
				//IL_0049: Unknown result type (might be due to invalid IL or missing references)
				dir = ((Vector3)(ref dir)).normalized;
				Bar(bone, at, at + dir * length, thickness, HoneyRole.Glow, HoneyGroup.Ice, 45f);
				Bar(bone, at + dir * (length * 0.95f), at + dir * (length * 1.3f), thickness * 0.55f, HoneyRole.Glow, HoneyGroup.Ice, 45f);
			}
			void Gauntlet(Transform lower, Transform hand)
			{
				//IL_0012: Unknown result type (might be due to invalid IL or missing references)
				//IL_0017: Unknown result type (might be due to invalid IL or missing references)
				//IL_0019: Unknown result type (might be due to invalid IL or missing references)
				//IL_001e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0020: Unknown result type (might be due to invalid IL or missing references)
				//IL_0021: Unknown result type (might be due to invalid IL or missing references)
				//IL_0027: Unknown result type (might be due to invalid IL or missing references)
				//IL_002c: Unknown result type (might be due to invalid IL or missing references)
				//IL_002d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0033: Unknown result type (might be due to invalid IL or missing references)
				//IL_004c: 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)
				//IL_0053: Unknown result type (might be due to invalid IL or missing references)
				//IL_0058: Unknown result type (might be due to invalid IL or missing references)
				//IL_0059: 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)
				if (Object.op_Implicit((Object)(object)lower) && Object.op_Implicit((Object)(object)hand))
				{
					Vector3 position = lower.position;
					Vector3 position2 = hand.position;
					CylBetween(lower, Vector3.Lerp(position, position2, 0.3f), Vector3.Lerp(position, position2, 0.92f), 0.68f * U, HoneyRole.Armor, HoneyGroup.Armor);
					CylBetween(lower, Vector3.Lerp(position, position2, 0.52f), Vector3.Lerp(position, position2, 0.6f), 0.71f * U, HoneyRole.Accent, HoneyGroup.Armor);
				}
			}
			void LimbCrack(Transform from, Transform to, float radius, float side)
			{
				//IL_001c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0021: Unknown result type (might be due to invalid IL or missing references)
				//IL_0029: Unknown result type (might be due to invalid IL or missing references)
				//IL_002e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0034: Unknown result type (might be due to invalid IL or missing references)
				//IL_003a: Unknown result type (might be due to invalid IL or missing references)
				//IL_003f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0044: Unknown result type (might be due to invalid IL or missing references)
				//IL_0047: Unknown result type (might be due to invalid IL or missing references)
				//IL_004c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0051: Unknown result type (might be due to invalid IL or missing references)
				//IL_0058: Unknown result type (might be due to invalid IL or missing references)
				//IL_005d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0063: 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_0069: Unknown result type (might be due to invalid IL or missing references)
				//IL_006e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0071: 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_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_0084: Unknown result type (might be due to invalid IL or missing references)
				//IL_0089: Unknown result type (might be due to invalid IL or missing references)
				//IL_009d: Unknown result type (might be due to invalid IL or missing references)
				//IL_00b2: Unknown result type (might be due to invalid IL or missing references)
				//IL_00c7: Unknown