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

namespace RootMotion.Demos
{
	// Token: 0x020003CA RID: 970
	public class FBIKBoxing : MonoBehaviour
	{
		// Token: 0x060077A6 RID: 30630 RVA: 0x001E87C8 File Offset: 0x001E69C8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592055, XrefRangeEnd = 592059, 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: 0x060077A7 RID: 30631 RVA: 0x001E880C File Offset: 0x001E6A0C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592059, XrefRangeEnd = 592073, 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: 0x060077A8 RID: 30632 RVA: 0x001E8850 File Offset: 0x001E6A50
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x060077A9 RID: 30633 RVA: 0x001E889C File Offset: 0x001E6A9C
		// 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, 100672326);
			FBIKBoxing.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, 100672327);
			FBIKBoxing.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBIKBoxing>.NativeClassPtr, 100672328);
		}

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

		// Token: 0x170028E0 RID: 10464
		// (get) Token: 0x060077AB RID: 30635 RVA: 0x001E89A8 File Offset: 0x001E6BA8
		// (set) Token: 0x060077AC RID: 30636 RVA: 0x001E89DC File Offset: 0x001E6BDC
		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: 0x170028E1 RID: 10465
		// (get) Token: 0x060077AD RID: 30637 RVA: 0x001E8A04 File Offset: 0x001E6C04
		// (set) Token: 0x060077AE RID: 30638 RVA: 0x001E8A38 File Offset: 0x001E6C38
		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: 0x170028E2 RID: 10466
		// (get) Token: 0x060077AF RID: 30639 RVA: 0x001E8A60 File Offset: 0x001E6C60
		// (set) Token: 0x060077B0 RID: 30640 RVA: 0x001E8A94 File Offset: 0x001E6C94
		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: 0x170028E3 RID: 10467
		// (get) Token: 0x060077B1 RID: 30641 RVA: 0x001E8ABC File Offset: 0x001E6CBC
		// (set) Token: 0x060077B2 RID: 30642 RVA: 0x001E8AF0 File Offset: 0x001E6CF0
		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: 0x170028E4 RID: 10468
		// (get) Token: 0x060077B3 RID: 30643 RVA: 0x001E8B18 File Offset: 0x001E6D18
		// (set) Token: 0x060077B4 RID: 30644 RVA: 0x001E8B40 File Offset: 0x001E6D40
		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: 0x170028E5 RID: 10469
		// (get) Token: 0x060077B5 RID: 30645 RVA: 0x001E8B64 File Offset: 0x001E6D64
		// (set) Token: 0x060077B6 RID: 30646 RVA: 0x001E8B8C File Offset: 0x001E6D8C
		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: 0x170028E6 RID: 10470
		// (get) Token: 0x060077B7 RID: 30647 RVA: 0x001E8BB0 File Offset: 0x001E6DB0
		// (set) Token: 0x060077B8 RID: 30648 RVA: 0x001E8BE4 File Offset: 0x001E6DE4
		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: 0x170028E7 RID: 10471
		// (get) Token: 0x060077B9 RID: 30649 RVA: 0x001E8C0C File Offset: 0x001E6E0C
		// (set) Token: 0x060077BA RID: 30650 RVA: 0x001E8C40 File Offset: 0x001E6E40
		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: 0x04005040 RID: 20544
		private static readonly IntPtr NativeFieldInfoPtr_target;

		// Token: 0x04005041 RID: 20545
		private static readonly IntPtr NativeFieldInfoPtr_pin;

		// Token: 0x04005042 RID: 20546
		private static readonly IntPtr NativeFieldInfoPtr_ik;

		// Token: 0x04005043 RID: 20547
		private static readonly IntPtr NativeFieldInfoPtr_aim;

		// Token: 0x04005044 RID: 20548
		private static readonly IntPtr NativeFieldInfoPtr_weight;

		// Token: 0x04005045 RID: 20549
		private static readonly IntPtr NativeFieldInfoPtr_effector;

		// Token: 0x04005046 RID: 20550
		private static readonly IntPtr NativeFieldInfoPtr_aimWeight;

		// Token: 0x04005047 RID: 20551
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x04005048 RID: 20552
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04005049 RID: 20553
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x0400504A RID: 20554
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
