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

// Token: 0x0200039C RID: 924
public class CFX_AutoDestructShuriken : MonoBehaviour
{
	// Token: 0x06007840 RID: 30784 RVA: 0x001E9364 File Offset: 0x001E7564
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616910, XrefRangeEnd = 616913, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnEnable()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken.NativeMethodInfoPtr_OnEnable_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007841 RID: 30785 RVA: 0x001E93A8 File Offset: 0x001E75A8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616913, XrefRangeEnd = 616918, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe IEnumerator CheckIfAlive()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken.NativeMethodInfoPtr_CheckIfAlive_Private_IEnumerator_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new IEnumerator(intPtr3) : null;
	}

	// Token: 0x06007842 RID: 30786 RVA: 0x001E9400 File Offset: 0x001E7600
	[CallerCount(67)]
	[CachedScanResults(RefRangeStart = 166362, RefRangeEnd = 166429, XrefRangeStart = 166362, XrefRangeEnd = 166429, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe CFX_AutoDestructShuriken()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06007843 RID: 30787 RVA: 0x001E944C File Offset: 0x001E764C
	// Note: this type is marked as 'beforefieldinit'.
	static CFX_AutoDestructShuriken()
	{
		Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "CFX_AutoDestructShuriken");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr);
		CFX_AutoDestructShuriken.NativeFieldInfoPtr_OnlyDeactivate = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, "OnlyDeactivate");
		CFX_AutoDestructShuriken.NativeMethodInfoPtr_OnEnable_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, 100672335);
		CFX_AutoDestructShuriken.NativeMethodInfoPtr_CheckIfAlive_Private_IEnumerator_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, 100672336);
		CFX_AutoDestructShuriken.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, 100672337);
	}

	// Token: 0x06007844 RID: 30788 RVA: 0x0000351C File Offset: 0x0000171C
	public CFX_AutoDestructShuriken(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17002941 RID: 10561
	// (get) Token: 0x06007845 RID: 30789 RVA: 0x001E94CC File Offset: 0x001E76CC
	// (set) Token: 0x06007846 RID: 30790 RVA: 0x001E94F4 File Offset: 0x001E76F4
	public unsafe bool OnlyDeactivate
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken.NativeFieldInfoPtr_OnlyDeactivate);
			return *intPtr;
		}
		set
		{
			*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken.NativeFieldInfoPtr_OnlyDeactivate)) = value;
		}
	}

	// Token: 0x04004FFA RID: 20474
	private static readonly IntPtr NativeFieldInfoPtr_OnlyDeactivate;

	// Token: 0x04004FFB RID: 20475
	private static readonly IntPtr NativeMethodInfoPtr_OnEnable_Private_Void_0;

	// Token: 0x04004FFC RID: 20476
	private static readonly IntPtr NativeMethodInfoPtr_CheckIfAlive_Private_IEnumerator_0;

	// Token: 0x04004FFD RID: 20477
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x0200039D RID: 925
	[ObfuscatedName("CFX_AutoDestructShuriken/<CheckIfAlive>d__2")]
	public sealed class _CheckIfAlive_d__2 : Il2CppSystem.Object
	{
		// Token: 0x06007847 RID: 30791 RVA: 0x001E9518 File Offset: 0x001E7718
		[CallerCount(350)]
		[CachedScanResults(RefRangeStart = 11975, RefRangeEnd = 12325, XrefRangeStart = 11975, XrefRangeEnd = 12325, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe _CheckIfAlive_d__2(int <>1__state)
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr))
		{
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = ref <>1__state;
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr__ctor_Public_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x06007848 RID: 30792 RVA: 0x001E9578 File Offset: 0x001E7778
		[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(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06007849 RID: 30793 RVA: 0x001E95BC File Offset: 0x001E77BC
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616894, XrefRangeEnd = 616905, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe bool MoveNext()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(CFX_AutoDestructShuriken._CheckIfAlive_d__2.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: 0x17002945 RID: 10565
		// (get) Token: 0x0600784A RID: 30794 RVA: 0x001E960C File Offset: 0x001E780C
		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(CFX_AutoDestructShuriken._CheckIfAlive_d__2.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: 0x0600784B RID: 30795 RVA: 0x001E9664 File Offset: 0x001E7864
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 616905, XrefRangeEnd = 616910, 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(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x17002946 RID: 10566
		// (get) Token: 0x0600784C RID: 30796 RVA: 0x001E96A8 File Offset: 0x001E78A8
		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(CFX_AutoDestructShuriken._CheckIfAlive_d__2.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: 0x0600784D RID: 30797 RVA: 0x001E9700 File Offset: 0x001E7900
		// Note: this type is marked as 'beforefieldinit'.
		static _CheckIfAlive_d__2()
		{
			Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<CFX_AutoDestructShuriken>.NativeClassPtr, "<CheckIfAlive>d__2");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___1__state = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, "<>1__state");
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___2__current = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, "<>2__current");
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___4__this = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, "<>4__this");
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr__ctor_Public_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100672338);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100672339);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100672340);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100672341);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100672342);
			CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<CFX_AutoDestructShuriken._CheckIfAlive_d__2>.NativeClassPtr, 100672343);
		}

		// Token: 0x0600784E RID: 30798 RVA: 0x0000A74C File Offset: 0x0000894C
		public _CheckIfAlive_d__2(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x17002942 RID: 10562
		// (get) Token: 0x0600784F RID: 30799 RVA: 0x001E97E0 File Offset: 0x001E79E0
		// (set) Token: 0x06007850 RID: 30800 RVA: 0x001E9808 File Offset: 0x001E7A08
		public unsafe int __1__state
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___1__state);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___1__state)) = value;
			}
		}

		// Token: 0x17002943 RID: 10563
		// (get) Token: 0x06007851 RID: 30801 RVA: 0x001E982C File Offset: 0x001E7A2C
		// (set) Token: 0x06007852 RID: 30802 RVA: 0x001E9860 File Offset: 0x001E7A60
		public unsafe Il2CppSystem.Object __2__current
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.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(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___2__current), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x17002944 RID: 10564
		// (get) Token: 0x06007853 RID: 30803 RVA: 0x001E9888 File Offset: 0x001E7A88
		// (set) Token: 0x06007854 RID: 30804 RVA: 0x001E98BC File Offset: 0x001E7ABC
		public unsafe CFX_AutoDestructShuriken __4__this
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___4__this);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new CFX_AutoDestructShuriken(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(CFX_AutoDestructShuriken._CheckIfAlive_d__2.NativeFieldInfoPtr___4__this), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x04004FFE RID: 20478
		private static readonly IntPtr NativeFieldInfoPtr___1__state;

		// Token: 0x04004FFF RID: 20479
		private static readonly IntPtr NativeFieldInfoPtr___2__current;

		// Token: 0x04005000 RID: 20480
		private static readonly IntPtr NativeFieldInfoPtr___4__this;

		// Token: 0x04005001 RID: 20481
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_Int32_0;

		// Token: 0x04005002 RID: 20482
		private static readonly IntPtr NativeMethodInfoPtr_System_IDisposable_Dispose_Private_Virtual_Final_New_Void_0;

		// Token: 0x04005003 RID: 20483
		private static readonly IntPtr NativeMethodInfoPtr_MoveNext_Private_Virtual_Final_New_Boolean_0;

		// Token: 0x04005004 RID: 20484
		private static readonly IntPtr NativeMethodInfoPtr_System_Collections_Generic_IEnumerator_System_Object__get_Current_Private_Virtual_Final_New_get_Object_0;

		// Token: 0x04005005 RID: 20485
		private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_Reset_Private_Virtual_Final_New_Void_0;

		// Token: 0x04005006 RID: 20486
		private static readonly IntPtr NativeMethodInfoPtr_System_Collections_IEnumerator_get_Current_Private_Virtual_Final_New_get_Object_0;
	}
}
