Decompiled source of SunkenTombs v1.0.9

CorruptsAllVoidStages.dll

Decompiled 2 weeks ago
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using AK.Wwise;
using BepInEx;
using HG;
using HG.Reflection;
using Microsoft.CodeAnalysis;
using On.RoR2;
using R2API;
using RoR2;
using RoR2.CharacterAI;
using RoR2.ContentManagement;
using RoR2.EntitlementManagement;
using RoR2.ExpansionManagement;
using RoR2.Navigation;
using UnityEngine;
using UnityEngine.AddressableAssets;
using UnityEngine.Networking;
using UnityEngine.Rendering.PostProcessing;
using UnityEngine.ResourceManagement.AsyncOperations;
using UnityEngine.SceneManagement;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: OptIn]
[assembly: AssemblyCompany("CorruptsAllVoidStages")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0")]
[assembly: AssemblyProduct("CorruptsAllVoidStages")]
[assembly: AssemblyTitle("CorruptsAllVoidStages")]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification = true)]
[assembly: AssemblyVersion("1.0.0.0")]
[module: UnverifiableCode]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	internal sealed class EmbeddedAttribute : Attribute
	{
	}
}
namespace System.Runtime.CompilerServices
{
	[CompilerGenerated]
	[Microsoft.CodeAnalysis.Embedded]
	[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
	internal sealed class RefSafetyRulesAttribute : Attribute
	{
		public readonly int Version;

		public RefSafetyRulesAttribute(int P_0)
		{
			Version = P_0;
		}
	}
}
namespace CorruptsAllVoidStages
{
	public static class Assets
	{
		public static ExpansionDef NewVoidStageHiddenExpansion { get; private set; }

		public static Material matVoidTerrainNew { get; private set; }

		public static Material matVoidMetalOvergrown { get; private set; }

		public static GameObject VoidCoralLit { get; private set; }

		public static GameObject UnderwaterLemurianMaster { get; private set; }

		public static UnlockableDef[] NewtStatueUnlockables { get; private set; }

		public static void SetNewVoidStageHiddenExpansion(EntitlementDef entitlementDLC1)
		{
			NewVoidStageHiddenExpansion = ScriptableObject.CreateInstance<ExpansionDef>();
			((Object)NewVoidStageHiddenExpansion).name = "groovesalad.NewVoidStageHiddenExpansion";
			NewVoidStageHiddenExpansion.requiredEntitlement = entitlementDLC1;
			NewVoidStageHiddenExpansion.nameToken = string.Empty;
			NewVoidStageHiddenExpansion.descriptionToken = string.Empty;
		}

		public static void SetMatVoidTerrainNew(Material matVoidTerrain, Texture texSand1)
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_000c: Expected O, but got Unknown
			//IL_0032: Unknown result type (might be due to invalid IL or missing references)
			matVoidTerrainNew = new Material(matVoidTerrain);
			matVoidTerrainNew.SetTexture("_RedChannelTopTex", texSand1);
			matVoidTerrainNew.SetTextureScale("_RedChannelTopTex", new Vector2(2f, 2f));
			matVoidTerrainNew.SetFloat("_RedChannelBias", 2.45f);
			matVoidTerrainNew.SetFloat("_GreenChannelBias", 0.037f);
		}

		public static void SetMatVoidMetalOvergrown(Material matVoidMetalTrimGrassyVertexColorsOnly, Texture texSand1, Texture texVoidMoss)
		{
			//IL_0002: Unknown result type (might be due to invalid IL or missing references)
			//IL_000c: Expected O, but got Unknown
			//IL_002b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0030: Unknown result type (might be due to invalid IL or missing references)
			matVoidMetalOvergrown = new Material(matVoidMetalTrimGrassyVertexColorsOnly);
			matVoidMetalOvergrown.SetColor("_Color", Color32.op_Implicit(new Color32((byte)155, (byte)155, (byte)155, byte.MaxValue)));
			matVoidMetalOvergrown.SetFloat("_SpecularStrength", 0.06365327f);
			matVoidMetalOvergrown.SetFloat("_SpecularExponent", 0.7722783f);
			matVoidMetalOvergrown.SetTexture("_SnowTex", texSand1);
			matVoidMetalOvergrown.SetFloat("_SnowBias", 0.05808783f);
			matVoidMetalOvergrown.SetFloat("_Depth", 0.5279048f);
			matVoidMetalOvergrown.EnableKeyword("DIRTON");
			matVoidMetalOvergrown.SetTexture("_DirtTex", texVoidMoss);
			matVoidMetalOvergrown.SetFloat("_DirtBias", 0.5306497f);
		}

		public static void SetVoidCoralLit(GameObject SPCoralMDLit, Texture texRampVoidFlatCoral, Texture texVoidMoss)
		{
			//IL_0080: Unknown result type (might be due to invalid IL or missing references)
			//IL_008a: Expected O, but got Unknown
			//IL_00ac: Unknown result type (might be due to invalid IL or missing references)
			VoidCoralLit = PrefabAPI.InstantiateClone(SPCoralMDLit, "VoidCoralLit", false);
			Light componentInChildren = VoidCoralLit.GetComponentInChildren<Light>();
			if (Object.op_Implicit((Object)(object)componentInChildren))
			{
				componentInChildren.intensity = 4f;
				componentInChildren.range = 15f;
			}
			Transform obj = VoidCoralLit.transform.Find("meshSPCoralString");
			if (obj != null)
			{
				((Component)obj).gameObject.SetActive(false);
			}
			MeshRenderer val = default(MeshRenderer);
			if (VoidCoralLit.TryGetComponent<MeshRenderer>(ref val))
			{
				((Renderer)val).sharedMaterial = new Material(((Renderer)val).sharedMaterial);
				((Renderer)val).sharedMaterial.SetFloat("_EmPower", 0.5f);
				((Renderer)val).sharedMaterial.SetColor("_Color", Color.white);
				((Renderer)val).sharedMaterial.SetTexture("_MainTex", texRampVoidFlatCoral);
				((Renderer)val).sharedMaterial.SetTexture("_BlueChannelTex", texVoidMoss);
			}
		}

		public static void SetUnderwaterLemurianMaster(GameObject LemurianMaster)
		{
			UnderwaterLemurianMaster = PrefabAPI.InstantiateClone(LemurianMaster, "UnderwaterLemurianMaster", true);
			AISkillDriver[] components = UnderwaterLemurianMaster.GetComponents<AISkillDriver>();
			AISkillDriver val = ((IEnumerable<AISkillDriver>)components).FirstOrDefault((Func<AISkillDriver, bool>)((AISkillDriver x) => x.customName == "StrafeAndShoot"));
			if (Object.op_Implicit((Object)(object)val))
			{
				Object.DestroyImmediate((Object)(object)val);
			}
			AISkillDriver val2 = ((IEnumerable<AISkillDriver>)components).FirstOrDefault((Func<AISkillDriver, bool>)((AISkillDriver x) => x.customName == "StrafeIdley"));
			if (Object.op_Implicit((Object)(object)val2))
			{
				Object.DestroyImmediate((Object)(object)val2);
			}
		}

		public static void SetNewtStatueUnlockables()
		{
			NewtStatueUnlockables = (UnlockableDef[])(object)new UnlockableDef[3];
			for (int i = 0; i < NewtStatueUnlockables.Length; i++)
			{
				UnlockableDef val = ScriptableObject.CreateInstance<UnlockableDef>();
				val.cachedName = "NewtStatue.desolatereef." + i;
				val.nameToken = "UNLOCKABLE_NEWTSTATUE";
				val.hidden = true;
				NewtStatueUnlockables[i] = val;
			}
		}
	}
	[BepInPlugin("com.groovesalad.DesolateReef", "DesolateReef", "1.0.9")]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	[BepInDependency(/*Could not decode attribute arguments.*/)]
	public class CorruptsAllVoidStages : BaseUnityPlugin, IContentPackProvider
	{
		[Serializable]
		[CompilerGenerated]
		private sealed class <>c
		{
			public static readonly <>c <>9 = new <>c();

			public static hook_SpawnVoidPortal <>9__6_1;

			internal void <Awake>b__6_1(orig_SpawnVoidPortal orig, SolusWebMissionController self)
			{
				//IL_0007: Unknown result type (might be due to invalid IL or missing references)
				//IL_000c: Unknown result type (might be due to invalid IL or missing references)
				self.VoidPrefab = Addressables.LoadAssetAsync<GameObject>((object)"RoR2/DLC1/DeepVoidPortal/DeepVoidPortal.prefab").WaitForCompletion();
				orig.Invoke(self);
			}
		}

		public bool disableOcclusionCulling;

		public AssetBundleCreateRequest desolateReefAssets;

		public ContentPack contentPack;

		public RuntimeVoidStageTemplate voidStageTemplate;

		public string identifier => "groovesalad.CorruptsAllVoidStages";

