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

namespace RootMotion.FinalIK
{
	// Token: 0x0200041B RID: 1051
	public class IKExecutionOrder : MonoBehaviour
	{
		// Token: 0x17002AEB RID: 10987
		// (get) Token: 0x06007DD6 RID: 32214 RVA: 0x00200FD4 File Offset: 0x001FF1D4
		public unsafe bool animatePhysics
		{
			[CallerCount(3)]
			[CachedScanResults(RefRangeStart = 595572, RefRangeEnd = 595575, XrefRangeStart = 595567, XrefRangeEnd = 595572, 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: 0x06007DD7 RID: 32215 RVA: 0x00201024 File Offset: 0x001FF224
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595575, XrefRangeEnd = 595577, 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: 0x06007DD8 RID: 32216 RVA: 0x00201068 File Offset: 0x001FF268
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595577, XrefRangeEnd = 595579, 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: 0x06007DD9 RID: 32217 RVA: 0x002010AC File Offset: 0x001FF2AC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595579, XrefRangeEnd = 595581, 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: 0x06007DDA RID: 32218 RVA: 0x002010F0 File Offset: 0x001FF2F0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595581, XrefRangeEnd = 595586, 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: 0x06007DDB RID: 32219 RVA: 0x00201134 File Offset: 0x001FF334
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 595587, RefRangeEnd = 595589, XrefRangeStart = 595586, XrefRangeEnd = 595587, 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: 0x06007DDC RID: 32220 RVA: 0x00201178 File Offset: 0x001FF378
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06007DDD RID: 32221 RVA: 0x002011C4 File Offset: 0x001FF3C4
		// 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, 100672794);
			IKExecutionOrder.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100672795);
			IKExecutionOrder.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100672796);
			IKExecutionOrder.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100672797);
			IKExecutionOrder.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100672798);
			IKExecutionOrder.NativeMethodInfoPtr_FixTransforms_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100672799);
			IKExecutionOrder.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<IKExecutionOrder>.NativeClassPtr, 100672800);
		}

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

		// Token: 0x17002AE8 RID: 10984
		// (get) Token: 0x06007DDF RID: 32223 RVA: 0x002012BC File Offset: 0x001FF4BC
		// (set) Token: 0x06007DE0 RID: 32224 RVA: 0x002012F0 File Offset: 0x001FF4F0
		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: 0x17002AE9 RID: 10985
		// (get) Token: 0x06007DE1 RID: 32225 RVA: 0x00201318 File Offset: 0x001FF518
		// (set) Token: 0x06007DE2 RID: 32226 RVA: 0x0020134C File Offset: 0x001FF54C
		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: 0x17002AEA RID: 10986
		// (get) Token: 0x06007DE3 RID: 32227 RVA: 0x00201374 File Offset: 0x001FF574
		// (set) Token: 0x06007DE4 RID: 32228 RVA: 0x0020139C File Offset: 0x001FF59C
		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: 0x04005412 RID: 21522
		private static readonly IntPtr NativeFieldInfoPtr_IKComponents;

		// Token: 0x04005413 RID: 21523
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x04005414 RID: 21524
		private static readonly IntPtr NativeFieldInfoPtr_fixedFrame;

		// Token: 0x04005415 RID: 21525
		private static readonly IntPtr NativeMethodInfoPtr_get_animatePhysics_Private_get_Boolean_0;

		// Token: 0x04005416 RID: 21526
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04005417 RID: 21527
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x04005418 RID: 21528
		private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

		// Token: 0x04005419 RID: 21529
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x0400541A RID: 21530
		private static readonly IntPtr NativeMethodInfoPtr_FixTransforms_Private_Void_0;

		// Token: 0x0400541B RID: 21531
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
