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

namespace RootMotion.FinalIK
{
	// Token: 0x02000418 RID: 1048
	public class FABRIKRoot : IK
	{
		// Token: 0x06007DB0 RID: 32176 RVA: 0x00200378 File Offset: 0x001FE578
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595445, XrefRangeEnd = 595448, 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: 0x06007DB1 RID: 32177 RVA: 0x002003C8 File Offset: 0x001FE5C8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595448, XrefRangeEnd = 595451, 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: 0x06007DB2 RID: 32178 RVA: 0x00200418 File Offset: 0x001FE618
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595451, XrefRangeEnd = 595454, 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: 0x06007DB3 RID: 32179 RVA: 0x0020045C File Offset: 0x001FE65C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595454, XrefRangeEnd = 595457, 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: 0x06007DB4 RID: 32180 RVA: 0x002004A0 File Offset: 0x001FE6A0
		[CallerCount(6)]
		[CachedScanResults(RefRangeStart = 10989, RefRangeEnd = 10995, XrefRangeStart = 10989, XrefRangeEnd = 10995, 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: 0x06007DB5 RID: 32181 RVA: 0x00200504 File Offset: 0x001FE704
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595457, XrefRangeEnd = 595463, 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: 0x06007DB6 RID: 32182 RVA: 0x00200550 File Offset: 0x001FE750
		// 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, 100672768);
			FABRIKRoot.NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100672769);
			FABRIKRoot.NativeMethodInfoPtr_SupportGroup_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100672770);
			FABRIKRoot.NativeMethodInfoPtr_ASThread_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100672771);
			FABRIKRoot.NativeMethodInfoPtr_GetIKSolver_Public_Virtual_IKSolver_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100672772);
			FABRIKRoot.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FABRIKRoot>.NativeClassPtr, 100672773);
		}

		// Token: 0x06007DB7 RID: 32183 RVA: 0x001FFD30 File Offset: 0x001FDF30
		public FABRIKRoot(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002AE5 RID: 10981
		// (get) Token: 0x06007DB8 RID: 32184 RVA: 0x0020060C File Offset: 0x001FE80C
		// (set) Token: 0x06007DB9 RID: 32185 RVA: 0x00200640 File Offset: 0x001FE840
		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: 0x040053F5 RID: 21493
		private static readonly IntPtr NativeFieldInfoPtr_solver;

		// Token: 0x040053F6 RID: 21494
		private static readonly IntPtr NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0;

		// Token: 0x040053F7 RID: 21495
		private static readonly IntPtr NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0;

		// Token: 0x040053F8 RID: 21496
		private static readonly IntPtr NativeMethodInfoPtr_SupportGroup_Private_Void_0;

		// Token: 0x040053F9 RID: 21497
		private static readonly IntPtr NativeMethodInfoPtr_ASThread_Private_Void_0;

		// Token: 0x040053FA RID: 21498
		private static readonly IntPtr NativeMethodInfoPtr_GetIKSolver_Public_Virtual_IKSolver_0;

		// Token: 0x040053FB RID: 21499
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
