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

namespace RootMotion.Demos
{
	// Token: 0x02000443 RID: 1091
	public class PlatformRotator : MonoBehaviour
	{
		// Token: 0x0600821C RID: 33308 RVA: 0x00213428 File Offset: 0x00211628
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625549, XrefRangeEnd = 625564, 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: 0x0600821D RID: 33309 RVA: 0x0021346C File Offset: 0x0021166C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625564, XrefRangeEnd = 625576, 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: 0x0600821E RID: 33310 RVA: 0x002134B0 File Offset: 0x002116B0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625576, XrefRangeEnd = 625581, 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: 0x0600821F RID: 33311 RVA: 0x00213508 File Offset: 0x00211708
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625581, XrefRangeEnd = 625591, 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: 0x06008220 RID: 33312 RVA: 0x00213564 File Offset: 0x00211764
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625591, XrefRangeEnd = 625601, 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: 0x06008221 RID: 33313 RVA: 0x002135C0 File Offset: 0x002117C0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625601, XrefRangeEnd = 625602, 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: 0x06008222 RID: 33314 RVA: 0x0021360C File Offset: 0x0021180C
		// 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, 100673170);
			PlatformRotator.NativeMethodInfoPtr_FixedUpdate_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100673171);
			PlatformRotator.NativeMethodInfoPtr_SwitchRotation_Private_IEnumerator_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100673172);
			PlatformRotator.NativeMethodInfoPtr_OnCollisionEnter_Private_Void_Collision_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100673173);
			PlatformRotator.NativeMethodInfoPtr_OnCollisionExit_Private_Void_Collision_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100673174);
			PlatformRotator.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator>.NativeClassPtr, 100673175);
		}

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

		// Token: 0x17002C32 RID: 11314
		// (get) Token: 0x06008224 RID: 33316 RVA: 0x002137A4 File Offset: 0x002119A4
		// (set) Token: 0x06008225 RID: 33317 RVA: 0x002137CC File Offset: 0x002119CC
		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: 0x17002C33 RID: 11315
		// (get) Token: 0x06008226 RID: 33318 RVA: 0x002137F0 File Offset: 0x002119F0
		// (set) Token: 0x06008227 RID: 33319 RVA: 0x00213818 File Offset: 0x00211A18
		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: 0x17002C34 RID: 11316
		// (get) Token: 0x06008228 RID: 33320 RVA: 0x0021383C File Offset: 0x00211A3C
		// (set) Token: 0x06008229 RID: 33321 RVA: 0x00213864 File Offset: 0x00211A64
		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: 0x17002C35 RID: 11317
		// (get) Token: 0x0600822A RID: 33322 RVA: 0x00213888 File Offset: 0x00211A88
		// (set) Token: 0x0600822B RID: 33323 RVA: 0x002138B0 File Offset: 0x00211AB0
		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: 0x17002C36 RID: 11318
		// (get) Token: 0x0600822C RID: 33324 RVA: 0x002138D4 File Offset: 0x00211AD4
		// (set) Token: 0x0600822D RID: 33325 RVA: 0x002138FC File Offset: 0x00211AFC
		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: 0x17002C37 RID: 11319
		// (get) Token: 0x0600822E RID: 33326 RVA: 0x00213920 File Offset: 0x00211B20
		// (set) Token: 0x0600822F RID: 33327 RVA: 0x00213948 File Offset: 0x00211B48
		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: 0x17002C38 RID: 11320
		// (get) Token: 0x06008230 RID: 33328 RVA: 0x0021396C File Offset: 0x00211B6C
		// (set) Token: 0x06008231 RID: 33329 RVA: 0x00213994 File Offset: 0x00211B94
		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: 0x17002C39 RID: 11321
		// (get) Token: 0x06008232 RID: 33330 RVA: 0x002139B8 File Offset: 0x00211BB8
		// (set) Token: 0x06008233 RID: 33331 RVA: 0x002139E0 File Offset: 0x00211BE0
		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: 0x17002C3A RID: 11322
		// (get) Token: 0x06008234 RID: 33332 RVA: 0x00213A04 File Offset: 0x00211C04
		// (set) Token: 0x06008235 RID: 33333 RVA: 0x00213A2C File Offset: 0x00211C2C
		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: 0x17002C3B RID: 11323
		// (get) Token: 0x06008236 RID: 33334 RVA: 0x00213A50 File Offset: 0x00211C50
		// (set) Token: 0x06008237 RID: 33335 RVA: 0x00213A78 File Offset: 0x00211C78
		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: 0x17002C3C RID: 11324
		// (get) Token: 0x06008238 RID: 33336 RVA: 0x00213A9C File Offset: 0x00211C9C
		// (set) Token: 0x06008239 RID: 33337 RVA: 0x00213AC4 File Offset: 0x00211CC4
		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: 0x17002C3D RID: 11325
		// (get) Token: 0x0600823A RID: 33338 RVA: 0x00213AE8 File Offset: 0x00211CE8
		// (set) Token: 0x0600823B RID: 33339 RVA: 0x00213B1C File Offset: 0x00211D1C
		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: 0x0400571B RID: 22299
		private static readonly IntPtr NativeFieldInfoPtr_maxAngle;

		// Token: 0x0400571C RID: 22300
		private static readonly IntPtr NativeFieldInfoPtr_switchRotationTime;

		// Token: 0x0400571D RID: 22301
		private static readonly IntPtr NativeFieldInfoPtr_random;

		// Token: 0x0400571E RID: 22302
		private static readonly IntPtr NativeFieldInfoPtr_rotationSpeed;

		// Token: 0x0400571F RID: 22303
		private static readonly IntPtr NativeFieldInfoPtr_movePosition;

		// Token: 0x04005720 RID: 22304
		private static readonly IntPtr NativeFieldInfoPtr_moveSpeed;

		// Token: 0x04005721 RID: 22305
		private static readonly IntPtr NativeFieldInfoPtr_characterLayer;

		// Token: 0x04005722 RID: 22306
		private static readonly IntPtr NativeFieldInfoPtr_defaultRotation;

		// Token: 0x04005723 RID: 22307
		private static readonly IntPtr NativeFieldInfoPtr_targetRotation;

		// Token: 0x04005724 RID: 22308
		private static readonly IntPtr NativeFieldInfoPtr_targetPosition;

		// Token: 0x04005725 RID: 22309
		private static readonly IntPtr NativeFieldInfoPtr_velocity;

		// Token: 0x04005726 RID: 22310
		private static readonly IntPtr NativeFieldInfoPtr_r;

		// Token: 0x04005727 RID: 22311
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04005728 RID: 22312
		private static readonly IntPtr NativeMethodInfoPtr_FixedUpdate_Private_Void_0;

		// Token: 0x04005729 RID: 22313
		private static readonly IntPtr NativeMethodInfoPtr_SwitchRotation_Private_IEnumerator_0;

		// Token: 0x0400572A RID: 22314
		private static readonly IntPtr NativeMethodInfoPtr_OnCollisionEnter_Private_Void_Collision_0;

		// Token: 0x0400572B RID: 22315
		private static readonly IntPtr NativeMethodInfoPtr_OnCollisionExit_Private_Void_Collision_0;

		// Token: 0x0400572C RID: 22316
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x02000444 RID: 1092
		[ObfuscatedName("RootMotion.Demos.PlatformRotator/<SwitchRotation>d__14")]
		public sealed class _SwitchRotation_d__14 : Il2CppSystem.Object
		{
			// Token: 0x0600823C RID: 33340 RVA: 0x00213B44 File Offset: 0x00211D44
			[CallerCount(350)]
			[CachedScanResults(RefRangeStart = 11975, RefRangeEnd = 12325, XrefRangeStart = 11975, XrefRangeEnd = 12325, 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: 0x0600823D RID: 33341 RVA: 0x00213BA4 File Offset: 0x00211DA4
			[CallerCount(5874)]
			[CachedScanResults(RefRangeStart = 24, RefRangeEnd = 5898, XrefRangeStart = 24, XrefRangeEnd = 5898, 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: 0x0600823E RID: 33342 RVA: 0x00213BE8 File Offset: 0x00211DE8
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625534, XrefRangeEnd = 625544, 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: 0x17002C41 RID: 11329
			// (get) Token: 0x0600823F RID: 33343 RVA: 0x00213C38 File Offset: 0x00211E38
			public unsafe Il2CppSystem.Object Current
			{
				[CallerCount(10)]
				[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, 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: 0x06008240 RID: 33344 RVA: 0x00213C90 File Offset: 0x00211E90
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625544, XrefRangeEnd = 625549, 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: 0x17002C42 RID: 11330
			// (get) Token: 0x06008241 RID: 33345 RVA: 0x00213CD4 File Offset: 0x00211ED4
			public unsafe Il2CppSystem.Object Current
			{
				[CallerCount(10)]
				[CachedScanResults(RefRangeStart = 7527, RefRangeEnd = 7537, XrefRangeStart = 7527, XrefRangeEnd = 7537, 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: 0x06008242 RID: 33346 RVA: 0x00213D2C File Offset: 0x00211F2C
			// 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, 100673176);
				PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, 100673177);
				PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, 100673178);
				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, 100673179);
				PlatformRotator._SwitchRotation_d__14.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<PlatformRotator._SwitchRotation_d__14>.NativeClassPtr, 100673180);
				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, 100673181);
			}

			// Token: 0x06008243 RID: 33347 RVA: 0x0000A74C File Offset: 0x0000894C
			public _SwitchRotation_d__14(IntPtr pointer)
				: base(pointer)
			{
			}

			// Token: 0x17002C3E RID: 11326
			// (get) Token: 0x06008244 RID: 33348 RVA: 0x00213E0C File Offset: 0x0021200C
			// (set) Token: 0x06008245 RID: 33349 RVA: 0x00213E34 File Offset: 0x00212034
			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: 0x17002C3F RID: 11327
			// (get) Token: 0x06008246 RID: 33350 RVA: 0x00213E58 File Offset: 0x00212058
			// (set) Token: 0x06008247 RID: 33351 RVA: 0x00213E8C File Offset: 0x0021208C
			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: 0x17002C40 RID: 11328
			// (get) Token: 0x06008248 RID: 33352 RVA: 0x00213EB4 File Offset: 0x002120B4
			// (set) Token: 0x06008249 RID: 33353 RVA: 0x00213EE8 File Offset: 0x002120E8
			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: 0x0400572D RID: 22317
			private static readonly IntPtr NativeFieldInfoPtr___1__state;

			// Token: 0x0400572E RID: 22318
			private static readonly IntPtr NativeFieldInfoPtr___2__current;

			// Token: 0x0400572F RID: 22319
			private static readonly IntPtr NativeFieldInfoPtr___4__this;

			// Token: 0x04005730 RID: 22320
			private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;

			// Token: 0x04005731 RID: 22321
			private static readonly IntPtr NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0;

			// Token: 0x04005732 RID: 22322
			private static readonly IntPtr NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0;

			// Token: 0x04005733 RID: 22323
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0;

			// Token: 0x04005734 RID: 22324
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0;

			// Token: 0x04005735 RID: 22325
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0;
		}
	}
}