		public void Awake()
		{
			//IL_004d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0052: Unknown result type (might be due to invalid IL or missing references)
			//IL_0064: Expected O, but got Unknown
			//IL_0071: Unknown result type (might be due to invalid IL or missing references)
			//IL_007b: Expected O, but got Unknown
			//IL_0083: Unknown result type (might be due to invalid IL or missing references)
			//IL_008d: Expected O, but got Unknown
			//IL_0095: Unknown result type (might be due to invalid IL or missing references)
			//IL_009f: Expected O, but got Unknown
			//IL_00f6: 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: Expected O, but got Unknown
			disableOcclusionCulling = ((BaseUnityPlugin)this).Config.Bind<bool>("Optimization", "Disable Occlusion Culling", true, "Disables occlusion culling on Desolate Reef. Enabling culling will slightly improve performance but may cause flickering in certain areas of the map.").Value;
			desolateReefAssets = AssetBundle.LoadFromFileAsync(Path.Combine(Path.GetDirectoryName(((BaseUnityPlugin)this).Info.Location), "desolatereefassets"));
			contentPack = new ContentPack
			{
				identifier = identifier
			};
			Language.Init();
			ContentManager.collectContentPackProviders += (CollectContentPackProvidersDelegate)delegate(AddContentPackProviderDelegate add)
			{
				add.Invoke((IContentPackProvider)(object)this);
			};
			RuleDef.FromExpansion += new hook_FromExpansion(RuleDef_FromExpansion);
			RuleDef.AvailableChoiceCount += new hook_AvailableChoiceCount(RuleDef_AvailableChoiceCount);
			SceneManager.activeSceneChanged += SceneManager_activeSceneChanged;
			Run.onRunStartGlobal += Run_onRunStartGlobal;
			if (disableOcclusionCulling)
			{
				CameraRigController.onCameraEnableGlobal += CameraRigController_onCameraEnableGlobal;
			}
			object obj = <>c.<>9__6_1;
			if (obj == null)
			{
				hook_SpawnVoidPortal val = delegate(orig_SpawnVoidPortal orig, SolusWebMissionController self)
				{
					//IL_0007: Unknown result type (might be due to invalid IL or missing references)
					//IL_000c: Unknown result type (might be due to invalid IL or missing references)
					self.VoidPrefab = Addressables.LoadAssetAsync<GameObject>((object)"RoR2/DLC1/DeepVoidPortal/DeepVoidPortal.prefab").WaitForCompletion();
					orig.Invoke(self);
				};
				<>c.<>9__6_1 = val;
				obj = (object)val;
			}
			SolusWebMissionController.SpawnVoidPortal += (hook_SpawnVoidPortal)obj;
		}

