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

namespace RootMotion.FinalIK
{
	// Token: 0x02000476 RID: 1142
	public class LookAtIK : IK
	{
		// Token: 0x0600864C RID: 34380 RVA: 0x002246DC File Offset: 0x002228DC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627941, XrefRangeEnd = 627944, 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), LookAtIK.NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600864D RID: 34381 RVA: 0x0022472C File Offset: 0x0022292C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627944, XrefRangeEnd = 627947, 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), LookAtIK.NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600864E RID: 34382 RVA: 0x0022477C File Offset: 0x0022297C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627947, XrefRangeEnd = 627950, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void SupportGroup()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LookAtIK.NativeMethodInfoPtr_SupportGroup_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600864F RID: 34383 RVA: 0x002247C0 File Offset: 0x002229C0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627950, XrefRangeEnd = 627953, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void ASThread()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LookAtIK.NativeMethodInfoPtr_ASThread_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008650 RID: 34384 RVA: 0x00224804 File Offset: 0x00222A04
		[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), LookAtIK.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: 0x06008651 RID: 34385 RVA: 0x00224868 File Offset: 0x00222A68
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 627953, XrefRangeEnd = 627959, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe LookAtIK()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<LookAtIK>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(LookAtIK.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008652 RID: 34386 RVA: 0x002248B4 File Offset: 0x00222AB4
		// Note: this type is marked as 'beforefieldinit'.
		static LookAtIK()
		{
			Il2CppClassPointerStore<LookAtIK>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "LookAtIK");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<LookAtIK>.NativeClassPtr);
			LookAtIK.NativeFieldInfoPtr_solver = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<LookAtIK>.NativeClassPtr, "solver");
			LookAtIK.NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LookAtIK>.NativeClassPtr, 100673526);
			LookAtIK.NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LookAtIK>.NativeClassPtr, 100673527);
			LookAtIK.NativeMethodInfoPtr_SupportGroup_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LookAtIK>.NativeClassPtr, 100673528);
			LookAtIK.NativeMethodInfoPtr_ASThread_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LookAtIK>.NativeClassPtr, 100673529);
			LookAtIK.NativeMethodInfoPtr_GetIKSolver_Public_Virtual_IKSolver_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LookAtIK>.NativeClassPtr, 100673530);
			LookAtIK.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<LookAtIK>.NativeClassPtr, 100673531);
		}

		// Token: 0x06008653 RID: 34387 RVA: 0x00222A6C File Offset: 0x00220C6C
		public LookAtIK(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002D89 RID: 11657
		// (get) Token: 0x06008654 RID: 34388 RVA: 0x00224970 File Offset: 0x00222B70
		// (set) Token: 0x06008655 RID: 34389 RVA: 0x002249A4 File Offset: 0x00222BA4
		public unsafe IKSolverLookAt solver
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(LookAtIK.NativeFieldInfoPtr_solver);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new IKSolverLookAt(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(LookAtIK.NativeFieldInfoPtr_solver), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x040059D3 RID: 22995
		private static readonly IntPtr NativeFieldInfoPtr_solver;

		// Token: 0x040059D4 RID: 22996
		private static readonly IntPtr NativeMethodInfoPtr_OpenUserManual_Protected_Virtual_Void_0;

		// Token: 0x040059D5 RID: 22997
		private static readonly IntPtr NativeMethodInfoPtr_OpenScriptReference_Protected_Virtual_Void_0;

		// Token: 0x040059D6 RID: 22998
		private static readonly IntPtr NativeMethodInfoPtr_SupportGroup_Private_Void_0;

		// Token: 0x040059D7 RID: 22999
		private static readonly IntPtr NativeMethodInfoPtr_ASThread_Private_Void_0;

		// Token: 0x040059D8 RID: 23000
		private static readonly IntPtr NativeMethodInfoPtr_GetIKSolver_Public_Virtual_IKSolver_0;

		// Token: 0x040059D9 RID: 23001
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
