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

// Token: 0x02000020 RID: 32
public class SoundEffectPool : Il2CppSystem.Object
{
	// Token: 0x06000335 RID: 821 RVA: 0x0000E3D8 File Offset: 0x0000C5D8
	[CallerCount(20)]
	[CachedScanResults(RefRangeStart = 489858, RefRangeEnd = 489878, XrefRangeStart = 489815, XrefRangeEnd = 489858, 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: 0x06000336 RID: 822 RVA: 0x0000E490 File Offset: 0x0000C690
	[CallerCount(69)]
	[CachedScanResults(RefRangeStart = 489916, RefRangeEnd = 489985, XrefRangeStart = 489878, XrefRangeEnd = 489916, 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: 0x06000337 RID: 823 RVA: 0x0000E530 File Offset: 0x0000C730
	[CallerCount(80)]
	[CachedScanResults(RefRangeStart = 489989, RefRangeEnd = 490069, XrefRangeStart = 489985, XrefRangeEnd = 489989, 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: 0x06000338 RID: 824 RVA: 0x0000E574 File Offset: 0x0000C774
	[CallerCount(108)]
	[CachedScanResults(RefRangeStart = 490079, RefRangeEnd = 490187, XrefRangeStart = 490069, XrefRangeEnd = 490079, 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: 0x06000339 RID: 825 RVA: 0x0000E5DC File Offset: 0x0000C7DC
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 490197, RefRangeEnd = 490200, XrefRangeStart = 490187, XrefRangeEnd = 490197, 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: 0x0600033A RID: 826 RVA: 0x0000E67C File Offset: 0x0000C87C
	[CallerCount(4)]
	[CachedScanResults(RefRangeStart = 490208, RefRangeEnd = 490212, XrefRangeStart = 490200, XrefRangeEnd = 490208, 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: 0x0600033B RID: 827 RVA: 0x0000E6F8 File Offset: 0x0000C8F8
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 490216, RefRangeEnd = 490219, XrefRangeStart = 490212, XrefRangeEnd = 490216, 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: 0x0600033C RID: 828 RVA: 0x0000E754 File Offset: 0x0000C954
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 490219, XrefRangeEnd = 490223, 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: 0x0600033D RID: 829 RVA: 0x0000E798 File Offset: 0x0000C998
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 490232, RefRangeEnd = 490234, XrefRangeStart = 490223, XrefRangeEnd = 490232, 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: 0x0600033E RID: 830 RVA: 0x0000E7DC File Offset: 0x0000C9DC
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 490234, XrefRangeEnd = 490238, 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: 0x0600033F RID: 831 RVA: 0x0000E838 File Offset: 0x0000CA38
	// 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, 100663502);
		SoundEffectPool.NativeMethodInfoPtr__ctor_Public_Void_GameObject_Transform_Int32_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663503);
		SoundEffectPool.NativeMethodInfoPtr_Update_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663504);
		SoundEffectPool.NativeMethodInfoPtr_NewUse_Public_Void_Vector3_Quaternion_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663505);
		SoundEffectPool.NativeMethodInfoPtr_NewUse_Public_Void_Vector3_Quaternion_Int32_Single_Single_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663506);
		SoundEffectPool.NativeMethodInfoPtr_GetNewSoundEffect_Public_SoundEffect_Vector3_Quaternion_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663507);
		SoundEffectPool.NativeMethodInfoPtr_ProcessActiveAll_Public_Void_Action_1_SoundEffect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663508);
		SoundEffectPool.NativeMethodInfoPtr_Dispose_Public_Virtual_Final_New_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663509);
		SoundEffectPool.NativeMethodInfoPtr_RegisterSoundEffectProcessor_Private_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663510);
		SoundEffectPool.NativeMethodInfoPtr__RegisterSoundEffectProcessor_b__10_0_Private_Void_SoundEffect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool>.NativeClassPtr, 100663511);
	}