		public IEnumerator LoadStaticContentAsync(LoadStaticContentAsyncArgs args)
		{
			AsyncOperationHandle<EntitlementDef> entitlementDLC1;
			AsyncOperationHandle<SceneDef> voidstage;
			AsyncOperationHandle<SceneCollection> sgStage5;
			AsyncOperationHandle<SceneCollection> sgStage6;
			AsyncOperationHandle<MusicTrackDef> soundlessDepths;
			AsyncOperationHandle<MusicTrackDef> thermodynamicEquilibrium;
			AsyncOperationHandle<Material> matBazaarSeerGolemplains;
			AsyncOperationHandle<Material> matVoidTerrain;
			AsyncOperationHandle<Texture> texSand1;
			AsyncOperationHandle<Material> matVoidMetalTrimGrassyVertexColorsOnly;
			AsyncOperationHandle<Texture> texVoidMoss;
			AsyncOperationHandle<GameObject> SPCoralMDLit;
			AsyncOperationHandle<Texture> texRampVoidFlatCoral;
			AsyncOperationHandle<GameObject> VoidStageDiorama;
			AsyncOperationHandle<Material> matVoidTrim;
			AsyncOperationHandle<GameObject> LemurianMaster;
			AsyncOperationHandle<NodeGraph> voidstage_GroundNodeGraph;
			AsyncOperationHandle<NodeGraph> voidstage_AirNodeGraph;
			AsyncOperationHandle<UnlockableDef> Logs_Stages_voidstage;
			AsyncOperationHandle<IList<AsyncOperationHandle>> groupOp = Addressables.ResourceManager.CreateGenericGroupOperation(new List<AsyncOperationHandle>
			{
				CreateAddressableOp<EntitlementDef>("RoR2/DLC1/Common/entitlementDLC1.asset", out entitlementDLC1),
				CreateAddressableOp<SceneDef>("RoR2/DLC1/voidstage/voidstage.asset", out voidstage),
				CreateAddressableOp<SceneCollection>("RoR2/Base/SceneGroups/sgStage5.asset", out sgStage5),
				CreateAddressableOp<SceneCollection>("RoR2/Base/SceneGroups/sgStage1.asset", out sgStage6),
				CreateAddressableOp<MusicTrackDef>("RoR2/DLC1/Common/muGameplayDLC1_08.asset", out soundlessDepths),
				CreateAddressableOp<MusicTrackDef>("RoR2/DLC1/Common/muBossfightDLC1_12.asset", out thermodynamicEquilibrium),
				CreateAddressableOp<Material>("RoR2/Base/bazaar/matBazaarSeerGolemplains.mat", out matBazaarSeerGolemplains),
				CreateAddressableOp<Material>("RoR2/DLC1/voidstage/matVoidTerrain.mat", out matVoidTerrain),
				CreateAddressableOp<Texture>("RoR2/Base/Common/Props/texSand1.png", out texSand1),
				CreateAddressableOp<Material>("RoR2/DLC1/voidstage/matVoidMetalTrimGrassyVertexColorsOnly.mat", out matVoidMetalTrimGrassyVertexColorsOnly),
				CreateAddressableOp<Texture>("RoR2/DLC1/voidstage/texVoidMoss.tga", out texVoidMoss),
				CreateAddressableOp<GameObject>("RoR2/DLC1/sulfurpools/SPCoralMDLit.prefab", out SPCoralMDLit),
				CreateAddressableOp<Texture>("RoR2/DLC1/Common/ColorRamps/texRampVoidFlatCoral.png", out texRampVoidFlatCoral),
				CreateAddressableOp<GameObject>("RoR2/DLC1/voidstage/VoidStageDiorama.prefab", out VoidStageDiorama),
				CreateAddressableOp<Material>("RoR2/DLC1/voidstage/matVoidTrim.mat", out matVoidTrim),
				CreateAddressableOp<GameObject>("RoR2/Base/Lemurian/LemurianMaster.prefab", out LemurianMaster),
				CreateAddressableOp<NodeGraph>("RoR2/DLC1/voidstage/voidstage_GroundNodeGraph.asset", out voidstage_GroundNodeGraph),
				CreateAddressableOp<NodeGraph>("RoR2/DLC1/voidstage/voidstage_AirNodeGraph.asset", out voidstage_AirNodeGraph),
				CreateAddressableOp<UnlockableDef>("RoR2/DLC1/voidstage/Logs.Stages.voidstage.asset", out Logs_Stages_voidstage)
			}, true);
			yield return desolateReefAssets;
			AssetBundleRequest texDesolateReefPreview = desolateReefAssets.assetBundle.LoadAssetAsync<Sprite>("texDesolateReefPreview");
			AssetBundleRequest texDesolateReefSeerPreview = desolateReefAssets.assetBundle.LoadAssetAsync<Sprite>("texDesolateReefSeerPreview");
			while (!groupOp.IsDone)
			{
				args.ReportProgress(groupOp.PercentComplete);
				yield return null;
			}
			Assets.SetNewVoidStageHiddenExpansion(entitlementDLC1.Result);
			voidstage.Result.requiredExpansion = Assets.NewVoidStageHiddenExpansion;
			voidstage.Result.sceneType = (SceneType)1;
			voidstage.Result.blockOrbitalSkills = false;
			voidstage.Result.destinationsGroup = sgStage6.Result;
			ref SceneEntry[] sceneEntries = ref sgStage5.Result._sceneEntries;
			SceneEntry val = new SceneEntry
			{
				sceneDef = voidstage.Result
			};
			((SceneEntry)(ref val)).weight = 1f;
			SceneEntry value = val;
			ArrayUtils.ArrayAppend<SceneEntry>(ref sceneEntries, ref value);
			voidstage.Result.destinations = Array.Empty<SceneDef>();
			voidstage.Result.stageOrder = 5;
			voidstage.Result.validForRandomSelection = true;
			voidstage.Result.mainTrack = soundlessDepths.Result;
			voidstage.Result.bossTrack = thermodynamicEquilibrium.Result;
			voidstage.Result.nameToken = "GS_MAP_DESOLATEREEF_TITLE";
			voidstage.Result.subtitleToken = "GS_MAP_DESOLATEREEF_SUBTITLE";
			voidstage.Result.loreToken = "GS_MAP_DESOLATEREEF_LORE";
			voidstage.Result.portalSelectionMessageString = "GS_BAZAAR_SEER_DESOLATEREEF";
			Assets.SetMatVoidTerrainNew(matVoidTerrain.Result, texSand1.Result);
			Assets.SetMatVoidMetalOvergrown(matVoidMetalTrimGrassyVertexColorsOnly.Result, texSand1.Result, texVoidMoss.Result);
			Assets.SetVoidCoralLit(SPCoralMDLit.Result, texRampVoidFlatCoral.Result, texVoidMoss.Result);
			voidstage.Result.dioramaPrefab = PrefabAPI.InstantiateClone(VoidStageDiorama.Result, "DesolateReefDiorama", false);
			ModelPanelParameters modelPanelParameters = default(ModelPanelParameters);
			if (voidstage.Result.dioramaPrefab.TryGetComponent<ModelPanelParameters>(ref modelPanelParameters))
			{
				modelPanelParameters.minDistance = 20f;
				modelPanelParameters.maxDistance = 200f;
			}
			if (voidstage.Result.dioramaPrefab.transform.TryFind("Holder", out var holder))
			{
				((Component)holder).transform.localScale = Vector3.one * 4f;
				Transform obj = ((Component)holder).transform.Find("FX");
				if (obj != null)
				{
					((Component)obj).gameObject.SetActive(false);
				}
				Transform obj2 = ((Component)holder).transform.Find("Lights");
				if (obj2 != null)
				{
					((Component)obj2).gameObject.SetActive(false);
				}
				Transform obj3 = ((Component)holder).transform.Find("VoidWhale");
				if (obj3 != null)
				{
					((Component)obj3).gameObject.SetActive(false);
				}
				if (holder.TryFind("mdlVoidStageDiorama/mdlVoidStageDioramaBase", out var mdlVoidStageDioramaBase))
				{
					Transform obj4 = ((Component)mdlVoidStageDioramaBase).transform.Find("dioramawater");
					if (obj4 != null)
					{
						((Component)obj4).gameObject.SetActive(false);
					}
					Transform obj5 = ((Component)mdlVoidStageDioramaBase).transform.Find("mdlVoidMetalSpiralWalkway.001/mdlPortalFrame.001");
					if (obj5 != null)
					{
						((Component)obj5).gameObject.SetActive(false);
					}
					Transform obj6 = ((Component)mdlVoidStageDioramaBase).transform.Find("mdlVoidSupportPlatform.004");
					if (obj6 != null)
					{
						((Component)obj6).gameObject.SetActive(false);
					}
					Transform obj7 = ((Component)mdlVoidStageDioramaBase).transform.Find("mdlVoidEastPlatform.001/Pipe");
					if (obj7 != null)
					{
						((Component)obj7).gameObject.SetActive(false);
					}
					if (((Component)mdlVoidStageDioramaBase).transform.TryFind("mdlVoidTerrainSouthSmallRoof.001", out var mdlVoidTerrainSouthSmallRoof))
					{
						MeshRenderer meshRenderer = default(MeshRenderer);
						if (((Component)mdlVoidTerrainSouthSmallRoof).TryGetComponent<MeshRenderer>(ref meshRenderer))
						{
							((Renderer)meshRenderer).sharedMaterial = Assets.matVoidTerrainNew;
						}
						if (mdlVoidTerrainSouthSmallRoof.TryFind("mdlVoidRepairsPlatform.001", out var mdlVoidRepairsPlatform))
						{
							MeshRenderer platformMeshRenderer = default(MeshRenderer);
							if (((Component)mdlVoidRepairsPlatform).TryGetComponent<MeshRenderer>(ref platformMeshRenderer))
							{
								((Renderer)platformMeshRenderer).enabled = false;
							}
							foreach (Transform child in mdlVoidRepairsPlatform.AllChildren())
							{
								((Component)child).gameObject.SetActive(false);
							}
							if (mdlVoidRepairsPlatform.TryFind("mdlVoidArchEntry.002", out var mdlVoidArchEntry))
							{
								((Component)mdlVoidArchEntry).gameObject.SetActive(true);
								MeshRenderer archMeshRenderer = default(MeshRenderer);
								if (((Component)mdlVoidArchEntry).TryGetComponent<MeshRenderer>(ref archMeshRenderer))
								{
									((Renderer)archMeshRenderer).sharedMaterial = matVoidTrim.Result;
								}
								Transform obj8 = mdlVoidArchEntry.Find("mdlVoidArchEntry.003");
								if (obj8 != null)
								{
									((Component)obj8).gameObject.SetActive(false);
								}
								mdlVoidArchEntry.localScale = Vector3.one * 3f;
							}
						}
					}
					MeshRenderer meshRenderer3 = default(MeshRenderer);
					if (((Component)mdlVoidStageDioramaBase).transform.TryFind("mdlVoidEastPlatform.001", out var mdlVoidEastPlatform) && ((Component)mdlVoidEastPlatform).TryGetComponent<MeshRenderer>(ref meshRenderer3))
					{
						((Renderer)meshRenderer3).sharedMaterial = Assets.matVoidMetalOvergrown;
					}
					MeshRenderer meshRenderer2 = default(MeshRenderer);
					if (((Component)mdlVoidStageDioramaBase).transform.TryFind("mdlVoidMetalSpiralWalkway.001", out var mdlVoidMetalSpiralWalkway) && ((Component)mdlVoidMetalSpiralWalkway).TryGetComponent<MeshRenderer>(ref meshRenderer2))
					{
						((Renderer)meshRenderer2).sharedMaterial = Assets.matVoidMetalOvergrown;
					}
					MeshRenderer baseMeshRenderer = default(MeshRenderer);
					if (((Component)mdlVoidStageDioramaBase).TryGetComponent<MeshRenderer>(ref baseMeshRenderer))
					{
						((Renderer)baseMeshRenderer).sharedMaterial = Assets.matVoidMetalOvergrown;
					}
				}
				Transform obj9 = ((Component)holder).transform.Find("Grass/CrabFoam1Prop (15)");
				if (obj9 != null)
				{
					((Component)obj9).gameObject.SetActive(false);
				}
				Transform obj10 = ((Component)holder).transform.Find("Grass/CrabFoam1Prop (16)");
				if (obj10 != null)
				{
					((Component)obj10).gameObject.SetActive(false);
				}
				Transform obj11 = ((Component)holder).transform.Find("Grass/CrabFoam1Prop (17)");
				if (obj11 != null)
				{
					((Component)obj11).gameObject.SetActive(false);
				}
				Transform obj12 = ((Component)holder).transform.Find("Grass/CrabFoam1Prop (18)");
				if (obj12 != null)
				{
					((Component)obj12).gameObject.SetActive(false);
				}
				if (((Component)holder).transform.TryFind("Grass/VoidFanCoral (1)", out var voidFanCoral))
				{
					voidFanCoral.localScale = Vector3.one * 0.25f;
				}
				if (((Component)holder).transform.TryFind("Grass/VoidBubbleCoral (1)", out var voidBubbleCoral))
				{
					voidBubbleCoral.localScale = Vector3.one * 0.25f;
					Transform obj13 = voidBubbleCoral.Find("VoidBubble/Point Light");
					if (obj13 != null)
					{
						((Component)obj13).gameObject.SetActive(false);
					}
					Transform obj14 = voidBubbleCoral.Find("VoidBubble/Bubble");
					if (obj14 != null)
					{
						((Component)obj14).gameObject.SetActive(true);
					}
				}
				GameObject largeVoidCoralLit = Object.Instantiate<GameObject>(Assets.VoidCoralLit, holder);
				largeVoidCoralLit.transform.localPosition = new Vector3(0f, 0.8f, 0f);
				largeVoidCoralLit.transform.localScale = Vector3.one * 1.5f;
				GameObject smallVoidCoralLit = Object.Instantiate<GameObject>(Assets.VoidCoralLit, holder);
				smallVoidCoralLit.transform.localPosition = new Vector3(-0.7f, 0.9f, -3.7f);
				smallVoidCoralLit.transform.localEulerAngles = new Vector3(270f, 310f, 0f);
				smallVoidCoralLit.transform.localScale = Vector3.one * 0.8f;
			}
			Assets.SetUnderwaterLemurianMaster(LemurianMaster.Result);
			IZone[] disabledGroundNodeZones = (IZone[])(object)new IZone[9]
			{
				(IZone)(object)new SimpleBoxZone
				{
					cornerA = new Vector3(-45f, 29f, -26f),
					cornerB = new Vector3(45f, 68f, -95f)
				},
				(IZone)(object)new SimpleRadialZone
				{
					center = new Vector2(2.425146f, -12.55224f),
					height = new RangeFloat
					{
						min = 37.74302f,
						max = 130f
					},
					radius = 100f
				},
				(IZone)(object)new SimpleSphereZone
				{
					center = new Vector3(31.51681f, 9.069029f, -83.28874f),
					radius = 4f
				},
				(IZone)(object)new SimpleSphereZone
				{
					center = new Vector3(-54.34208f, -3.969529f, 27.88097f),
					radius = 4f
				},
				(IZone)(object)new SimpleBoxZone
				{
					cornerA = new Vector3(-30f, 22f, 214f),
					cornerB = new Vector3(-220.7236f, 42.97554f, 400f)
				},
				(IZone)(object)new SimpleRadialZone
				{
					center = new Vector2(-184f, 209f),
					height = new RangeFloat
					{
						min = 25f,
						max = 50f
					},
					radius = 15f
				},
				(IZone)(object)new SimpleSphereZone
				{
					center = new Vector3(-111.0189f, 19.61561f, 197.9515f),
					radius = 4f
				},
				(IZone)(object)new SimpleBoxZone
				{
					cornerA = new Vector3(-112.1319f, 20.08289f, 201f),
					cornerB = new Vector3(-140.7579f, 28f, 217f)
				},
				(IZone)(object)new SimpleSphereZone
				{
					center = new Vector3(157.7814f, 6.52061f, -173.4296f),
					radius = 4f
				}
			};
			IZone[] disabledAirNodeZones = (IZone[])(object)new IZone[3]
			{
				(IZone)(object)new SimpleBoxZone
				{
					cornerA = new Vector3(-274.8925f, 142.8943f, 129.8717f),
					cornerB = new Vector3(-52.02304f, 103.5345f, -60.19645f)
				},
				(IZone)(object)new SimpleBoxZone
				{
					cornerA = new Vector3(-63.34568f, 42.65285f, 72.64758f),
					cornerB = new Vector3(43.69559f, 4.374349f, 44.70821f)
				},
				(IZone)(object)new SimpleSphereZone
				{
					center = new Vector3(48.7455f, 23.94464f, -70.06884f),
					radius = 15f
				}
			};
			byte disabledGroundeNodeGateIndex = voidstage_GroundNodeGraph.Result.RegisterGateName("groovesalad.disabledNodes");
			for (int j = 0; j < voidstage_GroundNodeGraph.Result.nodes.Length; j++)
			{
				Vector3 position2 = voidstage_GroundNodeGraph.Result.nodes[j].position;
				if (disabledGroundNodeZones.Any((IZone x) => x.IsInBounds(position2)))
				{
					voidstage_GroundNodeGraph.Result.nodes[j].gateIndex = disabledGroundeNodeGateIndex;
				}
			}
			byte disabledAirNodeGateIndex = voidstage_AirNodeGraph.Result.RegisterGateName("groovesalad.disabledNodes");
			for (int i = 0; i < voidstage_AirNodeGraph.Result.nodes.Length; i++)
			{
				Vector3 position = voidstage_AirNodeGraph.Result.nodes[i].position;
				if (disabledAirNodeZones.Any((IZone x) => x.IsInBounds(position)))
				{
					voidstage_AirNodeGraph.Result.nodes[i].gateIndex = disabledAirNodeGateIndex;
				}
			}
			Logs_Stages_voidstage.Result.nameToken = "GS_UNLOCKABLE_LOG_STAGES_DESOLATEREEF";
			Assets.SetNewtStatueUnlockables();
			yield return texDesolateReefPreview;
			yield return texDesolateReefSeerPreview;
			ref Texture previewTexture = ref voidstage.Result.previewTexture;
			Object asset = texDesolateReefPreview.asset;
			previewTexture = (Texture)(object)((Sprite)((asset is Sprite) ? asset : null)).texture;
			voidstage.Result.portalMaterial = new Material(matBazaarSeerGolemplains.Result);
			? val2 = voidstage.Result.portalMaterial;
			Object asset2 = texDesolateReefSeerPreview.asset;
			((Material)val2).SetTexture("_MainTex", (Texture)(object)((Sprite)((asset2 is Sprite) ? asset2 : null)).texture);
			desolateReefAssets.assetBundle.Unload(false);
			contentPack.expansionDefs.Add((ExpansionDef[])(object)new ExpansionDef[1] { Assets.NewVoidStageHiddenExpansion });
			contentPack.masterPrefabs.Add((GameObject[])(object)new GameObject[1] { Assets.UnderwaterLemurianMaster });
			contentPack.unlockableDefs.Add(Assets.NewtStatueUnlockables);
			static AsyncOperationHandle CreateAddressableOp<TObject>(object key, out AsyncOperationHandle<TObject> op)
			{
				//IL_0003: Unknown result type (might be due to invalid IL or missing references)
				//IL_0008: Unknown result type (might be due to invalid IL or missing references)
				//IL_0009: 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_000f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0010: Unknown result type (might be due to invalid IL or missing references)
				//IL_0015: Unknown result type (might be due to invalid IL or missing references)
				//IL_0018: Unknown result type (might be due to invalid IL or missing references)
				return AsyncOperationHandle<TObject>.op_Implicit(op = Addressables.LoadAssetAsync<TObject>(key));
			}
		}

