using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x02000421 RID: 1057
	[Token(Token = "0x2000421")]
	public class MotionAbsorbCharacter : MonoBehaviour
	{
		// Token: 0x06002644 RID: 9796 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002644")]
		[Address(RVA = "0xC32B00", Offset = "0xC31B00", VA = "0x180C32B00")]
		private void Start()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002645 RID: 9797 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002645")]
		[Address(RVA = "0xC32D00", Offset = "0xC31D00", VA = "0x180C32D00")]
		private void Update()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002646 RID: 9798 RVA: 0x000585AC File Offset: 0x000567AC
		[Token(Token = "0x6002646")]
		[Address(RVA = "0xC32B80", Offset = "0xC31B80", VA = "0x180C32B80")]
		private void SwingStart()
		{
			Rigidbody rigidbody = this.cubeRigidbody;
			int num = 0;
			Vector3 insideUnitSphere = UnityEngine.Random.insideUnitSphere;
			rigidbody.MovePosition(num);
			Rigidbody rigidbody2 = this.cubeRigidbody;
			int num2 = 0;
			Quaternion identity = Quaternion.identity;
			rigidbody2.MoveRotation(num2);
			Rigidbody rigidbody3 = this.cubeRigidbody;
			int num3 = 0;
			Vector3 zero = Vector3.zero;
			rigidbody3.velocity = num3;
			Rigidbody rigidbody4 = this.cubeRigidbody;
			int num4 = 0;
			float z = Vector3.zero.z;
			rigidbody4.angularVelocity = num4;
		}

		// Token: 0x06002647 RID: 9799 RVA: 0x0005862C File Offset: 0x0005682C
		[Token(Token = "0x6002647")]
		[Address(RVA = "0xC32DC0", Offset = "0xC31DC0", VA = "0x180C32DC0")]
		public MotionAbsorbCharacter()
		{
		}

		// Token: 0x04002FE8 RID: 12264
		[FieldOffset(Offset = "0x18")]
		[Token(Token = "0x4002FE8")]
		public Animator animator;

		// Token: 0x04002FE9 RID: 12265
		[FieldOffset(Offset = "0x20")]
		[Token(Token = "0x4002FE9")]
		public MotionAbsorb motionAbsorb;

		// Token: 0x04002FEA RID: 12266
		[FieldOffset(Offset = "0x28")]
		[Token(Token = "0x4002FEA")]
		public Transform cube;

		// Token: 0x04002FEB RID: 12267
		[FieldOffset(Offset = "0x30")]
		[Token(Token = "0x4002FEB")]
		public float cubeRandomPosition = 0.1f;

		// Token: 0x04002FEC RID: 12268
		[FieldOffset(Offset = "0x38")]
		[Token(Token = "0x4002FEC")]
		public AnimationCurve motionAbsorbWeight;

		// Token: 0x04002FED RID: 12269
		[FieldOffset(Offset = "0x40")]
		[Token(Token = "0x4002FED")]
		private Vector3 cubeDefaultPosition;

		// Token: 0x04002FEE RID: 12270
		[FieldOffset(Offset = "0x4C")]
		[Token(Token = "0x4002FEE")]
		private AnimatorStateInfo info;

		// Token: 0x04002FEF RID: 12271
		[FieldOffset(Offset = "0x70")]
		[Token(Token = "0x4002FEF")]
		private Rigidbody cubeRigidbody;
	}
}
