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

namespace RootMotion.FinalIK
{
	// Token: 0x0200047B RID: 1147
	public class BodyTilt : OffsetModifier
	{
		// Token: 0x06008804 RID: 34820 RVA: 0x0022DC9C File Offset: 0x0022BE9C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 604030, XrefRangeEnd = 604033, 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: 0x06008805 RID: 34821 RVA: 0x0022DCEC File Offset: 0x0022BEEC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 604033, XrefRangeEnd = 604046, 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: 0x06008806 RID: 34822 RVA: 0x0022DD3C File Offset: 0x0022BF3C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 604046, XrefRangeEnd = 604047, 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: 0x06008807 RID: 34823 RVA: 0x0022DD88 File Offset: 0x0022BF88
		// 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, 100673684);
			BodyTilt.NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, 100673685);
			BodyTilt.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<BodyTilt>.NativeClassPtr, 100673686);
		}

		// Token: 0x06008808 RID: 34824 RVA: 0x001E5C80 File Offset: 0x001E3E80
		public BodyTilt(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002E4D RID: 11853
		// (get) Token: 0x06008809 RID: 34825 RVA: 0x0022DE6C File Offset: 0x0022C06C
		// (set) Token: 0x0600880A RID: 34826 RVA: 0x0022DE94 File Offset: 0x0022C094
		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: 0x17002E4E RID: 11854
		// (get) Token: 0x0600880B RID: 34827 RVA: 0x0022DEB8 File Offset: 0x0022C0B8
		// (set) Token: 0x0600880C RID: 34828 RVA: 0x0022DEE0 File Offset: 0x0022C0E0
		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: 0x17002E4F RID: 11855
		// (get) Token: 0x0600880D RID: 34829 RVA: 0x0022DF04 File Offset: 0x0022C104
		// (set) Token: 0x0600880E RID: 34830 RVA: 0x0022DF38 File Offset: 0x0022C138
		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: 0x17002E50 RID: 11856
		// (get) Token: 0x0600880F RID: 34831 RVA: 0x0022DF60 File Offset: 0x0022C160
		// (set) Token: 0x06008810 RID: 34832 RVA: 0x0022DF94 File Offset: 0x0022C194
		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: 0x17002E51 RID: 11857
		// (get) Token: 0x06008811 RID: 34833 RVA: 0x0022DFBC File Offset: 0x0022C1BC
		// (set) Token: 0x06008812 RID: 34834 RVA: 0x0022DFE4 File Offset: 0x0022C1E4
		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: 0x17002E52 RID: 11858
		// (get) Token: 0x06008813 RID: 34835 RVA: 0x0022E008 File Offset: 0x0022C208
		// (set) Token: 0x06008814 RID: 34836 RVA: 0x0022E030 File Offset: 0x0022C230
		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: 0x04005AC9 RID: 23241
		private static readonly IntPtr NativeFieldInfoPtr_tiltSpeed;

		// Token: 0x04005ACA RID: 23242
		private static readonly IntPtr NativeFieldInfoPtr_tiltSensitivity;

		// Token: 0x04005ACB RID: 23243
		private static readonly IntPtr NativeFieldInfoPtr_poseLeft;

		// Token: 0x04005ACC RID: 23244
		private static readonly IntPtr NativeFieldInfoPtr_poseRight;

		// Token: 0x04005ACD RID: 23245
		private static readonly IntPtr NativeFieldInfoPtr_tiltAngle;

		// Token: 0x04005ACE RID: 23246
		private static readonly IntPtr NativeFieldInfoPtr_lastForward;

		// Token: 0x04005ACF RID: 23247
		private static readonly IntPtr NativeMethodInfoPtr_Start_Protected_Virtual_Void_0;

		// Token: 0x04005AD0 RID: 23248
		private static readonly IntPtr NativeMethodInfoPtr_OnModifyOffset_Protected_Virtual_Void_0;

		// Token: 0x04005AD1 RID: 23249
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
