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

namespace RootMotion.Demos
{
	// Token: 0x020003EB RID: 1003
	public class PlatformRotator : MonoBehaviour
	{
		// Token: 0x060079C9 RID: 31177 RVA: 0x001F06EC File Offset: 0x001EE8EC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593235, XrefRangeEnd = 593250, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060079CA RID: 31178 RVA: 0x001F0730 File Offset: 0x001EE930
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593250, XrefRangeEnd = 593262, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void FixedUpdate()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator.NativeMethodInfoPtr_FixedUpdate_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060079CB RID: 31179 RVA: 0x001F0774 File Offset: 0x001EE974
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593262, XrefRangeEnd = 593267, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe IEnumerator SwitchRotation()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator.NativeMethodInfoPtr_SwitchRotation_Private_IEnumerator_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new IEnumerator(intPtr3) : null;
		}

		// Token: 0x060079CC RID: 31180 RVA: 0x001F07CC File Offset: 0x001EE9CC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593267, XrefRangeEnd = 593277, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnCollisionEnter(Collision collision)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(collision);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator.NativeMethodInfoPtr_OnCollisionEnter_Private_Void_Collision_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060079CD RID: 31181 RVA: 0x001F0828 File Offset: 0x001EEA28
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593277, XrefRangeEnd = 593287, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void OnCollisionExit(Collision collision)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(collision);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator.NativeMethodInfoPtr_OnCollisionExit_Private_Void_Collision_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x060079CE RID: 31182 RVA: 0x001F0884 File Offset: 0x001EEA84
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593287, XrefRangeEnd = 593288, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe PlatformRotator()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060079CF RID: 31183 RVA: 0x001F08D0 File Offset: 0x001EEAD0
		// Note: this type is marked as 'beforefieldinit'.
		static PlatformRotator()
		{
			Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "PlatformRotator");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr);
			PlatformRotator.NativeFieldInfoPtr_maxAngle = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "maxAngle");
			PlatformRotator.NativeFieldInfoPtr_switchRotationTime = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "switchRotationTime");
			PlatformRotator.NativeFieldInfoPtr_random = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "random");
			PlatformRotator.NativeFieldInfoPtr_rotationSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "rotationSpeed");
			PlatformRotator.NativeFieldInfoPtr_movePosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "movePosition");
			PlatformRotator.NativeFieldInfoPtr_moveSpeed = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "moveSpeed");
			PlatformRotator.NativeFieldInfoPtr_characterLayer = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "characterLayer");
			PlatformRotator.NativeFieldInfoPtr_defaultRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "defaultRotation");
			PlatformRotator.NativeFieldInfoPtr_targetRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "targetRotation");
			PlatformRotator.NativeFieldInfoPtr_targetPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "targetPosition");
			PlatformRotator.NativeFieldInfoPtr_velocity = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "velocity");
			PlatformRotator.NativeFieldInfoPtr_r = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "r");
			PlatformRotator.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100672457);
			PlatformRotator.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100672458);
			PlatformRotator.NativeMethodInfoPtr_SwitchRotation_Private_IEnumerator_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100672459);
			PlatformRotator.NativeMethodInfoPtr_OnCollisionEnter_Private_Void_Collision_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100672460);
			PlatformRotator.NativeMethodInfoPtr_OnCollisionExit_Private_Void_Collision_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100672461);
			PlatformRotator.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100672462);
		}

		// Token: 0x060079D0 RID: 31184 RVA: 0x0000351C File Offset: 0x0000171C
		public PlatformRotator(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002997 RID: 10647
		// (get) Token: 0x060079D1 RID: 31185 RVA: 0x001F0A68 File Offset: 0x001EEC68
		// (set) Token: 0x060079D2 RID: 31186 RVA: 0x001F0A90 File Offset: 0x001EEC90
		public unsafe float maxAngle
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_maxAngle);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_maxAngle)) = value;
			}
		}

		// Token: 0x17002998 RID: 10648
		// (get) Token: 0x060079D3 RID: 31187 RVA: 0x001F0AB4 File Offset: 0x001EECB4
		// (set) Token: 0x060079D4 RID: 31188 RVA: 0x001F0ADC File Offset: 0x001EECDC
		public unsafe float switchRotationTime
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_switchRotationTime);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_switchRotationTime)) = value;
			}
		}

		// Token: 0x17002999 RID: 10649
		// (get) Token: 0x060079D5 RID: 31189 RVA: 0x001F0B00 File Offset: 0x001EED00
		// (set) Token: 0x060079D6 RID: 31190 RVA: 0x001F0B28 File Offset: 0x001EED28
		public unsafe float random
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_random);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_random)) = value;
			}
		}

		// Token: 0x1700299A RID: 10650
		// (get) Token: 0x060079D7 RID: 31191 RVA: 0x001F0B4C File Offset: 0x001EED4C
		// (set) Token: 0x060079D8 RID: 31192 RVA: 0x001F0B74 File Offset: 0x001EED74
		public unsafe float rotationSpeed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_rotationSpeed);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_rotationSpeed)) = value;
			}
		}

		// Token: 0x1700299B RID: 10651
		// (get) Token: 0x060079D9 RID: 31193 RVA: 0x001F0B98 File Offset: 0x001EED98
		// (set) Token: 0x060079DA RID: 31194 RVA: 0x001F0BC0 File Offset: 0x001EEDC0
		public unsafe Vector3 movePosition
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_movePosition);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_movePosition)) = value;
			}
		}

		// Token: 0x1700299C RID: 10652
		// (get) Token: 0x060079DB RID: 31195 RVA: 0x001F0BE4 File Offset: 0x001EEDE4
		// (set) Token: 0x060079DC RID: 31196 RVA: 0x001F0C0C File Offset: 0x001EEE0C
		public unsafe float moveSpeed
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_moveSpeed);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_moveSpeed)) = value;
			}
		}

		// Token: 0x1700299D RID: 10653
		// (get) Token: 0x060079DD RID: 31197 RVA: 0x001F0C30 File Offset: 0x001EEE30
		// (set) Token: 0x060079DE RID: 31198 RVA: 0x001F0C58 File Offset: 0x001EEE58
		public unsafe int characterLayer
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_characterLayer);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_characterLayer)) = value;
			}
		}

		// Token: 0x1700299E RID: 10654
		// (get) Token: 0x060079DF RID: 31199 RVA: 0x001F0C7C File Offset: 0x001EEE7C
		// (set) Token: 0x060079E0 RID: 31200 RVA: 0x001F0CA4 File Offset: 0x001EEEA4
		public unsafe Quaternion defaultRotation
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_defaultRotation);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_defaultRotation)) = value;
			}
		}

		// Token: 0x1700299F RID: 10655
		// (get) Token: 0x060079E1 RID: 31201 RVA: 0x001F0CC8 File Offset: 0x001EEEC8
		// (set) Token: 0x060079E2 RID: 31202 RVA: 0x001F0CF0 File Offset: 0x001EEEF0
		public unsafe Quaternion targetRotation
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_targetRotation);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_targetRotation)) = value;
			}
		}

		// Token: 0x170029A0 RID: 10656
		// (get) Token: 0x060079E3 RID: 31203 RVA: 0x001F0D14 File Offset: 0x001EEF14
		// (set) Token: 0x060079E4 RID: 31204 RVA: 0x001F0D3C File Offset: 0x001EEF3C
		public unsafe Vector3 targetPosition
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_targetPosition);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_targetPosition)) = value;
			}
		}

		// Token: 0x170029A1 RID: 10657
		// (get) Token: 0x060079E5 RID: 31205 RVA: 0x001F0D60 File Offset: 0x001EEF60
		// (set) Token: 0x060079E6 RID: 31206 RVA: 0x001F0D88 File Offset: 0x001EEF88
		public unsafe Vector3 velocity
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_velocity);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_velocity)) = value;
			}
		}

		// Token: 0x170029A2 RID: 10658
		// (get) Token: 0x060079E7 RID: 31207 RVA: 0x001F0DAC File Offset: 0x001EEFAC
		// (set) Token: 0x060079E8 RID: 31208 RVA: 0x001F0DE0 File Offset: 0x001EEFE0
		public unsafe Rigidbody r
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_r);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Rigidbody(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator.NativeFieldInfoPtr_r), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04005172 RID: 20850
		private static readonly IntPtr NativeFieldInfoPtr_maxAngle;

		// Token: 0x04005173 RID: 20851
		private static readonly IntPtr NativeFieldInfoPtr_switchRotationTime;

		// Token: 0x04005174 RID: 20852
		private static readonly IntPtr NativeFieldInfoPtr_random;

		// Token: 0x04005175 RID: 20853
		private static readonly IntPtr NativeFieldInfoPtr_rotationSpeed;

		// Token: 0x04005176 RID: 20854
		private static readonly IntPtr NativeFieldInfoPtr_movePosition;

		// Token: 0x04005177 RID: 20855
		private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;

		// Token: 0x04005178 RID: 20856
		private static readonly IntPtr NativeFieldInfoPtr_characterLayer;

		// Token: 0x04005179 RID: 20857
		private static readonly IntPtr NativeFieldInfoPtr_defaultRotation;

		// Token: 0x0400517A RID: 20858
		private static readonly IntPtr NativeFieldInfoPtr_targetRotation;

		// Token: 0x0400517B RID: 20859
		private static readonly IntPtr NativeFieldInfoPtr_targetPosition;

		// Token: 0x0400517C RID: 20860
		private static readonly IntPtr NativeFieldInfoPtr_velocity;

		// Token: 0x0400517D RID: 20861
		private static readonly IntPtr NativeFieldInfoPtr_r;

		// Token: 0x0400517E RID: 20862
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x0400517F RID: 20863
		private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

		// Token: 0x04005180 RID: 20864
		private static readonly IntPtr NativeMethodInfoPtr_SwitchRotation_Private_IEnumerator_0;

		// Token: 0x04005181 RID: 20865
		private static readonly IntPtr NativeMethodInfoPtr_OnCollisionEnter_Private_Void_Collision_0;

		// Token: 0x04005182 RID: 20866
		private static readonly IntPtr NativeMethodInfoPtr_OnCollisionExit_Private_Void_Collision_0;

		// Token: 0x04005183 RID: 20867
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x020003EC RID: 1004
		[ObfuscatedName("RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14")]
		public sealed class _SwitchRotation_d__14 : Il2CppSystem.Object
		{
			// Token: 0x060079E9 RID: 31209 RVA: 0x001F0E08 File Offset: 0x001EF008
			[CallerCount(323)]
			[CachedScanResults(RefRangeStart = 12254, RefRangeEnd = 12577, XrefRangeStart = 12254, XrefRangeEnd = 12577, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			public unsafe _SwitchRotation_d__14(int <>1__state)
				: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr))
			{
				checked
				{
					IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
					*ptr = ref <>1__state;
					IntPtr intPtr2;
					IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr__ctor_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
					Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				}
			}

			// Token: 0x060079EA RID: 31210 RVA: 0x001F0E68 File Offset: 0x001EF068
			[CallerCount(5585)]
			[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5609, XrefRangeStart = 24, XrefRangeEnd = 5609, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			public unsafe void System_IDisposable_Dispose()
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}

			// Token: 0x060079EB RID: 31211 RVA: 0x001F0EAC File Offset: 0x001EF0AC
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593220, XrefRangeEnd = 593230, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			public unsafe bool MoveNext()
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				return *IL2CPP.il2cpp_object_unbox(intPtr);
			}

			// Token: 0x170029A6 RID: 10662
			// (get) Token: 0x060079EC RID: 31212 RVA: 0x001F0EFC File Offset: 0x001EF0FC
			public unsafe Il2CppSystem.Object Current
			{
				[CallerCount(10)]
				[CachedScanResults(RefRangeStart = 7233, RefRangeEnd = 7243, XrefRangeStart = 7233, XrefRangeEnd = 7243, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
				get
				{
					IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
					IntPtr* ptr = null;
					IntPtr intPtr2;
					IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
					Il2CppException.RaiseExceptionIfNecessary(intPtr2);
					IntPtr intPtr3 = intPtr;
					return (intPtr3 != 0) ? new Il2CppSystem.Object(intPtr3) : null;
				}
			}

			// Token: 0x060079ED RID: 31213 RVA: 0x001F0F54 File Offset: 0x001EF154
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 593230, XrefRangeEnd = 593235, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			public unsafe void System_Collections_IEnumerator_Reset()
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}

			// Token: 0x170029A7 RID: 10663
			// (get) Token: 0x060079EE RID: 31214 RVA: 0x001F0F98 File Offset: 0x001EF198
			public unsafe Il2CppSystem.Object Current
			{
				[CallerCount(10)]
				[CachedScanResults(RefRangeStart = 7233, RefRangeEnd = 7243, XrefRangeStart = 7233, XrefRangeEnd = 7243, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
				get
				{
					IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
					IntPtr* ptr = null;
					IntPtr intPtr2;
					IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
					Il2CppException.RaiseExceptionIfNecessary(intPtr2);
					IntPtr intPtr3 = intPtr;
					return (intPtr3 != 0) ? new Il2CppSystem.Object(intPtr3) : null;
				}
			}

			// Token: 0x060079EF RID: 31215 RVA: 0x001F0FF0 File Offset: 0x001EF1F0
			// Note: this type is marked as 'beforefieldinit'.
			static _SwitchRotation_d__14()
			{
				Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, "<SwitchRotation>d__14");
				IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr);
				PlatformRotator._SwitchRotation_d__14.NativeFieldInfoPtr___1__state = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, "<>1__state");
				PlatformRotator._SwitchRotation_d__14.NativeFieldInfoPtr___2__current = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, "<>2__current");
				PlatformRotator._SwitchRotation_d__14.NativeFieldInfoPtr___4__this = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, "<>4__this");
				PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr__ctor_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, 100672463);
				PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, 100672464);
				PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, 100672465);
				PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, 100672466);
				PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, 100672467);
				PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, 100672468);
			}

			// Token: 0x060079F0 RID: 31216 RVA: 0x0000A688 File Offset: 0x00008888
			public _SwitchRotation_d__14(IntPtr pointer)
				: base(pointer)
			{
			}

			// Token: 0x170029A3 RID: 10659
			// (get) Token: 0x060079F1 RID: 31217 RVA: 0x001F10D0 File Offset: 0x001EF2D0
			// (set) Token: 0x060079F2 RID: 31218 RVA: 0x001F10F8 File Offset: 0x001EF2F8
			public unsafe int __1__state
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator._SwitchRotation_d__14.NativeFieldInfoPtr___1__state);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator._SwitchRotation_d__14.NativeFieldInfoPtr___1__state)) = value;
				}
			}

			// Token: 0x170029A4 RID: 10660
			// (get) Token: 0x060079F3 RID: 31219 RVA: 0x001F111C File Offset: 0x001EF31C
			// (set) Token: 0x060079F4 RID: 31220 RVA: 0x001F1150 File Offset: 0x001EF350
			public unsafe Il2CppSystem.Object __2__current
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator._SwitchRotation_d__14.NativeFieldInfoPtr___2__current);
					IntPtr intPtr2 = *intPtr;
					return (intPtr2 != 0) ? new Il2CppSystem.Object(intPtr2) : null;
				}
				set
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
					IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator._SwitchRotation_d__14.NativeFieldInfoPtr___2__current), IL2CPP.Il2CppObjectBaseToPtr(value));
				}
			}

			// Token: 0x170029A5 RID: 10661
			// (get) Token: 0x060079F5 RID: 31221 RVA: 0x001F1178 File Offset: 0x001EF378
			// (set) Token: 0x060079F6 RID: 31222 RVA: 0x001F11AC File Offset: 0x001EF3AC
			public unsafe PlatformRotator __4__this
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator._SwitchRotation_d__14.NativeFieldInfoPtr___4__this);
					IntPtr intPtr2 = *intPtr;
					return (intPtr2 != 0) ? new PlatformRotator(intPtr2) : null;
				}
				set
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
					IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(PlatformRotator._SwitchRotation_d__14.NativeFieldInfoPtr___4__this), IL2CPP.Il2CppObjectBaseToPtr(value));
				}
			}

			// Token: 0x04005184 RID: 20868
			private static readonly IntPtr NativeFieldInfoPtr___1__state;

			// Token: 0x04005185 RID: 20869
			private static readonly IntPtr NativeFieldInfoPtr___2__current;

			// Token: 0x04005186 RID: 20870
			private static readonly IntPtr NativeFieldInfoPtr___4__this;

			// Token: 0x04005187 RID: 20871
			private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;

			// Token: 0x04005188 RID: 20872
			private static readonly IntPtr NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0;

			// Token: 0x04005189 RID: 20873
			private static readonly IntPtr NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0;

			// Token: 0x0400518A RID: 20874
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0;

			// Token: 0x0400518B RID: 20875
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0;

			// Token: 0x0400518C RID: 20876
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0;
		}
	}
}
