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

namespace RootMotion.FinalIK
{
	// Token: 0x020004D3 RID: 1235
	public class BodyTilt : OffsetModifier
	{
		// Token: 0x06009057 RID: 36951 RVA: 0x002509D8 File Offset: 0x0024EBD8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 636340, XrefRangeEnd = 636343, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), BodyTilt.NativeMethodInfoPtr_Start_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009058 RID: 36952 RVA: 0x00250A28 File Offset: 0x0024EC28
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 636343, XrefRangeEnd = 636356, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe override void OnModifyOffset()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), BodyTilt.NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06009059 RID: 36953 RVA: 0x00250A78 File Offset: 0x0024EC78
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 636356, XrefRangeEnd = 636357, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe BodyTilt()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(BodyTilt.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600905A RID: 36954 RVA: 0x00250AC4 File Offset: 0x0024ECC4
		// Note: this type is marked as 'beforefieldinit'.
		static BodyTilt()
		{
			Il2CppClassPointerStore<BodyTilt>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "BodyTilt");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr);
			BodyTilt.NativeFieldInfoPtr_tiltSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, "tiltSpeed");
			BodyTilt.NativeFieldInfoPtr_tiltSensitivity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, "tiltSensitivity");
			BodyTilt.NativeFieldInfoPtr_poseLeft = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, "poseLeft");
			BodyTilt.NativeFieldInfoPtr_poseRight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, "poseRight");
			BodyTilt.NativeFieldInfoPtr_tiltAngle = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, "tiltAngle");
			BodyTilt.NativeFieldInfoPtr_lastForward = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, "lastForward");
			BodyTilt.NativeMethodInfoPtr_Start_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, 100674397);
			BodyTilt.NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, 100674398);
			BodyTilt.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, 100674399);
		}

		// Token: 0x0600905B RID: 36955 RVA: 0x002089BC File Offset: 0x00206BBC
		public BodyTilt(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170030E8 RID: 12520
		// (get) Token: 0x0600905C RID: 36956 RVA: 0x00250BA8 File Offset: 0x0024EDA8
		// (set) Token: 0x0600905D RID: 36957 RVA: 0x00250BD0 File Offset: 0x0024EDD0
		public unsafe float tiltSpeed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_tiltSpeed);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_tiltSpeed)) = value;
			}
		}

		// Token: 0x170030E9 RID: 12521
		// (get) Token: 0x0600905E RID: 36958 RVA: 0x00250BF4 File Offset: 0x0024EDF4
		// (set) Token: 0x0600905F RID: 36959 RVA: 0x00250C1C File Offset: 0x0024EE1C
		public unsafe float tiltSensitivity
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_tiltSensitivity);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_tiltSensitivity)) = value;
			}
		}

		// Token: 0x170030EA RID: 12522
		// (get) Token: 0x06009060 RID: 36960 RVA: 0x00250C40 File Offset: 0x0024EE40
		// (set) Token: 0x06009061 RID: 36961 RVA: 0x00250C74 File Offset: 0x0024EE74
		public unsafe OffsetPose poseLeft
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_poseLeft);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new OffsetPose(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_poseLeft), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170030EB RID: 12523
		// (get) Token: 0x06009062 RID: 36962 RVA: 0x00250C9C File Offset: 0x0024EE9C
		// (set) Token: 0x06009063 RID: 36963 RVA: 0x00250CD0 File Offset: 0x0024EED0
		public unsafe OffsetPose poseRight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_poseRight);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new OffsetPose(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_poseRight), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170030EC RID: 12524
		// (get) Token: 0x06009064 RID: 36964 RVA: 0x00250CF8 File Offset: 0x0024EEF8
		// (set) Token: 0x06009065 RID: 36965 RVA: 0x00250D20 File Offset: 0x0024EF20
		public unsafe float tiltAngle
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_tiltAngle);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_tiltAngle)) = value;
			}
		}

		// Token: 0x170030ED RID: 12525
		// (get) Token: 0x06009066 RID: 36966 RVA: 0x00250D44 File Offset: 0x0024EF44
		// (set) Token: 0x06009067 RID: 36967 RVA: 0x00250D6C File Offset: 0x0024EF6C
		public unsafe Vector3 lastForward
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_lastForward);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(BodyTilt.NativeFieldInfoPtr_lastForward)) = value;
			}
		}

		// Token: 0x04006072 RID: 24690
		private static readonly IntPtr NativeFieldInfoPtr_tiltSpeed;

		// Token: 0x04006073 RID: 24691
		private static readonly IntPtr NativeFieldInfoPtr_tiltSensitivity;

		// Token: 0x04006074 RID: 24692
		private static readonly IntPtr NativeFieldInfoPtr_poseLeft;

		// Token: 0x04006075 RID: 24693
		private static readonly IntPtr NativeFieldInfoPtr_poseRight;

		// Token: 0x04006076 RID: 24694
		private static readonly IntPtr NativeFieldInfoPtr_tiltAngle;

		// Token: 0x04006077 RID: 24695
		private static readonly IntPtr NativeFieldInfoPtr_lastForward;

		// Token: 0x04006078 RID: 24696
		private static readonly IntPtr NativeMethodInfoPtr_Start_Protected_Virtual_Void_0;

		// Token: 0x04006079 RID: 24697
		private static readonly IntPtr NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0;

		// Token: 0x0400607A RID: 24698
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
