using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;

namespace MTAssets.UltimateLODSystem.MeshSimplifier
{
	// Token: 0x02000661 RID: 1633
	[Token(Token = "0x2000661")]
	public static class MeshCombiner
	{
		// Token: 0x06003333 RID: 13107 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003333")]
		[Address(RVA = "0x426FB0", Offset = "0x425FB0", VA = "0x180426FB0")]
		public static Mesh CombineMeshes(Transform rootTransform, MeshRenderer[] renderers, out Material[] resultMaterials)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003334 RID: 13108 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003334")]
		[Address(RVA = "0x428E70", Offset = "0x427E70", VA = "0x180428E70")]
		public static Mesh CombineMeshes(Transform rootTransform, SkinnedMeshRenderer[] renderers, out Material[] resultMaterials, out Transform[] resultBones)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003335 RID: 13109 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003335")]
		[Address(RVA = "0x429560", Offset = "0x428560", VA = "0x180429560")]
		public static Mesh CombineMeshes(Mesh[] meshes, Matrix4x4[] transforms, Material[][] materials, out Material[] resultMaterials)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003336 RID: 13110 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003336")]
		[Address(RVA = "0x4277F0", Offset = "0x4267F0", VA = "0x1804277F0")]
		public static Mesh CombineMeshes(Mesh[] meshes, Matrix4x4[] transforms, Material[][] materials, Transform[][] bones, out Material[] resultMaterials, out Transform[] resultBones)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003337 RID: 13111 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003337")]
		[Address(RVA = "0x429680", Offset = "0x428680", VA = "0x180429680")]
		private static void CopyVertexPositions(ICollection<Vector3> list, Vector3[] arr)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003338 RID: 13112 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003338")]
		[Address(RVA = "0x582320", Offset = "0x581320", VA = "0x180582320")]
		private static void CopyVertexAttributes<T>(ref List<T> dest, IEnumerable<T> src, int previousVertexCount, int meshVertexCount, int totalVertexCount, T defaultValue)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06003339 RID: 13113 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6003339")]
		[Address(RVA = "0x5828C0", Offset = "0x5818C0", VA = "0x1805828C0")]
		private static T[] MergeArrays<T>(T[] arr1, T[] arr2)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600333A RID: 13114 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600333A")]
		[Address(RVA = "0x429CD0", Offset = "0x428CD0", VA = "0x180429CD0")]
		private static void TransformVertices(Vector3[] vertices, ref Matrix4x4 transform)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600333B RID: 13115 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600333B")]
		[Address(RVA = "0x429AB0", Offset = "0x428AB0", VA = "0x180429AB0")]
		private static void TransformNormals(Vector3[] normals, ref Matrix4x4 transform)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600333C RID: 13116 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600333C")]
		[Address(RVA = "0x429B70", Offset = "0x428B70", VA = "0x180429B70")]
		private static void TransformTangents(Vector4[] tangents, ref Matrix4x4 transform)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600333D RID: 13117 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600333D")]
		[Address(RVA = "0x4297E0", Offset = "0x4287E0", VA = "0x1804297E0")]
		private static void RemapBones(BoneWeight[] boneWeights, int[] boneIndices)
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600333E RID: 13118 RVA: 0x0006D840 File Offset: 0x0006BA40
		[Token(Token = "0x600333E")]
		[Address(RVA = "0x426F90", Offset = "0x425F90", VA = "0x180426F90")]
		private static bool CanReadMesh(Mesh mesh)
		{
			return mesh.isReadable;
		}
	}
}
