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

namespace RootMotion.FinalIK
{
	// Token: 0x020004C2 RID: 1218
	public class Poser : SolverManager
	{
		// Token: 0x06008F1F RID: 36639 RVA: 0x0024B948 File Offset: 0x00249B48
		[CallerCount(0)]
		public unsafe virtual void AutoMapping()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_AutoMapping_Public_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F20 RID: 36640 RVA: 0x0024B998 File Offset: 0x00249B98
		[CallerCount(0)]
		public unsafe virtual void InitiatePoser()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_InitiatePoser_Protected_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F21 RID: 36641 RVA: 0x0024B9E8 File Offset: 0x00249BE8
		[CallerCount(0)]
		public unsafe virtual void UpdatePoser()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_UpdatePoser_Protected_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F22 RID: 36642 RVA: 0x0024BA38 File Offset: 0x00249C38
		[CallerCount(0)]
		public unsafe virtual void FixPoserTransforms()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_FixPoserTransforms_Protected_Abstract_Virtual_New_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F23 RID: 36643 RVA: 0x0024BA88 File Offset: 0x00249C88
		[CallerCount(0)]
		public unsafe override void UpdateSolver()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_UpdateSolver_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F24 RID: 36644 RVA: 0x0024BAD8 File Offset: 0x00249CD8
		[CallerCount(0)]
		public unsafe override void InitiateSolver()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_InitiateSolver_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F25 RID: 36645 RVA: 0x0024BB28 File Offset: 0x00249D28
		[CallerCount(0)]
		public unsafe override void FixTransforms()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), Poser.NativeMethodInfoPtr_FixTransforms_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F26 RID: 36646 RVA: 0x0024BB78 File Offset: 0x00249D78
		[CallerCount(2)]
		[CachedScanResults(RefRangeStart = 635641, RefRangeEnd = 635643, XrefRangeStart = 635640, XrefRangeEnd = 635641, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe Poser()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<Poser>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(Poser.NativeMethodInfoPtr__ctor_Protected_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06008F27 RID: 36647 RVA: 0x0024BBC4 File Offset: 0x00249DC4
		// Note: this type is marked as 'beforefieldinit'.
		static Poser()
		{
			Il2CppClassPointerStore<Poser>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "Poser");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<Poser>.NativeClassPtr);
			Poser.NativeFieldInfoPtr_poseRoot = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "poseRoot");
			Poser.NativeFieldInfoPtr_weight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "weight");
			Poser.NativeFieldInfoPtr_localRotationWeight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "localRotationWeight");
			Poser.NativeFieldInfoPtr_localPositionWeight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "localPositionWeight");
			Poser.NativeFieldInfoPtr_initiated = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<Poser>.NativeClassPtr, "initiated");
			Poser.NativeMethodInfoPtr_AutoMapping_Public_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100674287);
			Poser.NativeMethodInfoPtr_InitiatePoser_Protected_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100674288);
			Poser.NativeMethodInfoPtr_UpdatePoser_Protected_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100674289);
			Poser.NativeMethodInfoPtr_FixPoserTransforms_Protected_Abstract_Virtual_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100674290);
			Poser.NativeMethodInfoPtr_UpdateSolver_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100674291);
			Poser.NativeMethodInfoPtr_InitiateSolver_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100674292);
			Poser.NativeMethodInfoPtr_FixTransforms_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100674293);
			Poser.NativeMethodInfoPtr__ctor_Protected_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<Poser>.NativeClassPtr, 100674294);
		}

		// Token: 0x06008F28 RID: 36648 RVA: 0x002198C0 File Offset: 0x00217AC0
		public Poser(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17003089 RID: 12425
		// (get) Token: 0x06008F29 RID: 36649 RVA: 0x0024BCF8 File Offset: 0x00249EF8
		// (set) Token: 0x06008F2A RID: 36650 RVA: 0x0024BD2C File Offset: 0x00249F2C
		public unsafe Transform poseRoot
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_poseRoot);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Transform(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_poseRoot), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700308A RID: 12426
		// (get) Token: 0x06008F2B RID: 36651 RVA: 0x0024BD54 File Offset: 0x00249F54
		// (set) Token: 0x06008F2C RID: 36652 RVA: 0x0024BD7C File Offset: 0x00249F7C
		public unsafe float weight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_weight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_weight)) = value;
			}
		}

		// Token: 0x1700308B RID: 12427
		// (get) Token: 0x06008F2D RID: 36653 RVA: 0x0024BDA0 File Offset: 0x00249FA0
		// (set) Token: 0x06008F2E RID: 36654 RVA: 0x0024BDC8 File Offset: 0x00249FC8
		public unsafe float localRotationWeight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_localRotationWeight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_localRotationWeight)) = value;
			}
		}

		// Token: 0x1700308C RID: 12428
		// (get) Token: 0x06008F2F RID: 36655 RVA: 0x0024BDEC File Offset: 0x00249FEC
		// (set) Token: 0x06008F30 RID: 36656 RVA: 0x0024BE14 File Offset: 0x0024A014
		public unsafe float localPositionWeight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_localPositionWeight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_localPositionWeight)) = value;
			}
		}

		// Token: 0x1700308D RID: 12429
		// (get) Token: 0x06008F31 RID: 36657 RVA: 0x0024BE38 File Offset: 0x0024A038
		// (set) Token: 0x06008F32 RID: 36658 RVA: 0x0024BE60 File Offset: 0x0024A060
		public unsafe bool initiated
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_initiated);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(Poser.NativeFieldInfoPtr_initiated)) = value;
			}
		}

		// Token: 0x04005FB0 RID: 24496
		private static readonly IntPtr NativeFieldInfoPtr_poseRoot;

		// Token: 0x04005FB1 RID: 24497
		private static readonly IntPtr NativeFieldInfoPtr_weight;

		// Token: 0x04005FB2 RID: 24498
		private static readonly IntPtr NativeFieldInfoPtr_localRotationWeight;

		// Token: 0x04005FB3 RID: 24499
		private static readonly IntPtr NativeFieldInfoPtr_localPositionWeight;

		// Token: 0x04005FB4 RID: 24500
		private static readonly IntPtr NativeFieldInfoPtr_initiated;

		// Token: 0x04005FB5 RID: 24501
		private static readonly IntPtr NativeMethodInfoPtr_AutoMapping_Public_Abstract_Virtual_New_Void_0;

		// Token: 0x04005FB6 RID: 24502
		private static readonly IntPtr NativeMethodInfoPtr_InitiatePoser_Protected_Abstract_Virtual_New_Void_0;

		// Token: 0x04005FB7 RID: 24503
		private static readonly IntPtr NativeMethodInfoPtr_UpdatePoser_Protected_Abstract_Virtual_New_Void_0;

		// Token: 0x04005FB8 RID: 24504
		private static readonly IntPtr NativeMethodInfoPtr_FixPoserTransforms_Protected_Abstract_Virtual_New_Void_0;

		// Token: 0x04005FB9 RID: 24505
		private static readonly IntPtr NativeMethodInfoPtr_UpdateSolver_Protected_Virtual_Void_0;

		// Token: 0x04005FBA RID: 24506
		private static readonly IntPtr NativeMethodInfoPtr_InitiateSolver_Protected_Virtual_Void_0;

		// Token: 0x04005FBB RID: 24507
		private static readonly IntPtr NativeMethodInfoPtr_FixTransforms_Protected_Virtual_Void_0;

		// Token: 0x04005FBC RID: 24508
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Protected_Void_0;
	}
}
