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

namespace RootMotion.FinalIK
{
	// Token: 0x0200047B RID: 1147
	public class FBBIKArmBending : MonoBehaviour
	{
		// Token: 0x060086B1 RID: 34481 RVA: 0x0022615C File Offset: 0x0022435C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 628270, XrefRangeEnd = 628315, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void LateUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FBBIKArmBending.NativeMethodInfoPtr_LateUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086B2 RID: 34482 RVA: 0x002261A0 File Offset: 0x002243A0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 628315, XrefRangeEnd = 628333, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnPostFBBIK()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FBBIKArmBending.NativeMethodInfoPtr_OnPostFBBIK_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060086B3 RID: 34483 RVA: 0x002261E4 File Offset: 0x002243E4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 628333, XrefRangeEnd = 628346, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnDestroy()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(FBBIKArmBending.NativeMethodInfoPtr_OnDestroy_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

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

		// Token: 0x060086B5 RID: 34485 RVA: 0x00226274 File Offset: 0x00224474
		// Note: this type is marked as 'beforefieldinit'.
		static FBBIKArmBending()
		{
			Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.FinalIK", "FBBIKArmBending");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr);
			FBBIKArmBending.NativeFieldInfoPtr_ik = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, "ik");
			FBBIKArmBending.NativeFieldInfoPtr_bendDirectionOffsetLeft = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, "bendDirectionOffsetLeft");
			FBBIKArmBending.NativeFieldInfoPtr_bendDirectionOffsetRight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, "bendDirectionOffsetRight");
			FBBIKArmBending.NativeFieldInfoPtr_characterSpaceBendOffsetLeft = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, "characterSpaceBendOffsetLeft");
			FBBIKArmBending.NativeFieldInfoPtr_characterSpaceBendOffsetRight = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, "characterSpaceBendOffsetRight");
			FBBIKArmBending.NativeFieldInfoPtr_leftHandTargetRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, "leftHandTargetRotation");
			FBBIKArmBending.NativeFieldInfoPtr_rightHandTargetRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, "rightHandTargetRotation");
			FBBIKArmBending.NativeFieldInfoPtr_initiated = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, "initiated");
			FBBIKArmBending.NativeMethodInfoPtr_LateUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, 100673557);
			FBBIKArmBending.NativeMethodInfoPtr_OnPostFBBIK_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, 100673558);
			FBBIKArmBending.NativeMethodInfoPtr_OnDestroy_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, 100673559);
			FBBIKArmBending.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, 100673560);
		}

		// Token: 0x060086B6 RID: 34486 RVA: 0x0000351C File Offset: 0x0000171C
		public FBBIKArmBending(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002DA9 RID: 11689
		// (get) Token: 0x060086B7 RID: 34487 RVA: 0x00226394 File Offset: 0x00224594
		// (set) Token: 0x060086B8 RID: 34488 RVA: 0x002263C8 File Offset: 0x002245C8
		public unsafe FullBodyBipedIK ik
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.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(FBBIKArmBending.NativeFieldInfoPtr_ik), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002DAA RID: 11690
		// (get) Token: 0x060086B9 RID: 34489 RVA: 0x002263F0 File Offset: 0x002245F0
		// (set) Token: 0x060086BA RID: 34490 RVA: 0x00226418 File Offset: 0x00224618
		public unsafe Vector3 bendDirectionOffsetLeft
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_bendDirectionOffsetLeft);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_bendDirectionOffsetLeft)) = value;
			}
		}

		// Token: 0x17002DAB RID: 11691
		// (get) Token: 0x060086BB RID: 34491 RVA: 0x0022643C File Offset: 0x0022463C
		// (set) Token: 0x060086BC RID: 34492 RVA: 0x00226464 File Offset: 0x00224664
		public unsafe Vector3 bendDirectionOffsetRight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_bendDirectionOffsetRight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_bendDirectionOffsetRight)) = value;
			}
		}

		// Token: 0x17002DAC RID: 11692
		// (get) Token: 0x060086BD RID: 34493 RVA: 0x00226488 File Offset: 0x00224688
		// (set) Token: 0x060086BE RID: 34494 RVA: 0x002264B0 File Offset: 0x002246B0
		public unsafe Vector3 characterSpaceBendOffsetLeft
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_characterSpaceBendOffsetLeft);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_characterSpaceBendOffsetLeft)) = value;
			}
		}

		// Token: 0x17002DAD RID: 11693
		// (get) Token: 0x060086BF RID: 34495 RVA: 0x002264D4 File Offset: 0x002246D4
		// (set) Token: 0x060086C0 RID: 34496 RVA: 0x002264FC File Offset: 0x002246FC
		public unsafe Vector3 characterSpaceBendOffsetRight
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_characterSpaceBendOffsetRight);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_characterSpaceBendOffsetRight)) = value;
			}
		}

		// Token: 0x17002DAE RID: 11694
		// (get) Token: 0x060086C1 RID: 34497 RVA: 0x00226520 File Offset: 0x00224720
		// (set) Token: 0x060086C2 RID: 34498 RVA: 0x00226548 File Offset: 0x00224748
		public unsafe Quaternion leftHandTargetRotation
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_leftHandTargetRotation);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_leftHandTargetRotation)) = value;
			}
		}

		// Token: 0x17002DAF RID: 11695
		// (get) Token: 0x060086C3 RID: 34499 RVA: 0x0022656C File Offset: 0x0022476C
		// (set) Token: 0x060086C4 RID: 34500 RVA: 0x00226594 File Offset: 0x00224794
		public unsafe Quaternion rightHandTargetRotation
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_rightHandTargetRotation);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_rightHandTargetRotation)) = value;
			}
		}

		// Token: 0x17002DB0 RID: 11696
		// (get) Token: 0x060086C5 RID: 34501 RVA: 0x002265B8 File Offset: 0x002247B8
		// (set) Token: 0x060086C6 RID: 34502 RVA: 0x002265E0 File Offset: 0x002247E0
		public unsafe bool initiated
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_initiated);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(FBBIKArmBending.NativeFieldInfoPtr_initiated)) = value;
			}
		}

		// Token: 0x04005A10 RID: 23056
		private static readonly IntPtr NativeFieldInfoPtr_ik;

		// Token: 0x04005A11 RID: 23057
		private static readonly IntPtr NativeFieldInfoPtr_bendDirectionOffsetLeft;

		// Token: 0x04005A12 RID: 23058
		private static readonly IntPtr NativeFieldInfoPtr_bendDirectionOffsetRight;

		// Token: 0x04005A13 RID: 23059
		private static readonly IntPtr NativeFieldInfoPtr_characterSpaceBendOffsetLeft;

		// Token: 0x04005A14 RID: 23060
		private static readonly IntPtr NativeFieldInfoPtr_characterSpaceBendOffsetRight;

		// Token: 0x04005A15 RID: 23061
		private static readonly IntPtr NativeFieldInfoPtr_leftHandTargetRotation;

		// Token: 0x04005A16 RID: 23062
		private static readonly IntPtr NativeFieldInfoPtr_rightHandTargetRotation;

		// Token: 0x04005A17 RID: 23063
		private static readonly IntPtr NativeFieldInfoPtr_initiated;

		// Token: 0x04005A18 RID: 23064
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x04005A19 RID: 23065
		private static readonly IntPtr NativeMethodInfoPtr_OnPostFBBIK_Private_Void_0;

		// Token: 0x04005A1A RID: 23066
		private static readonly IntPtr NativeMethodInfoPtr_OnDestroy_Private_Void_0;

		// Token: 0x04005A1B RID: 23067
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