		public IEnumerator GenerateContentPackAsync(GetContentPackAsyncArgs args)
		{
			ContentPack.Copy(contentPack, args.output);
			yield break;
		}

		public IEnumerator FinalizeAsync(FinalizeAsyncArgs args)
		{
			yield break;
		}

		private RuleDef RuleDef_FromExpansion(orig_FromExpansion orig, ExpansionDef expansionDef)
		{
			RuleDef val = orig.Invoke(expansionDef);
			if ((Object)(object)expansionDef == (Object)(object)Assets.NewVoidStageHiddenExpansion)
			{
				val.forceLobbyDisplay = false;
			}
			return val;
		}

		private int RuleDef_AvailableChoiceCount(orig_AvailableChoiceCount orig, RuleDef self, RuleChoiceMask availability)
		{
			int result = orig.Invoke(self, availability);
			if (self.globalName == "Expansions.groovesalad.NewVoidStageHiddenExpansion")
			{
				return 0;
			}
			return result;
		}

		private void SceneManager_activeSceneChanged(Scene oldScene, Scene newScene)
		{
			//IL_0030: Unknown result type (might be due to invalid IL or missing references)
			//IL_0022: Unknown result type (might be due to invalid IL or missing references)
			if (((Scene)(ref newScene)).name == "voidstage")
			{
				(voidStageTemplate ?? (voidStageTemplate = new RuntimeVoidStageTemplate(newScene))).Apply(newScene);
			}
		}

		private void Run_onRunStartGlobal(Run run)
		{
			if (NetworkServer.active)
			{
				run.SetEventFlag("NoVoidStage");
			}
		}

		private void CameraRigController_onCameraEnableGlobal(CameraRigController cameraRigController)
		{
			SceneDef mostRecentSceneDef = SceneCatalog.mostRecentSceneDef;
			if (((mostRecentSceneDef != null) ? mostRecentSceneDef.cachedName : null) == "voidstage" && Object.op_Implicit((Object)(object)cameraRigController.sceneCam))
			{
				cameraRigController.sceneCam.useOcclusionCulling = false;
			}
		}
	}
	public static class Language
	{
		public static void Init()
		{
			LanguageAPI.Add(new Dictionary<string, string>
			{
				{ "GS_MAP_DESOLATEREEF_TITLE", "Sunken Tombs" },
				{ "GS_MAP_DESOLATEREEF_SUBTITLE", "Underwater Catacombs" },
				{ "GS_MAP_DESOLATEREEF_LORE", "<style=cMono>\r\nWelcome to DataScraper (v3.1.53 – beta branch)\r\n$ Scraping memory... done.\r\n$ Resolving... done.\r\n$ Combing for relevant data... done.\r\nComplete!\r\nOutputting local audio transcriptions...\r\n</style>\r\nDAY 152: \nStill searching, \nNo contact from the Contact Light in 83 days. \nI should return to the camp but I can't. Not yet. \nI have to know. \n\nIt's there. \nSomewhere. \nI have to see. \n\nI have to know. \nI have to see. \nI have to know. \nI have to see. I have to know. \n\nI have to see. I have to know \n\nI have to see I have to know \n\nI HAVE TO SEE I HAVE TO KNOW \nI HAVE TO SEE I HAVE TO KNOW \nI HAVE TO SEE I HAVE TO KNOW \nI HAVE TO SEE I HAVE TO KNOW \nI HAVE TO SEE I HAVE TO KNOW \n\nThe Uncommon Rarity fish. \r\n<style=cMono>\r\nLocal audio transcriptions complete.\r\n</style>\r\n" },
				{ "GS_BAZAAR_SEER_DESOLATEREEF", "<style=cWorldEvent>You dream of drifting into the abyss.</style>" },
				{ "GS_UNLOCKABLE_LOG_STAGES_DESOLATEREEF", "Environment Log: Sunken Tombs" }
			});
		}
	}
	public class RuntimeVoidStageTemplate
	{
		public PostProcessProfile ppSceneVoidStageNew;

		public Material matVoidOverhangNew;

		public Material matVoidCrystalNew;

		public DccsPool dpMonsters;

		public DirectorCardCategorySelection dccsMonsters;

		public DirectorCardCategorySelection dccsMonstersDLC1;

		public DccsPool dpInteractables;

		public DirectorCardCategorySelection dccsInteractables;

		public DirectorCardCategorySelection dccsInteractablesDLC1;

