using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x020003AE RID: 942
	[Token(Token = "0x20003AE")]
	public class MechSpiderParticles : MonoBehaviour
	{
		// Token: 0x06002319 RID: 8985 RVA: 0x000508CC File Offset: 0x0004EACC
		[Token(Token = "0x6002319")]
		[Address(RVA = "0x402D80", Offset = "0x401B80", VA = "0x180402D80")]
		private void Start()
		{
			Type typeFromHandle = typeof(ParticleSystem);
			Component component = base.GetComponent(typeFromHandle);
			int num = 0;
			if (component == 0 || component != 0)
			{
				this.particles = num;
			}
			throw new InvalidCastException();
		}

		// Token: 0x0600231A RID: 8986 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x600231A")]
		[Address(RVA = "0x402E40", Offset = "0x401C40", VA = "0x180402E40")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x0600231B RID: 8987 RVA: 0x00050904 File Offset: 0x0004EB04
		[Token(Token = "0x600231B")]
		[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
		public MechSpiderParticles()
		{
		}

		// Token: 0x04002C63 RID: 11363
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002C63")]
		public MechSpiderController mechSpiderController;

		// Token: 0x04002C64 RID: 11364
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002C64")]
		private ParticleSystem particles;
	}
}
