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

namespace PowerUpVFX
{
	// Token: 0x020005A4 RID: 1444
	public class DemoManager : MonoBehaviour
	{
		// Token: 0x060098FD RID: 39165 RVA: 0x002743DC File Offset: 0x002725DC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618056, XrefRangeEnd = 618070, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Start()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DemoManager.NativeMethodInfoPtr_Start_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060098FE RID: 39166 RVA: 0x00274420 File Offset: 0x00272620
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618070, XrefRangeEnd = 618106, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void Update()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DemoManager.NativeMethodInfoPtr_Update_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x060098FF RID: 39167 RVA: 0x00274464 File Offset: 0x00272664
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618106, XrefRangeEnd = 618111, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe IEnumerator RestartAnim()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DemoManager.NativeMethodInfoPtr_RestartAnim_Private_IEnumerator_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new IEnumerator(intPtr3) : null;
		}

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

		// Token: 0x06009901 RID: 39169 RVA: 0x00274508 File Offset: 0x00272708
		// Note: this type is marked as 'beforefieldinit'.
		static DemoManager()
		{
			Il2CppClassPointerStore<DemoManager>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "PowerUpVFX", "DemoManager");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DemoManager>.NativeClassPtr);
			DemoManager.NativeFieldInfoPtr_main_camera = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, "main_camera");
			DemoManager.NativeFieldInfoPtr_RestartThis = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, "RestartThis");
			DemoManager.NativeMethodInfoPtr_Start_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, 100675203);
			DemoManager.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, 100675204);
			DemoManager.NativeMethodInfoPtr_RestartAnim_Private_IEnumerator_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, 100675205);
			DemoManager.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, 100675206);
		}

		// Token: 0x06009902 RID: 39170 RVA: 0x0000351C File Offset: 0x0000171C
		public DemoManager(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x170033C5 RID: 13253
		// (get) Token: 0x06009903 RID: 39171 RVA: 0x002745B0 File Offset: 0x002727B0
		// (set) Token: 0x06009904 RID: 39172 RVA: 0x002745E4 File Offset: 0x002727E4
		public unsafe Camera main_camera
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoManager.NativeFieldInfoPtr_main_camera);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Camera(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoManager.NativeFieldInfoPtr_main_camera), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x170033C6 RID: 13254
		// (get) Token: 0x06009905 RID: 39173 RVA: 0x0027460C File Offset: 0x0027280C
		// (set) Token: 0x06009906 RID: 39174 RVA: 0x00274640 File Offset: 0x00272840
		public unsafe Il2CppReferenceArray<GameObject> RestartThis
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoManager.NativeFieldInfoPtr_RestartThis);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new Il2CppReferenceArray<GameObject>(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoManager.NativeFieldInfoPtr_RestartThis), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04006692 RID: 26258
		private static readonly IntPtr NativeFieldInfoPtr_main_camera;

		// Token: 0x04006693 RID: 26259
		private static readonly IntPtr NativeFieldInfoPtr_RestartThis;

		// Token: 0x04006694 RID: 26260
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04006695 RID: 26261
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x04006696 RID: 26262
		private static readonly IntPtr NativeMethodInfoPtr_RestartAnim_Private_IEnumerator_0;

		// Token: 0x04006697 RID: 26263
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x020005A5 RID: 1445
		[ObfuscatedName("PowerUpVFX.DemoManager/<RestartAnim>d__4")]
		public sealed class _RestartAnim_d__4 : Il2CppSystem.Object
		{
			// Token: 0x06009907 RID: 39175 RVA: 0x00274668 File Offset: 0x00272868
			[CallerCount(323)]
			[CachedScanResults(RefRangeStart = 12254, RefRangeEnd = 12577, XrefRangeStart = 12254, XrefRangeEnd = 12577, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			public unsafe _RestartAnim_d__4(int <>1__state)
				: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<DemoManager._RestartAnim_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(DemoManager._RestartAnim_d__4.NativeMethodInfoPtr__ctor_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
					Il2CppException.RaiseExceptionIfNecessary(intPtr2);
				}
			}

			// Token: 0x06009908 RID: 39176 RVA: 0x002746C8 File Offset: 0x002728C8
			[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(DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}

			// Token: 0x06009909 RID: 39177 RVA: 0x0027470C File Offset: 0x0027290C
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618045, XrefRangeEnd = 618051, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
			public unsafe bool MoveNext()
			{
				IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IntPtr* ptr = null;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(DemoManager._RestartAnim_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: 0x170033CA RID: 13258
			// (get) Token: 0x0600990A RID: 39178 RVA: 0x0027475C File Offset: 0x0027295C
			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(DemoManager._RestartAnim_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: 0x0600990B RID: 39179 RVA: 0x002747B4 File Offset: 0x002729B4
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 618051, XrefRangeEnd = 618056, 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(DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}

			// Token: 0x170033CB RID: 13259
			// (get) Token: 0x0600990C RID: 39180 RVA: 0x002747F8 File Offset: 0x002729F8
			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(DemoManager._RestartAnim_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: 0x0600990D RID: 39181 RVA: 0x00274850 File Offset: 0x00272A50
			// Note: this type is marked as 'beforefieldinit'.
			static _RestartAnim_d__4()
			{
				Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, "<RestartAnim>d__4");
				IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr);
				DemoManager._RestartAnim_d__4.NativeFieldInfoPtr___1__state = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, "<>1__state");
				DemoManager._RestartAnim_d__4.NativeFieldInfoPtr___2__current = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, "<>2__current");
				DemoManager._RestartAnim_d__4.NativeFieldInfoPtr___4__this = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, "<>4__this");
				DemoManager._RestartAnim_d__4.NativeMethodInfoPtr__ctor_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, 100675207);
				DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, 100675208);
				DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, 100675209);
				DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, 100675210);
				DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, 100675211);
				DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, 100675212);
			}

			// Token: 0x0600990E RID: 39182 RVA: 0x0000A688 File Offset: 0x00008888
			public _RestartAnim_d__4(IntPtr pointer)
				: base(pointer)
			{
			}

			// Token: 0x170033C7 RID: 13255
			// (get) Token: 0x0600990F RID: 39183 RVA: 0x00274930 File Offset: 0x00272B30
			// (set) Token: 0x06009910 RID: 39184 RVA: 0x00274958 File Offset: 0x00272B58
			public unsafe int __1__state
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoManager._RestartAnim_d__4.NativeFieldInfoPtr___1__state);
					return *intPtr;
				}
				set
				{
					*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoManager._RestartAnim_d__4.NativeFieldInfoPtr___1__state)) = value;
				}
			}

			// Token: 0x170033C8 RID: 13256
			// (get) Token: 0x06009911 RID: 39185 RVA: 0x0027497C File Offset: 0x00272B7C
			// (set) Token: 0x06009912 RID: 39186 RVA: 0x002749B0 File Offset: 0x00272BB0
			public unsafe Il2CppSystem.Object __2__current
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoManager._RestartAnim_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(DemoManager._RestartAnim_d__4.NativeFieldInfoPtr___2__current), IL2CPP.Il2CppObjectBaseToPtr(value));
				}
			}

			// Token: 0x170033C9 RID: 13257
			// (get) Token: 0x06009913 RID: 39187 RVA: 0x002749D8 File Offset: 0x00272BD8
			// (set) Token: 0x06009914 RID: 39188 RVA: 0x00274A0C File Offset: 0x00272C0C
			public unsafe DemoManager __4__this
			{
				get
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoManager._RestartAnim_d__4.NativeFieldInfoPtr___4__this);
					IntPtr intPtr2 = *intPtr;
					return (intPtr2 != 0) ? new DemoManager(intPtr2) : null;
				}
				set
				{
					IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
					IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(DemoManager._RestartAnim_d__4.NativeFieldInfoPtr___4__this), IL2CPP.Il2CppObjectBaseToPtr(value));
				}
			}

			// Token: 0x04006698 RID: 26264
			private static readonly IntPtr NativeFieldInfoPtr___1__state;

			// Token: 0x04006699 RID: 26265
			private static readonly IntPtr NativeFieldInfoPtr___2__current;

			// Token: 0x0400669A RID: 26266
			private static readonly IntPtr NativeFieldInfoPtr___4__this;

			// Token: 0x0400669B RID: 26267
			private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;

			// Token: 0x0400669C RID: 26268
			private static readonly IntPtr NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0;

			// Token: 0x0400669D RID: 26269
			private static readonly IntPtr NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0;

			// Token: 0x0400669E RID: 26270
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0;

			// Token: 0x0400669F RID: 26271
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0;

			// Token: 0x040066A0 RID: 26272
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0;
		}
	}
}
