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

namespace RootMotion.Demos
{
	// Token: 0x0200043B RID: 1083
	public class SoccerDemo : MonoBehaviour
	{
		// Token: 0x06008198 RID: 33176 RVA: 0x002114C4 File Offset: 0x0020F6C4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625234, XrefRangeEnd = 625249, 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: 0x06008199 RID: 33177 RVA: 0x00211508 File Offset: 0x0020F708
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625249, XrefRangeEnd = 625254, 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: 0x0600819A RID: 33178 RVA: 0x00211560 File Offset: 0x0020F760
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x0600819B RID: 33179 RVA: 0x002115AC File Offset: 0x0020F7AC
		// 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, 100673134);
			SoccerDemo.NativeMethodInfoPtr_ResetDelayed_Private_IEnumerator_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr, 100673135);
			SoccerDemo.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo>.NativeClassPtr, 100673136);
		}

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

		// Token: 0x17002C08 RID: 11272
		// (get) Token: 0x0600819D RID: 33181 RVA: 0x00211654 File Offset: 0x0020F854
		// (set) Token: 0x0600819E RID: 33182 RVA: 0x00211688 File Offset: 0x0020F888
		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: 0x17002C09 RID: 11273
		// (get) Token: 0x0600819F RID: 33183 RVA: 0x002116B0 File Offset: 0x0020F8B0
		// (set) Token: 0x060081A0 RID: 33184 RVA: 0x002116D8 File Offset: 0x0020F8D8
		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: 0x17002C0A RID: 11274
		// (get) Token: 0x060081A1 RID: 33185 RVA: 0x002116FC File Offset: 0x0020F8FC
		// (set) Token: 0x060081A2 RID: 33186 RVA: 0x00211724 File Offset: 0x0020F924
		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: 0x040056CF RID: 22223
		private static readonly IntPtr NativeFieldInfoPtr_animator;

		// Token: 0x040056D0 RID: 22224
		private static readonly IntPtr NativeFieldInfoPtr_defaultPosition;

		// Token: 0x040056D1 RID: 22225
		private static readonly IntPtr NativeFieldInfoPtr_defaultRotation;

		// Token: 0x040056D2 RID: 22226
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x040056D3 RID: 22227
		private static readonly IntPtr NativeMethodInfoPtr_ResetDelayed_Private_IEnumerator_0;

		// Token: 0x040056D4 RID: 22228
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x0200043C RID: 1084
		[ObfuscatedName("RootMotion.Demos.SoccerDemo/<ResetDelayed>d__4")]
		public sealed class _ResetDelayed_d__4 : Il2CppSystem.Object
		{
			// Token: 0x060081A3 RID: 33187 RVA: 0x00211748 File Offset: 0x0020F948
			[CallerCount(350)]
			[CachedScanResults(RefRangeStart = 11975, RefRangeEnd = 12325, XrefRangeStart = 11975, XrefRangeEnd = 12325, 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: 0x060081A4 RID: 33188 RVA: 0x002117A8 File Offset: 0x0020F9A8
			[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(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: 0x060081A5 RID: 33189 RVA: 0x002117EC File Offset: 0x0020F9EC
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625227, XrefRangeEnd = 625229, 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: 0x17002C0E RID: 11278
			// (get) Token: 0x060081A6 RID: 33190 RVA: 0x0021183C File Offset: 0x0020FA3C
			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(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: 0x060081A7 RID: 33191 RVA: 0x00211894 File Offset: 0x0020FA94
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 625229, XrefRangeEnd = 625234, 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: 0x17002C0F RID: 11279
			// (get) Token: 0x060081A8 RID: 33192 RVA: 0x002118D8 File Offset: 0x0020FAD8
			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(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: 0x060081A9 RID: 33193 RVA: 0x00211930 File Offset: 0x0020FB30
			// 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, 100673137);
				SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, 100673138);
				SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, 100673139);
				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, 100673140);
				SoccerDemo._ResetDelayed_d__4.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoccerDemo._ResetDelayed_d__4>.NativeClassPtr, 100673141);
				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, 100673142);
			}

			// Token: 0x060081AA RID: 33194 RVA: 0x0000A74C File Offset: 0x0000894C
			public _ResetDelayed_d__4(IntPtr pointer)
				: base(pointer)
			{
			}

			// Token: 0x17002C0B RID: 11275
			// (get) Token: 0x060081AB RID: 33195 RVA: 0x00211A10 File Offset: 0x0020FC10
			// (set) Token: 0x060081AC RID: 33196 RVA: 0x00211A38 File Offset: 0x0020FC38
			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: 0x17002C0C RID: 11276
			// (get) Token: 0x060081AD RID: 33197 RVA: 0x00211A5C File Offset: 0x0020FC5C
			// (set) Token: 0x060081AE RID: 33198 RVA: 0x00211A90 File Offset: 0x0020FC90
			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: 0x17002C0D RID: 11277
			// (get) Token: 0x060081AF RID: 33199 RVA: 0x00211AB8 File Offset: 0x0020FCB8
			// (set) Token: 0x060081B0 RID: 33200 RVA: 0x00211AEC File Offset: 0x0020FCEC
			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: 0x040056D5 RID: 22229
			private static readonly IntPtr NativeFieldInfoPtr___1__state;

			// Token: 0x040056D6 RID: 22230
			private static readonly IntPtr NativeFieldInfoPtr___2__current;

			// Token: 0x040056D7 RID: 22231
			private static readonly IntPtr NativeFieldInfoPtr___4__this;

			// Token: 0x040056D8 RID: 22232
			private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;

			// Token: 0x040056D9 RID: 22233
			private static readonly IntPtr NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0;

			// Token: 0x040056DA RID: 22234
			private static readonly IntPtr NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0;

			// Token: 0x040056DB RID: 22235
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0;

			// Token: 0x040056DC RID: 22236
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0;

			// Token: 0x040056DD RID: 22237
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0;
		}
	}
}
