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

namespace RootMotion.FinalIK
{
	// Token: 0x02000475 RID: 1141
	public class LimbIK : IK
	{
		// Token: 0x06008642 RID: 34370 RVA: 0x002243EC File Offset: 0x002225EC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627923, XrefRangeEnd = 627926, 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), LimbIK.NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008643 RID: 34371 RVA: 0x0022443C File Offset: 0x0022263C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627926, XrefRangeEnd = 627929, 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), LimbIK.NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008644 RID: 34372 RVA: 0x0022448C File Offset: 0x0022268C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627929, XrefRangeEnd = 627932, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void SupportGroup()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LimbIK.NativeMethodInfoPtr_SupportGroup_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008645 RID: 34373 RVA: 0x002244D0 File Offset: 0x002226D0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627932, XrefRangeEnd = 627935, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void ASThread()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LimbIK.NativeMethodInfoPtr_ASThread_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008646 RID: 34374 RVA: 0x00224514 File Offset: 0x00222714
		[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), LimbIK.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: 0x06008647 RID: 34375 RVA: 0x00224578 File Offset: 0x00222778
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627935, XrefRangeEnd = 627941, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe LimbIK()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<LimbIK>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LimbIK.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008648 RID: 34376 RVA: 0x002245C4 File Offset: 0x002227C4
		// Note: this type is marked as 'beforefieldinit'.
		static LimbIK()
		{
			Il2CppClassPointerStore<LimbIK>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "LimbIK");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<LimbIK>.NativeClassPtr);
			LimbIK.NativeFieldInfoPtr_solver = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LimbIK>.NativeClassPtr, "solver");
			LimbIK.NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LimbIK>.NativeClassPtr, 100673520);
			LimbIK.NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LimbIK>.NativeClassPtr, 100673521);
			LimbIK.NativeMethodInfoPtr_SupportGroup_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LimbIK>.NativeClassPtr, 100673522);
			LimbIK.NativeMethodInfoPtr_ASThread_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LimbIK>.NativeClassPtr, 100673523);
			LimbIK.NativeMethodInfoPtr_GetIKSolver_Public_Virtual_IKSolver_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LimbIK>.NativeClassPtr, 100673524);
			LimbIK.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LimbIK>.NativeClassPtr, 100673525);
		}

		// Token: 0x06008649 RID: 34377 RVA: 0x00222A6C File Offset: 0x00220C6C
		public LimbIK(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002D88 RID: 11656
		// (get) Token: 0x0600864A RID: 34378 RVA: 0x00224680 File Offset: 0x00222880
		// (set) Token: 0x0600864B RID: 34379 RVA: 0x002246B4 File Offset: 0x002228B4
		public unsafe IKSolverLimb solver
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LimbIK.NativeFieldInfoPtr_solver);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new IKSolverLimb(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LimbIK.NativeFieldInfoPtr_solver), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x040059CC RID: 22988
		private static readonly IntPtr NativeFieldInfoPtr_solver;

		// Token: 0x040059CD RID: 22989
		private static readonly IntPtr NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0;

		// Token: 0x040059CE RID: 22990
		private static readonly IntPtr NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0;

		// Token: 0x040059CF RID: 22991
		private static readonly IntPtr NativeMethodInfoPtr_SupportGroup_Private_Void_0;

		// Token: 0x040059D0 RID: 22992
		private static readonly IntPtr NativeMethodInfoPtr_ASThread_Private_Void_0;

		// Token: 0x040059D1 RID: 22993
		private static readonly IntPtr NativeMethodInfoPtr_GetIKSolver_Public_Virtual_IKSolver_0;

		// Token: 0x040059D2 RID: 22994
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
