using System;
using Il2CppInterop.Common.Attributes;
using Il2CppInterop.Runtime;

namespace RootMotion.FinalIK
{
	// Token: 0x02000470 RID: 1136
	public class FABRIKRoot : IK
	{
		// Token: 0x06008603 RID: 34307 RVA: 0x002230B4 File Offset: 0x002212B4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627759, XrefRangeEnd = 627762, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void OpenUserManual()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), FABRIKRoot.NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008604 RID: 34308 RVA: 0x00223104 File Offset: 0x00221304
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627762, XrefRangeEnd = 627765, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void OpenScriptReference()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), FABRIKRoot.NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008605 RID: 34309 RVA: 0x00223154 File Offset: 0x00221354
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627765, XrefRangeEnd = 627768, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void SupportGroup()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FABRIKRoot.NativeMethodInfoPtr_SupportGroup_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008606 RID: 34310 RVA: 0x00223198 File Offset: 0x00221398
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627768, XrefRangeEnd = 627771, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void ASThread()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FABRIKRoot.NativeMethodInfoPtr_ASThread_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008607 RID: 34311 RVA: 0x002231DC File Offset: 0x002213DC
		[CallerCount(6)]
		[CachedScanResults(RefRangeStart = 11305, RefRangeEnd = 11311, XrefRangeStart = 11305, XrefRangeEnd = 11311, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override IKSolver GetIKSolver()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), FABRIKRoot.NativeMethodInfoPtr_GetIKSolver_Public_Virtual_IKSolver_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new IKSolver(intPtr3) : null;
		}

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

		// Token: 0x06008609 RID: 34313 RVA: 0x0022328C File Offset: 0x0022148C
		// Note: this type is marked as 'beforefieldinit'.
		static FABRIKRoot()
		{
			Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "FABRIKRoot");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr);
			FABRIKRoot.NativeFieldInfoPtr_solver = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, "solver");
			FABRIKRoot.NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100673481);
			FABRIKRoot.NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100673482);
			FABRIKRoot.NativeMethodInfoPtr_SupportGroup_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100673483);
			FABRIKRoot.NativeMethodInfoPtr_ASThread_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100673484);
			FABRIKRoot.NativeMethodInfoPtr_GetIKSolver_Public_Virtual_IKSolver_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100673485);
			FABRIKRoot.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100673486);
		}

		// Token: 0x0600860A RID: 34314 RVA: 0x00222A6C File Offset: 0x00220C6C
		public FABRIKRoot(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002D80 RID: 11648
		// (get) Token: 0x0600860B RID: 34315 RVA: 0x00223348 File Offset: 0x00221548
		// (set) Token: 0x0600860C RID: 34316 RVA: 0x0022337C File Offset: 0x0022157C
		public unsafe IKSolverFABRIKRoot solver
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FABRIKRoot.NativeFieldInfoPtr_solver);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new IKSolverFABRIKRoot(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(FABRIKRoot.NativeFieldInfoPtr_solver), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x0400599E RID: 22942
		private static readonly IntPtr NativeFieldInfoPtr_solver;

		// Token: 0x0400599F RID: 22943
		private static readonly IntPtr NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0;

		// Token: 0x040059A0 RID: 22944
		private static readonly IntPtr NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0;

		// Token: 0x040059A1 RID: 22945
		private static readonly IntPtr NativeMethodInfoPtr_SupportGroup_Private_Void_0;

		// Token: 0x040059A2 RID: 22946
		private static readonly IntPtr NativeMethodInfoPtr_ASThread_Private_Void_0;

		// Token: 0x040059A3 RID: 22947
		private static readonly IntPtr NativeMethodInfoPtr_GetIKSolver_Public_Virtual_IKSolver_0;

		// Token: 0x040059A4 RID: 22948
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
