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

namespace RootMotion.Demos
{
	// Token: 0x02000422 RID: 1058
	public class FBIKBoxing : MonoBehaviour
	{
		// Token: 0x06007FF9 RID: 32761 RVA: 0x0020B504 File Offset: 0x00209704
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624361, XrefRangeEnd = 624365, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FBIKBoxing.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007FFA RID: 32762 RVA: 0x0020B548 File Offset: 0x00209748
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 624365, XrefRangeEnd = 624379, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void LateUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FBIKBoxing.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007FFB RID: 32763 RVA: 0x0020B58C File Offset: 0x0020978C
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe FBIKBoxing()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FBIKBoxing.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007FFC RID: 32764 RVA: 0x0020B5D8 File Offset: 0x002097D8
		// Note: this type is marked as 'beforefieldinit'.
		static FBIKBoxing()
		{
			Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "FBIKBoxing");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr);
			FBIKBoxing.NativeFieldInfoPtr_target = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, "target");
			FBIKBoxing.NativeFieldInfoPtr_pin = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, "pin");
			FBIKBoxing.NativeFieldInfoPtr_ik = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, "ik");
			FBIKBoxing.NativeFieldInfoPtr_aim = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, "aim");
			FBIKBoxing.NativeFieldInfoPtr_weight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, "weight");
			FBIKBoxing.NativeFieldInfoPtr_effector = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, "effector");
			FBIKBoxing.NativeFieldInfoPtr_aimWeight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, "aimWeight");
			FBIKBoxing.NativeFieldInfoPtr_animator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, "animator");
			FBIKBoxing.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, 100673039);
			FBIKBoxing.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, 100673040);
			FBIKBoxing.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, 100673041);
		}

		// Token: 0x06007FFD RID: 32765 RVA: 0x0000351C File Offset: 0x0000171C
		public FBIKBoxing(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002B7B RID: 11131
		// (get) Token: 0x06007FFE RID: 32766 RVA: 0x0020B6E4 File Offset: 0x002098E4
		// (set) Token: 0x06007FFF RID: 32767 RVA: 0x0020B718 File Offset: 0x00209918
		public unsafe Transform target
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_target);
				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(FBIKBoxing.NativeFieldInfoPtr_target), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B7C RID: 11132
		// (get) Token: 0x06008000 RID: 32768 RVA: 0x0020B740 File Offset: 0x00209940
		// (set) Token: 0x06008001 RID: 32769 RVA: 0x0020B774 File Offset: 0x00209974
		public unsafe Transform pin
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_pin);
				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(FBIKBoxing.NativeFieldInfoPtr_pin), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B7D RID: 11133
		// (get) Token: 0x06008002 RID: 32770 RVA: 0x0020B79C File Offset: 0x0020999C
		// (set) Token: 0x06008003 RID: 32771 RVA: 0x0020B7D0 File Offset: 0x002099D0
		public unsafe FullBodyBipedIK ik
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_ik);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new FullBodyBipedIK(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_ik), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B7E RID: 11134
		// (get) Token: 0x06008004 RID: 32772 RVA: 0x0020B7F8 File Offset: 0x002099F8
		// (set) Token: 0x06008005 RID: 32773 RVA: 0x0020B82C File Offset: 0x00209A2C
		public unsafe AimIK aim
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_aim);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new AimIK(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_aim), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B7F RID: 11135
		// (get) Token: 0x06008006 RID: 32774 RVA: 0x0020B854 File Offset: 0x00209A54
		// (set) Token: 0x06008007 RID: 32775 RVA: 0x0020B87C File Offset: 0x00209A7C
		public unsafe float weight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_weight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_weight)) = value;
			}
		}

		// Token: 0x17002B80 RID: 11136
		// (get) Token: 0x06008008 RID: 32776 RVA: 0x0020B8A0 File Offset: 0x00209AA0
		// (set) Token: 0x06008009 RID: 32777 RVA: 0x0020B8C8 File Offset: 0x00209AC8
		public unsafe FullBodyBipedEffector effector
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_effector);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_effector)) = value;
			}
		}

		// Token: 0x17002B81 RID: 11137
		// (get) Token: 0x0600800A RID: 32778 RVA: 0x0020B8EC File Offset: 0x00209AEC
		// (set) Token: 0x0600800B RID: 32779 RVA: 0x0020B920 File Offset: 0x00209B20
		public unsafe AnimationCurve aimWeight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_aimWeight);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new AnimationCurve(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_aimWeight), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002B82 RID: 11138
		// (get) Token: 0x0600800C RID: 32780 RVA: 0x0020B948 File Offset: 0x00209B48
		// (set) Token: 0x0600800D RID: 32781 RVA: 0x0020B97C File Offset: 0x00209B7C
		public unsafe Animator animator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_animator);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Animator(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBIKBoxing.NativeFieldInfoPtr_animator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x040055E9 RID: 21993
		private static readonly IntPtr NativeFieldInfoPtr_target;

		// Token: 0x040055EA RID: 21994
		private static readonly IntPtr NativeFieldInfoPtr_pin;

		// Token: 0x040055EB RID: 21995
		private static readonly IntPtr NativeFieldInfoPtr_ik;

		// Token: 0x040055EC RID: 21996
		private static readonly IntPtr NativeFieldInfoPtr_aim;

		// Token: 0x040055ED RID: 21997
		private static readonly IntPtr NativeFieldInfoPtr_weight;

		// Token: 0x040055EE RID: 21998
		private static readonly IntPtr NativeFieldInfoPtr_effector;

		// Token: 0x040055EF RID: 21999
		private static readonly IntPtr NativeFieldInfoPtr_aimWeight;

		// Token: 0x040055F0 RID: 22000
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x040055F1 RID: 22001
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x040055F2 RID: 22002
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x040055F3 RID: 22003
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
