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

// Token: 0x0200001F RID: 31
public class SoundEffectPool : Il2CppSystem.Object
{
	// Token: 0x06000332 RID: 818 RVA: 0x0000E314 File Offset: 0x0000C514
	[CallerCount(20)]
	[CachedScanResults(RefRangeStart = 470036, RefRangeEnd = 470056, XrefRangeStart = 469993, XrefRangeEnd = 470036, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SoundEffectPool(string soundEffectName, string rootPath, Transform root, int size, bool affectTimeScale = true)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr))
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)5) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.ManagedStringToIl2Cpp(soundEffectName);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.ManagedStringToIl2Cpp(rootPath);
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(root);
		ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref size;
		ptr[checked(unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref affectTimeScale;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr__ctor_Public_Void_String_String_Transform_Int32_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06000333 RID: 819 RVA: 0x0000E3CC File Offset: 0x0000C5CC
	[CallerCount(64)]
	[CachedScanResults(RefRangeStart = 470094, RefRangeEnd = 470158, XrefRangeStart = 470056, XrefRangeEnd = 470094, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SoundEffectPool(GameObject soundEffectObj, Transform root, int size, bool affectTimeScale = true)
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr))
	{
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(soundEffectObj);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(root);
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref size;
		ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref affectTimeScale;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr__ctor_Public_Void_GameObject_Transform_Int32_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06000334 RID: 820 RVA: 0x0000E46C File Offset: 0x0000C66C
	[CallerCount(71)]
	[CachedScanResults(RefRangeStart = 470162, RefRangeEnd = 470233, XrefRangeStart = 470158, XrefRangeEnd = 470162, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void Update()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr_Update_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06000335 RID: 821 RVA: 0x0000E4B0 File Offset: 0x0000C6B0
	[CallerCount(101)]
	[CachedScanResults(RefRangeStart = 470243, RefRangeEnd = 470344, XrefRangeStart = 470233, XrefRangeEnd = 470243, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void NewUse(Vector3 position, Quaternion rotation)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref position;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref rotation;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr_NewUse_Public_Void_Vector3_Quaternion_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06000336 RID: 822 RVA: 0x0000E518 File Offset: 0x0000C718
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 470354, RefRangeEnd = 470357, XrefRangeStart = 470344, XrefRangeEnd = 470354, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void NewUse(Vector3 position, Quaternion rotation, int clipIndex, float volume = 1f, float pitch = 1f)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)5) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref position;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref rotation;
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref clipIndex;
		ptr[checked(unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref volume;
		ptr[checked(unchecked((UIntPtr)4) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref pitch;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr_NewUse_Public_Void_Vector3_Quaternion_Int32_Single_Single_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06000337 RID: 823 RVA: 0x0000E5B8 File Offset: 0x0000C7B8
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 470365, RefRangeEnd = 470368, XrefRangeStart = 470357, XrefRangeEnd = 470365, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe SoundEffect GetNewSoundEffect(Vector3 position, Quaternion rotation)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref position;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref rotation;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr_GetNewSoundEffect_Public_SoundEffect_Vector3_Quaternion_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new SoundEffect(intPtr3) : null;
	}

	// Token: 0x06000338 RID: 824 RVA: 0x0000E634 File Offset: 0x0000C834
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 470372, RefRangeEnd = 470375, XrefRangeStart = 470368, XrefRangeEnd = 470372, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void ProcessActiveAll(Action<SoundEffect> processor)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(processor);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr_ProcessActiveAll_Public_Void_Action_1_SoundEffect_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06000339 RID: 825 RVA: 0x0000E690 File Offset: 0x0000C890
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 470375, XrefRangeEnd = 470379, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe virtual void Dispose()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr_Dispose_Public_Virtual_Final_New_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600033A RID: 826 RVA: 0x0000E6D4 File Offset: 0x0000C8D4
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 470388, RefRangeEnd = 470390, XrefRangeStart = 470379, XrefRangeEnd = 470388, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void RegisterSoundEffectProcessor()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr_RegisterSoundEffectProcessor_Private_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x0600033B RID: 827 RVA: 0x0000E718 File Offset: 0x0000C918
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 470390, XrefRangeEnd = 470394, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void _RegisterSoundEffectProcessor_b__10_0(SoundEffect soundEffect)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(soundEffect);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.NativeMethodInfoPtr__RegisterSoundEffectProcessor_b__10_0_Private_Void_SoundEffect_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x0600033C RID: 828 RVA: 0x0000E774 File Offset: 0x0000C974
	// Note: this type is marked as 'beforefieldinit'.
	static SoundEffectPool()
	{
		Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "SoundEffectPool");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr);
		SoundEffectPool.NativeFieldInfoPtr_pooledSoundEffects = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, "pooledSoundEffects");
		SoundEffectPool.NativeFieldInfoPtr_soundEffectProcessor = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, "soundEffectProcessor");
		SoundEffectPool.NativeMethodInfoPtr__ctor_Public_Void_String_String_Transform_Int32_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663501);
		SoundEffectPool.NativeMethodInfoPtr__ctor_Public_Void_GameObject_Transform_Int32_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663502);
		SoundEffectPool.NativeMethodInfoPtr_Update_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663503);
		SoundEffectPool.NativeMethodInfoPtr_NewUse_Public_Void_Vector3_Quaternion_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663504);
		SoundEffectPool.NativeMethodInfoPtr_NewUse_Public_Void_Vector3_Quaternion_Int32_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663505);
		SoundEffectPool.NativeMethodInfoPtr_GetNewSoundEffect_Public_SoundEffect_Vector3_Quaternion_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663506);
		SoundEffectPool.NativeMethodInfoPtr_ProcessActiveAll_Public_Void_Action_1_SoundEffect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663507);
		SoundEffectPool.NativeMethodInfoPtr_Dispose_Public_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663508);
		SoundEffectPool.NativeMethodInfoPtr_RegisterSoundEffectProcessor_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663509);
		SoundEffectPool.NativeMethodInfoPtr__RegisterSoundEffectProcessor_b__10_0_Private_Void_SoundEffect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663510);
	}

	// Token: 0x0600033D RID: 829 RVA: 0x0000A688 File Offset: 0x00008888
	public SoundEffectPool(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17000129 RID: 297
	// (get) Token: 0x0600033E RID: 830 RVA: 0x0000E894 File Offset: 0x0000CA94
	// (set) Token: 0x0600033F RID: 831 RVA: 0x0000E8C8 File Offset: 0x0000CAC8
	public unsafe GameObjectPoolLimited<SoundEffect> pooledSoundEffects
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.NativeFieldInfoPtr_pooledSoundEffects);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new GameObjectPoolLimited<SoundEffect>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.NativeFieldInfoPtr_pooledSoundEffects), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x1700012A RID: 298
	// (get) Token: 0x06000340 RID: 832 RVA: 0x0000E8F0 File Offset: 0x0000CAF0
	// (set) Token: 0x06000341 RID: 833 RVA: 0x0000E924 File Offset: 0x0000CB24
	public unsafe Action<SoundEffect> soundEffectProcessor
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.NativeFieldInfoPtr_soundEffectProcessor);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Action<SoundEffect>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.NativeFieldInfoPtr_soundEffectProcessor), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040001F3 RID: 499
	private static readonly IntPtr NativeFieldInfoPtr_pooledSoundEffects;

	// Token: 0x040001F4 RID: 500
	private static readonly IntPtr NativeFieldInfoPtr_soundEffectProcessor;

	// Token: 0x040001F5 RID: 501
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_String_String_Transform_Int32_Boolean_0;

	// Token: 0x040001F6 RID: 502
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_GameObject_Transform_Int32_Boolean_0;

	// Token: 0x040001F7 RID: 503
	private static readonly IntPtr NativeMethodInfoPtr_Update_Public_Void_0;

	// Token: 0x040001F8 RID: 504
	private static readonly IntPtr NativeMethodInfoPtr_NewUse_Public_Void_Vector3_Quaternion_0;

	// Token: 0x040001F9 RID: 505
	private static readonly IntPtr NativeMethodInfoPtr_NewUse_Public_Void_Vector3_Quaternion_Int32_Single_Single_0;

	// Token: 0x040001FA RID: 506
	private static readonly IntPtr NativeMethodInfoPtr_GetNewSoundEffect_Public_SoundEffect_Vector3_Quaternion_0;

	// Token: 0x040001FB RID: 507
	private static readonly IntPtr NativeMethodInfoPtr_ProcessActiveAll_Public_Void_Action_1_SoundEffect_0;

	// Token: 0x040001FC RID: 508
	private static readonly IntPtr NativeMethodInfoPtr_Dispose_Public_Virtual_Final_New_Void_0;

	// Token: 0x040001FD RID: 509
	private static readonly IntPtr NativeMethodInfoPtr_RegisterSoundEffectProcessor_Private_Void_0;

	// Token: 0x040001FE RID: 510
	private static readonly IntPtr NativeMethodInfoPtr__RegisterSoundEffectProcessor_b__10_0_Private_Void_SoundEffect_0;

	// Token: 0x02000020 RID: 32
	[ObfuscatedName("SoundEffectPool/<>c__DisplayClass2_0")]
	public sealed class __c__DisplayClass2_0 : Il2CppSystem.Object
	{
		// Token: 0x06000342 RID: 834 RVA: 0x0000E94C File Offset: 0x0000CB4C
		[CallerCount(1642)]
		[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe __c__DisplayClass2_0()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.__c__DisplayClass2_0.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x06000343 RID: 835 RVA: 0x0000E998 File Offset: 0x0000CB98
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 469977, XrefRangeEnd = 469983, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe GameObject __ctor_b__0()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.__c__DisplayClass2_0.NativeMethodInfoPtr___ctor_b__0_Internal_GameObject_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new GameObject(intPtr3) : null;
		}

		// Token: 0x06000344 RID: 836 RVA: 0x0000E9F0 File Offset: 0x0000CBF0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 469983, XrefRangeEnd = 469988, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void __ctor_b__1(SoundEffect soulEffect)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(soulEffect);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.__c__DisplayClass2_0.NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x06000345 RID: 837 RVA: 0x0000EA4C File Offset: 0x0000CC4C
		// Note: this type is marked as 'beforefieldinit'.
		static __c__DisplayClass2_0()
		{
			Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, "<>c__DisplayClass2_0");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr);
			SoundEffectPool.__c__DisplayClass2_0.NativeFieldInfoPtr_soundEffectName = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr, "soundEffectName");
			SoundEffectPool.__c__DisplayClass2_0.NativeFieldInfoPtr_affectTimeScale = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr, "affectTimeScale");
			SoundEffectPool.__c__DisplayClass2_0.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr, 100663511);
			SoundEffectPool.__c__DisplayClass2_0.NativeMethodInfoPtr___ctor_b__0_Internal_GameObject_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr, 100663512);
			SoundEffectPool.__c__DisplayClass2_0.NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr, 100663513);
		}

		// Token: 0x06000346 RID: 838 RVA: 0x0000A688 File Offset: 0x00008888
		public __c__DisplayClass2_0(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700012B RID: 299
		// (get) Token: 0x06000347 RID: 839 RVA: 0x0000EADC File Offset: 0x0000CCDC
		// (set) Token: 0x06000348 RID: 840 RVA: 0x0000EB05 File Offset: 0x0000CD05
		public unsafe string soundEffectName
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.__c__DisplayClass2_0.NativeFieldInfoPtr_soundEffectName);
				return IL2CPP.Il2CppStringToManaged(*intPtr);
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.__c__DisplayClass2_0.NativeFieldInfoPtr_soundEffectName), IL2CPP.ManagedStringToIl2Cpp(value));
			}
		}

		// Token: 0x1700012C RID: 300
		// (get) Token: 0x06000349 RID: 841 RVA: 0x0000EB2C File Offset: 0x0000CD2C
		// (set) Token: 0x0600034A RID: 842 RVA: 0x0000EB54 File Offset: 0x0000CD54
		public unsafe bool affectTimeScale
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.__c__DisplayClass2_0.NativeFieldInfoPtr_affectTimeScale);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.__c__DisplayClass2_0.NativeFieldInfoPtr_affectTimeScale)) = value;
			}
		}

		// Token: 0x040001FF RID: 511
		private static readonly IntPtr NativeFieldInfoPtr_soundEffectName;

		// Token: 0x04000200 RID: 512
		private static readonly IntPtr NativeFieldInfoPtr_affectTimeScale;

		// Token: 0x04000201 RID: 513
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x04000202 RID: 514
		private static readonly IntPtr NativeMethodInfoPtr___ctor_b__0_Internal_GameObject_0;

		// Token: 0x04000203 RID: 515
		private static readonly IntPtr NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0;
	}

	// Token: 0x02000021 RID: 33
	[ObfuscatedName("SoundEffectPool/<>c__DisplayClass3_0")]
	public sealed class __c__DisplayClass3_0 : Il2CppSystem.Object
	{
		// Token: 0x0600034B RID: 843 RVA: 0x0000EB78 File Offset: 0x0000CD78
		[CallerCount(1642)]
		[CachedScanResults(RefRangeStart = 7417, RefRangeEnd = 9059, XrefRangeStart = 7417, XrefRangeEnd = 9059, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe __c__DisplayClass3_0()
			: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr))
		{
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.__c__DisplayClass3_0.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}

		// Token: 0x0600034C RID: 844 RVA: 0x0000EBC4 File Offset: 0x0000CDC4
		[CallerCount(9)]
		[CachedScanResults(RefRangeStart = 7244, RefRangeEnd = 7253, XrefRangeStart = 7244, XrefRangeEnd = 7253, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe GameObject __ctor_b__0()
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IntPtr* ptr = null;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.__c__DisplayClass3_0.NativeMethodInfoPtr___ctor_b__0_Internal_GameObject_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new GameObject(intPtr3) : null;
		}

		// Token: 0x0600034D RID: 845 RVA: 0x0000EC1C File Offset: 0x0000CE1C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 469988, XrefRangeEnd = 469993, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
		public unsafe void __ctor_b__1(SoundEffect soulEffect)
		{
			IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			checked
			{
				IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
				*ptr = IL2CPP.Il2CppObjectBaseToPtr(soulEffect);
				IntPtr intPtr2;
				IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(SoundEffectPool.__c__DisplayClass3_0.NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
				Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			}
		}

		// Token: 0x0600034E RID: 846 RVA: 0x0000EC78 File Offset: 0x0000CE78
		// Note: this type is marked as 'beforefieldinit'.
		static __c__DisplayClass3_0()
		{
			Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr = IL2CPP.GetIl2CppNestedType(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, "<>c__DisplayClass3_0");
			IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr);
			SoundEffectPool.__c__DisplayClass3_0.NativeFieldInfoPtr_soundEffectObj = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr, "soundEffectObj");
			SoundEffectPool.__c__DisplayClass3_0.NativeFieldInfoPtr_affectTimeScale = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr, "affectTimeScale");
			SoundEffectPool.__c__DisplayClass3_0.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr, 100663514);
			SoundEffectPool.__c__DisplayClass3_0.NativeMethodInfoPtr___ctor_b__0_Internal_GameObject_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr, 100663515);
			SoundEffectPool.__c__DisplayClass3_0.NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr, 100663516);
		}

		// Token: 0x0600034F RID: 847 RVA: 0x0000A688 File Offset: 0x00008888
		public __c__DisplayClass3_0(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700012D RID: 301
		// (get) Token: 0x06000350 RID: 848 RVA: 0x0000ED08 File Offset: 0x0000CF08
		// (set) Token: 0x06000351 RID: 849 RVA: 0x0000ED3C File Offset: 0x0000CF3C
		public unsafe GameObject soundEffectObj
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.__c__DisplayClass3_0.NativeFieldInfoPtr_soundEffectObj);
				IntPtr intPtr2 = *intPtr;
				return (intPtr2 != 0) ? new GameObject(intPtr2) : null;
			}
			set
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
				IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.__c__DisplayClass3_0.NativeFieldInfoPtr_soundEffectObj), IL2CPP.Il2CppObjectBaseToPtr(value));
			}
		}

		// Token: 0x1700012E RID: 302
		// (get) Token: 0x06000352 RID: 850 RVA: 0x0000ED64 File Offset: 0x0000CF64
		// (set) Token: 0x06000353 RID: 851 RVA: 0x0000ED8C File Offset: 0x0000CF8C
		public unsafe bool affectTimeScale
		{
			get
			{
				IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.__c__DisplayClass3_0.NativeFieldInfoPtr_affectTimeScale);
				return *intPtr;
			}
			set
			{
				*(IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(SoundEffectPool.__c__DisplayClass3_0.NativeFieldInfoPtr_affectTimeScale)) = value;
			}
		}

		// Token: 0x04000204 RID: 516
		private static readonly IntPtr NativeFieldInfoPtr_soundEffectObj;

		// Token: 0x04000205 RID: 517
		private static readonly IntPtr NativeFieldInfoPtr_affectTimeScale;

		// Token: 0x04000206 RID: 518
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x04000207 RID: 519
		private static readonly IntPtr NativeMethodInfoPtr___ctor_b__0_Internal_GameObject_0;

		// Token: 0x04000208 RID: 520
		private static readonly IntPtr NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0;
	}
}
