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

namespace RootMotion.FinalIK
{
	// Token: 0x02000423 RID: 1059
	public class FBBIKArmBending : MonoBehaviour
	{
		// Token: 0x06007E5E RID: 32350 RVA: 0x00203420 File Offset: 0x00201620
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 595960, XrefRangeEnd = 596005, 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: 0x06007E5F RID: 32351 RVA: 0x00203464 File Offset: 0x00201664
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 596005, XrefRangeEnd = 596023, 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: 0x06007E60 RID: 32352 RVA: 0x002034A8 File Offset: 0x002016A8
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 596023, XrefRangeEnd = 596036, 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: 0x06007E61 RID: 32353 RVA: 0x002034EC File Offset: 0x002016EC
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, 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: 0x06007E62 RID: 32354 RVA: 0x00203538 File Offset: 0x00201738
		// 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, 100672844);
			FBBIKArmBending.NativeMethodInfoPtr_OnPostFBBIK_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, 100672845);
			FBBIKArmBending.NativeMethodInfoPtr_OnDestroy_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, 100672846);
			FBBIKArmBending.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<FBBIKArmBending>.NativeClassPtr, 100672847);
		}

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

		// Token: 0x17002B0E RID: 11022
		// (get) Token: 0x06007E64 RID: 32356 RVA: 0x00203658 File Offset: 0x00201858
		// (set) Token: 0x06007E65 RID: 32357 RVA: 0x0020368C File Offset: 0x0020188C
		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: 0x17002B0F RID: 11023
		// (get) Token: 0x06007E66 RID: 32358 RVA: 0x002036B4 File Offset: 0x002018B4
		// (set) Token: 0x06007E67 RID: 32359 RVA: 0x002036DC File Offset: 0x002018DC
		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: 0x17002B10 RID: 11024
		// (get) Token: 0x06007E68 RID: 32360 RVA: 0x00203700 File Offset: 0x00201900
		// (set) Token: 0x06007E69 RID: 32361 RVA: 0x00203728 File Offset: 0x00201928
		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: 0x17002B11 RID: 11025
		// (get) Token: 0x06007E6A RID: 32362 RVA: 0x0020374C File Offset: 0x0020194C
		// (set) Token: 0x06007E6B RID: 32363 RVA: 0x00203774 File Offset: 0x00201974
		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: 0x17002B12 RID: 11026
		// (get) Token: 0x06007E6C RID: 32364 RVA: 0x00203798 File Offset: 0x00201998
		// (set) Token: 0x06007E6D RID: 32365 RVA: 0x002037C0 File Offset: 0x002019C0
		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: 0x17002B13 RID: 11027
		// (get) Token: 0x06007E6E RID: 32366 RVA: 0x002037E4 File Offset: 0x002019E4
		// (set) Token: 0x06007E6F RID: 32367 RVA: 0x0020380C File Offset: 0x00201A0C
		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: 0x17002B14 RID: 11028
		// (get) Token: 0x06007E70 RID: 32368 RVA: 0x00203830 File Offset: 0x00201A30
		// (set) Token: 0x06007E71 RID: 32369 RVA: 0x00203858 File Offset: 0x00201A58
		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: 0x17002B15 RID: 11029
		// (get) Token: 0x06007E72 RID: 32370 RVA: 0x0020387C File Offset: 0x00201A7C
		// (set) Token: 0x06007E73 RID: 32371 RVA: 0x002038A4 File Offset: 0x00201AA4
		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: 0x04005467 RID: 21607
		private static readonly IntPtr NativeFieldInfoPtr_ik;

		// Token: 0x04005468 RID: 21608
		private static readonly IntPtr NativeFieldInfoPtr_bendDirectionOffsetLeft;

		// Token: 0x04005469 RID: 21609
		private static readonly IntPtr NativeFieldInfoPtr_bendDirectionOffsetRight;

		// Token: 0x0400546A RID: 21610
		private static readonly IntPtr NativeFieldInfoPtr_characterSpaceBendOffsetLeft;

		// Token: 0x0400546B RID: 21611
		private static readonly IntPtr NativeFieldInfoPtr_characterSpaceBendOffsetRight;

		// Token: 0x0400546C RID: 21612
		private static readonly IntPtr NativeFieldInfoPtr_leftHandTargetRotation;

		// Token: 0x0400546D RID: 21613
		private static readonly IntPtr NativeFieldInfoPtr_rightHandTargetRotation;

		// Token: 0x0400546E RID: 21614
		private static readonly IntPtr NativeFieldInfoPtr_initiated;

		// Token: 0x0400546F RID: 21615
		private static readonly IntPtr NativeMethodInfoPtr_LateUpdate_Private_Void_0;

		// Token: 0x04005470 RID: 21616
		private static readonly IntPtr NativeMethodInfoPtr_OnPostFBBIK_Private_Void_0;

		// Token: 0x04005471 RID: 21617
		private static readonly IntPtr NativeMethodInfoPtr_OnDestroy_Private_Void_0;

		// Token: 0x04005472 RID: 21618
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
	}
}