		public RuntimeVoidStageTemplate(Scene voidStage)
		{
			//IL_000d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0012: 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_00a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e4: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0132: Unknown result type (might be due to invalid IL or missing references)
			//IL_0137: Unknown result type (might be due to invalid IL or missing references)
			//IL_0140: Unknown result type (might be due to invalid IL or missing references)
			//IL_014a: Expected O, but got Unknown
			//IL_015a: Unknown result type (might be due to invalid IL or missing references)
			//IL_015f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0174: Unknown result type (might be due to invalid IL or missing references)
			//IL_0179: Unknown result type (might be due to invalid IL or missing references)
			//IL_0182: Unknown result type (might be due to invalid IL or missing references)
			//IL_018c: Expected O, but got Unknown
			//IL_0197: Unknown result type (might be due to invalid IL or missing references)
			//IL_01b2: Unknown result type (might be due to invalid IL or missing references)
			//IL_01b7: Unknown result type (might be due to invalid IL or missing references)
			//IL_01e1: Unknown result type (might be due to invalid IL or missing references)
			//IL_01e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_021b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0223: Unknown result type (might be due to invalid IL or missing references)
			//IL_022b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0233: Unknown result type (might be due to invalid IL or missing references)
			//IL_0274: Unknown result type (might be due to invalid IL or missing references)
			//IL_029c: Unknown result type (might be due to invalid IL or missing references)
			//IL_02a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_02a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_02b1: Expected O, but got Unknown
			//IL_02b3: Unknown result type (might be due to invalid IL or missing references)
			//IL_02b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_02be: Unknown result type (might be due to invalid IL or missing references)
			//IL_02c3: Unknown result type (might be due to invalid IL or missing references)
			//IL_02d1: Unknown result type (might be due to invalid IL or missing references)
			//IL_02d9: Expected O, but got Unknown
			//IL_02db: Unknown result type (might be due to invalid IL or missing references)
			//IL_02e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_02e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_02eb: Unknown result type (might be due to invalid IL or missing references)
			//IL_02f9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0300: Unknown result type (might be due to invalid IL or missing references)
			//IL_0308: Expected O, but got Unknown
			//IL_030d: Unknown result type (might be due to invalid IL or missing references)
			//IL_030f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0318: Unknown result type (might be due to invalid IL or missing references)
			//IL_0340: Unknown result type (might be due to invalid IL or missing references)
			//IL_0345: Unknown result type (might be due to invalid IL or missing references)
			//IL_034b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0350: Unknown result type (might be due to invalid IL or missing references)
			//IL_035e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0366: Expected O, but got Unknown
			//IL_0368: Unknown result type (might be due to invalid IL or missing references)
			//IL_036d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0373: Unknown result type (might be due to invalid IL or missing references)
			//IL_0378: Unknown result type (might be due to invalid IL or missing references)
			//IL_0386: Unknown result type (might be due to invalid IL or missing references)
			//IL_038e: Expected O, but got Unknown
			//IL_0390: 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_039b: Unknown result type (might be due to invalid IL or missing references)
			//IL_03a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_03ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_03b6: Expected O, but got Unknown
			//IL_03bb: Unknown result type (might be due to invalid IL or missing references)
			//IL_03bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_03c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_03ee: Unknown result type (might be due to invalid IL or missing references)
			//IL_03f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_03f9: Unknown result type (might be due to invalid IL or missing references)
			//IL_03fe: 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_0414: Expected O, but got Unknown
			//IL_0416: Unknown result type (might be due to invalid IL or missing references)
			//IL_041b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0421: Unknown result type (might be due to invalid IL or missing references)
			//IL_0426: Unknown result type (might be due to invalid IL or missing references)
			//IL_0434: Unknown result type (might be due to invalid IL or missing references)
			//IL_043c: Expected O, but got Unknown
			//IL_043e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0443: Unknown result type (might be due to invalid IL or missing references)
			//IL_0449: Unknown result type (might be due to invalid IL or missing references)
			//IL_044e: Unknown result type (might be due to invalid IL or missing references)
			//IL_045c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0464: Expected O, but got Unknown
			//IL_0466: Unknown result type (might be due to invalid IL or missing references)
			//IL_046b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0471: Unknown result type (might be due to invalid IL or missing references)
			//IL_0476: Unknown result type (might be due to invalid IL or missing references)
			//IL_0484: Unknown result type (might be due to invalid IL or missing references)
			//IL_048c: Expected O, but got Unknown
			//IL_0491: Unknown result type (might be due to invalid IL or missing references)
			//IL_0493: Unknown result type (might be due to invalid IL or missing references)
			//IL_049c: Unknown result type (might be due to invalid IL or missing references)
			//IL_04c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_04c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_04cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_04d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_04e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_04e9: Unknown result type (might be due to invalid IL or missing references)
			//IL_04f1: Expected O, but got Unknown
			//IL_04f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_04f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_053e: 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_056b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0571: Unknown result type (might be due to invalid IL or missing references)
			//IL_0576: Unknown result type (might be due to invalid IL or missing references)
			//IL_0584: Unknown result type (might be due to invalid IL or missing references)
			//IL_058b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0593: Expected O, but got Unknown
			//IL_0598: Unknown result type (might be due to invalid IL or missing references)
			//IL_059a: Unknown result type (might be due to invalid IL or missing references)
			//IL_05a3: Unknown result type (might be due to invalid IL or missing references)
			//IL_05cb: Unknown result type (might be due to invalid IL or missing references)
			//IL_05d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_05d6: Unknown result type (might be due to invalid IL or missing references)
			//IL_05db: Unknown result type (might be due to invalid IL or missing references)
			//IL_05e9: Unknown result type (might be due to invalid IL or missing references)
			//IL_05f1: Expected O, but got Unknown
			//IL_05f3: 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_05fe: Unknown result type (might be due to invalid IL or missing references)
			//IL_0603: 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_0619: Expected O, but got Unknown
			//IL_061b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0620: Unknown result type (might be due to invalid IL or missing references)
			//IL_0626: Unknown result type (might be due to invalid IL or missing references)
			//IL_062b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0639: Unknown result type (might be due to invalid IL or missing references)
			//IL_0641: Expected O, but got Unknown
			//IL_0646: 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_0651: Unknown result type (might be due to invalid IL or missing references)
			//IL_0679: 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_0684: Unknown result type (might be due to invalid IL or missing references)
			//IL_0689: Unknown result type (might be due to invalid IL or missing references)
			//IL_0697: Unknown result type (might be due to invalid IL or missing references)
			//IL_069f: Expected O, but got Unknown
			//IL_06a4: Unknown result type (might be due to invalid IL or missing references)
			//IL_06a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_06da: Unknown result type (might be due to invalid IL or missing references)
			//IL_06e1: Expected O, but got Unknown
			//IL_0703: Unknown result type (might be due to invalid IL or missing references)
			//IL_0708: Unknown result type (might be due to invalid IL or missing references)
			//IL_0714: Unknown result type (might be due to invalid IL or missing references)
			//IL_0720: Expected O, but got Unknown
			//IL_072f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0736: Expected O, but got Unknown
			//IL_0779: Unknown result type (might be due to invalid IL or missing references)
			//IL_0780: Expected O, but got Unknown
			//IL_07ae: Unknown result type (might be due to invalid IL or missing references)
			//IL_07b3: Unknown result type (might be due to invalid IL or missing references)
			//IL_07b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_07be: Unknown result type (might be due to invalid IL or missing references)
			//IL_07cc: Unknown result type (might be due to invalid IL or missing references)
			//IL_07d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_07e3: Expected O, but got Unknown
			//IL_07e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_07ec: Expected O, but got Unknown
			//IL_07f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_07f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0828: Unknown result type (might be due to invalid IL or missing references)
			//IL_082d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0833: Unknown result type (might be due to invalid IL or missing references)
			//IL_0838: 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_0851: Unknown result type (might be due to invalid IL or missing references)
			//IL_085d: Expected O, but got Unknown
			//IL_085f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0864: Unknown result type (might be due to invalid IL or missing references)
			//IL_086a: 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_087d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0888: Unknown result type (might be due to invalid IL or missing references)
			//IL_0894: Expected O, but got Unknown
			//IL_08aa: Unknown result type (might be due to invalid IL or missing references)
			//IL_08b1: Expected O, but got Unknown
			//IL_08df: Unknown result type (might be due to invalid IL or missing references)
			//IL_08e6: Expected O, but got Unknown
			//IL_08ed: Unknown result type (might be due to invalid IL or missing references)
			//IL_08f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0965: Unknown result type (might be due to invalid IL or missing references)
			//IL_098e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0993: Unknown result type (might be due to invalid IL or missing references)
			//IL_0999: 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_09ac: Unknown result type (might be due to invalid IL or missing references)
			//IL_09b5: Expected O, but got Unknown
			//IL_09b7: Unknown result type (might be due to invalid IL or missing references)
			//IL_09bc: Unknown result type (might be due to invalid IL or missing references)
			//IL_09c2: Unknown result type (might be due to invalid IL or missing references)
			//IL_09c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_09d5: Unknown result type (might be due to invalid IL or missing references)
			//IL_09dd: Expected O, but got Unknown
			//IL_09df: 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_09ea: 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_09fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a05: Expected O, but got Unknown
			//IL_0a07: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a0c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a12: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a17: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a25: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a2d: Expected O, but got Unknown
			//IL_0a2f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a34: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a3a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a3f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a4d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a55: Expected O, but got Unknown
			//IL_0a57: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a5c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a62: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a67: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a75: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a7d: Expected O, but got Unknown
			//IL_0a7f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a84: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a8a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a8f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0a9d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0aa5: Expected O, but got Unknown
			//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_0ab7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ac5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0acd: Expected O, but got Unknown
			//IL_0acf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ad4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ada: Unknown result type (might be due to invalid IL or missing references)
			//IL_0adf: 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_0af5: Expected O, but got Unknown
			//IL_0afa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0afc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b05: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b2d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b32: 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_0b3d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b4b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b54: Expected O, but got Unknown
			//IL_0b59: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b5b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b64: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b8c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b91: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b97: Unknown result type (might be due to invalid IL or missing references)
			//IL_0b9c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0baa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bb3: Expected O, but got Unknown
			//IL_0bb5: 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_0bc0: 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_0bd3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bdc: Expected O, but got Unknown
			//IL_0bde: Unknown result type (might be due to invalid IL or missing references)
			//IL_0be3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0be9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bee: Unknown result type (might be due to invalid IL or missing references)
			//IL_0bfc: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c05: Expected O, but got Unknown
			//IL_0c07: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c0c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c12: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c17: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c25: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c2d: Expected O, but got Unknown
			//IL_0c32: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c34: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c3d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c65: 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_0c70: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c75: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c83: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c8b: Expected O, but got Unknown
			//IL_0c90: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c92: Unknown result type (might be due to invalid IL or missing references)
			//IL_0c9b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cc3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cc8: 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_0cd3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ce1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ce9: Expected O, but got Unknown
			//IL_0cee: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cf0: Unknown result type (might be due to invalid IL or missing references)
			//IL_0cf9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d21: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d26: 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_0d31: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d3f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d47: Expected O, but got Unknown
			//IL_0d49: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d4e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d54: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d59: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d67: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d6e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d74: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d79: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d88: Expected O, but got Unknown
			//IL_0d8a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d8f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d95: Unknown result type (might be due to invalid IL or missing references)
			//IL_0d9a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0da8: Unknown result type (might be due to invalid IL or missing references)
			//IL_0daf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0db7: Expected O, but got Unknown
			//IL_0db9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dbe: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dc4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dc9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dd7: Unknown result type (might be due to invalid IL or missing references)
			//IL_0dde: Unknown result type (might be due to invalid IL or missing references)
			//IL_0de6: Expected O, but got Unknown
			//IL_0deb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ded: Unknown result type (might be due to invalid IL or missing references)
			//IL_0df6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e1e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e23: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e29: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e2e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e3c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e45: Expected O, but got Unknown
			//IL_0e47: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e4c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e52: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e57: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e65: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e6c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e74: Expected O, but got Unknown
			//IL_0e76: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e7b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e81: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e86: Unknown result type (might be due to invalid IL or missing references)
			//IL_0e94: 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_0ea3: Expected O, but got Unknown
			//IL_0ea5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0eaa: 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_0eb5: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ec3: Unknown result type (might be due to invalid IL or missing references)
			//IL_0eca: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ed2: Expected O, but got Unknown
			//IL_0ed4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ed9: Unknown result type (might be due to invalid IL or missing references)
			//IL_0edf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ee4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ef2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0efb: Expected O, but got Unknown
			//IL_0f00: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f02: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f38: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f61: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f66: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f6c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f71: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f7f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f8b: Expected O, but got Unknown
			//IL_0f8d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f92: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f98: Unknown result type (might be due to invalid IL or missing references)
			//IL_0f9d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fab: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fb4: Expected O, but got Unknown
			//IL_0fb6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fbb: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fc1: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fc6: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fd4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fdd: Expected O, but got Unknown
			//IL_0fdf: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fe4: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fea: Unknown result type (might be due to invalid IL or missing references)
			//IL_0fef: Unknown result type (might be due to invalid IL or missing references)
			//IL_0ffd: Unknown result type (might be due to invalid IL or missing references)
			//IL_1006: Expected O, but got Unknown
			//IL_1008: Unknown result type (might be due to invalid IL or missing references)
			//IL_100d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1013: Unknown result type (might be due to invalid IL or missing references)
			//IL_1018: 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_102e: Expected O, but got Unknown
			//IL_1030: Unknown result type (might be due to invalid IL or missing references)
			//IL_1035: Unknown result type (might be due to invalid IL or missing references)
			//IL_103b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1040: Unknown result type (might be due to invalid IL or missing references)
			//IL_104e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1057: Expected O, but got Unknown
			//IL_1059: Unknown result type (might be due to invalid IL or missing references)
			//IL_105e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1064: Unknown result type (might be due to invalid IL or missing references)
			//IL_1069: 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_1080: Expected O, but got Unknown
			//IL_1082: 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_108d: 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_10a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_10a9: Expected O, but got Unknown
			//IL_10ab: Unknown result type (might be due to invalid IL or missing references)
			//IL_10b0: Unknown result type (might be due to invalid IL or missing references)
			//IL_10b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_10bb: 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_10d2: Expected O, but got Unknown
			//IL_10d5: Unknown result type (might be due to invalid IL or missing references)
			//IL_10da: Unknown result type (might be due to invalid IL or missing references)
			//IL_10e0: Unknown result type (might be due to invalid IL or missing references)
			//IL_10e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_10f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_10fc: Expected O, but got Unknown
			//IL_10ff: 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_110a: Unknown result type (might be due to invalid IL or missing references)
			//IL_110f: Unknown result type (might be due to invalid IL or missing references)
			//IL_111d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1125: Expected O, but got Unknown
			//IL_1128: 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_1133: Unknown result type (might be due to invalid IL or missing references)
			//IL_1138: Unknown result type (might be due to invalid IL or missing references)
			//IL_1146: Unknown result type (might be due to invalid IL or missing references)
			//IL_114e: Expected O, but got Unknown
			//IL_1151: Unknown result type (might be due to invalid IL or missing references)
			//IL_1156: Unknown result type (might be due to invalid IL or missing references)
			//IL_115c: 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_116f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1177: Expected O, but got Unknown
			//IL_117c: Unknown result type (might be due to invalid IL or missing references)
			//IL_117e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1187: Unknown result type (might be due to invalid IL or missing references)
			//IL_11af: 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_11ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_11bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_11cd: Unknown result type (might be due to invalid IL or missing references)
			//IL_11d6: Expected O, but got Unknown
			//IL_11db: Unknown result type (might be due to invalid IL or missing references)
			//IL_11dd: Unknown result type (might be due to invalid IL or missing references)
			//IL_11e6: Unknown result type (might be due to invalid IL or missing references)
			//IL_120e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1213: Unknown result type (might be due to invalid IL or missing references)
			//IL_1219: Unknown result type (might be due to invalid IL or missing references)
			//IL_121e: Unknown result type (might be due to invalid IL or missing references)
			//IL_122c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1235: Expected O, but got Unknown
			//IL_1237: Unknown result type (might be due to invalid IL or missing references)
			//IL_123c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1242: Unknown result type (might be due to invalid IL or missing references)
			//IL_1247: Unknown result type (might be due to invalid IL or missing references)
			//IL_1255: Unknown result type (might be due to invalid IL or missing references)
			//IL_125e: Expected O, but got Unknown
			//IL_1260: Unknown result type (might be due to invalid IL or missing references)
			//IL_1265: Unknown result type (might be due to invalid IL or missing references)
			//IL_126b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1270: Unknown result type (might be due to invalid IL or missing references)
			//IL_127e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1287: Expected O, but got Unknown
			//IL_1289: Unknown result type (might be due to invalid IL or missing references)
			//IL_128e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1294: Unknown result type (might be due to invalid IL or missing references)
			//IL_1299: Unknown result type (might be due to invalid IL or missing references)
			//IL_12a7: Unknown result type (might be due to invalid IL or missing references)
			//IL_12af: Expected O, but got Unknown
			//IL_12b4: Unknown result type (might be due to invalid IL or missing references)
			//IL_12b6: 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_12e7: Unknown result type (might be due to invalid IL or missing references)
			//IL_12ec: Unknown result type (might be due to invalid IL or missing references)
			//IL_12f2: Unknown result type (might be due to invalid IL or missing references)
			//IL_12f7: Unknown result type (might be due to invalid IL or missing references)
			//IL_1305: Unknown result type (might be due to invalid IL or missing references)
			//IL_1311: Expected O, but got Unknown
			//IL_1313: Unknown result type (might be due to invalid IL or missing references)
			//IL_1318: Unknown result type (might be due to invalid IL or missing references)
			//IL_131e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1323: Unknown result type (might be due to invalid IL or missing references)
			//IL_1331: Unknown result type (might be due to invalid IL or missing references)
			//IL_133d: Expected O, but got Unknown
			//IL_133f: 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_134a: Unknown result type (might be due to invalid IL or missing references)
			//IL_134f: Unknown result type (might be due to invalid IL or missing references)
			//IL_135d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1369: Expected O, but got Unknown
			//IL_136b: 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_1376: Unknown result type (might be due to invalid IL or missing references)
			//IL_137b: Unknown result type (might be due to invalid IL or missing references)
			//IL_1389: Unknown result type (might be due to invalid IL or missing references)
			//IL_1391: Expected O, but got Unknown
			//IL_1396: 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_13a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_13c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_13ce: Unknown result type (might be due to invalid IL or missing references)
			//IL_13d4: Unknown result type (might be due to invalid IL or missing references)
			//IL_13d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_13e7: Unknown result type (might be due to invalid IL or missing references)
			//IL_13ef: Expected O, but got Unknown
			//IL_13f4: Unknown result type (might be due to invalid IL or missing references)
			//IL_13f6: Unknown result type (might be due to invalid IL or missing references)
			//IL_13ff: Unknown result type (might be due to invalid IL or missing references)
			//IL_1427: Unknown result type (might be due to invalid IL or missing references)
			//IL_142c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1432: Unknown result type (might be due to invalid IL or missing references)
			//IL_1437: Unknown result type (might be due to invalid IL or missing references)
			//IL_1445: Unknown result type (might be due to invalid IL or missing references)
			//IL_144d: Expected O, but got Unknown
			//IL_144f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1454: Unknown result type (might be due to invalid IL or missing references)
			//IL_145a: Unknown result type (might be due to invalid IL or missing references)
			//IL_145f: Unknown result type (might be due to invalid IL or missing references)
			//IL_146d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1474: Unknown result type (might be due to invalid IL or missing references)
			//IL_147a: Unknown result type (might be due to invalid IL or missing references)
			//IL_147f: Unknown result type (might be due to invalid IL or missing references)
			//IL_148e: Expected O, but got Unknown
			//IL_1490: Unknown result type (might be due to invalid IL or missing references)
			//IL_1495: Unknown result type (might be due to invalid IL or missing references)
			//IL_149b: Unknown result type (might be due to invalid IL or missing references)
			//IL_14a0: 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_14b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_14bd: Expected O, but got Unknown
			//IL_14bf: Unknown result type (might be due to invalid IL or missing references)
			//IL_14c4: Unknown result type (might be due to invalid IL or missing references)
			//IL_14ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_14cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_14dd: Unknown result type (might be due to invalid IL or missing references)
			//IL_14e4: Unknown result type (might be due to invalid IL or missing references)
			//IL_14ec: Expected O, but got Unknown
			//IL_14f1: Unknown result type (might be due to invalid IL or missing references)
			//IL_14f3: Unknown result type (might be due to invalid IL or missing references)
			//IL_14fc: Unknown result type (might be due to invalid IL or missing references)
			//IL_1524: Unknown result type (might be due to invalid IL or missing references)
			//IL_1529: Unknown result type (might be due to invalid IL or missing references)
			//IL_152f: 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_1542: Unknown result type (might be due to invalid IL or missing references)
			//IL_154b: Expected O, but got Unknown
			//IL_154d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1552: Unknown result type (might be due to invalid IL or missing references)
			//IL_1558: Unknown result type (might be due to invalid IL or missing references)
			//IL_155d: Unknown result type (might be due to invalid IL or missing references)
			//IL_156b: 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_157a: Expected O, but got Unknown
			//IL_157c: Unknown result type (might be due to invalid IL or missing references)
			//IL_1581: Unknown result type (might be due to invalid IL or missing references)
			//IL_1587: Unknown result type (might be due to invalid IL or missing references)
			//IL_158c: Unknown result type (might be due to invalid IL or missing references)
			//IL_159a: 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_15a9: Expected O, but got Unknown
			//IL_15ab: Unknown result type (might be due to invalid IL or missing references)
			//IL_15b0: 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_15bb: Unknown result type (might be due to invalid IL or missing references)
			//IL_15c9: Unknown result type (might be due to invalid IL or missing references)
			//IL_15d0: Unknown result type (might be due to invalid IL or missing references)
			//IL_15d8: Expected O, but got Unknown
			//IL_15da: 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_15e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_15ea: Unknown result type (might be due to invalid IL or missing references)
			//IL_15f8: Unknown result type (might be due to invalid IL or missing references)
			//IL_1601: Expected O, but got Unknown
			//IL_1606: Unknown result type (might be due to invalid IL or missing references)
			//IL_1608: Unknown result type (might be due to invalid IL or missing references)
			//IL_1611: Unknown result type (might be due to invalid IL or missing references)
			//IL_1639: Unknown result type (might be due to invalid IL or missing references)
			//IL_163e: Unknown result type (might be due to invalid IL or missing references)
			//IL_1644: Unknown result type (might be due to invalid IL or missing references)
			//IL_1649: Unknown result type (might be due to invalid IL or missing references)
			//IL_1657: Unknown result type (might be due to invalid IL or missing references)
			//IL_1660: Expected O, but got Unknown
			//IL_1662: Unknown result type (might be due to invalid IL or missing references)
			//IL_1667: Unknown result type (might be due to invalid IL or missing references)
			//IL_166d: Unknown result type (might be due to invalid IL or missing references)
			//IL_1672: Unknown result type (might be due to invalid IL or missing references)
			//IL_1680: Unknown result type (might be due to invalid IL or missing references)
			//IL_1687: Unknown result type (might be due to invalid IL or missing references)
			//IL_168f: Expected O, but got Unknown
			//IL_1694: Unknown result type (might be due to invalid IL or missing references)
			//IL_1696: Unknown result type (might be due to invalid IL or missing references)
			//IL_16ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_16d1: Expected O, but got Unknown
			//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_1704: Unknown result type (might be due to invalid IL or missing references)
			//IL_1710: Expected O, but got Unknown
			//IL_171f: Unknown result type (might be due to invalid IL or missing references)
			//IL_1726: Expected O, but got Unknown
			PostProcessProfile val = Addressables.LoadAssetAsync<PostProcessProfile>((object)"RoR2/Base/title/PostProcessing/ppSceneLimbo.asset").WaitForCompletion();
			ppSceneVoidStageNew = ScriptableObject.CreateInstance<PostProcessProfile>();
			((Object)ppSceneVoidStageNew).name = "ppSceneVoidStageNew";
			foreach (PostProcessEffectSettings setting in val.settings)
			{
				ppSceneVoidStageNew.AddSettings(Object.Instantiate<PostProcessEffectSettings>(setting));
			}
			RampFog val2 = default(RampFog);
			if (ppSceneVoidStageNew.TryGetSettings<RampFog>(ref val2))
			{
				((ParameterOverride<Color>)(object)val2.fogColorStart).Override(Color32.op_Implicit(new Color32((byte)28, (byte)120, (byte)160, (byte)0)));
				((ParameterOverride<Color>)(object)val2.fogColorMid).Override(Color32.op_Implicit(new Color32((byte)3, (byte)78, (byte)128, (byte)75)));
				((ParameterOverride<Color>)(object)val2.fogColorEnd).Override(Color32.op_Implicit(new Color32((byte)4, (byte)38, (byte)76, (byte)150)));
				((ParameterOverride<float>)(object)val2.skyboxStrength).Override(1f);
			}
			Vignette val3 = default(Vignette);
			if (ppSceneVoidStageNew.TryGetSettings<Vignette>(ref val3))
			{
				((ParameterOverride<float>)(object)val3.intensity).Override(0.2f);
			}
			matVoidOverhangNew = new Material(Addressables.LoadAssetAsync<Material>((object)"RoR2/DLC1/voidstage/matVoidOverhang.mat").WaitForCompletion());
			matVoidOverhangNew.SetTexture("_SnowTex", Addressables.LoadAssetAsync<Texture>((object)"RoR2/Base/Common/Props/texSand1.png").WaitForCompletion());
			matVoidCrystalNew = new Material(Addressables.LoadAssetAsync<Material>((object)"RoR2/DLC1/voidstage/matVoidCrystal.mat").WaitForCompletion());
			matVoidCrystalNew.SetColor("_Color", Color.white);
			matVoidCrystalNew.SetTexture("_MainTex", Addressables.LoadAssetAsync<Texture>((object)"RoR2/DLC1/sulfurpools/texSPCoralEmi.png").WaitForCompletion());
			matVoidCrystalNew.SetFloat("_RampInfo", 0f);
			ExpansionDef val4 = Addressables.LoadAssetAsync<ExpansionDef>((object)"RoR2/DLC1/Common/DLC1.asset").WaitForCompletion();
			CharacterSpawnCard val5 = ScriptableObject.CreateInstance<CharacterSpawnCard>();
			((Object)val5).name = "cscUnderwaterLemurian";
			((SpawnCard)val5).prefab = Assets.UnderwaterLemurianMaster;
			((SpawnCard)val5).sendOverNetwork = true;
			((SpawnCard)val5).hullSize = (HullClassification)0;
			((SpawnCard)val5).nodeGraphType = (GraphType)0;
			((SpawnCard)val5).requiredFlags = (NodeFlags)0;
			((SpawnCard)val5).forbiddenFlags = (NodeFlags)4;
			((SpawnCard)val5).directorCreditCost = 8;
			((SpawnCard)val5).occupyPosition = false;
			dccsMonsters = ScriptableObject.CreateInstance<DirectorCardCategorySelection>();
			((Object)dccsMonsters).name = "dccsVoidStageMonstersNew";
			dccsMonsters.categories = (Category[])(object)new Category[4]
			{
				new Category
				{
					name = "Basic Monsters",
					selectionWeight = 3f,
					cards = (DirectorCard[])(object)new DirectorCard[3]
					{
						new DirectorCard
						{
							spawnCard = (SpawnCard)(object)val5,
							selectionWeight = 2
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Imp/cscImp.asset").WaitForCompletion(),
							selectionWeight = 2
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Vulture/cscVulture.asset").WaitForCompletion(),
							selectionWeight = 2,
							preventOverhead = true
						}
					}
				},
				new Category
				{
					name = "Minibosses",
					selectionWeight = 2f,
					cards = (DirectorCard[])(object)new DirectorCard[3]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Golem/cscGolemSandy.asset").WaitForCompletion(),
							selectionWeight = 2
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/LemurianBruiser/cscLemurianBruiser.asset").WaitForCompletion(),
							selectionWeight = 1
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ClayBruiser/cscClayBruiser.asset").WaitForCompletion(),
							selectionWeight = 2
						}
					}
				},
				new Category
				{
					name = "Champions",
					selectionWeight = 2f,
					cards = (DirectorCard[])(object)new DirectorCard[4]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Titan/cscTitanGooLake.asset").WaitForCompletion(),
							selectionWeight = 1
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ImpBoss/cscImpBoss.asset").WaitForCompletion(),
							selectionWeight = 2
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/RoboBallBoss/cscRoboBallBoss.asset").WaitForCompletion(),
							selectionWeight = 2
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ElectricWorm/cscElectricWorm.asset").WaitForCompletion(),
							selectionWeight = 2
						}
					}
				},
				new Category
				{
					name = "Special",
					selectionWeight = 1f,
					cards = (DirectorCard[])(object)new DirectorCard[1]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Scav/cscScav.asset").WaitForCompletion(),
							selectionWeight = 1,
							minimumStageCompletions = 5
						}
					}
				}
			};
			dccsMonsters.expansionsInEffect = new List<ExpansionDef>();
			dccsMonstersDLC1 = ScriptableObject.CreateInstance<DirectorCardCategorySelection>();
			((Object)dccsMonstersDLC1).name = "dccsVoidStageMonstersDLC1New";
			dccsMonstersDLC1.categories = (Category[])(object)new Category[3]
			{
				new Category
				{
					name = "Basic Monsters",
					selectionWeight = 3f,
					cards = (DirectorCard[])(object)new DirectorCard[1]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Jellyfish/cscJellyfish.asset").WaitForCompletion(),
							selectionWeight = 2,
							preventOverhead = true
						}
					}
				},
				new Category
				{
					name = "Minibosses",
					selectionWeight = 2f,
					cards = (DirectorCard[])(object)new DirectorCard[3]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Bell/cscBell.asset").WaitForCompletion(),
							selectionWeight = 2
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/DLC1/ClayGrenadier/cscClayGrenadier.asset").WaitForCompletion(),
							selectionWeight = 3
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/DLC1/Gup/cscGupBody.asset").WaitForCompletion(),
							selectionWeight = 1
						}
					}
				},
				new Category
				{
					name = "Champions",
					selectionWeight = 2f,
					cards = (DirectorCard[])(object)new DirectorCard[1]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Vagrant/cscVagrant.asset").WaitForCompletion(),
							selectionWeight = 1
						}
					}
				}
			};
			dpMonsters = ScriptableObject.CreateInstance<DccsPool>();
			((Object)dpMonsters).name = "dpVoidStageMonstersNew";
			DccsPool obj = dpMonsters;
			Category[] array = new Category[3];
			Category val6 = new Category();
			val6.name = "Standard";
			val6.categoryWeight = 0.98f;
			val6.alwaysIncluded = (PoolEntry[])(object)new PoolEntry[1]
			{
				new PoolEntry
				{
					dccs = dccsMonsters,
					weight = 1f
				}
			};
			Category obj2 = val6;
			ConditionalPoolEntry[] array2 = new ConditionalPoolEntry[1];
			ConditionalPoolEntry val7 = new ConditionalPoolEntry();
			((PoolEntry)val7).dccs = dccsMonstersDLC1;
			((PoolEntry)val7).weight = 1f;
			val7.requiredExpansions = (ExpansionDef[])(object)new ExpansionDef[1] { val4 };
			array2[0] = val7;
			obj2.includedIfConditionsMet = (ConditionalPoolEntry[])(object)array2;
			val6.includedIfNoConditionsMet = Array.Empty<PoolEntry>();
			array[0] = val6;
			val6 = new Category();
			val6.name = "Family";
			val6.categoryWeight = 0.02f;
			val6.alwaysIncluded = Array.Empty<PoolEntry>();
			Category obj3 = val6;
			ConditionalPoolEntry[] obj4 = new ConditionalPoolEntry[4]
			{
				new ConditionalPoolEntry
				{
					dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/Base/Common/DirectorCardCategorySelections/dccsGolemFamilySandy.asset").WaitForCompletion(),
					weight = 3f,
					requiredExpansions = Array.Empty<ExpansionDef>()
				},
				default(ConditionalPoolEntry),
				default(ConditionalPoolEntry),
				default(ConditionalPoolEntry)
			};
			val7 = new ConditionalPoolEntry();
			((PoolEntry)val7).dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/Base/Common/DirectorCardCategorySelections/dccsImpFamily.asset").WaitForCompletion();
			((PoolEntry)val7).weight = 2f;
			val7.requiredExpansions = (ExpansionDef[])(object)new ExpansionDef[1] { val4 };
			obj4[1] = val7;
			obj4[2] = new ConditionalPoolEntry
			{
				dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/Base/Common/DirectorCardCategorySelections/dccsParentFamily.asset").WaitForCompletion(),
				weight = 1f,
				requiredExpansions = Array.Empty<ExpansionDef>()
			};
			obj4[3] = new ConditionalPoolEntry
			{
				dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/DLC1/Common/dccsConstructFamily.asset").WaitForCompletion(),
				weight = 3f,
				requiredExpansions = Array.Empty<ExpansionDef>()
			};
			obj3.includedIfConditionsMet = (ConditionalPoolEntry[])(object)obj4;
			val6.includedIfNoConditionsMet = Array.Empty<PoolEntry>();
			array[1] = val6;
			val6 = new Category();
			val6.name = "VoidInvasion";
			val6.categoryWeight = 0.02f;
			val6.alwaysIncluded = Array.Empty<PoolEntry>();
			Category obj5 = val6;
			ConditionalPoolEntry[] array3 = new ConditionalPoolEntry[1];
			val7 = new ConditionalPoolEntry();
			((PoolEntry)val7).dccs = Addressables.LoadAssetAsync<DirectorCardCategorySelection>((object)"RoR2/DLC1/Common/dccsVoidFamily.asset").WaitForCompletion();
			((PoolEntry)val7).weight = 1f;
			val7.requiredExpansions = (ExpansionDef[])(object)new ExpansionDef[1] { val4 };
			array3[0] = val7;
			obj5.includedIfConditionsMet = (ConditionalPoolEntry[])(object)array3;
			val6.includedIfNoConditionsMet = Array.Empty<PoolEntry>();
			array[2] = val6;
			obj.poolCategories = (Category[])(object)array;
			dccsInteractables = ScriptableObject.CreateInstance<DirectorCardCategorySelection>();
			((Object)dccsInteractables).name = "dccsVoidStageInteractablesNew";
			dccsInteractables.categories = (Category[])(object)new Category[7]
			{
				new Category
				{
					name = "Chests",
					selectionWeight = 45f,
					cards = (DirectorCard[])(object)new DirectorCard[9]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest1/iscChest1.asset").WaitForCompletion(),
							selectionWeight = 24
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest2/iscChest2.asset").WaitForCompletion(),
							selectionWeight = 4
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/EquipmentBarrel/iscEquipmentBarrel.asset").WaitForCompletion(),
							selectionWeight = 2
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/TripleShopEquipment/iscTripleShopEquipment.asset").WaitForCompletion(),
							selectionWeight = 4
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/LunarChest/iscLunarChest.asset").WaitForCompletion(),
							selectionWeight = 1
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/TripleShopLarge/iscTripleShopLarge.asset").WaitForCompletion(),
							selectionWeight = 4
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CategoryChest/iscCategoryChestDamage.asset").WaitForCompletion(),
							selectionWeight = 2
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CategoryChest/iscCategoryChestHealing.asset").WaitForCompletion(),
							selectionWeight = 2
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CategoryChest/iscCategoryChestUtility.asset").WaitForCompletion(),
							selectionWeight = 2
						}
					}
				},
				new Category
				{
					name = "Barrels",
					selectionWeight = 10f,
					cards = (DirectorCard[])(object)new DirectorCard[1]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Barrel1/iscBarrel1.asset").WaitForCompletion(),
							selectionWeight = 10
						}
					}
				},
				new Category
				{
					name = "Shrines",
					selectionWeight = 8f,
					cards = (DirectorCard[])(object)new DirectorCard[4]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineChance/iscShrineChance.asset").WaitForCompletion(),
							selectionWeight = 40
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineCombat/iscShrineCombat.asset").WaitForCompletion(),
							selectionWeight = 10
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineBoss/iscShrineBoss.asset").WaitForCompletion(),
							selectionWeight = 20
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineCleanse/iscShrineCleanse.asset").WaitForCompletion(),
							selectionWeight = 5
						}
					}
				},
				new Category
				{
					name = "Drones",
					selectionWeight = 3f,
					cards = (DirectorCard[])(object)new DirectorCard[1]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Drones/iscBrokenEmergencyDrone.asset").WaitForCompletion(),
							selectionWeight = 3
						}
					}
				},
				new Category
				{
					name = "Misc",
					selectionWeight = 1f,
					cards = (DirectorCard[])(object)new DirectorCard[1]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Drones/iscBrokenTurret1.asset").WaitForCompletion(),
							selectionWeight = 6
						}
					}
				},
				new Category
				{
					name = "Rare",
					selectionWeight = 0.4f,
					cards = (DirectorCard[])(object)new DirectorCard[4]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest1StealthedVariant/iscChest1Stealthed.asset").WaitForCompletion(),
							selectionWeight = 6
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/RadarTower/iscRadarTower.asset").WaitForCompletion(),
							selectionWeight = 2,
							forbiddenUnlockableDef = Addressables.LoadAssetAsync<UnlockableDef>((object)"RoR2/DLC1/voidstage/Logs.Stages.voidstage.asset").WaitForCompletion()
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineGoldshoresAccess/iscShrineGoldshoresAccess.asset").WaitForCompletion(),
							selectionWeight = 2,
							minimumStageCompletions = 1
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/GoldChest/iscGoldChest.asset").WaitForCompletion(),
							selectionWeight = 2,
							minimumStageCompletions = 3
						}
					}
				},
				new Category
				{
					name = "Duplicator",
					selectionWeight = 8f,
					cards = (DirectorCard[])(object)new DirectorCard[5]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Duplicator/iscDuplicator.asset").WaitForCompletion(),
							selectionWeight = 30
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/DuplicatorLarge/iscDuplicatorLarge.asset").WaitForCompletion(),
							selectionWeight = 6,
							minimumStageCompletions = 1
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/DuplicatorMilitary/iscDuplicatorMilitary.asset").WaitForCompletion(),
							selectionWeight = 1,
							minimumStageCompletions = 1
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/DuplicatorWild/iscDuplicatorWild.asset").WaitForCompletion(),
							selectionWeight = 2,
							minimumStageCompletions = 1
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Scrapper/iscScrapper.asset").WaitForCompletion(),
							selectionWeight = 12
						}
					}
				}
			};
			dccsInteractablesDLC1 = ScriptableObject.CreateInstance<DirectorCardCategorySelection>();
			((Object)dccsInteractablesDLC1).name = "dccsVoidStageInteractablesDLC1New";
			dccsInteractablesDLC1.categories = (Category[])(object)new Category[8]
			{
				new Category
				{
					name = "Chests",
					selectionWeight = 45f,
					cards = (DirectorCard[])(object)new DirectorCard[13]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest1/iscChest1.asset").WaitForCompletion(),
							selectionWeight = 240
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Chest2/iscChest2.asset").WaitForCompletion(),
							selectionWeight = 31
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/EquipmentBarrel/iscEquipmentBarrel.asset").WaitForCompletion(),
							selectionWeight = 20
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/TripleShopEquipment/iscTripleShopEquipment.asset").WaitForCompletion(),
							selectionWeight = 20
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CasinoChest/iscCasinoChest.asset").WaitForCompletion(),
							selectionWeight = 8
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/LunarChest/iscLunarChest.asset").WaitForCompletion(),
							selectionWeight = 10
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/TripleShopLarge/iscTripleShopLarge.asset").WaitForCompletion(),
							selectionWeight = 40
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CategoryChest/iscCategoryChestDamage.asset").WaitForCompletion(),
							selectionWeight = 20
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CategoryChest/iscCategoryChestHealing.asset").WaitForCompletion(),
							selectionWeight = 20
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/CategoryChest/iscCategoryChestUtility.asset").WaitForCompletion(),
							selectionWeight = 20
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/DLC1/CategoryChest2/iscCategoryChest2Healing.asset").WaitForCompletion(),
							selectionWeight = 5
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/DLC1/CategoryChest2/iscCategoryChest2Damage.asset").WaitForCompletion(),
							selectionWeight = 5
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/DLC1/CategoryChest2/iscCategoryChest2Utility.asset").WaitForCompletion(),
							selectionWeight = 5
						}
					}
				},
				new Category
				{
					name = "Barrels",
					selectionWeight = 10f,
					cards = (DirectorCard[])(object)new DirectorCard[1]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Barrel1/iscBarrel1.asset").WaitForCompletion(),
							selectionWeight = 10
						}
					}
				},
				new Category
				{
					name = "Shrines",
					selectionWeight = 10f,
					cards = (DirectorCard[])(object)new DirectorCard[4]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineChance/iscShrineChance.asset").WaitForCompletion(),
							selectionWeight = 40
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineCombat/iscShrineCombat.asset").WaitForCompletion(),
							selectionWeight = 20
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineBoss/iscShrineBoss.asset").WaitForCompletion(),
							selectionWeight = 15
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/ShrineCleanse/iscShrineCleanse.asset").WaitForCompletion(),
							selectionWeight = 3
						}
					}
				},
				new Category
				{
					name = "Drones",
					selectionWeight = 14f,
					cards = (DirectorCard[])(object)new DirectorCard[4]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Drones/iscBrokenEmergencyDrone.asset").WaitForCompletion(),
							selectionWeight = 300
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Drones/iscBrokenMissileDrone.asset").WaitForCompletion(),
							selectionWeight = 600
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Drones/iscBrokenEquipmentDrone.asset").WaitForCompletion(),
							selectionWeight = 300
						},
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Drones/iscBrokenMegaDrone.asset").WaitForCompletion(),
							selectionWeight = 1
						}
					}
				},
				new Category
				{
					name = "Misc",
					selectionWeight = 0f,
					cards = (DirectorCard[])(object)new DirectorCard[1]
					{
						new DirectorCard
						{
							spawnCard = Addressables.LoadAssetAsync<SpawnCard>((object)"RoR2/Base/Drones/iscBrokenTurret1.asset").WaitForCompletion(),
							selectionWeight = 6
						}