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

namespace PowerUpVFX
{
	// Token: 0x020005FC RID: 1532
	public class DemoManager : MonoBehaviour
	{
		// Token: 0x0600A150 RID: 41296 RVA: 0x00297118 File Offset: 0x00295318
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 650354, XrefRangeEnd = 650368, 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: 0x0600A151 RID: 41297 RVA: 0x0029715C File Offset: 0x0029535C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 650368, XrefRangeEnd = 650404, 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: 0x0600A152 RID: 41298 RVA: 0x002971A0 File Offset: 0x002953A0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 650404, XrefRangeEnd = 650409, 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: 0x0600A153 RID: 41299 RVA: 0x002971F8 File Offset: 0x002953F8
		[CallerCount(67)]
		[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, 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: 0x0600A154 RID: 41300 RVA: 0x00297244 File Offset: 0x00295444
		// 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, 100675916);
			DemoManager.NativeMethodInfoPtr_Update_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, 100675917);
			DemoManager.NativeMethodInfoPtr_RestartAnim_Private_IEnumerator_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, 100675918);
			DemoManager.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager>.NativeClassPtr, 100675919);
		}

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

		// Token: 0x17003660 RID: 13920
		// (get) Token: 0x0600A156 RID: 41302 RVA: 0x002972EC File Offset: 0x002954EC
		// (set) Token: 0x0600A157 RID: 41303 RVA: 0x00297320 File Offset: 0x00295520
		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: 0x17003661 RID: 13921
		// (get) Token: 0x0600A158 RID: 41304 RVA: 0x00297348 File Offset: 0x00295548
		// (set) Token: 0x0600A159 RID: 41305 RVA: 0x0029737C File Offset: 0x0029557C
		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: 0x04006C3B RID: 27707
		private static readonly IntPtr NativeFieldInfoPtr_main_camera;

		// Token: 0x04006C3C RID: 27708
		private static readonly IntPtr NativeFieldInfoPtr_RestartThis;

		// Token: 0x04006C3D RID: 27709
		private static readonly IntPtr NativeMethodInfoPtr_Start_Private_Void_0;

		// Token: 0x04006C3E RID: 27710
		private static readonly IntPtr NativeMethodInfoPtr_Update_Private_Void_0;

		// Token: 0x04006C3F RID: 27711
		private static readonly IntPtr NativeMethodInfoPtr_RestartAnim_Private_IEnumerator_0;

		// Token: 0x04006C40 RID: 27712
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x020005FD RID: 1533
		[ObfuscatedName("PowerUpVFX.DemoManager/<RestartAnim>d__4")]
		public sealed class _RestartAnim_d__4 : Il2CppSystem.Object
		{
			// Token: 0x0600A15A RID: 41306 RVA: 0x002973A4 File Offset: 0x002955A4
			[CallerCount(350)]
			[CachedScanResults(RefRangeStart = 11975, RefRangeEnd = 12325, XrefRangeStart = 11975, XrefRangeEnd = 12325, 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: 0x0600A15B RID: 41307 RVA: 0x00297404 File Offset: 0x00295604
			[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(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: 0x0600A15C RID: 41308 RVA: 0x00297448 File Offset: 0x00295648
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 650343, XrefRangeEnd = 650349, 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: 0x17003665 RID: 13925
			// (get) Token: 0x0600A15D RID: 41309 RVA: 0x00297498 File Offset: 0x00295698
			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(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: 0x0600A15E RID: 41310 RVA: 0x002974F0 File Offset: 0x002956F0
			[CallerCount(0)]
			[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 650349, XrefRangeEnd = 650354, 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: 0x17003666 RID: 13926
			// (get) Token: 0x0600A15F RID: 41311 RVA: 0x00297534 File Offset: 0x00295734
			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(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: 0x0600A160 RID: 41312 RVA: 0x0029758C File Offset: 0x0029578C
			// 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, 100675920);
				DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, 100675921);
				DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, 100675922);
				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, 100675923);
				DemoManager._RestartAnim_d__4.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<DemoManager._RestartAnim_d__4>.NativeClassPtr, 100675924);
				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, 100675925);
			}

			// Token: 0x0600A161 RID: 41313 RVA: 0x0000A74C File Offset: 0x0000894C
			public _RestartAnim_d__4(IntPtr pointer)
				: base(pointer)
			{
			}

			// Token: 0x17003662 RID: 13922
			// (get) Token: 0x0600A162 RID: 41314 RVA: 0x0029766C File Offset: 0x0029586C
			// (set) Token: 0x0600A163 RID: 41315 RVA: 0x00297694 File Offset: 0x00295894
			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: 0x17003663 RID: 13923
			// (get) Token: 0x0600A164 RID: 41316 RVA: 0x002976B8 File Offset: 0x002958B8
			// (set) Token: 0x0600A165 RID: 41317 RVA: 0x002976EC File Offset: 0x002958EC
			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: 0x17003664 RID: 13924
			// (get) Token: 0x0600A166 RID: 41318 RVA: 0x00297714 File Offset: 0x00295914
			// (set) Token: 0x0600A167 RID: 41319 RVA: 0x00297748 File Offset: 0x00295948
			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: 0x04006C41 RID: 27713
			private static readonly IntPtr NativeFieldInfoPtr___1__state;

			// Token: 0x04006C42 RID: 27714
			private static readonly IntPtr NativeFieldInfoPtr___2__current;

			// Token: 0x04006C43 RID: 27715
			private static readonly IntPtr NativeFieldInfoPtr___4__this;

			// Token: 0x04006C44 RID: 27716
			private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;

			// Token: 0x04006C45 RID: 27717
			private static readonly IntPtr NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0;

			// Token: 0x04006C46 RID: 27718
			private static readonly IntPtr NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0;

			// Token: 0x04006C47 RID: 27719
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0;

			// Token: 0x04006C48 RID: 27720
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0;

			// Token: 0x04006C49 RID: 27721
			private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0;
		}
	}
}
