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

namespace RootMotion.FinalIK
{
	// Token: 0x02000473 RID: 1139
	public class IKExecutionOrder : MonoBehaviour
	{
		// Token: 0x17002D86 RID: 11654
		// (get) Token: 0x06008629 RID: 34345 RVA: 0x00223D10 File Offset: 0x00221F10
		public unsafe bool animatePhysics
		{
			[CallerCount(3)]
			[CachedScanResults(RefRangeStart = 627882, RefRangeEnd = 627885, XrefRangeStart = 627877, XrefRangeEnd = 627882, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			get
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKExecutionOrder.NativeMethodInfoPtr_get_animatePhysics_Private_get_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}
		}

		// Token: 0x0600862A RID: 34346 RVA: 0x00223D60 File Offset: 0x00221F60
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627885, XrefRangeEnd = 627887, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKExecutionOrder.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600862B RID: 34347 RVA: 0x00223DA4 File Offset: 0x00221FA4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627887, XrefRangeEnd = 627889, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKExecutionOrder.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600862C RID: 34348 RVA: 0x00223DE8 File Offset: 0x00221FE8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627889, XrefRangeEnd = 627891, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void FixedUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKExecutionOrder.NativeMethodInfoPtr_FixedUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600862D RID: 34349 RVA: 0x00223E2C File Offset: 0x0022202C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627891, XrefRangeEnd = 627896, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void LateUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKExecutionOrder.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600862E RID: 34350 RVA: 0x00223E70 File Offset: 0x00222070
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 627897, RefRangeEnd = 627899, XrefRangeStart = 627896, XrefRangeEnd = 627897, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void FixTransforms()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKExecutionOrder.NativeMethodInfoPtr_FixTransforms_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600862F RID: 34351 RVA: 0x00223EB4 File Offset: 0x002220B4
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe IKExecutionOrder()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IKExecutionOrder.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008630 RID: 34352 RVA: 0x00223F00 File Offset: 0x00222100
		// Note: this type is marked as 'beforefieldinit'.
		static IKExecutionOrder()
		{
			Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "IKExecutionOrder");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr);
			IKExecutionOrder.NativeFieldInfoPtr_IKComponents = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, "IKComponents");
			IKExecutionOrder.NativeFieldInfoPtr_animator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, "animator");
			IKExecutionOrder.NativeFieldInfoPtr_fixedFrame = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, "fixedFrame");
			IKExecutionOrder.NativeMethodInfoPtr_get_animatePhysics_Private_get_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100673507);
			IKExecutionOrder.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100673508);
			IKExecutionOrder.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100673509);
			IKExecutionOrder.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100673510);
			IKExecutionOrder.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100673511);
			IKExecutionOrder.NativeMethodInfoPtr_FixTransforms_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100673512);
			IKExecutionOrder.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100673513);
		}

		// Token: 0x06008631 RID: 34353 RVA: 0x0000351C File Offset: 0x0000171C
		public IKExecutionOrder(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002D83 RID: 11651
		// (get) Token: 0x06008632 RID: 34354 RVA: 0x00223FF8 File Offset: 0x002221F8
		// (set) Token: 0x06008633 RID: 34355 RVA: 0x0022402C File Offset: 0x0022222C
		public unsafe Il2CppReferenceArray<IK> IKComponents
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKExecutionOrder.NativeFieldInfoPtr_IKComponents);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppReferenceArray<IK>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKExecutionOrder.NativeFieldInfoPtr_IKComponents), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002D84 RID: 11652
		// (get) Token: 0x06008634 RID: 34356 RVA: 0x00224054 File Offset: 0x00222254
		// (set) Token: 0x06008635 RID: 34357 RVA: 0x00224088 File Offset: 0x00222288
		public unsafe Animator animator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKExecutionOrder.NativeFieldInfoPtr_animator);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Animator(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKExecutionOrder.NativeFieldInfoPtr_animator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002D85 RID: 11653
		// (get) Token: 0x06008636 RID: 34358 RVA: 0x002240B0 File Offset: 0x002222B0
		// (set) Token: 0x06008637 RID: 34359 RVA: 0x002240D8 File Offset: 0x002222D8
		public unsafe bool fixedFrame
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKExecutionOrder.NativeFieldInfoPtr_fixedFrame);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(IKExecutionOrder.NativeFieldInfoPtr_fixedFrame)) = value;
			}
		}

		// Token: 0x040059BB RID: 22971
		private static readonly IntPtr NativeFieldInfoPtr_IKComponents;

		// Token: 0x040059BC RID: 22972
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x040059BD RID: 22973
		private static readonly IntPtr NativeFieldInfoPtr_fixedFrame;

		// Token: 0x040059BE RID: 22974
		private static readonly IntPtr NativeMethodInfoPtr_get_animatePhysics_Private_get_Boolean_0;

		// Token: 0x040059BF RID: 22975
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x040059C0 RID: 22976
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x040059C1 RID: 22977
		private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

		// Token: 0x040059C2 RID: 22978
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x040059C3 RID: 22979
		private static readonly IntPtr NativeMethodInfoPtr_FixTransforms_Private_Void_0;

		// Token: 0x040059C4 RID: 22980
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
