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

namespace RootMotion.FinalIK
{
	// Token: 0x02000469 RID: 1129
	public class HandPoser : Poser
	{
		// Token: 0x060086BA RID: 34490 RVA: 0x00228764 File Offset: 0x00226964
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 603268, XrefRangeEnd = 603282, 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: 0x060086BB RID: 34491 RVA: 0x002287B4 File Offset: 0x002269B4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 603282, XrefRangeEnd = 603287, 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: 0x060086BC RID: 34492 RVA: 0x00228804 File Offset: 0x00226A04
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 603287, XrefRangeEnd = 603290, 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: 0x060086BD RID: 34493 RVA: 0x00228854 File Offset: 0x00226A54
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 603290, XrefRangeEnd = 603314, 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: 0x060086BE RID: 34494 RVA: 0x002288A4 File Offset: 0x00226AA4
		[CallerCount(1)]
		[CachedScanResults(RefRangeStart = 603325, RefRangeEnd = 603326, XrefRangeStart = 603314, XrefRangeEnd = 603325, 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: 0x060086BF RID: 34495 RVA: 0x002288E8 File Offset: 0x00226AE8
		[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: 0x060086C0 RID: 34496 RVA: 0x00228934 File Offset: 0x00226B34
		// 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, 100673568);
			HandPoser.NativeMethodInfoPtr_InitiatePoser_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100673569);
			HandPoser.NativeMethodInfoPtr_FixPoserTransforms_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100673570);
			HandPoser.NativeMethodInfoPtr_UpdatePoser_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100673571);
			HandPoser.NativeMethodInfoPtr_StoreDefaultState_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100673572);
			HandPoser.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HandPoser>.NativeClassPtr, 100673573);
		}

		// Token: 0x060086C1 RID: 34497 RVA: 0x00228374 File Offset: 0x00226574
		public HandPoser(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002DE9 RID: 11753
		// (get) Token: 0x060086C2 RID: 34498 RVA: 0x00228A40 File Offset: 0x00226C40
		// (set) Token: 0x060086C3 RID: 34499 RVA: 0x00228A74 File Offset: 0x00226C74
		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: 0x17002DEA RID: 11754
		// (get) Token: 0x060086C4 RID: 34500 RVA: 0x00228A9C File Offset: 0x00226C9C
		// (set) Token: 0x060086C5 RID: 34501 RVA: 0x00228AD0 File Offset: 0x00226CD0
		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: 0x17002DEB RID: 11755
		// (get) Token: 0x060086C6 RID: 34502 RVA: 0x00228AF8 File Offset: 0x00226CF8
		// (set) Token: 0x060086C7 RID: 34503 RVA: 0x00228B2C File Offset: 0x00226D2C
		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: 0x17002DEC RID: 11756
		// (get) Token: 0x060086C8 RID: 34504 RVA: 0x00228B54 File Offset: 0x00226D54
		// (set) Token: 0x060086C9 RID: 34505 RVA: 0x00228B88 File Offset: 0x00226D88
		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: 0x17002DED RID: 11757
		// (get) Token: 0x060086CA RID: 34506 RVA: 0x00228BB0 File Offset: 0x00226DB0
		// (set) Token: 0x060086CB RID: 34507 RVA: 0x00228BE4 File Offset: 0x00226DE4
		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: 0x040059FC RID: 23036
		private static readonly IntPtr NativeFieldInfoPtr__poseRoot;

		// Token: 0x040059FD RID: 23037
		private static readonly IntPtr NativeFieldInfoPtr_children;

		// Token: 0x040059FE RID: 23038
		private static readonly IntPtr NativeFieldInfoPtr_poseChildren;

		// Token: 0x040059FF RID: 23039
		private static readonly IntPtr NativeFieldInfoPtr_defaultLocalPositions;

		// Token: 0x04005A00 RID: 23040
		private static readonly IntPtr NativeFieldInfoPtr_defaultLocalRotations;

		// Token: 0x04005A01 RID: 23041
		private static readonly IntPtr NativeMethodInfoPtr_AutoMapping_Public_Virtual_Void_0;

		// Token: 0x04005A02 RID: 23042
		private static readonly IntPtr NativeMethodInfoPtr_InitiatePoser_Protected_Virtual_Void_0;

		// Token: 0x04005A03 RID: 23043
		private static readonly IntPtr NativeMethodInfoPtr_FixPoserTransforms_Protected_Virtual_Void_0;

		// Token: 0x04005A04 RID: 23044
		private static readonly IntPtr NativeMethodInfoPtr_UpdatePoser_Protected_Virtual_Void_0;

		// Token: 0x04005A05 RID: 23045
		private static readonly IntPtr NativeMethodInfoPtr_StoreDefaultState_Private_Void_0;

		// Token: 0x04005A06 RID: 23046
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
