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

namespace RootMotion.Demos
{
	// Token: 0x020003E3 RID: 995
	public class SoccerDemo : MonoBehaviour
	{
		// Token: 0x06007945 RID: 31045 RVA: 0x001EE788 File Offset: 0x001EC988
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592920, XrefRangeEnd = 592935, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoccerDemo.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007946 RID: 31046 RVA: 0x001EE7CC File Offset: 0x001EC9CC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592935, XrefRangeEnd = 592940, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe IEnumerator ResetDelayed()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoccerDemo.NativeMethodInfoPtr_ResetDelayed_Private_IEnumerator_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new IEnumerator(intPtr3) : null;
		}

		// Token: 0x06007947 RID: 31047 RVA: 0x001EE824 File Offset: 0x001ECA24
		[CallerCount(63)]
		[CachedScanResults(RefRangeStart = 222154, RefRangeEnd = 222217, XrefRangeStart = 222154, XrefRangeEnd = 222217, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe SoccerDemo()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoccerDemo.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007948 RID: 31048 RVA: 0x001EE870 File Offset: 0x001ECA70
		// Note: this type is marked as 'beforefieldinit'.
		static SoccerDemo()
		{
			Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "RootMotion.Demos", "SoccerDemo");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr);
			SoccerDemo.NativeFieldInfoPtr_animator = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr, "animator");
			SoccerDemo.NativeFieldInfoPtr_defaultPosition = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr, "defaultPosition");
			SoccerDemo.NativeFieldInfoPtr_defaultRotation = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr, "defaultRotation");
			SoccerDemo.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr, 100672421);
			SoccerDemo.NativeMethodInfoPtr_ResetDelayed_Private_IEnumerator_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr, 100672422);
			SoccerDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr, 100672423);
		}

		// Token: 0x06007949 RID: 31049 RVA: 0x0000351C File Offset: 0x0000171C
		public SoccerDemo(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700296D RID: 10605
		// (get) Token: 0x0600794A RID: 31050 RVA: 0x001EE918 File Offset: 0x001ECB18
		// (set) Token: 0x0600794B RID: 31051 RVA: 0x001EE94C File Offset: 0x001ECB4C
		public unsafe Animator animator
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo.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(SoccerDemo.NativeFieldInfoPtr_animator), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700296E RID: 10606
		// (get) Token: 0x0600794C RID: 31052 RVA: 0x001EE974 File Offset: 0x001ECB74
		// (set) Token: 0x0600794D RID: 31053 RVA: 0x001EE99C File Offset: 0x001ECB9C
		public unsafe Vector3 defaultPosition
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo.NativeFieldInfoPtr_defaultPosition);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo.NativeFieldInfoPtr_defaultPosition)) = value;
			}
		}

		// Token: 0x1700296F RID: 10607
		// (get) Token: 0x0600794E RID: 31054 RVA: 0x001EE9C0 File Offset: 0x001ECBC0
		// (set) Token: 0x0600794F RID: 31055 RVA: 0x001EE9E8 File Offset: 0x001ECBE8
		public unsafe Quaternion defaultRotation
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo.NativeFieldInfoPtr_defaultRotation);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo.NativeFieldInfoPtr_defaultRotation)) = value;
			}
		}

		// Token: 0x04005126 RID: 20774
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x04005127 RID: 20775
		private static readonly IntPtr NativeFieldInfoPtr_defaultPosition;

		// Token: 0x04005128 RID: 20776
		private static readonly IntPtr NativeFieldInfoPtr_defaultRotation;

		// Token: 0x04005129 RID: 20777
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x0400512A RID: 20778
		private static readonly IntPtr NativeMethodInfoPtr_ResetDelayed_Private_IEnumerator_0;

		// Token: 0x0400512B RID: 20779
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x020003E4 RID: 996
		[ObfuscatedName("RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4")]
		public sealed class _ResetDelayed_d__4 : Il2CppSystem.Object
		{
			// Token: 0x06007950 RID: 31056 RVA: 0x001EEA0C File Offset: 0x001ECC0C
			[CallerCount(323)]
			[CachedScanResults(RefRangeStart = 12254, RefRangeEnd = 12577, XrefRangeStart = 12254, XrefRangeEnd = 12577, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			public unsafe _ResetDelayed_d__4(int <>1__state)
				: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr))
			{
				checked
				{
					IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
					*ptr = ref <>1__state;
					IntPtr intPtr2;
					IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr__ctor_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
					Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				}
			}

			// Token: 0x06007951 RID: 31057 RVA: 0x001EEA6C File Offset: 0x001ECC6C
			[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(SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}

			// Token: 0x06007952 RID: 31058 RVA: 0x001EEAB0 File Offset: 0x001ECCB0
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592913, XrefRangeEnd = 592915, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			public unsafe bool MoveNext()
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoccerDemo._ResetDelayed_d__4.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: 0x17002973 RID: 10611
			// (get) Token: 0x06007953 RID: 31059 RVA: 0x001EEB00 File Offset: 0x001ECD00
			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(SoccerDemo._ResetDelayed_d__4.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: 0x06007954 RID: 31060 RVA: 0x001EEB58 File Offset: 0x001ECD58
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 592915, XrefRangeEnd = 592920, 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(SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}

			// Token: 0x17002974 RID: 10612
			// (get) Token: 0x06007955 RID: 31061 RVA: 0x001EEB9C File Offset: 0x001ECD9C
			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(SoccerDemo._ResetDelayed_d__4.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: 0x06007956 RID: 31062 RVA: 0x001EEBF4 File Offset: 0x001ECDF4
			// Note: this type is marked as 'beforefieldinit'.
			static _ResetDelayed_d__4()
			{
				Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr, "<ResetDelayed>d__4");
				IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr);
				SoccerDemo._ResetDelayed_d__4.NativeFieldInfoPtr___1__state = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, "<>1__state");
				SoccerDemo._ResetDelayed_d__4.NativeFieldInfoPtr___2__current = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, "<>2__current");
				SoccerDemo._ResetDelayed_d__4.NativeFieldInfoPtr___4__this = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, "<>4__this");
				SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr__ctor_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, 100672424);
				SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, 100672425);
				SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, 100672426);
				SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, 100672427);
				SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, 100672428);
				SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, 100672429);
			}

			// Token: 0x06007957 RID: 31063 RVA: 0x0000A688 File Offset: 0x00008888
			public _ResetDelayed_d__4(IntPtr pointer)
				: base(pointer)
			{
			}

			// Token: 0x17002970 RID: 10608
			// (get) Token: 0x06007958 RID: 31064 RVA: 0x001EECD4 File Offset: 0x001ECED4
			// (set) Token: 0x06007959 RID: 31065 RVA: 0x001EECFC File Offset: 0x001ECEFC
			public unsafe int __1__state
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo._ResetDelayed_d__4.NativeFieldInfoPtr___1__state);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo._ResetDelayed_d__4.NativeFieldInfoPtr___1__state)) = value;
				}
			}

			// Token: 0x17002971 RID: 10609
			// (get) Token: 0x0600795A RID: 31066 RVA: 0x001EED20 File Offset: 0x001ECF20
			// (set) Token: 0x0600795B RID: 31067 RVA: 0x001EED54 File Offset: 0x001ECF54
			public unsafe Il2CppSystem.Object __2__current
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo._ResetDelayed_d__4.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(SoccerDemo._ResetDelayed_d__4.NativeFieldInfoPtr___2__current), IL2CPP.Il2CppObjectBaseToPtr(value));
				}
			}

			// Token: 0x17002972 RID: 10610
			// (get) Token: 0x0600795C RID: 31068 RVA: 0x001EED7C File Offset: 0x001ECF7C
			// (set) Token: 0x0600795D RID: 31069 RVA: 0x001EEDB0 File Offset: 0x001ECFB0
			public unsafe SoccerDemo __4__this
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo._ResetDelayed_d__4.NativeFieldInfoPtr___4__this);
					IntPtr intPtr2 = *intPtr;
					return (intPtr2 != 0) ? new SoccerDemo(intPtr2) : null;
				}
				set
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
					IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoccerDemo._ResetDelayed_d__4.NativeFieldInfoPtr___4__this), IL2CPP.Il2CppObjectBaseToPtr(value));
				}
			}

			// Token: 0x0400512C RID: 20780
			private static readonly IntPtr NativeFieldInfoPtr___1__state;

			// Token: 0x0400512D RID: 20781
			private static readonly IntPtr NativeFieldInfoPtr___2__current;

			// Token: 0x0400512E RID: 20782
			private static readonly IntPtr NativeFieldInfoPtr___4__this;

			// Token: 0x0400512F RID: 20783
			private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;

			// Token: 0x04005130 RID: 20784
			private static readonly IntPtr NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0;

			// Token: 0x04005131 RID: 20785
			private static readonly IntPtr NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0;

			// Token: 0x04005132 RID: 20786
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0;

			// Token: 0x04005133 RID: 20787
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0;

			// Token: 0x04005134 RID: 20788
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0;
		}
	}
}
