Decompiled source of UnlimitedElevatedRoad v0.2.0

UnlimitedElevatedRoad_0.2.dll

Decompiled a year ago
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
using System.Security;
using System.Security.Permissions;
using BepInEx;
using BepInEx.Configuration;
using BepInEx.Logging;
using Colossal.Collections;
using Colossal.Entities;
using Colossal.Mathematics;
using Game;
using Game.Common;
using Game.Net;
using Game.Pathfind;
using Game.Prefabs;
using Game.Rendering;
using HarmonyLib;
using Microsoft.CodeAnalysis;
using Unity.Burst;
using Unity.Burst.Intrinsics;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using UnityEngine;
using UnityEngine.Scripting;
using UnlimitedElevatedRoad.Systems;

[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.Default | DebuggableAttribute.DebuggingModes.DisableOptimizations | DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints | DebuggableAttribute.DebuggingModes.EnableEditAndContinue)]
[assembly: TargetFramework(".NETStandard,Version=v2.1", FrameworkDisplayName = ".NET Standard 2.1")]
[assembly: AssemblyCompany("UnlimitedElevatedRoad")]
[assembly: AssemblyConfiguration("Debug")]
[assembly: AssemblyDescription("No pillars or max length limits for elevated roads")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyInformationalVersion("1.0.0+a939427840dfbabcf8a7f8a0c6fa9c01512a255d")]
[assembly: AssemblyProduct("UnlimitedElevatedRoad")]
[assembly: AssemblyTitle("UnlimitedElevatedRoad")]
[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 UnlimitedElevatedRoad
{
	[BepInPlugin("UnlimitedElevatedRoad", "UnlimitedElevatedRoad", "0.2.0")]
	public class Plugin : BaseUnityPlugin
	{
		public static ConfigEntry<int> MaxElevatedLength;

		public static ConfigEntry<int> MaxPillarInterval;

		public static ConfigEntry<bool> EnableNoPillar;

		public static ConfigEntry<bool> EnableUnlimitedHeight;

		private void Awake()
		{
			//IL_009f: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a5: Expected O, but got Unknown
			((BaseUnityPlugin)this).Logger.LogInfo((object)"Plugin UnlimitedElevatedRoad is loaded!");
			MaxElevatedLength = ((BaseUnityPlugin)this).Config.Bind<int>("MaxElevatedLength", "MaxElevatedLength", 200, "最大高架长度 | Max Elevated Length");
			MaxPillarInterval = ((BaseUnityPlugin)this).Config.Bind<int>("MaxPillarInterval", "MaxPillarInterval", 200, "桥墩间隔 | Pillar Interval");
			EnableNoPillar = ((BaseUnityPlugin)this).Config.Bind<bool>("EnableNoPillar", "EnableNoPillar", false, "是否启用无桥墩 | Enable No Pillar Mode");
			EnableUnlimitedHeight = ((BaseUnityPlugin)this).Config.Bind<bool>("EnableUnlimitedHeight", "EnableUnlimitedHeight", false, "是否启用无高度限制 | Enable No Height Limit Mode");
			Harmony val = new Harmony("UnlimitedElevatedRoad");
			val.PatchAll();
		}
	}
	[HarmonyPatch(typeof(NetInitializeSystem), "OnCreate")]
	public class NetInitializeSystem_OnCreatePatch
	{
		private static bool Prefix(NetInitializeSystem __instance)
		{
			((ComponentSystemBase)__instance).World.GetOrCreateSystemManaged<PatchedNetInitializeSystem>();
			((ComponentSystemBase)__instance).World.GetOrCreateSystemManaged<UpdateSystem>().UpdateAt<PatchedNetInitializeSystem>((SystemUpdatePhase)12);
			return true;
		}
	}
	[HarmonyPatch(typeof(NetInitializeSystem), "OnCreateForCompiler")]
	public class NetInitializeSystem_OnCreateForCompilerPatch
	{
		private static bool Prefix(NetInitializeSystem __instance)
		{
			return false;
		}
	}
	[HarmonyPatch(typeof(NetInitializeSystem), "OnUpdate")]
	public class NetInitializeSystem_OnUpdatePatch
	{
		private static bool Prefix(NetInitializeSystem __instance)
		{
			((ComponentSystemBase)((ComponentSystemBase)__instance).World.GetOrCreateSystemManaged<PatchedNetInitializeSystem>()).Update();
			return false;
		}
	}
	public static class MyPluginInfo
	{
		public const string PLUGIN_GUID = "UnlimitedElevatedRoad";

		public const string PLUGIN_NAME = "UnlimitedElevatedRoad";

		public const string PLUGIN_VERSION = "1.0.0";
	}
}
namespace UnlimitedElevatedRoad.Systems
{
	[CompilerGenerated]
	public class PatchedNetInitializeSystem : GameSystemBase
	{
		[BurstCompile]
		private struct InitializeNetDefaultsJob : IJobParallelFor
		{
			[DeallocateOnJobCompletion]
			[ReadOnly]
			public NativeArray<ArchetypeChunk> m_Chunks;

			[ReadOnly]
			public BufferTypeHandle<NetGeometrySection> m_NetGeometrySectionType;

			public ComponentTypeHandle<NetData> m_NetType;

			public ComponentTypeHandle<NetGeometryData> m_NetGeometryType;

			public ComponentTypeHandle<PlaceableNetData> m_PlaceableNetType;

			public ComponentTypeHandle<RoadData> m_RoadType;

			public BufferTypeHandle<DefaultNetLane> m_DefaultNetLaneType;

			[ReadOnly]
			public ComponentLookup<NetPieceData> m_NetPieceData;

			[ReadOnly]
			public ComponentLookup<NetLaneData> m_NetLaneData;

			[ReadOnly]
			public ComponentLookup<NetVertexMatchData> m_NetVertexMatchData;

			[ReadOnly]
			public ComponentLookup<PlaceableNetPieceData> m_PlaceableNetPieceData;

			[ReadOnly]
			public ComponentLookup<PlaceableObjectData> m_PlaceableObjectData;

			[ReadOnly]
			public BufferLookup<NetSubSection> m_NetSubSectionData;

			[ReadOnly]
			public BufferLookup<NetSectionPiece> m_NetSectionPieceData;

			[ReadOnly]
			public BufferLookup<NetPieceLane> m_NetPieceLanes;

			[ReadOnly]
			public BufferLookup<NetPieceObject> m_NetPieceObjects;

			public void Execute(int index)
			{
				//IL_0008: Unknown result type (might be due to invalid IL or missing references)
				//IL_000d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0016: Unknown result type (might be due to invalid IL or missing references)
				//IL_001b: Unknown result type (might be due to invalid IL or missing references)
				//IL_003a: Unknown result type (might be due to invalid IL or missing references)
				//IL_003f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0048: Unknown result type (might be due to invalid IL or missing references)
				//IL_004d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0056: Unknown result type (might be due to invalid IL or missing references)
				//IL_005b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0065: Unknown result type (might be due to invalid IL or missing references)
				//IL_006a: Unknown result type (might be due to invalid IL or missing references)
				//IL_0074: Unknown result type (might be due to invalid IL or missing references)
				//IL_0079: Unknown result type (might be due to invalid IL or missing references)
				//IL_0080: Unknown result type (might be due to invalid IL or missing references)
				//IL_008f: Unknown result type (might be due to invalid IL or missing references)
				//IL_009b: Unknown result type (might be due to invalid IL or missing references)
				//IL_00bc: Unknown result type (might be due to invalid IL or missing references)
				//IL_00c1: Unknown result type (might be due to invalid IL or missing references)
				//IL_00c3: Unknown result type (might be due to invalid IL or missing references)
				//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
				//IL_00cc: Unknown result type (might be due to invalid IL or missing references)
				//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d5: Unknown result type (might be due to invalid IL or missing references)
				//IL_00e2: Unknown result type (might be due to invalid IL or missing references)
				//IL_00ec: Unknown result type (might be due to invalid IL or missing references)
				//IL_00f2: Unknown result type (might be due to invalid IL or missing references)
				//IL_00f8: Unknown result type (might be due to invalid IL or missing references)
				//IL_00fe: Unknown result type (might be due to invalid IL or missing references)
				//IL_0104: Unknown result type (might be due to invalid IL or missing references)
				//IL_010f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0116: Unknown result type (might be due to invalid IL or missing references)
				//IL_0118: Unknown result type (might be due to invalid IL or missing references)
				//IL_011c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0122: Unknown result type (might be due to invalid IL or missing references)
				//IL_0125: Unknown result type (might be due to invalid IL or missing references)
				//IL_012b: Unknown result type (might be due to invalid IL or missing references)
				//IL_019c: Unknown result type (might be due to invalid IL or missing references)
				//IL_01a1: Unknown result type (might be due to invalid IL or missing references)
				//IL_01ac: Unknown result type (might be due to invalid IL or missing references)
				//IL_01b9: Unknown result type (might be due to invalid IL or missing references)
				//IL_01be: Unknown result type (might be due to invalid IL or missing references)
				//IL_01c2: Unknown result type (might be due to invalid IL or missing references)
				//IL_01d0: Unknown result type (might be due to invalid IL or missing references)
				//IL_01d2: Unknown result type (might be due to invalid IL or missing references)
				//IL_01d7: Unknown result type (might be due to invalid IL or missing references)
				//IL_01de: Unknown result type (might be due to invalid IL or missing references)
				//IL_01e0: Unknown result type (might be due to invalid IL or missing references)
				//IL_01e5: Unknown result type (might be due to invalid IL or missing references)
				//IL_01ed: Unknown result type (might be due to invalid IL or missing references)
				//IL_01f5: Unknown result type (might be due to invalid IL or missing references)
				//IL_01f7: Unknown result type (might be due to invalid IL or missing references)
				//IL_0201: Unknown result type (might be due to invalid IL or missing references)
				//IL_0203: Invalid comparison between Unknown and I4
				//IL_014b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0150: Unknown result type (might be due to invalid IL or missing references)
				//IL_022d: Unknown result type (might be due to invalid IL or missing references)
				//IL_022f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0239: Unknown result type (might be due to invalid IL or missing references)
				//IL_023b: Invalid comparison between Unknown and I4
				//IL_0265: Unknown result type (might be due to invalid IL or missing references)
				//IL_0267: Unknown result type (might be due to invalid IL or missing references)
				//IL_0271: Unknown result type (might be due to invalid IL or missing references)
				//IL_0273: Invalid comparison between Unknown and I4
				//IL_0277: Unknown result type (might be due to invalid IL or missing references)
				//IL_0279: Unknown result type (might be due to invalid IL or missing references)
				//IL_0283: Unknown result type (might be due to invalid IL or missing references)
				//IL_0285: Invalid comparison between Unknown and I4
				//IL_016f: 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_02aa: Unknown result type (might be due to invalid IL or missing references)
				//IL_02ac: Unknown result type (might be due to invalid IL or missing references)
				//IL_02b6: Unknown result type (might be due to invalid IL or missing references)
				//IL_02b8: Invalid comparison between Unknown and I4
				//IL_02d2: Unknown result type (might be due to invalid IL or missing references)
				//IL_02d4: Unknown result type (might be due to invalid IL or missing references)
				//IL_02da: Unknown result type (might be due to invalid IL or missing references)
				//IL_02dc: Invalid comparison between Unknown and I4
				//IL_02ff: Unknown result type (might be due to invalid IL or missing references)
				//IL_0301: Unknown result type (might be due to invalid IL or missing references)
				//IL_030b: Unknown result type (might be due to invalid IL or missing references)
				//IL_030d: Invalid comparison between Unknown and I4
				//IL_031b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0325: Unknown result type (might be due to invalid IL or missing references)
				//IL_032b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0339: 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_034a: Unknown result type (might be due to invalid IL or missing references)
				//IL_034e: Unknown result type (might be due to invalid IL or missing references)
				//IL_035c: Unknown result type (might be due to invalid IL or missing references)
				//IL_036c: Unknown result type (might be due to invalid IL or missing references)
				//IL_041c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0420: Unknown result type (might be due to invalid IL or missing references)
				//IL_0425: Unknown result type (might be due to invalid IL or missing references)
				//IL_0428: Unknown result type (might be due to invalid IL or missing references)
				//IL_042e: Unknown result type (might be due to invalid IL or missing references)
				//IL_043b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0445: Unknown result type (might be due to invalid IL or missing references)
				//IL_044b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0451: Unknown result type (might be due to invalid IL or missing references)
				//IL_0457: Unknown result type (might be due to invalid IL or missing references)
				//IL_045d: Unknown result type (might be due to invalid IL or missing references)
				//IL_046a: Unknown result type (might be due to invalid IL or missing references)
				//IL_0478: Unknown result type (might be due to invalid IL or missing references)
				//IL_047a: Unknown result type (might be due to invalid IL or missing references)
				//IL_047f: Unknown result type (might be due to invalid IL or missing references)
				//IL_038d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0392: Unknown result type (might be due to invalid IL or missing references)
				//IL_0394: Unknown result type (might be due to invalid IL or missing references)
				//IL_0396: Unknown result type (might be due to invalid IL or missing references)
				//IL_039d: Unknown result type (might be due to invalid IL or missing references)
				//IL_039f: Invalid comparison between Unknown and I4
				//IL_048d: Unknown result type (might be due to invalid IL or missing references)
				//IL_048f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0499: Unknown result type (might be due to invalid IL or missing references)
				//IL_049b: Invalid comparison between Unknown and I4
				//IL_03b7: Unknown result type (might be due to invalid IL or missing references)
				//IL_03b9: Unknown result type (might be due to invalid IL or missing references)
				//IL_03c0: Unknown result type (might be due to invalid IL or missing references)
				//IL_03c3: Invalid comparison between Unknown and I4
				//IL_03da: Unknown result type (might be due to invalid IL or missing references)
				//IL_03dc: Unknown result type (might be due to invalid IL or missing references)
				//IL_03e3: Unknown result type (might be due to invalid IL or missing references)
				//IL_03e5: Invalid comparison between Unknown and I4
				//IL_0507: Unknown result type (might be due to invalid IL or missing references)
				//IL_0513: Unknown result type (might be due to invalid IL or missing references)
				//IL_04a9: Unknown result type (might be due to invalid IL or missing references)
				//IL_04b3: Unknown result type (might be due to invalid IL or missing references)
				//IL_04b9: Unknown result type (might be due to invalid IL or missing references)
				//IL_04c7: Unknown result type (might be due to invalid IL or missing references)
				//IL_04d3: Unknown result type (might be due to invalid IL or missing references)
				//IL_04d8: Unknown result type (might be due to invalid IL or missing references)
				//IL_04dc: Unknown result type (might be due to invalid IL or missing references)
				//IL_04ea: Unknown result type (might be due to invalid IL or missing references)
				//IL_04fa: Unknown result type (might be due to invalid IL or missing references)
				//IL_040b: Unknown result type (might be due to invalid IL or missing references)
				//IL_03f7: Unknown result type (might be due to invalid IL or missing references)
				ArchetypeChunk val = m_Chunks[index];
				NativeArray<NetGeometryData> nativeArray = ((ArchetypeChunk)(ref val)).GetNativeArray<NetGeometryData>(ref m_NetGeometryType);
				if (nativeArray.Length == 0)
				{
					return;
				}
				NativeArray<NetData> nativeArray2 = ((ArchetypeChunk)(ref val)).GetNativeArray<NetData>(ref m_NetType);
				NativeArray<PlaceableNetData> nativeArray3 = ((ArchetypeChunk)(ref val)).GetNativeArray<PlaceableNetData>(ref m_PlaceableNetType);
				NativeArray<RoadData> nativeArray4 = ((ArchetypeChunk)(ref val)).GetNativeArray<RoadData>(ref m_RoadType);
				BufferAccessor<DefaultNetLane> bufferAccessor = ((ArchetypeChunk)(ref val)).GetBufferAccessor<DefaultNetLane>(ref m_DefaultNetLaneType);
				BufferAccessor<NetGeometrySection> bufferAccessor2 = ((ArchetypeChunk)(ref val)).GetBufferAccessor<NetGeometrySection>(ref m_NetGeometrySectionType);
				NativeList<NetCompositionPiece> val2 = default(NativeList<NetCompositionPiece>);
				val2..ctor(32, AllocatorHandle.op_Implicit((Allocator)2));
				NativeList<NetCompositionLane> val3 = default(NativeList<NetCompositionLane>);
				val3..ctor(32, AllocatorHandle.op_Implicit((Allocator)2));
				CompositionFlags val4 = default(CompositionFlags);
				CompositionFlags val5 = default(CompositionFlags);
				((CompositionFlags)(ref val5))..ctor((General)65536, (Side)0, (Side)0);
				for (int i = 0; i < nativeArray.Length; i++)
				{
					DynamicBuffer<NetGeometrySection> geometrySections = bufferAccessor2[i];
					NetCompositionHelpers.GetCompositionPieces(val2, geometrySections.AsNativeArray(), val4, m_NetSubSectionData, m_NetSectionPieceData);
					NetCompositionData val6 = default(NetCompositionData);
					NetCompositionHelpers.CalculateCompositionData(ref val6, val2.AsArray(), m_NetPieceData, m_NetLaneData, m_NetVertexMatchData, m_NetPieceLanes);
					NetCompositionHelpers.AddCompositionLanes<NativeList<NetCompositionPiece>>(Entity.Null, ref val6, val2, val3, default(DynamicBuffer<NetCompositionCarriageway>), m_NetLaneData, m_NetPieceLanes);
					if (bufferAccessor.Length != 0)
					{
						DynamicBuffer<DefaultNetLane> val7 = bufferAccessor[i];
						val7.ResizeUninitialized(val3.Length);
						for (int j = 0; j < val3.Length; j++)
						{
							val7[j] = new DefaultNetLane(val3[j]);
						}
					}
					NetData netData = nativeArray2[i];
					netData.m_NodePriority += val6.m_Width;
					NetGeometryData val8 = nativeArray[i];
					val8.m_DefaultWidth = val6.m_Width;
					val8.m_DefaultHeightRange = val6.m_HeightRange;
					val8.m_DefaultSurfaceHeight = val6.m_SurfaceHeight;
					UpdateFlagMasks(ref netData, geometrySections);
					if ((netData.m_RequiredLayers & 0x8401) > 0)
					{
						ref General generalFlagMask = ref netData.m_GeneralFlagMask;
						generalFlagMask = (General)((uint)generalFlagMask | 0x8400u);
						ref Side sideFlagMask = ref netData.m_SideFlagMask;
						sideFlagMask = (Side)((uint)sideFlagMask | 0xC000000u);
					}
					if ((netData.m_RequiredLayers & 0x8001) > 0)
					{
						ref General generalFlagMask2 = ref netData.m_GeneralFlagMask;
						generalFlagMask2 = (General)((uint)generalFlagMask2 | 0x1000000u);
						ref Side sideFlagMask2 = ref netData.m_SideFlagMask;
						sideFlagMask2 = (Side)((uint)sideFlagMask2 | 0x13000000u);
					}
					bool flag = (val6.m_State & 0x88) > 0;
					bool flag2 = (val6.m_State & 0x140) > 0;
					if (flag != flag2)
					{
						ref GeometryFlags flags = ref val8.m_Flags;
						flags = (GeometryFlags)((uint)flags | 0x8000u);
					}
					if ((val6.m_State & 0x200) > 0)
					{
						ref GeometryFlags flags2 = ref val8.m_Flags;
						flags2 = (GeometryFlags)((uint)flags2 | 0x10000u);
					}
					if ((val6.m_State & 2) > 0)
					{
						ref GeometryFlags flags3 = ref val8.m_Flags;
						flags3 = (GeometryFlags)((uint)flags3 | 0x400000u);
					}
					if (nativeArray3.Length != 0 && (val8.m_Flags & 0x200) == 0)
					{
						PlaceableNetComposition placeableCompositionData = default(PlaceableNetComposition);
						NetCompositionHelpers.CalculatePlaceableData(ref placeableCompositionData, val2.AsArray(), m_PlaceableNetPieceData);
						AddObjectCosts(ref placeableCompositionData, val2);
						PlaceableNetData val9 = nativeArray3[i];
						val9.m_DefaultConstructionCost = placeableCompositionData.m_ConstructionCost;
						val9.m_DefaultUpkeepCost = placeableCompositionData.m_UpkeepCost;
						nativeArray3[i] = val9;
					}
					if (nativeArray4.Length != 0)
					{
						RoadData val10 = nativeArray4[i];
						if ((val6.m_State & 0x48) == 8)
						{
							ref RoadFlags flags4 = ref val10.m_Flags;
							flags4 = (RoadFlags)((uint)flags4 | 8u);
						}
						else if ((val6.m_State & 0x48) == 64)
						{
							ref RoadFlags flags5 = ref val10.m_Flags;
							flags5 = (RoadFlags)((uint)flags5 | 0x20u);
						}
						if ((val10.m_Flags & 0x10) > 0)
						{
							val8.m_MinNodeOffset += val8.m_DefaultWidth * 0.5f;
						}
						nativeArray4[i] = val10;
					}
					val2.Clear();
					NetCompositionHelpers.GetCompositionPieces(val2, geometrySections.AsNativeArray(), val5, m_NetSubSectionData, m_NetSectionPieceData);
					NetCompositionData val11 = default(NetCompositionData);
					NetCompositionHelpers.CalculateCompositionData(ref val11, val2.AsArray(), m_NetPieceData, m_NetLaneData, m_NetVertexMatchData, m_NetPieceLanes);
					val8.m_ElevatedWidth = val11.m_Width;
					val8.m_ElevatedHeightRange = val11.m_HeightRange;
					if (nativeArray3.Length != 0 && (val8.m_Flags & 0x200) > 0)
					{
						PlaceableNetComposition placeableCompositionData2 = default(PlaceableNetComposition);
						NetCompositionHelpers.CalculatePlaceableData(ref placeableCompositionData2, val2.AsArray(), m_PlaceableNetPieceData);
						AddObjectCosts(ref placeableCompositionData2, val2);
						PlaceableNetData val12 = nativeArray3[i];
						val12.m_DefaultConstructionCost = placeableCompositionData2.m_ConstructionCost;
						val12.m_DefaultUpkeepCost = placeableCompositionData2.m_UpkeepCost;
						nativeArray3[i] = val12;
					}
					nativeArray2[i] = netData;
					nativeArray[i] = val8;
					val2.Clear();
					val3.Clear();
				}
				val2.Dispose();
				val3.Dispose();
			}

			private void UpdateFlagMasks(ref NetData netData, DynamicBuffer<NetGeometrySection> geometrySections)
			{
				//IL_000c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0011: Unknown result type (might be due to invalid IL or missing references)
				//IL_001a: Unknown result type (might be due to invalid IL or missing references)
				//IL_001b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0020: Unknown result type (might be due to invalid IL or missing references)
				//IL_0025: Unknown result type (might be due to invalid IL or missing references)
				//IL_0027: Expected I4, but got Unknown
				//IL_002f: 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)
				//IL_0035: Unknown result type (might be due to invalid IL or missing references)
				//IL_003a: Unknown result type (might be due to invalid IL or missing references)
				//IL_003b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0040: Unknown result type (might be due to invalid IL or missing references)
				//IL_0045: Unknown result type (might be due to invalid IL or missing references)
				//IL_0046: Unknown result type (might be due to invalid IL or missing references)
				//IL_0048: Expected I4, but got Unknown
				//IL_0050: Unknown result type (might be due to invalid IL or missing references)
				//IL_0051: Unknown result type (might be due to invalid IL or missing references)
				//IL_0056: Unknown result type (might be due to invalid IL or missing references)
				//IL_005b: Unknown result type (might be due to invalid IL or missing references)
				//IL_005d: Expected I4, but got Unknown
				//IL_0065: Unknown result type (might be due to invalid IL or missing references)
				//IL_0066: Unknown result type (might be due to invalid IL or missing references)
				//IL_006b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0070: Unknown result type (might be due to invalid IL or missing references)
				//IL_0071: Unknown result type (might be due to invalid IL or missing references)
				//IL_0076: Unknown result type (might be due to invalid IL or missing references)
				//IL_007b: Unknown result type (might be due to invalid IL or missing references)
				//IL_007c: Unknown result type (might be due to invalid IL or missing references)
				//IL_007e: Expected I4, but got Unknown
				//IL_0086: Unknown result type (might be due to invalid IL or missing references)
				//IL_0087: Unknown result type (might be due to invalid IL or missing references)
				//IL_008c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0091: Unknown result type (might be due to invalid IL or missing references)
				//IL_0093: Expected I4, but got Unknown
				//IL_009b: Unknown result type (might be due to invalid IL or missing references)
				//IL_009c: Unknown result type (might be due to invalid IL or missing references)
				//IL_00a1: Unknown result type (might be due to invalid IL or missing references)
				//IL_00a6: Unknown result type (might be due to invalid IL or missing references)
				//IL_00a7: Unknown result type (might be due to invalid IL or missing references)
				//IL_00ac: Unknown result type (might be due to invalid IL or missing references)
				//IL_00b1: Unknown result type (might be due to invalid IL or missing references)
				//IL_00b2: Unknown result type (might be due to invalid IL or missing references)
				//IL_00b4: Expected I4, but got Unknown
				//IL_00b6: Unknown result type (might be due to invalid IL or missing references)
				//IL_00b7: Unknown result type (might be due to invalid IL or missing references)
				for (int i = 0; i < geometrySections.Length; i++)
				{
					NetGeometrySection val = geometrySections[i];
					ref General generalFlagMask = ref netData.m_GeneralFlagMask;
					generalFlagMask |= val.m_CompositionAll.m_General;
					ref Side sideFlagMask = ref netData.m_SideFlagMask;
					sideFlagMask = (Side)(sideFlagMask | (val.m_CompositionAll.m_Left | val.m_CompositionAll.m_Right));
					ref General generalFlagMask2 = ref netData.m_GeneralFlagMask;
					generalFlagMask2 |= val.m_CompositionAny.m_General;
					ref Side sideFlagMask2 = ref netData.m_SideFlagMask;
					sideFlagMask2 = (Side)(sideFlagMask2 | (val.m_CompositionAny.m_Left | val.m_CompositionAny.m_Right));
					ref General generalFlagMask3 = ref netData.m_GeneralFlagMask;
					generalFlagMask3 |= val.m_CompositionNone.m_General;
					ref Side sideFlagMask3 = ref netData.m_SideFlagMask;
					sideFlagMask3 = (Side)(sideFlagMask3 | (val.m_CompositionNone.m_Left | val.m_CompositionNone.m_Right));
					UpdateFlagMasks(ref netData, val.m_Section);
				}
			}

			private void UpdateFlagMasks(ref NetData netData, Entity section)
			{
				//IL_0007: Unknown result type (might be due to invalid IL or missing references)
				//IL_0102: 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)
				//IL_0027: Unknown result type (might be due to invalid IL or missing references)
				//IL_0031: Unknown result type (might be due to invalid IL or missing references)
				//IL_0033: Unknown result type (might be due to invalid IL or missing references)
				//IL_0038: Unknown result type (might be due to invalid IL or missing references)
				//IL_003d: Unknown result type (might be due to invalid IL or missing references)
				//IL_003f: Expected I4, but got Unknown
				//IL_0047: Unknown result type (might be due to invalid IL or missing references)
				//IL_0049: Unknown result type (might be due to invalid IL or missing references)
				//IL_004e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0053: Unknown result type (might be due to invalid IL or missing references)
				//IL_0055: Unknown result type (might be due to invalid IL or missing references)
				//IL_005a: Unknown result type (might be due to invalid IL or missing references)
				//IL_005f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0060: Unknown result type (might be due to invalid IL or missing references)
				//IL_0062: Expected I4, but got Unknown
				//IL_006a: Unknown result type (might be due to invalid IL or missing references)
				//IL_006c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0071: Unknown result type (might be due to invalid IL or missing references)
				//IL_0076: Unknown result type (might be due to invalid IL or missing references)
				//IL_0078: Expected I4, but got Unknown
				//IL_0080: Unknown result type (might be due to invalid IL or missing references)
				//IL_0082: Unknown result type (might be due to invalid IL or missing references)
				//IL_0087: Unknown result type (might be due to invalid IL or missing references)
				//IL_008c: Unknown result type (might be due to invalid IL or missing references)
				//IL_008e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0093: Unknown result type (might be due to invalid IL or missing references)
				//IL_0098: Unknown result type (might be due to invalid IL or missing references)
				//IL_0099: Unknown result type (might be due to invalid IL or missing references)
				//IL_009b: Expected I4, but got Unknown
				//IL_00a3: Unknown result type (might be due to invalid IL or missing references)
				//IL_00a5: Unknown result type (might be due to invalid IL or missing references)
				//IL_00aa: Unknown result type (might be due to invalid IL or missing references)
				//IL_00af: Unknown result type (might be due to invalid IL or missing references)
				//IL_00b1: Expected I4, but got Unknown
				//IL_00b9: Unknown result type (might be due to invalid IL or missing references)
				//IL_00bb: Unknown result type (might be due to invalid IL or missing references)
				//IL_00c0: Unknown result type (might be due to invalid IL or missing references)
				//IL_00c5: Unknown result type (might be due to invalid IL or missing references)
				//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
				//IL_00cc: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d2: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d4: Expected I4, but got Unknown
				//IL_00d6: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
				//IL_0121: Unknown result type (might be due to invalid IL or missing references)
				//IL_0126: Unknown result type (might be due to invalid IL or missing references)
				//IL_0130: 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_013c: Unknown result type (might be due to invalid IL or missing references)
				//IL_013e: Expected I4, but got Unknown
				//IL_0146: Unknown result type (might be due to invalid IL or missing references)
				//IL_0148: Unknown result type (might be due to invalid IL or missing references)
				//IL_014d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0152: Unknown result type (might be due to invalid IL or missing references)
				//IL_0154: Unknown result type (might be due to invalid IL or missing references)
				//IL_0159: Unknown result type (might be due to invalid IL or missing references)
				//IL_015e: 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_0161: Expected I4, but got Unknown
				//IL_0169: Unknown result type (might be due to invalid IL or missing references)
				//IL_016b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0170: Unknown result type (might be due to invalid IL or missing references)
				//IL_0175: Unknown result type (might be due to invalid IL or missing references)
				//IL_0177: Expected I4, but got Unknown
				//IL_017f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0181: Unknown result type (might be due to invalid IL or missing references)
				//IL_0186: Unknown result type (might be due to invalid IL or missing references)
				//IL_018b: Unknown result type (might be due to invalid IL or missing references)
				//IL_018d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0192: Unknown result type (might be due to invalid IL or missing references)
				//IL_0197: Unknown result type (might be due to invalid IL or missing references)
				//IL_0198: Unknown result type (might be due to invalid IL or missing references)
				//IL_019a: Expected I4, but got Unknown
				//IL_01a2: Unknown result type (might be due to invalid IL or missing references)
				//IL_01a4: Unknown result type (might be due to invalid IL or missing references)
				//IL_01a9: Unknown result type (might be due to invalid IL or missing references)
				//IL_01ae: Unknown result type (might be due to invalid IL or missing references)
				//IL_01b0: Expected I4, but got Unknown
				//IL_01b8: Unknown result type (might be due to invalid IL or missing references)
				//IL_01ba: Unknown result type (might be due to invalid IL or missing references)
				//IL_01bf: Unknown result type (might be due to invalid IL or missing references)
				//IL_01c4: Unknown result type (might be due to invalid IL or missing references)
				//IL_01c6: Unknown result type (might be due to invalid IL or missing references)
				//IL_01cb: Unknown result type (might be due to invalid IL or missing references)
				//IL_01d0: Unknown result type (might be due to invalid IL or missing references)
				//IL_01d1: Unknown result type (might be due to invalid IL or missing references)
				//IL_01d3: Expected I4, but got Unknown
				//IL_01d9: Unknown result type (might be due to invalid IL or missing references)
				//IL_01db: Unknown result type (might be due to invalid IL or missing references)
				//IL_01fe: Unknown result type (might be due to invalid IL or missing references)
				//IL_0203: Unknown result type (might be due to invalid IL or missing references)
				//IL_020d: Unknown result type (might be due to invalid IL or missing references)
				//IL_020f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0214: Unknown result type (might be due to invalid IL or missing references)
				//IL_0219: Unknown result type (might be due to invalid IL or missing references)
				//IL_021b: Expected I4, but got Unknown
				//IL_0223: Unknown result type (might be due to invalid IL or missing references)
				//IL_0225: Unknown result type (might be due to invalid IL or missing references)
				//IL_022a: Unknown result type (might be due to invalid IL or missing references)
				//IL_022f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0231: Unknown result type (might be due to invalid IL or missing references)
				//IL_0236: Unknown result type (might be due to invalid IL or missing references)
				//IL_023b: Unknown result type (might be due to invalid IL or missing references)
				//IL_023c: Unknown result type (might be due to invalid IL or missing references)
				//IL_023e: Expected I4, but got Unknown
				//IL_0246: Unknown result type (might be due to invalid IL or missing references)
				//IL_0248: Unknown result type (might be due to invalid IL or missing references)
				//IL_024d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0252: Unknown result type (might be due to invalid IL or missing references)
				//IL_0254: Expected I4, but got Unknown
				//IL_025c: Unknown result type (might be due to invalid IL or missing references)
				//IL_025e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0263: Unknown result type (might be due to invalid IL or missing references)
				//IL_0268: Unknown result type (might be due to invalid IL or missing references)
				//IL_026a: Unknown result type (might be due to invalid IL or missing references)
				//IL_026f: 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_0275: Unknown result type (might be due to invalid IL or missing references)
				//IL_0277: Expected I4, but got Unknown
				//IL_027f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0281: Unknown result type (might be due to invalid IL or missing references)
				//IL_0286: Unknown result type (might be due to invalid IL or missing references)
				//IL_028b: Unknown result type (might be due to invalid IL or missing references)
				//IL_028d: Expected I4, but got Unknown
				//IL_0295: Unknown result type (might be due to invalid IL or missing references)
				//IL_0297: 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_02a3: Unknown result type (might be due to invalid IL or missing references)
				//IL_02a8: Unknown result type (might be due to invalid IL or missing references)
				//IL_02ad: Unknown result type (might be due to invalid IL or missing references)
				//IL_02ae: Unknown result type (might be due to invalid IL or missing references)
				//IL_02b0: Expected I4, but got Unknown
				DynamicBuffer<NetSubSection> val = default(DynamicBuffer<NetSubSection>);
				if (m_NetSubSectionData.TryGetBuffer(section, ref val))
				{
					for (int i = 0; i < val.Length; i++)
					{
						NetSubSection val2 = val[i];
						ref General generalFlagMask = ref netData.m_GeneralFlagMask;
						generalFlagMask |= val2.m_CompositionAll.m_General;
						ref Side sideFlagMask = ref netData.m_SideFlagMask;
						sideFlagMask = (Side)(sideFlagMask | (val2.m_CompositionAll.m_Left | val2.m_CompositionAll.m_Right));
						ref General generalFlagMask2 = ref netData.m_GeneralFlagMask;
						generalFlagMask2 |= val2.m_CompositionAny.m_General;
						ref Side sideFlagMask2 = ref netData.m_SideFlagMask;
						sideFlagMask2 = (Side)(sideFlagMask2 | (val2.m_CompositionAny.m_Left | val2.m_CompositionAny.m_Right));
						ref General generalFlagMask3 = ref netData.m_GeneralFlagMask;
						generalFlagMask3 |= val2.m_CompositionNone.m_General;
						ref Side sideFlagMask3 = ref netData.m_SideFlagMask;
						sideFlagMask3 = (Side)(sideFlagMask3 | (val2.m_CompositionNone.m_Left | val2.m_CompositionNone.m_Right));
						UpdateFlagMasks(ref netData, val2.m_SubSection);
					}
				}
				DynamicBuffer<NetSectionPiece> val3 = default(DynamicBuffer<NetSectionPiece>);
				if (!m_NetSectionPieceData.TryGetBuffer(section, ref val3))
				{
					return;
				}
				DynamicBuffer<NetPieceObject> val5 = default(DynamicBuffer<NetPieceObject>);
				for (int j = 0; j < val3.Length; j++)
				{
					NetSectionPiece val4 = val3[j];
					ref General generalFlagMask4 = ref netData.m_GeneralFlagMask;
					generalFlagMask4 |= val4.m_CompositionAll.m_General;
					ref Side sideFlagMask4 = ref netData.m_SideFlagMask;
					sideFlagMask4 = (Side)(sideFlagMask4 | (val4.m_CompositionAll.m_Left | val4.m_CompositionAll.m_Right));
					ref General generalFlagMask5 = ref netData.m_GeneralFlagMask;
					generalFlagMask5 |= val4.m_CompositionAny.m_General;
					ref Side sideFlagMask5 = ref netData.m_SideFlagMask;
					sideFlagMask5 = (Side)(sideFlagMask5 | (val4.m_CompositionAny.m_Left | val4.m_CompositionAny.m_Right));
					ref General generalFlagMask6 = ref netData.m_GeneralFlagMask;
					generalFlagMask6 |= val4.m_CompositionNone.m_General;
					ref Side sideFlagMask6 = ref netData.m_SideFlagMask;
					sideFlagMask6 = (Side)(sideFlagMask6 | (val4.m_CompositionNone.m_Left | val4.m_CompositionNone.m_Right));
					if (m_NetPieceObjects.TryGetBuffer(val4.m_Piece, ref val5))
					{
						for (int k = 0; k < val5.Length; k++)
						{
							NetPieceObject val6 = val5[k];
							ref General generalFlagMask7 = ref netData.m_GeneralFlagMask;
							generalFlagMask7 |= val6.m_CompositionAll.m_General;
							ref Side sideFlagMask7 = ref netData.m_SideFlagMask;
							sideFlagMask7 = (Side)(sideFlagMask7 | (val6.m_CompositionAll.m_Left | val6.m_CompositionAll.m_Right));
							ref General generalFlagMask8 = ref netData.m_GeneralFlagMask;
							generalFlagMask8 |= val6.m_CompositionAny.m_General;
							ref Side sideFlagMask8 = ref netData.m_SideFlagMask;
							sideFlagMask8 = (Side)(sideFlagMask8 | (val6.m_CompositionAny.m_Left | val6.m_CompositionAny.m_Right));
							ref General generalFlagMask9 = ref netData.m_GeneralFlagMask;
							generalFlagMask9 |= val6.m_CompositionNone.m_General;
							ref Side sideFlagMask9 = ref netData.m_SideFlagMask;
							sideFlagMask9 = (Side)(sideFlagMask9 | (val6.m_CompositionNone.m_Left | val6.m_CompositionNone.m_Right));
						}
					}
				}
			}

			private void AddObjectCosts(ref PlaceableNetComposition placeableCompositionData, NativeList<NetCompositionPiece> pieceBuffer)
			{
				//IL_000c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0011: Unknown result type (might be due to invalid IL or missing references)
				//IL_0018: Unknown result type (might be due to invalid IL or missing references)
				//IL_0019: Unknown result type (might be due to invalid IL or missing references)
				//IL_0031: Unknown result type (might be due to invalid IL or missing references)
				//IL_0032: Unknown result type (might be due to invalid IL or missing references)
				//IL_0037: Unknown result type (might be due to invalid IL or missing references)
				//IL_003c: Unknown result type (might be due to invalid IL or missing references)
				//IL_004a: Unknown result type (might be due to invalid IL or missing references)
				//IL_004f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0057: Unknown result type (might be due to invalid IL or missing references)
				//IL_0059: Unknown result type (might be due to invalid IL or missing references)
				//IL_0070: Unknown result type (might be due to invalid IL or missing references)
				//IL_0072: Unknown result type (might be due to invalid IL or missing references)
				//IL_0077: Unknown result type (might be due to invalid IL or missing references)
				//IL_0083: Unknown result type (might be due to invalid IL or missing references)
				//IL_0085: Unknown result type (might be due to invalid IL or missing references)
				//IL_00a6: Unknown result type (might be due to invalid IL or missing references)
				//IL_00a8: Unknown result type (might be due to invalid IL or missing references)
				for (int i = 0; i < pieceBuffer.Length; i++)
				{
					NetCompositionPiece val = pieceBuffer[i];
					if (!m_NetPieceObjects.HasBuffer(val.m_Piece))
					{
						continue;
					}
					DynamicBuffer<NetPieceObject> val2 = m_NetPieceObjects[val.m_Piece];
					for (int j = 0; j < val2.Length; j++)
					{
						NetPieceObject val3 = val2[j];
						if (m_PlaceableObjectData.HasComponent(val3.m_Prefab))
						{
							uint num = m_PlaceableObjectData[val3.m_Prefab].m_ConstructionCost;
							if (val3.m_Spacing.z > 0.1f)
							{
								num = (uint)Mathf.RoundToInt((float)num * (8f / val3.m_Spacing.z));
							}
							placeableCompositionData.m_ConstructionCost += num;
						}
					}
				}
			}
		}

		[BurstCompile]
		private struct CollectPathfindDataJob : IJobChunk
		{
			[ReadOnly]
			public ComponentTypeHandle<NetLaneData> m_NetLaneDataType;

			[ReadOnly]
			public ComponentTypeHandle<ConnectionLaneData> m_ConnectionLaneDataType;

			[ReadOnly]
			public ComponentLookup<PathfindCarData> m_PathfindCarData;

			[ReadOnly]
			public ComponentLookup<PathfindPedestrianData> m_PathfindPedestrianData;

			[ReadOnly]
			public ComponentLookup<PathfindTrackData> m_PathfindTrackData;

			[ReadOnly]
			public ComponentLookup<PathfindTransportData> m_PathfindTransportData;

			[ReadOnly]
			public ComponentLookup<PathfindConnectionData> m_PathfindConnectionData;

			public NativeValue<PathfindHeuristicData> m_PathfindHeuristicData;

			public void Execute(in ArchetypeChunk chunk, int unfilteredChunkIndex, bool useEnabledMask, in v128 chunkEnabledMask)
			{
				//IL_0008: Unknown result type (might be due to invalid IL or missing references)
				//IL_000d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0014: Unknown result type (might be due to invalid IL or missing references)
				//IL_0019: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d5: Unknown result type (might be due to invalid IL or missing references)
				//IL_00da: Unknown result type (might be due to invalid IL or missing references)
				//IL_00dc: Unknown result type (might be due to invalid IL or missing references)
				//IL_00de: Unknown result type (might be due to invalid IL or missing references)
				//IL_00e4: Unknown result type (might be due to invalid IL or missing references)
				//IL_00e6: Invalid comparison between Unknown and I4
				//IL_0036: Unknown result type (might be due to invalid IL or missing references)
				//IL_003b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0043: Unknown result type (might be due to invalid IL or missing references)
				//IL_0045: Unknown result type (might be due to invalid IL or missing references)
				//IL_017b: Unknown result type (might be due to invalid IL or missing references)
				//IL_017d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0184: Unknown result type (might be due to invalid IL or missing references)
				//IL_00f8: Unknown result type (might be due to invalid IL or missing references)
				//IL_00fa: Unknown result type (might be due to invalid IL or missing references)
				//IL_0243: Unknown result type (might be due to invalid IL or missing references)
				//IL_005f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0060: Unknown result type (might be due to invalid IL or missing references)
				//IL_0065: Unknown result type (might be due to invalid IL or missing references)
				//IL_006a: Unknown result type (might be due to invalid IL or missing references)
				//IL_006c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0071: Unknown result type (might be due to invalid IL or missing references)
				//IL_0076: Unknown result type (might be due to invalid IL or missing references)
				//IL_007b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0087: Unknown result type (might be due to invalid IL or missing references)
				//IL_0088: Unknown result type (might be due to invalid IL or missing references)
				//IL_008d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0092: Unknown result type (might be due to invalid IL or missing references)
				//IL_0094: Unknown result type (might be due to invalid IL or missing references)
				//IL_0099: Unknown result type (might be due to invalid IL or missing references)
				//IL_009e: Unknown result type (might be due to invalid IL or missing references)
				//IL_00a3: Unknown result type (might be due to invalid IL or missing references)
				//IL_018d: Unknown result type (might be due to invalid IL or missing references)
				//IL_018f: Unknown result type (might be due to invalid IL or missing references)
				//IL_013c: Unknown result type (might be due to invalid IL or missing references)
				//IL_013e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0114: Unknown result type (might be due to invalid IL or missing references)
				//IL_0115: Unknown result type (might be due to invalid IL or missing references)
				//IL_011a: Unknown result type (might be due to invalid IL or missing references)
				//IL_011f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0121: Unknown result type (might be due to invalid IL or missing references)
				//IL_0126: Unknown result type (might be due to invalid IL or missing references)
				//IL_012b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0130: Unknown result type (might be due to invalid IL or missing references)
				//IL_0158: Unknown result type (might be due to invalid IL or missing references)
				//IL_0159: Unknown result type (might be due to invalid IL or missing references)
				//IL_015e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0163: Unknown result type (might be due to invalid IL or missing references)
				//IL_0165: Unknown result type (might be due to invalid IL or missing references)
				//IL_016a: Unknown result type (might be due to invalid IL or missing references)
				//IL_016f: 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_01ce: Unknown result type (might be due to invalid IL or missing references)
				//IL_01d0: Unknown result type (might be due to invalid IL or missing references)
				//IL_01d7: Unknown result type (might be due to invalid IL or missing references)
				//IL_01ac: Unknown result type (might be due to invalid IL or missing references)
				//IL_01ad: 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_01b9: Unknown result type (might be due to invalid IL or missing references)
				//IL_01be: Unknown result type (might be due to invalid IL or missing references)
				//IL_01c3: Unknown result type (might be due to invalid IL or missing references)
				//IL_01c8: Unknown result type (might be due to invalid IL or missing references)
				//IL_01e0: Unknown result type (might be due to invalid IL or missing references)
				//IL_01e2: Unknown result type (might be due to invalid IL or missing references)
				//IL_01ff: Unknown result type (might be due to invalid IL or missing references)
				//IL_0200: Unknown result type (might be due to invalid IL or missing references)
				//IL_0205: Unknown result type (might be due to invalid IL or missing references)
				//IL_020a: Unknown result type (might be due to invalid IL or missing references)
				//IL_020c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0211: Unknown result type (might be due to invalid IL or missing references)
				//IL_0216: 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)
				NativeArray<NetLaneData> nativeArray = ((ArchetypeChunk)(ref chunk)).GetNativeArray<NetLaneData>(ref m_NetLaneDataType);
				PathfindHeuristicData value = m_PathfindHeuristicData.value;
				if (((ArchetypeChunk)(ref chunk)).Has<ConnectionLaneData>(ref m_ConnectionLaneDataType))
				{
					PathfindConnectionData val2 = default(PathfindConnectionData);
					for (int i = 0; i < nativeArray.Length; i++)
					{
						NetLaneData val = nativeArray[i];
						if (m_PathfindConnectionData.TryGetComponent(val.m_PathfindPrefab, ref val2))
						{
							value.m_FlyingCosts.m_Value = math.min(value.m_FlyingCosts.m_Value, val2.m_AirwayCost.m_Value);
							value.m_OffRoadCosts.m_Value = math.min(value.m_OffRoadCosts.m_Value, val2.m_AreaCost.m_Value);
						}
					}
				}
				else
				{
					PathfindCarData val4 = default(PathfindCarData);
					PathfindTransportData val5 = default(PathfindTransportData);
					PathfindTrackData val6 = default(PathfindTrackData);
					PathfindPedestrianData val7 = default(PathfindPedestrianData);
					for (int j = 0; j < nativeArray.Length; j++)
					{
						NetLaneData val3 = nativeArray[j];
						if ((val3.m_Flags & 8) > 0)
						{
							if (m_PathfindCarData.TryGetComponent(val3.m_PathfindPrefab, ref val4))
							{
								value.m_CarCosts.m_Value = math.min(value.m_CarCosts.m_Value, val4.m_DrivingCost.m_Value);
							}
							if (m_PathfindTransportData.TryGetComponent(val3.m_PathfindPrefab, ref val5))
							{
								value.m_TaxiCosts.m_Value = math.min(value.m_TaxiCosts.m_Value, val5.m_TravelCost.m_Value);
							}
						}
						if ((val3.m_Flags & 0x40) != 0 && m_PathfindTrackData.TryGetComponent(val3.m_PathfindPrefab, ref val6))
						{
							value.m_TrackCosts.m_Value = math.min(value.m_TrackCosts.m_Value, val6.m_DrivingCost.m_Value);
						}
						if ((val3.m_Flags & 0x10) != 0 && m_PathfindPedestrianData.TryGetComponent(val3.m_PathfindPrefab, ref val7))
						{
							value.m_PedestrianCosts.m_Value = math.min(value.m_PedestrianCosts.m_Value, val7.m_WalkingCost.m_Value);
						}
					}
				}
				m_PathfindHeuristicData.value = value;
			}

			void IJobChunk.Execute(in ArchetypeChunk chunk, int unfilteredChunkIndex, bool useEnabledMask, in v128 chunkEnabledMask)
			{
				Execute(in chunk, unfilteredChunkIndex, useEnabledMask, in chunkEnabledMask);
			}
		}

		private struct TypeHandle
		{
			[ReadOnly]
			public EntityTypeHandle __Unity_Entities_Entity_TypeHandle;

			[ReadOnly]
			public ComponentTypeHandle<PrefabData> __Game_Prefabs_PrefabData_RO_ComponentTypeHandle;

			public ComponentTypeHandle<NetData> __Game_Prefabs_NetData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<NetPieceData> __Game_Prefabs_NetPieceData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<NetGeometryData> __Game_Prefabs_NetGeometryData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<PlaceableNetData> __Game_Prefabs_PlaceableNetData_RW_ComponentTypeHandle;

			[ReadOnly]
			public ComponentTypeHandle<MarkerNetData> __Game_Prefabs_MarkerNetData_RO_ComponentTypeHandle;

			public ComponentTypeHandle<LocalConnectData> __Game_Prefabs_LocalConnectData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<NetLaneData> __Game_Prefabs_NetLaneData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<NetLaneGeometryData> __Game_Prefabs_NetLaneGeometryData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<CarLaneData> __Game_Prefabs_CarLaneData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<TrackLaneData> __Game_Prefabs_TrackLaneData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<UtilityLaneData> __Game_Prefabs_UtilityLaneData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<ParkingLaneData> __Game_Prefabs_ParkingLaneData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<PedestrianLaneData> __Game_Prefabs_PedestrianLaneData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<SecondaryLaneData> __Game_Prefabs_SecondaryLaneData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<NetCrosswalkData> __Game_Prefabs_NetCrosswalkData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<RoadData> __Game_Prefabs_RoadData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<TrackData> __Game_Prefabs_TrackData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<WaterwayData> __Game_Prefabs_WaterwayData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<PathwayData> __Game_Prefabs_PathwayData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<TaxiwayData> __Game_Prefabs_TaxiwayData_RW_ComponentTypeHandle;

			[ReadOnly]
			public ComponentTypeHandle<PowerLineData> __Game_Prefabs_PowerLineData_RO_ComponentTypeHandle;

			[ReadOnly]
			public ComponentTypeHandle<PipelineData> __Game_Prefabs_PipelineData_RO_ComponentTypeHandle;

			[ReadOnly]
			public ComponentTypeHandle<FenceData> __Game_Prefabs_FenceData_RO_ComponentTypeHandle;

			[ReadOnly]
			public ComponentTypeHandle<EditorContainerData> __Game_Prefabs_EditorContainerData_RO_ComponentTypeHandle;

			public ComponentTypeHandle<ElectricityConnectionData> __Game_Prefabs_ElectricityConnectionData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<WaterPipeConnectionData> __Game_Prefabs_WaterPipeConnectionData_RW_ComponentTypeHandle;

			[ReadOnly]
			public ComponentTypeHandle<BridgeData> __Game_Prefabs_BridgeData_RO_ComponentTypeHandle;

			public ComponentTypeHandle<SpawnableObjectData> __Game_Prefabs_SpawnableObjectData_RW_ComponentTypeHandle;

			public ComponentTypeHandle<NetTerrainData> __Game_Prefabs_NetTerrainData_RW_ComponentTypeHandle;

			public BufferTypeHandle<NetSubSection> __Game_Prefabs_NetSubSection_RW_BufferTypeHandle;

			public BufferTypeHandle<NetSectionPiece> __Game_Prefabs_NetSectionPiece_RW_BufferTypeHandle;

			public BufferTypeHandle<NetPieceLane> __Game_Prefabs_NetPieceLane_RW_BufferTypeHandle;

			public BufferTypeHandle<NetPieceArea> __Game_Prefabs_NetPieceArea_RW_BufferTypeHandle;

			public BufferTypeHandle<NetPieceObject> __Game_Prefabs_NetPieceObject_RW_BufferTypeHandle;

			public BufferTypeHandle<NetGeometrySection> __Game_Prefabs_NetGeometrySection_RW_BufferTypeHandle;

			public BufferTypeHandle<NetGeometryEdgeState> __Game_Prefabs_NetGeometryEdgeState_RW_BufferTypeHandle;

			public BufferTypeHandle<NetGeometryNodeState> __Game_Prefabs_NetGeometryNodeState_RW_BufferTypeHandle;

			public BufferTypeHandle<SubObject> __Game_Prefabs_SubObject_RW_BufferTypeHandle;

			public BufferTypeHandle<SubMesh> __Game_Prefabs_SubMesh_RW_BufferTypeHandle;

			public BufferTypeHandle<FixedNetElement> __Game_Prefabs_FixedNetElement_RW_BufferTypeHandle;

			public BufferTypeHandle<AuxiliaryNetLane> __Game_Prefabs_AuxiliaryNetLane_RW_BufferTypeHandle;

			[ReadOnly]
			public BufferTypeHandle<NetGeometrySection> __Game_Prefabs_NetGeometrySection_RO_BufferTypeHandle;

			public BufferTypeHandle<DefaultNetLane> __Game_Prefabs_DefaultNetLane_RW_BufferTypeHandle;

			[ReadOnly]
			public ComponentLookup<NetPieceData> __Game_Prefabs_NetPieceData_RO_ComponentLookup;

			[ReadOnly]
			public ComponentLookup<NetLaneData> __Game_Prefabs_NetLaneData_RO_ComponentLookup;

			[ReadOnly]
			public ComponentLookup<NetVertexMatchData> __Game_Prefabs_NetVertexMatchData_RO_ComponentLookup;

			[ReadOnly]
			public ComponentLookup<PlaceableNetPieceData> __Game_Prefabs_PlaceableNetPieceData_RO_ComponentLookup;

			[ReadOnly]
			public ComponentLookup<PlaceableObjectData> __Game_Prefabs_PlaceableObjectData_RO_ComponentLookup;

			[ReadOnly]
			public BufferLookup<NetSubSection> __Game_Prefabs_NetSubSection_RO_BufferLookup;

			[ReadOnly]
			public BufferLookup<NetSectionPiece> __Game_Prefabs_NetSectionPiece_RO_BufferLookup;

			[ReadOnly]
			public BufferLookup<NetPieceLane> __Game_Prefabs_NetPieceLane_RO_BufferLookup;

			[ReadOnly]
			public BufferLookup<NetPieceObject> __Game_Prefabs_NetPieceObject_RO_BufferLookup;

			[ReadOnly]
			public ComponentTypeHandle<NetLaneData> __Game_Prefabs_NetLaneData_RO_ComponentTypeHandle;

			[ReadOnly]
			public ComponentTypeHandle<ConnectionLaneData> __Game_Prefabs_ConnectionLaneData_RO_ComponentTypeHandle;

			[ReadOnly]
			public ComponentLookup<PathfindCarData> __Game_Prefabs_PathfindCarData_RO_ComponentLookup;

			[ReadOnly]
			public ComponentLookup<PathfindTrackData> __Game_Prefabs_PathfindTrackData_RO_ComponentLookup;

			[ReadOnly]
			public ComponentLookup<PathfindPedestrianData> __Game_Prefabs_PathfindPedestrianData_RO_ComponentLookup;

			[ReadOnly]
			public ComponentLookup<PathfindTransportData> __Game_Prefabs_PathfindTransportData_RO_ComponentLookup;

			[ReadOnly]
			public ComponentLookup<PathfindConnectionData> __Game_Prefabs_PathfindConnectionData_RO_ComponentLookup;

			[MethodImpl(MethodImplOptions.AggressiveInlining)]
			public void __AssignHandles(ref SystemState state)
			{
				//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_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_001d: 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)
				//IL_002a: Unknown result type (might be due to invalid IL or missing references)
				//IL_002f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0037: Unknown result type (might be due to invalid IL or missing references)
				//IL_003c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0044: Unknown result type (might be due to invalid IL or missing references)
				//IL_0049: Unknown result type (might be due to invalid IL or missing references)
				//IL_0051: Unknown result type (might be due to invalid IL or missing references)
				//IL_0056: Unknown result type (might be due to invalid IL or missing references)
				//IL_005e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0063: Unknown result type (might be due to invalid IL or missing references)
				//IL_006b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0070: Unknown result type (might be due to invalid IL or missing references)
				//IL_0078: Unknown result type (might be due to invalid IL or missing references)
				//IL_007d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0085: Unknown result type (might be due to invalid IL or missing references)
				//IL_008a: Unknown result type (might be due to invalid IL or missing references)
				//IL_0092: Unknown result type (might be due to invalid IL or missing references)
				//IL_0097: Unknown result type (might be due to invalid IL or missing references)
				//IL_009f: 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_00ac: Unknown result type (might be due to invalid IL or missing references)
				//IL_00b1: Unknown result type (might be due to invalid IL or missing references)
				//IL_00b9: Unknown result type (might be due to invalid IL or missing references)
				//IL_00be: Unknown result type (might be due to invalid IL or missing references)
				//IL_00c6: Unknown result type (might be due to invalid IL or missing references)
				//IL_00cb: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d3: Unknown result type (might be due to invalid IL or missing references)
				//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
				//IL_00e0: Unknown result type (might be due to invalid IL or missing references)
				//IL_00e5: Unknown result type (might be due to invalid IL or missing references)
				//IL_00ed: Unknown result type (might be due to invalid IL or missing references)
				//IL_00f2: Unknown result type (might be due to invalid IL or missing references)
				//IL_00fa: Unknown result type (might be due to invalid IL or missing references)
				//IL_00ff: Unknown result type (might be due to invalid IL or missing references)
				//IL_0107: Unknown result type (might be due to invalid IL or missing references)
				//IL_010c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0114: Unknown result type (might be due to invalid IL or missing references)
				//IL_0119: Unknown result type (might be due to invalid IL or missing references)
				//IL_0121: Unknown result type (might be due to invalid IL or missing references)
				//IL_0126: Unknown result type (might be due to invalid IL or missing references)
				//IL_012e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0133: Unknown result type (might be due to invalid IL or missing references)
				//IL_013b: 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_0148: Unknown result type (might be due to invalid IL or missing references)
				//IL_014d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0155: Unknown result type (might be due to invalid IL or missing references)
				//IL_015a: Unknown result type (might be due to invalid IL or missing references)
				//IL_0162: Unknown result type (might be due to invalid IL or missing references)
				//IL_0167: Unknown result type (might be due to invalid IL or missing references)
				//IL_016f: 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_017c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0181: Unknown result type (might be due to invalid IL or missing references)
				//IL_0189: Unknown result type (might be due to invalid IL or missing references)
				//IL_018e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0196: Unknown result type (might be due to invalid IL or missing references)
				//IL_019b: Unknown result type (might be due to invalid IL or missing references)
				//IL_01a3: Unknown result type (might be due to invalid IL or missing references)
				//IL_01a8: Unknown result type (might be due to invalid IL or missing references)
				//IL_01b0: Unknown result type (might be due to invalid IL or missing references)
				//IL_01b5: Unknown result type (might be due to invalid IL or missing references)
				//IL_01bd: Unknown result type (might be due to invalid IL or missing references)
				//IL_01c2: Unknown result type (might be due to invalid IL or missing references)
				//IL_01ca: Unknown result type (might be due to invalid IL or missing references)
				//IL_01cf: Unknown result type (might be due to invalid IL or missing references)
				//IL_01d7: Unknown result type (might be due to invalid IL or missing references)
				//IL_01dc: Unknown result type (might be due to invalid IL or missing references)
				//IL_01e4: Unknown result type (might be due to invalid IL or missing references)
				//IL_01e9: Unknown result type (might be due to invalid IL or missing references)
				//IL_01f1: Unknown result type (might be due to invalid IL or missing references)
				//IL_01f6: Unknown result type (might be due to invalid IL or missing references)
				//IL_01fe: Unknown result type (might be due to invalid IL or missing references)
				//IL_0203: Unknown result type (might be due to invalid IL or missing references)
				//IL_020b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0210: Unknown result type (might be due to invalid IL or missing references)
				//IL_0218: Unknown result type (might be due to invalid IL or missing references)
				//IL_021d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0225: Unknown result type (might be due to invalid IL or missing references)
				//IL_022a: Unknown result type (might be due to invalid IL or missing references)
				//IL_0232: Unknown result type (might be due to invalid IL or missing references)
				//IL_0237: Unknown result type (might be due to invalid IL or missing references)
				//IL_023f: Unknown result type (might be due to invalid IL or missing references)
				//IL_0244: Unknown result type (might be due to invalid IL or missing references)
				//IL_024c: Unknown result type (might be due to invalid IL or missing references)
				//IL_0251: Unknown result type (might be due to invalid IL or missing references)
				//IL_0259: Unknown result type (might be due to invalid IL or missing references)
				//IL_025e: Unknown result type (might be due to invalid IL or missing references)
				//IL_0266: Unknown result type (might be due to invalid IL or missing references)
				//IL_026b: Unknown result type (might be due to invalid IL or missing references)
				//IL_0273: Unknown result type (might be due to invalid IL or missing references)
				//IL_0278: Unknown result type (might be due to invalid IL or missing references)
				//IL_0280: Unknown result type (might be due to invalid IL or missing references)
				//IL_0285: Unknown result type (might be due to invalid IL or missing references)
				//IL_028d: Unknown result type (might be due to invalid IL or missing references)
				//IL_0292: Unknown result type (might be due to invalid IL or missing references)
				//IL_029a: Unknown result type (might be due to invalid IL or missing references)
				//IL_029f: Unknown result type (might be due to invalid IL or missing references)
				//IL_02a7: Unknown result type (might be due to invalid IL or missing references)
				//IL_02ac: Unknown result type (might be due to invalid IL or missing references)
				//IL_02b4: Unknown result type (might be due to invalid IL or missing references)
				//IL_02b9: Unknown result type (might be due to invalid IL or missing references)
				//IL_02c1: Unknown result type (might be due to invalid IL or missing references)
				//IL_02c6: Unknown result type (might be due to invalid IL or missing references)
				//IL_02ce: Unknown result type (might be due to invalid IL or missing references)
				//IL_02d3: Unknown result type (might be due to invalid IL or missing references)
				//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_02e8: Unknown result type (might be due to invalid IL or missing references)
				//IL_02ed: Unknown result type (might be due to invalid IL or missing references)
				//IL_02f5: Unknown result type (might be due to invalid IL or missing references)
				//IL_02fa: Unknown result type (might be due to invalid IL or missing references)
				//IL_0302: Unknown result type (might be due to invalid IL or missing references)
				//IL_0307: 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_0314: Unknown result type (might be due to invalid IL or missing references)
				__Unity_Entities_Entity_TypeHandle = ((SystemState)(ref state)).GetEntityTypeHandle();
				__Game_Prefabs_PrefabData_RO_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<PrefabData>(true);
				__Game_Prefabs_NetData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<NetData>(false);
				__Game_Prefabs_NetPieceData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<NetPieceData>(false);
				__Game_Prefabs_NetGeometryData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<NetGeometryData>(false);
				__Game_Prefabs_PlaceableNetData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<PlaceableNetData>(false);
				__Game_Prefabs_MarkerNetData_RO_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<MarkerNetData>(true);
				__Game_Prefabs_LocalConnectData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<LocalConnectData>(false);
				__Game_Prefabs_NetLaneData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<NetLaneData>(false);
				__Game_Prefabs_NetLaneGeometryData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<NetLaneGeometryData>(false);
				__Game_Prefabs_CarLaneData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<CarLaneData>(false);
				__Game_Prefabs_TrackLaneData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<TrackLaneData>(false);
				__Game_Prefabs_UtilityLaneData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<UtilityLaneData>(false);
				__Game_Prefabs_ParkingLaneData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<ParkingLaneData>(false);
				__Game_Prefabs_PedestrianLaneData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<PedestrianLaneData>(false);
				__Game_Prefabs_SecondaryLaneData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<SecondaryLaneData>(false);
				__Game_Prefabs_NetCrosswalkData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<NetCrosswalkData>(false);
				__Game_Prefabs_RoadData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<RoadData>(false);
				__Game_Prefabs_TrackData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<TrackData>(false);
				__Game_Prefabs_WaterwayData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<WaterwayData>(false);
				__Game_Prefabs_PathwayData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<PathwayData>(false);
				__Game_Prefabs_TaxiwayData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<TaxiwayData>(false);
				__Game_Prefabs_PowerLineData_RO_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<PowerLineData>(true);
				__Game_Prefabs_PipelineData_RO_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<PipelineData>(true);
				__Game_Prefabs_FenceData_RO_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<FenceData>(true);
				__Game_Prefabs_EditorContainerData_RO_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<EditorContainerData>(true);
				__Game_Prefabs_ElectricityConnectionData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<ElectricityConnectionData>(false);
				__Game_Prefabs_WaterPipeConnectionData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<WaterPipeConnectionData>(false);
				__Game_Prefabs_BridgeData_RO_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<BridgeData>(true);
				__Game_Prefabs_SpawnableObjectData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<SpawnableObjectData>(false);
				__Game_Prefabs_NetTerrainData_RW_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<NetTerrainData>(false);
				__Game_Prefabs_NetSubSection_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<NetSubSection>(false);
				__Game_Prefabs_NetSectionPiece_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<NetSectionPiece>(false);
				__Game_Prefabs_NetPieceLane_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<NetPieceLane>(false);
				__Game_Prefabs_NetPieceArea_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<NetPieceArea>(false);
				__Game_Prefabs_NetPieceObject_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<NetPieceObject>(false);
				__Game_Prefabs_NetGeometrySection_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<NetGeometrySection>(false);
				__Game_Prefabs_NetGeometryEdgeState_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<NetGeometryEdgeState>(false);
				__Game_Prefabs_NetGeometryNodeState_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<NetGeometryNodeState>(false);
				__Game_Prefabs_SubObject_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<SubObject>(false);
				__Game_Prefabs_SubMesh_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<SubMesh>(false);
				__Game_Prefabs_FixedNetElement_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<FixedNetElement>(false);
				__Game_Prefabs_AuxiliaryNetLane_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<AuxiliaryNetLane>(false);
				__Game_Prefabs_NetGeometrySection_RO_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<NetGeometrySection>(true);
				__Game_Prefabs_DefaultNetLane_RW_BufferTypeHandle = ((SystemState)(ref state)).GetBufferTypeHandle<DefaultNetLane>(false);
				__Game_Prefabs_NetPieceData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<NetPieceData>(true);
				__Game_Prefabs_NetLaneData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<NetLaneData>(true);
				__Game_Prefabs_NetVertexMatchData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<NetVertexMatchData>(true);
				__Game_Prefabs_PlaceableNetPieceData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<PlaceableNetPieceData>(true);
				__Game_Prefabs_PlaceableObjectData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<PlaceableObjectData>(true);
				__Game_Prefabs_NetSubSection_RO_BufferLookup = ((SystemState)(ref state)).GetBufferLookup<NetSubSection>(true);
				__Game_Prefabs_NetSectionPiece_RO_BufferLookup = ((SystemState)(ref state)).GetBufferLookup<NetSectionPiece>(true);
				__Game_Prefabs_NetPieceLane_RO_BufferLookup = ((SystemState)(ref state)).GetBufferLookup<NetPieceLane>(true);
				__Game_Prefabs_NetPieceObject_RO_BufferLookup = ((SystemState)(ref state)).GetBufferLookup<NetPieceObject>(true);
				__Game_Prefabs_NetLaneData_RO_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<NetLaneData>(true);
				__Game_Prefabs_ConnectionLaneData_RO_ComponentTypeHandle = ((SystemState)(ref state)).GetComponentTypeHandle<ConnectionLaneData>(true);
				__Game_Prefabs_PathfindCarData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<PathfindCarData>(true);
				__Game_Prefabs_PathfindTrackData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<PathfindTrackData>(true);
				__Game_Prefabs_PathfindPedestrianData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<PathfindPedestrianData>(true);
				__Game_Prefabs_PathfindTransportData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<PathfindTransportData>(true);
				__Game_Prefabs_PathfindConnectionData_RO_ComponentLookup = ((SystemState)(ref state)).GetComponentLookup<PathfindConnectionData>(true);
			}
		}

		private PrefabSystem m_PrefabSystem;

		private EntityQuery m_PrefabQuery;

		private EntityQuery m_LaneQuery;

		private NativeValue<PathfindHeuristicData> m_PathfindHeuristicData;

		private JobHandle m_PathfindHeuristicDeps;

		private static int MaxElevatedLength;

		private static int MaxPillarInterval;

		private static bool EnableNoPillar;

		private static bool EnableUnlimitedHeight;

		private static ManualLogSource logger = Logger.CreateLogSource("UnlimitedElevatedRoad");

		private TypeHandle __TypeHandle;

		[Preserve]
		protected override void OnCreate()
		{
			//IL_008d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0093: Expected O, but got Unknown
			//IL_009c: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ad: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c0: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cc: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d8: Unknown result type (might be due to invalid IL or missing references)
			//IL_00dd: 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_0101: Unknown result type (might be due to invalid IL or missing references)
			//IL_0106: Unknown result type (might be due to invalid IL or missing references)
			//IL_0115: Unknown result type (might be due to invalid IL or missing references)
			//IL_011a: Unknown result type (might be due to invalid IL or missing references)
			//IL_011f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0124: Unknown result type (might be due to invalid IL or missing references)
			//IL_012b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0138: Unknown result type (might be due to invalid IL or missing references)
			//IL_013d: Unknown result type (might be due to invalid IL or missing references)
			((GameSystemBase)this).OnCreate();
			MaxElevatedLength = Plugin.MaxElevatedLength.Value;
			MaxElevatedLength = ((MaxElevatedLength > 16) ? MaxElevatedLength : 16);
			MaxPillarInterval = Plugin.MaxPillarInterval.Value;
			MaxPillarInterval = ((MaxPillarInterval > 16) ? MaxPillarInterval : 16);
			EnableNoPillar = Plugin.EnableNoPillar.Value;
			EnableUnlimitedHeight = Plugin.EnableUnlimitedHeight.Value;
			m_PrefabSystem = ((ComponentSystemBase)this).World.GetOrCreateSystemManaged<PrefabSystem>();
			EntityQueryDesc[] array = new EntityQueryDesc[1];
			EntityQueryDesc val = new EntityQueryDesc();
			val.All = (ComponentType[])(object)new ComponentType[2]
			{
				ComponentType.ReadOnly<Created>(),
				ComponentType.ReadOnly<PrefabData>()
			};
			val.Any = (ComponentType[])(object)new ComponentType[4]
			{
				ComponentType.ReadWrite<NetData>(),
				ComponentType.ReadWrite<NetSectionData>(),
				ComponentType.ReadWrite<NetPieceData>(),
				ComponentType.ReadWrite<NetLaneData>()
			};
			val.None = (ComponentType[])(object)new ComponentType[0];
			array[0] = val;
			m_PrefabQuery = ((ComponentSystemBase)this).GetEntityQuery((EntityQueryDesc[])(object)array);
			m_LaneQuery = ((ComponentSystemBase)this).GetEntityQuery((ComponentType[])(object)new ComponentType[1] { ComponentType.ReadOnly<NetLaneData>() });
			((ComponentSystemBase)this).RequireForUpdate(m_PrefabQuery);
			m_PathfindHeuristicData = new NativeValue<PathfindHeuristicData>((Allocator)4);
		}

		[Preserve]
		protected override void OnDestroy()
		{
			m_PathfindHeuristicData.Dispose();
			((GameSystemBase)this).OnDestroy();
		}

		public PathfindHeuristicData GetHeuristicData()
		{
			//IL_0013: 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)
			//IL_001b: Unknown result type (might be due to invalid IL or missing references)
			((JobHandle)(ref m_PathfindHeuristicDeps)).Complete();
			return m_PathfindHeuristicData.value;
		}

		private void AddSections(PrefabBase prefab, NetSectionInfo[] source, DynamicBuffer<NetGeometrySection> target, NetSectionFlags flags)
		{
			//IL_006c: Unknown result type (might be due to invalid IL or missing references)
			//IL_002a: Unknown result type (might be due to invalid IL or missing references)
			//IL_003d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0082: Unknown result type (might be due to invalid IL or missing references)
			//IL_0087: Unknown result type (might be due to invalid IL or missing references)
			//IL_0088: Unknown result type (might be due to invalid IL or missing references)
			//IL_008f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0090: 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_00b9: Unknown result type (might be due to invalid IL or missing references)
			//IL_00be: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c7: Unknown result type (might be due to invalid IL or missing references)
			//IL_00cc: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d3: Unknown result type (might be due to invalid IL or missing references)
			//IL_00d5: Unknown result type (might be due to invalid IL or missing references)
			//IL_011c: Unknown result type (might be due to invalid IL or missing references)
			//IL_011e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0120: Unknown result type (might be due to invalid IL or missing references)
			//IL_0121: Unknown result type (might be due to invalid IL or missing references)
			//IL_0123: Unknown result type (might be due to invalid IL or missing references)
			//IL_0124: Unknown result type (might be due to invalid IL or missing references)
			//IL_0126: Unknown result type (might be due to invalid IL or missing references)
			//IL_0129: Invalid comparison between Unknown and I4
			//IL_014f: Unknown result type (might be due to invalid IL or missing references)
			//IL_019f: Unknown result type (might be due to invalid IL or missing references)
			//IL_01a9: Unknown result type (might be due to invalid IL or missing references)
			//IL_01cf: Unknown result type (might be due to invalid IL or missing references)
			//IL_01fd: Unknown result type (might be due to invalid IL or missing references)
			int2 val = default(int2);
			((int2)(ref val))..ctor(int.MaxValue, int.MinValue);
			for (int i = 0; i < source.Length; i++)
			{
				if (source[i].m_Median)
				{
					int num = i << 1;
					val.x = math.min(val.x, num);
					val.y = math.max(val.y, num);
				}
			}
			if (((int2)(ref val)).Equals(new int2(int.MaxValue, int.MinValue)))
			{
				val = int2.op_Implicit(source.Length - 1);
				flags = (NetSectionFlags)(flags | 0x80);
			}
			NetSectionFlags val4 = default(NetSectionFlags);
			NetSectionFlags val5 = default(NetSectionFlags);
			NetSectionFlags val6 = default(NetSectionFlags);
			for (int j = 0; j < source.Length; j++)
			{
				NetSectionInfo val2 = source[j];
				NetGeometrySection val3 = default(NetGeometrySection);
				val3.m_Section = m_PrefabSystem.GetEntity((PrefabBase)(object)val2.m_Section);
				val3.m_Offset = val2.m_Offset;
				val3.m_Flags = flags;
				NetCompositionHelpers.GetRequirementFlags(val2.m_RequireAll, ref val3.m_CompositionAll, ref val4);
				NetCompositionHelpers.GetRequirementFlags(val2.m_RequireAny, ref val3.m_CompositionAny, ref val5);
				NetCompositionHelpers.GetRequirementFlags(val2.m_RequireNone, ref val3.m_CompositionNone, ref val6);
				NetSectionFlags val7 = (NetSectionFlags)(val4 | val5 | val6);
				if ((int)val7 > 0)
				{
					COSystemBase.baseLog.ErrorFormat((Object)(object)prefab, "Net section ({0}: {1}) cannot require section flags: {2}", (object)((Object)prefab).name, (object)((Object)val2.m_Section).name, (object)val7);
				}
				if (val2.m_Invert)
				{
					ref NetSectionFlags flags2 = ref val3.m_Flags;
					flags2 = (NetSectionFlags)((uint)flags2 | 1u);
				}
				if (val2.m_Flip)
				{
					ref NetSectionFlags flags3 = ref val3.m_Flags;
					flags3 = (NetSectionFlags)((uint)flags3 | 0x140u);
				}
				int num2 = j << 1;
				if (num2 >= val.x && num2 <= val.y)
				{
					ref NetSectionFlags flags4 = ref val3.m_Flags;
					flags4 = (NetSectionFlags)((uint)flags4 | 2u);
				}
				else if (num2 > val.y)
				{
					ref NetSectionFlags flags5 = ref val3.m_Flags;
					flags5 = (NetSectionFlags)((uint)flags5 | 8u);
				}
				else
				{
					ref NetSectionFlags flags6 = ref val3.m_Flags;
					flags6 = (NetSectionFlags)((uint)flags6 | 4u);
				}
				target.Add(val3);
			}
		}

		[Preserve]
		protected override void OnUpdate()
		{
			//IL_0008: Unknown result type (might be due to invalid IL or missing references)
			//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_0031: Unknown result type (might be due to invalid IL or missing references)
			//IL_0036: Unknown result type (might be due to invalid IL or missing references)
			//IL_0055: Unknown result type (might be due to invalid IL or missing references)
			//IL_005a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0079: Unknown result type (might be due to invalid IL or missing references)
			//IL_007e: Unknown result type (might be due to invalid IL or missing references)
			//IL_009d: Unknown result type (might be due to invalid IL or missing references)
			//IL_00a2: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c1: Unknown result type (might be due to invalid IL or missing references)
			//IL_00c6: Unknown result type (might be due to invalid IL or missing references)
			//IL_00e5: Unknown result type (might be due to invalid IL or missing references)
			//IL_00ea: Unknown result type (might be due to invalid IL or missing references)
			//IL_0109: Unknown result type (might be due to invalid IL or missing references)
			//IL_010e: Unknown result type (might be due to invalid IL or missing references)
			//IL_012d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0132: Unknown result type (might be due to invalid IL or missing references)
			//IL_0151: Unknown result type (might be due to invalid IL or missing references)
			//IL_0156: Unknown result type (might be due to invalid IL or missing references)
			//IL_0175: Unknown result type (might be due to invalid IL or missing references)
			//IL_017a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0199: Unknown result type (might be due to invalid IL or missing references)
			//IL_019e: Unknown result type (might be due to invalid IL or missing references)
			//IL_01bd: Unknown result type (might be due to invalid IL or missing references)
			//IL_01c2: 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_0205: Unknown result type (might be due to invalid IL or missing references)
			//IL_020a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0229: Unknown result type (might be due to invalid IL or missing references)
			//IL_022e: Unknown result type (might be due to invalid IL or missing references)
			//IL_024d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0252: Unknown result type (might be due to invalid IL or missing references)
			//IL_0271: Unknown result type (might be due to invalid IL or missing references)
			//IL_0276: Unknown result type (might be due to invalid IL or missing references)
			//IL_0295: Unknown result type (might be due to invalid IL or missing references)
			//IL_029a: Unknown result type (might be due to invalid IL or missing references)
			//IL_02b9: 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_02dd: Unknown result type (might be due to invalid IL or missing references)
			//IL_02e2: Unknown result type (might be due to invalid IL or missing references)
			//IL_0301: Unknown result type (might be due to invalid IL or missing references)
			//IL_0306: Unknown result type (might be due to invalid IL or missing references)
			//IL_0325: Unknown result type (might be due to invalid IL or missing references)
			//IL_032a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0349: Unknown result type (might be due to invalid IL or missing references)
			//IL_034e: 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_0372: Unknown result type (might be due to invalid IL or missing references)
			//IL_0391: Unknown result type (might be due to invalid IL or missing references)
			//IL_0396: Unknown result type (might be due to invalid IL or missing references)
			//IL_03b5: Unknown result type (might be due to invalid IL or missing references)
			//IL_03ba: Unknown result type (might be due to invalid IL or missing references)
			//IL_03d9: Unknown result type (might be due to invalid IL or missing references)
			//IL_03de: Unknown result type (might be due to invalid IL or missing references)
			//IL_03fd: Unknown result type (might be due to invalid IL or missing references)
			//IL_0402: 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_0445: Unknown result type (might be due to invalid IL or missing references)
			//IL_044a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0469: Unknown result type (might be due to invalid IL or missing references)
			//IL_046e: Unknown result type (might be due to invalid IL or missing references)
			//IL_048d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0492: Unknown result type (might be due to invalid IL or missing references)
			//IL_04b1: Unknown result type (might be due to invalid IL or missing references)
			//IL_04b6: Unknown result type (might be due to invalid IL or missing references)
			//IL_04d5: Unknown result type (might be due to invalid IL or missing references)
			//IL_04da: Unknown result type (might be due to invalid IL or missing references)
			//IL_04f9: Unknown result type (might be due to invalid IL or missing references)
			//IL_04fe: Unknown result type (might be due to invalid IL or missing references)
			//IL_051d: Unknown result type (might be due to invalid IL or missing references)
			//IL_0522: Unknown result type (might be due to invalid IL or missing references)
			//IL_0541: Unknown result type (might be due to invalid IL or missing references)
			//IL_0546: Unknown result type (might be due to invalid IL or missing references)
			//IL_0565: Unknown result type (might be due to invalid IL or missing references)
			//IL_056a: Unknown result type (might be due to invalid IL or missing references)
			//IL_0589: Unknown result type (might be due to invalid IL or missing references)
			//IL_058e: Unknown result type (might be due to invalid IL or missing references)
			//IL_05ad: Unknown result type (might be due to invalid IL or missing references)
			//IL_05b2: Unknown result type (might be due to invalid IL or missing references)
			//IL_05d1: 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_05f5: Unknown result type (might be due to invalid IL or missing references)
			//IL_05fa: Unknown result type (might be due to invalid IL or missing references)
			//IL_0619: Unknown result type (might be due to invalid IL or missing references)
			//IL_061e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0634: 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_063d: Unknown result type (might be due to invalid IL or missing references)
			//IL_063f: Unknown result type (might be due to invalid IL or missing references)
			//IL_0644: Unknown result type (might be due to invalid IL or missing references)
			//IL_064a: Unknown result type (might be due to invalid IL or missing references)
			//IL_064f: Unknown result type (might be due to invalid IL or missing references)
			//IL_066b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0670: Unknown result type (might be due to invalid IL or missing references)
			//IL_0676: Unknown result type (might be due to invalid IL or missing references)
			//IL_067b: Unknown result type (might be due to invalid IL or missing references)
			//IL_0681: Unknown result type (might be due to invalid IL or missing references)
			//IL_0686: Unknown result type (might be due to invalid IL or missing references)
			//IL_06a0: Unknown result type (might be due to invalid IL or missing references)
			//IL_06a5: Unknown result type (might be due to invalid IL or missing references)
			//IL_5f46: Unknown result type (might be due to invalid IL or missing references)
			//IL_5f66: Unknown result type (might be due to invalid IL or missing references)
			//IL_5f6b: Unknown result type (might be due to invalid IL or missing references)
			//IL_5f8a: Unknown result type (might be due to invalid IL or missing references)
			//IL_5f8f: Unknown result type (might be due to invalid IL or missing references)
			//IL_5fae: Unknown result type (might be due to invalid IL or missing references)
			//IL_5fb3: Unknown result type (might be due to invalid IL or missing references)
			//IL_5fd2: Unknown result type (might be due to invalid IL or missing references)
			//IL_5fd7: Unknown result type (might be due to invalid IL or missing references)
			//IL_5ff6: Unknown result type (might be due to invalid IL or missing references)
			//IL_5ffb: Unknown result type (might be due to invalid IL or missing references)
			//IL_601a: Unknown result type (might be due to invalid IL or missing references)
			//IL_601f: Unknown result type (might be due to invalid IL or missing references)
			//IL_6024: Unknown result type (might be due to invalid IL or missing references)
			//IL_6193: Unknown result type (might be due to invalid IL or missing references)
			//IL_6194: Unknown result type (might be due to invalid IL or missing references)
			//IL_61a1: Unknown result type (might be due to invalid IL or missing references)
			//IL_61a6: Unknown result type (might be due to invalid IL or missing references)
			//IL_61b3: Unknown result type (might be due to invalid IL or missing references)
			//IL_61b8: Unknown result type (might be due to invalid IL or missing references)
			//IL_61c5: Unknown result type (might be due to invalid IL or missing references)
			//IL_61ca: Unknown result type (might be due to invalid IL or missing references)
			//IL_61d7: Unknown result type (might be due to invalid IL or missing references)
			//IL_61dc: Unknown result type (might be due to invalid IL or missing references)
			//IL_61e9: Unknown result type (might be due to invalid IL or missing references)
			//IL_61ee: Unknown result type (might be due to invalid IL or missing references)
			//IL_61fb: Unknown result type (might be due to invalid IL or missing references)
			//IL_6200: Unknown result type (might be due to invalid IL or missing references)
			//IL_620d: Unknown result type (might be due to invalid IL or missing references)
			//IL_6212: Unknown result type (might be due to invalid IL or missing references)
			//IL_621f: Unknown result type (might be due to invalid IL or missing references)
			//IL_6224: Unknown result type (might be due to invalid IL or missing references)
			//IL_6231: Unknown result type (might be due to invalid IL or missing references)
			//IL_6236: Unknown result type (might be due to invalid IL or missing references)
			//IL_6243: Unknown result type (might be due to invalid IL or missing references)
			//IL_6248: Unknown result type (might be due to invalid IL or missing references)
			//IL_6255: Unknown result type (might be due to invalid IL or missing references)
			//IL_625a: Unknown result type (might be due to invalid IL or missing references)
			//IL_6267: Unknown result type (might be due to invalid IL or missing references)
			//IL_626c: Unknown result type (might be due to invalid IL or missing references)
			//IL_6279: Unknown result type (might be due to invalid IL or missing references)
			//IL_627e: Unknown result type (might be due to invalid IL or missing references)
			//IL_628b: Unknown result type (might be due to invalid IL or mi