using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;
using RootMotion.FinalIK;
using UnityEngine;

namespace RootMotion.Demos
{
	// Token: 0x02000427 RID: 1063
	public class HoldingHands : MonoBehaviour
	{
		// Token: 0x0600805B RID: 32859 RVA: 0x0020CB40 File Offset: 0x0020AD40
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624612, XrefRangeEnd = 624624, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(HoldingHands.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600805C RID: 32860 RVA: 0x0020CB84 File Offset: 0x0020AD84
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624624, XrefRangeEnd = 624652, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void LateUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(HoldingHands.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

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

		// Token: 0x0600805E RID: 32862 RVA: 0x0020CC14 File Offset: 0x0020AE14
		// Note: this type is marked as 'beforefieldinit'.
		static HoldingHands()
		{
			Il2CppClassPointerStore<HoldingHands>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "HoldingHands");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr);
			HoldingHands.NativeFieldInfoPtr_rightHandChar = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "rightHandChar");
			HoldingHands.NativeFieldInfoPtr_leftHandChar = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "leftHandChar");
			HoldingHands.NativeFieldInfoPtr_rightHandTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "rightHandTarget");
			HoldingHands.NativeFieldInfoPtr_leftHandTarget = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "leftHandTarget");
			HoldingHands.NativeFieldInfoPtr_crossFade = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "crossFade");
			HoldingHands.NativeFieldInfoPtr_speed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "speed");
			HoldingHands.NativeFieldInfoPtr_rightHandRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "rightHandRotation");
			HoldingHands.NativeFieldInfoPtr_leftHandRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, "leftHandRotation");
			HoldingHands.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, 100673061);
			HoldingHands.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, 100673062);
			HoldingHands.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<HoldingHands>.NativeClassPtr, 100673063);
		}

		// Token: 0x0600805F RID: 32863 RVA: 0x0000351C File Offset: 0x0000171C
		public HoldingHands(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002B9C RID: 11164
		// (get) Token: 0x06008060 RID: 32864 RVA: 0x0020CD20 File Offset: 0x0020AF20
		// (set) Token: 0x06008061 RID: 32865 RVA: 0x0020CD54 File Offset: 0x0020AF54
		public unsafe FullBodyBipedIK rightHandChar
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandChar);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new FullBodyBipedIK(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandChar), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B9D RID: 11165
		// (get) Token: 0x06008062 RID: 32866 RVA: 0x0020CD7C File Offset: 0x0020AF7C
		// (set) Token: 0x06008063 RID: 32867 RVA: 0x0020CDB0 File Offset: 0x0020AFB0
		public unsafe FullBodyBipedIK leftHandChar
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandChar);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new FullBodyBipedIK(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandChar), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B9E RID: 11166
		// (get) Token: 0x06008064 RID: 32868 RVA: 0x0020CDD8 File Offset: 0x0020AFD8
		// (set) Token: 0x06008065 RID: 32869 RVA: 0x0020CE0C File Offset: 0x0020B00C
		public unsafe Transform rightHandTarget
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandTarget);
				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(HoldingHands.NativeFieldInfoPtr_rightHandTarget), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B9F RID: 11167
		// (get) Token: 0x06008066 RID: 32870 RVA: 0x0020CE34 File Offset: 0x0020B034
		// (set) Token: 0x06008067 RID: 32871 RVA: 0x0020CE68 File Offset: 0x0020B068
		public unsafe Transform leftHandTarget
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandTarget);
				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(HoldingHands.NativeFieldInfoPtr_leftHandTarget), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002BA0 RID: 11168
		// (get) Token: 0x06008068 RID: 32872 RVA: 0x0020CE90 File Offset: 0x0020B090
		// (set) Token: 0x06008069 RID: 32873 RVA: 0x0020CEB8 File Offset: 0x0020B0B8
		public unsafe float crossFade
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_crossFade);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_crossFade)) = value;
			}
		}

		// Token: 0x17002BA1 RID: 11169
		// (get) Token: 0x0600806A RID: 32874 RVA: 0x0020CEDC File Offset: 0x0020B0DC
		// (set) Token: 0x0600806B RID: 32875 RVA: 0x0020CF04 File Offset: 0x0020B104
		public unsafe float speed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_speed);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_speed)) = value;
			}
		}

		// Token: 0x17002BA2 RID: 11170
		// (get) Token: 0x0600806C RID: 32876 RVA: 0x0020CF28 File Offset: 0x0020B128
		// (set) Token: 0x0600806D RID: 32877 RVA: 0x0020CF50 File Offset: 0x0020B150
		public unsafe Quaternion rightHandRotation
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandRotation);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_rightHandRotation)) = value;
			}
		}

		// Token: 0x17002BA3 RID: 11171
		// (get) Token: 0x0600806E RID: 32878 RVA: 0x0020CF74 File Offset: 0x0020B174
		// (set) Token: 0x0600806F RID: 32879 RVA: 0x0020CF9C File Offset: 0x0020B19C
		public unsafe Quaternion leftHandRotation
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandRotation);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(HoldingHands.NativeFieldInfoPtr_leftHandRotation)) = value;
			}
		}

		// Token: 0x04005620 RID: 22048
		private static readonly IntPtr NativeFieldInfoPtr_rightHandChar;

		// Token: 0x04005621 RID: 22049
		private static readonly IntPtr NativeFieldInfoPtr_leftHandChar;

		// Token: 0x04005622 RID: 22050
		private static readonly IntPtr NativeFieldInfoPtr_rightHandTarget;

		// Token: 0x04005623 RID: 22051
		private static readonly IntPtr NativeFieldInfoPtr_leftHandTarget;

		// Token: 0x04005624 RID: 22052
		private static readonly IntPtr NativeFieldInfoPtr_crossFade;

		// Token: 0x04005625 RID: 22053
		private static readonly IntPtr NativeFieldInfoPtr_speed;

		// Token: 0x04005626 RID: 22054
		private static readonly IntPtr NativeFieldInfoPtr_rightHandRotation;

		// Token: 0x04005627 RID: 22055
		private static readonly IntPtr NativeFieldInfoPtr_leftHandRotation;

		// Token: 0x04005628 RID: 22056
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04005629 RID: 22057
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x0400562A RID: 22058
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