	// Token: 0x06000340 RID: 832 RVA: 0x0000A74C File Offset: 0x0000894C
	public SoundEffectPool(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x1700012B RID: 299
	// (get) Token: 0x06000341 RID: 833 RVA: 0x0000E958 File Offset: 0x0000CB58
	// (set) Token: 0x06000342 RID: 834 RVA: 0x0000E98C File Offset: 0x0000CB8C
	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: 0x1700012C RID: 300
	// (get) Token: 0x06000343 RID: 835 RVA: 0x0000E9B4 File Offset: 0x0000CBB4
	// (set) Token: 0x06000344 RID: 836 RVA: 0x0000E9E8 File Offset: 0x0000CBE8
	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: 0x040001F9 RID: 505
	private static readonly IntPtr NativeFieldInfoPtr_pooledSoundEffects;

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

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

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

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

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

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

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

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

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

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

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

	// Token: 0x02000021 RID: 33
	[ObfuscatedName("SoundEffectPool/<>c__DisplayClass2_0")]
	public sealed class __c__DisplayClass2_0 : Il2CppSystem.Object
	{
		// Token: 0x06000345 RID: 837 RVA: 0x0000EA10 File Offset: 0x0000CC10
		[CallerCount(1664)]
		[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, 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: 0x06000346 RID: 838 RVA: 0x0000EA5C File Offset: 0x0000CC5C
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 489799, XrefRangeEnd = 489805, 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: 0x06000347 RID: 839 RVA: 0x0000EAB4 File Offset: 0x0000CCB4
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 489805, XrefRangeEnd = 489810, 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: 0x06000348 RID: 840 RVA: 0x0000EB10 File Offset: 0x0000CD10
		// 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, 100663512);
			SoundEffectPool.__c__DisplayClass2_0.NativeMethodInfoPtr___ctor_b__0_Internal_GameObject_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr, 100663513);
			SoundEffectPool.__c__DisplayClass2_0.NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass2_0>.NativeClassPtr, 100663514);
		}

		// Token: 0x06000349 RID: 841 RVA: 0x0000A74C File Offset: 0x0000894C
		public __c__DisplayClass2_0(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700012D RID: 301
		// (get) Token: 0x0600034A RID: 842 RVA: 0x0000EBA0 File Offset: 0x0000CDA0
		// (set) Token: 0x0600034B RID: 843 RVA: 0x0000EBC9 File Offset: 0x0000CDC9
		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: 0x1700012E RID: 302
		// (get) Token: 0x0600034C RID: 844 RVA: 0x0000EBF0 File Offset: 0x0000CDF0
		// (set) Token: 0x0600034D RID: 845 RVA: 0x0000EC18 File Offset: 0x0000CE18
		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: 0x04000205 RID: 517
		private static readonly IntPtr NativeFieldInfoPtr_soundEffectName;

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

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

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

		// Token: 0x04000209 RID: 521
		private static readonly IntPtr NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0;
	}

	// Token: 0x02000022 RID: 34
	[ObfuscatedName("SoundEffectPool/<>c__DisplayClass3_0")]
	public sealed class __c__DisplayClass3_0 : Il2CppSystem.Object
	{
		// Token: 0x0600034E RID: 846 RVA: 0x0000EC3C File Offset: 0x0000CE3C
		[CallerCount(1664)]
		[CachedScanResults(RefRangeStart = 7711, RefRangeEnd = 9375, XrefRangeStart = 7711, XrefRangeEnd = 9375, 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: 0x0600034F RID: 847 RVA: 0x0000EC88 File Offset: 0x0000CE88
		[CallerCount(9)]
		[CachedScanResults(RefRangeStart = 7538, RefRangeEnd = 7547, XrefRangeStart = 7538, XrefRangeEnd = 7547, 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: 0x06000350 RID: 848 RVA: 0x0000ECE0 File Offset: 0x0000CEE0
		[CallerCount(0)]
		[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 489810, XrefRangeEnd = 489815, 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: 0x06000351 RID: 849 RVA: 0x0000ED3C File Offset: 0x0000CF3C
		// 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, 100663515);
			SoundEffectPool.__c__DisplayClass3_0.NativeMethodInfoPtr___ctor_b__0_Internal_GameObject_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr, 100663516);
			SoundEffectPool.__c__DisplayClass3_0.NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<SoundEffectPool.__c__DisplayClass3_0>.NativeClassPtr, 100663517);
		}

		// Token: 0x06000352 RID: 850 RVA: 0x0000A74C File Offset: 0x0000894C
		public __c__DisplayClass3_0(IntPtr pointer)
			: base(pointer)
		{
		}

		// Token: 0x1700012F RID: 303
		// (get) Token: 0x06000353 RID: 851 RVA: 0x0000EDCC File Offset: 0x0000CFCC
		// (set) Token: 0x06000354 RID: 852 RVA: 0x0000EE00 File Offset: 0x0000D000
		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: 0x17000130 RID: 304
		// (get) Token: 0x06000355 RID: 853 RVA: 0x0000EE28 File Offset: 0x0000D028
		// (set) Token: 0x06000356 RID: 854 RVA: 0x0000EE50 File Offset: 0x0000D050
		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: 0x0400020A RID: 522
		private static readonly IntPtr NativeFieldInfoPtr_soundEffectObj;

		// Token: 0x0400020B RID: 523
		private static readonly IntPtr NativeFieldInfoPtr_affectTimeScale;

		// Token: 0x0400020C RID: 524
		private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

		// Token: 0x0400020D RID: 525
		private static readonly IntPtr NativeMethodInfoPtr___ctor_b__0_Internal_GameObject_0;

		// Token: 0x0400020E RID: 526
		private static readonly IntPtr NativeMethodInfoPtr___ctor_b__1_Internal_Void_SoundEffect_0;
	}
}
