using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using Il2CppInterop.Runtime.InteropTypes.Arrays;
using UnityEngine;

namespace RootMotion.FinalIK
{
	// Token: 0x020004C1 RID: 1217
	public class HandPoser : Poser
	{
		// Token: 0x06008F0D RID: 36621 RVA: 0x0024B4A0 File Offset: 0x002496A0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 635582, XrefRangeEnd = 635596, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void AutoMapping()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), HandPoser.NativeMethodInfoPtr_AutoMapping_Public_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F0E RID: 36622 RVA: 0x0024B4F0 File Offset: 0x002496F0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 635596, XrefRangeEnd = 635601, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void InitiatePoser()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), HandPoser.NativeMethodInfoPtr_InitiatePoser_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F0F RID: 36623 RVA: 0x0024B540 File Offset: 0x00249740
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 635601, XrefRangeEnd = 635604, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void FixPoserTransforms()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), HandPoser.NativeMethodInfoPtr_FixPoserTransforms_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F10 RID: 36624 RVA: 0x0024B590 File Offset: 0x00249790
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 635604, XrefRangeEnd = 635628, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void UpdatePoser()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), HandPoser.NativeMethodInfoPtr_UpdatePoser_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F11 RID: 36625 RVA: 0x0024B5E0 File Offset: 0x002497E0
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 635639, RefRangeEnd = 635640, XrefRangeStart = 635628, XrefRangeEnd = 635639, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void StoreDefaultState()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(HandPoser.NativeMethodInfoPtr_StoreDefaultState_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F12 RID: 36626 RVA: 0x0024B624 File Offset: 0x00249824
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe HandPoser()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<HandPoser>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(HandPoser.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F13 RID: 36627 RVA: 0x0024B670 File Offset: 0x00249870
		// Note: this type is marked as 'beforefieldinit'.
		static HandPoser()
		{
			Il2CppClassPointerStore<HandPoser>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "HandPoser");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<HandPoser>.NativeClassPtr);
			HandPoser.NativeFieldInfoPtr__poseRoot = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, "_poseRoot");
			HandPoser.NativeFieldInfoPtr_children = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, "children");
			HandPoser.NativeFieldInfoPtr_poseChildren = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, "poseChildren");
			HandPoser.NativeFieldInfoPtr_defaultLocalPositions = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, "defaultLocalPositions");
			HandPoser.NativeFieldInfoPtr_defaultLocalRotations = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, "defaultLocalRotations");
			HandPoser.NativeMethodInfoPtr_AutoMapping_Public_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100674281);
			HandPoser.NativeMethodInfoPtr_InitiatePoser_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100674282);
			HandPoser.NativeMethodInfoPtr_FixPoserTransforms_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100674283);
			HandPoser.NativeMethodInfoPtr_UpdatePoser_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100674284);
			HandPoser.NativeMethodInfoPtr_StoreDefaultState_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100674285);
			HandPoser.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100674286);
		}

		// Token: 0x06008F14 RID: 36628 RVA: 0x0024B0B0 File Offset: 0x002492B0
		public HandPoser(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003084 RID: 12420
		// (get) Token: 0x06008F15 RID: 36629 RVA: 0x0024B77C File Offset: 0x0024997C
		// (set) Token: 0x06008F16 RID: 36630 RVA: 0x0024B7B0 File Offset: 0x002499B0
		public unsafe Transform _poseRoot
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr__poseRoot);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Transform(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr__poseRoot), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003085 RID: 12421
		// (get) Token: 0x06008F17 RID: 36631 RVA: 0x0024B7D8 File Offset: 0x002499D8
		// (set) Token: 0x06008F18 RID: 36632 RVA: 0x0024B80C File Offset: 0x00249A0C
		public unsafe Il2CppReferenceArray<Transform> children
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr_children);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppReferenceArray<Transform>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr_children), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003086 RID: 12422
		// (get) Token: 0x06008F19 RID: 36633 RVA: 0x0024B834 File Offset: 0x00249A34
		// (set) Token: 0x06008F1A RID: 36634 RVA: 0x0024B868 File Offset: 0x00249A68
		public unsafe Il2CppReferenceArray<Transform> poseChildren
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr_poseChildren);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppReferenceArray<Transform>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr_poseChildren), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003087 RID: 12423
		// (get) Token: 0x06008F1B RID: 36635 RVA: 0x0024B890 File Offset: 0x00249A90
		// (set) Token: 0x06008F1C RID: 36636 RVA: 0x0024B8C4 File Offset: 0x00249AC4
		public unsafe Il2CppStructArray<Vector3> defaultLocalPositions
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr_defaultLocalPositions);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppStructArray<Vector3>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr_defaultLocalPositions), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17003088 RID: 12424
		// (get) Token: 0x06008F1D RID: 36637 RVA: 0x0024B8EC File Offset: 0x00249AEC
		// (set) Token: 0x06008F1E RID: 36638 RVA: 0x0024B920 File Offset: 0x00249B20
		public unsafe Il2CppStructArray<Quaternion> defaultLocalRotations
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr_defaultLocalRotations);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppStructArray<Quaternion>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(HandPoser.NativeFieldInfoPtr_defaultLocalRotations), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04005FA5 RID: 24485
		private static readonly IntPtr NativeFieldInfoPtr__poseRoot;

		// Token: 0x04005FA6 RID: 24486
		private static readonly IntPtr NativeFieldInfoPtr_children;

		// Token: 0x04005FA7 RID: 24487
		private static readonly IntPtr NativeFieldInfoPtr_poseChildren;

		// Token: 0x04005FA8 RID: 24488
		private static readonly IntPtr NativeFieldInfoPtr_defaultLocalPositions;

		// Token: 0x04005FA9 RID: 24489
		private static readonly IntPtr NativeFieldInfoPtr_defaultLocalRotations;

		// Token: 0x04005FAA RID: 24490
		private static readonly IntPtr NativeMethodInfoPtr_AutoMapping_Public_Virtual_Void_0;

		// Token: 0x04005FAB RID: 24491
		private static readonly IntPtr NativeMethodInfoPtr_InitiatePoser_Protected_Virtual_Void_0;

		// Token: 0x04005FAC RID: 24492
		private static readonly IntPtr NativeMethodInfoPtr_FixPoserTransforms_Protected_Virtual_Void_0;

		// Token: 0x04005FAD RID: 24493
		private static readonly IntPtr NativeMethodInfoPtr_UpdatePoser_Protected_Virtual_Void_0;

		// Token: 0x04005FAE RID: 24494
		private static readonly IntPtr NativeMethodInfoPtr_StoreDefaultState_Private_Void_0;

		// Token: 0x04005FAF RID: 24495
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
