using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.FinalIK
{
	// Token: 0x0200045A RID: 1114
	[Token(Token = "0x200045A")]
	public class HandPoser : Poser
	{
		// Token: 0x06002820 RID: 10272 RVA: 0x00058C68 File Offset: 0x00056E68
		[Token(Token = "0x6002820")]
		[Address(RVA = "0x117BC30", Offset = "0x117AA30", VA = "0x18117BC30", Slot = "7")]
		public override void AutoMapping()
		{
			Transform poseRoot = this.poseRoot;
			int num = 0;
			if (!(poseRoot == num))
			{
				Transform[] componentsInChildren = this.poseRoot.GetComponentsInChildren<Transform>();
			}
			Transform[] array = new Transform[0];
			this.poseChildren = array;
			Transform poseRoot2 = this.poseRoot;
			this._poseRoot = poseRoot2;
			throw new NullReferenceException();
		}

		// Token: 0x06002821 RID: 10273 RVA: 0x00058CB8 File Offset: 0x00056EB8
		[Token(Token = "0x6002821")]
		[Address(RVA = "0x117BE50", Offset = "0x117AC50", VA = "0x18117BE50", Slot = "8")]
		protected override void InitiatePoser()
		{
			Transform[] componentsInChildren = base.GetComponentsInChildren<Transform>();
			this.children = componentsInChildren;
			this.StoreDefaultState();
		}

		// Token: 0x06002822 RID: 10274 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002822")]
		[Address(RVA = "0x117BD00", Offset = "0x117AB00", VA = "0x18117BD00", Slot = "10")]
		protected override void FixPoserTransforms()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002823 RID: 10275 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002823")]
		[Address(RVA = "0x117C090", Offset = "0x117AE90", VA = "0x18117C090", Slot = "9")]
		protected override void UpdatePoser()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002824 RID: 10276 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002824")]
		[Address(RVA = "0x117BEB0", Offset = "0x117ACB0", VA = "0x18117BEB0")]
		private void StoreDefaultState()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002825 RID: 10277 RVA: 0x00058CDC File Offset: 0x00056EDC
		[Token(Token = "0x6002825")]
		[Address(RVA = "0x54EA40", Offset = "0x54D840", VA = "0x18054EA40")]
		public HandPoser()
		{
		}

		// Token: 0x04003180 RID: 12672
		[FieldOffset(Offset = "0x50")]
		[Token(Token = "0x4003180")]
		private Transform _poseRoot;

		// Token: 0x04003181 RID: 12673
		[FieldOffset(Offset = "0x58")]
		[Token(Token = "0x4003181")]
		private Transform[] children;

		// Token: 0x04003182 RID: 12674
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x4003182")]
		private Transform[] poseChildren;

		// Token: 0x04003183 RID: 12675
		[FieldOffset(Offset = "0x68")]
		[Token(Token = "0x4003183")]
		private Vector3[] defaultLocalPositions;

		// Token: 0x04003184 RID: 12676
		[FieldOffset(Offset = "0x70")]
		[Token(Token = "0x4003184")]
		private Quaternion[] defaultLocalRotations;
	}
}
