using System;
using Cpp2IlInjected;
using UnityEngine;

namespace RootMotion.FinalIK
{
	// Token: 0x020004B2 RID: 1202
	[Token(Token = "0x20004B2")]
	public class HandPoser : Poser
	{
		// Token: 0x06002AE9 RID: 10985 RVA: 0x0006000C File Offset: 0x0005E20C
		[Token(Token = "0x6002AE9")]
		[Address(RVA = "0x1702300", Offset = "0x1701300", VA = "0x181702300", 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: 0x06002AEA RID: 10986 RVA: 0x0006005C File Offset: 0x0005E25C
		[Token(Token = "0x6002AEA")]
		[Address(RVA = "0x1702520", Offset = "0x1701520", VA = "0x181702520", Slot = "8")]
		protected override void InitiatePoser()
		{
			Transform[] componentsInChildren = base.GetComponentsInChildren<Transform>();
			this.children = componentsInChildren;
			this.StoreDefaultState();
		}

		// Token: 0x06002AEB RID: 10987 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002AEB")]
		[Address(RVA = "0x17023D0", Offset = "0x17013D0", VA = "0x1817023D0", Slot = "10")]
		protected override void FixPoserTransforms()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002AEC RID: 10988 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002AEC")]
		[Address(RVA = "0x1702760", Offset = "0x1701760", VA = "0x181702760", Slot = "9")]
		protected override void UpdatePoser()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002AED RID: 10989 RVA: 0x000020D3 File Offset: 0x000002D3
		[Token(Token = "0x6002AED")]
		[Address(RVA = "0x1702580", Offset = "0x1701580", VA = "0x181702580")]
		private void StoreDefaultState()
		{
			throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
		}

		// Token: 0x06002AEE RID: 10990 RVA: 0x00060080 File Offset: 0x0005E280
		[Token(Token = "0x6002AEE")]
		[Address(RVA = "0xA2FB50", Offset = "0xA2EB50", VA = "0x180A2FB50")]
		public HandPoser()
		{
		}

		// Token: 0x0400346A RID: 13418
		[FieldOffset(Offset = "0x50")]
		[Token(Token = "0x400346A")]
		private Transform _poseRoot;

		// Token: 0x0400346B RID: 13419
		[FieldOffset(Offset = "0x58")]
		[Token(Token = "0x400346B")]
		private Transform[] children;

		// Token: 0x0400346C RID: 13420
		[FieldOffset(Offset = "0x60")]
		[Token(Token = "0x400346C")]
		private Transform[] poseChildren;

		// Token: 0x0400346D RID: 13421
		[FieldOffset(Offset = "0x68")]
		[Token(Token = "0x400346D")]
		private Vector3[] defaultLocalPositions;

		// Token: 0x0400346E RID: 13422
		[FieldOffset(Offset = "0x70")]
		[Token(Token = "0x400346E")]
		private Quaternion[] defaultLocalRotations;
	}
}
