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

// Token: 0x0200029A RID: 666
public class UISettingsAudio : UIValueBindingBase
{
	// Token: 0x06005A0F RID: 23055 RVA: 0x0016998C File Offset: 0x00167B8C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 585794, XrefRangeEnd = 586207, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Init(CanvasGroup mainCanvasGroup, Action cancelHandler, Text title)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)3) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(mainCanvasGroup);
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(cancelHandler);
		ptr[checked(unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = IL2CPP.Il2CppObjectBaseToPtr(title);
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UISettingsAudio.NativeMethodInfoPtr_Init_Public_Virtual_Void_CanvasGroup_Action_Text_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005A10 RID: 23056 RVA: 0x00169A20 File Offset: 0x00167C20
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586207, XrefRangeEnd = 586215, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnWholeVolumeValueChanged(int value)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref value;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISettingsAudio.NativeMethodInfoPtr_OnWholeVolumeValueChanged_Private_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005A11 RID: 23057 RVA: 0x00169A74 File Offset: 0x00167C74
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586215, XrefRangeEnd = 586223, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnBgmVolumeValueChanged(int value)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref value;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISettingsAudio.NativeMethodInfoPtr_OnBgmVolumeValueChanged_Private_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005A12 RID: 23058 RVA: 0x00169AC8 File Offset: 0x00167CC8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586223, XrefRangeEnd = 586231, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnSfxVolumeValueChanged(int value)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref value;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISettingsAudio.NativeMethodInfoPtr_OnSfxVolumeValueChanged_Private_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005A13 RID: 23059 RVA: 0x00169B1C File Offset: 0x00167D1C
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586231, XrefRangeEnd = 586239, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe void OnVoiceVolumeValueChanged(int value)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref value;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISettingsAudio.NativeMethodInfoPtr_OnVoiceVolumeValueChanged_Private_Void_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005A14 RID: 23060 RVA: 0x00169B70 File Offset: 0x00167D70
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586239, XrefRangeEnd = 586266, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override Il2CppReferenceArray<ValueType> GetConfigValues()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UISettingsAudio.NativeMethodInfoPtr_GetConfigValues_Protected_Virtual_Il2CppReferenceArray_1_ValueType_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new Il2CppReferenceArray<ValueType>(intPtr3) : null;
	}

	// Token: 0x06005A15 RID: 23061 RVA: 0x00169BD4 File Offset: 0x00167DD4
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586266, XrefRangeEnd = 586286, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void UpdateTopHandlers()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UISettingsAudio.NativeMethodInfoPtr_UpdateTopHandlers_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005A16 RID: 23062 RVA: 0x00169C24 File Offset: 0x00167E24
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586286, XrefRangeEnd = 586315, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void Localize(LocalizationData data)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = IL2CPP.Il2CppObjectBaseToPtr(data);
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UISettingsAudio.NativeMethodInfoPtr_Localize_Public_Virtual_Void_LocalizationData_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		}
	}

	// Token: 0x06005A17 RID: 23063 RVA: 0x00169C88 File Offset: 0x00167E88
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586315, XrefRangeEnd = 586321, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void PlayHandlerMoveSE()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UISettingsAudio.NativeMethodInfoPtr_PlayHandlerMoveSE_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005A18 RID: 23064 RVA: 0x00169CD8 File Offset: 0x00167ED8
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 586321, XrefRangeEnd = 586328, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe override void SetDefault()
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(IL2CPP.il2cpp_object_get_virtual_method(IL2CPP.Il2CppObjectBaseToPtr(this), UISettingsAudio.NativeMethodInfoPtr_SetDefault_Protected_Virtual_Void_0), IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005A19 RID: 23065 RVA: 0x00169D28 File Offset: 0x00167F28
	[CallerCount(0)]
	[CachedScanResults(RefRangeStart = 0, RefRangeEnd = 0, XrefRangeStart = 0, XrefRangeEnd = 0, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe UISettingsAudio()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(UISettingsAudio.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005A1A RID: 23066 RVA: 0x00169D74 File Offset: 0x00167F74
	// Note: this type is marked as 'beforefieldinit'.
	static UISettingsAudio()
	{
		Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "UISettingsAudio");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr);
		UISettingsAudio.NativeFieldInfoPtr_VOICE_HANDLER_INDEX = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, "VOICE_HANDLER_INDEX");
		UISettingsAudio.NativeMethodInfoPtr_Init_Public_Virtual_Void_CanvasGroup_Action_Text_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669570);
		UISettingsAudio.NativeMethodInfoPtr_OnWholeVolumeValueChanged_Private_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669571);
		UISettingsAudio.NativeMethodInfoPtr_OnBgmVolumeValueChanged_Private_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669572);
		UISettingsAudio.NativeMethodInfoPtr_OnSfxVolumeValueChanged_Private_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669573);
		UISettingsAudio.NativeMethodInfoPtr_OnVoiceVolumeValueChanged_Private_Void_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669574);
		UISettingsAudio.NativeMethodInfoPtr_GetConfigValues_Protected_Virtual_Il2CppReferenceArray_1_ValueType_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669575);
		UISettingsAudio.NativeMethodInfoPtr_UpdateTopHandlers_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669576);
		UISettingsAudio.NativeMethodInfoPtr_Localize_Public_Virtual_Void_LocalizationData_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669577);
		UISettingsAudio.NativeMethodInfoPtr_PlayHandlerMoveSE_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669578);
		UISettingsAudio.NativeMethodInfoPtr_SetDefault_Protected_Virtual_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669579);
		UISettingsAudio.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<UISettingsAudio>.NativeClassPtr, 100669580);
	}

	// Token: 0x06005A1B RID: 23067 RVA: 0x00169E94 File Offset: 0x00168094
	public UISettingsAudio(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001F85 RID: 8069
	// (get) Token: 0x06005A1C RID: 23068 RVA: 0x00169EA0 File Offset: 0x001680A0
	// (set) Token: 0x06005A1D RID: 23069 RVA: 0x00169EBE File Offset: 0x001680BE
	public unsafe static int VOICE_HANDLER_INDEX
	{
		get
		{
			int num;
			IL2CPP.il2cpp_field_static_get_value(UISettingsAudio.NativeFieldInfoPtr_VOICE_HANDLER_INDEX, (void*)(&num));
			return num;
		}
		set
		{
			IL2CPP.il2cpp_field_static_set_value(UISettingsAudio.NativeFieldInfoPtr_VOICE_HANDLER_INDEX, (void*)(&value));
		}
	}

	// Token: 0x04003BE2 RID: 15330
	private static readonly IntPtr NativeFieldInfoPtr_VOICE_HANDLER_INDEX;

	// Token: 0x04003BE3 RID: 15331
	private static readonly IntPtr NativeMethodInfoPtr_Init_Public_Virtual_Void_CanvasGroup_Action_Text_0;

	// Token: 0x04003BE4 RID: 15332
	private static readonly IntPtr NativeMethodInfoPtr_OnWholeVolumeValueChanged_Private_Void_Int32_0;

	// Token: 0x04003BE5 RID: 15333
	private static readonly IntPtr NativeMethodInfoPtr_OnBgmVolumeValueChanged_Private_Void_Int32_0;

	// Token: 0x04003BE6 RID: 15334
	private static readonly IntPtr NativeMethodInfoPtr_OnSfxVolumeValueChanged_Private_Void_Int32_0;

	// Token: 0x04003BE7 RID: 15335
	private static readonly IntPtr NativeMethodInfoPtr_OnVoiceVolumeValueChanged_Private_Void_Int32_0;

	// Token: 0x04003BE8 RID: 15336
	private static readonly IntPtr NativeMethodInfoPtr_GetConfigValues_Protected_Virtual_Il2CppReferenceArray_1_ValueType_0;

	// Token: 0x04003BE9 RID: 15337
	private static readonly IntPtr NativeMethodInfoPtr_UpdateTopHandlers_Protected_Virtual_Void_0;

	// Token: 0x04003BEA RID: 15338
	private static readonly IntPtr NativeMethodInfoPtr_Localize_Public_Virtual_Void_LocalizationData_0;

	// Token: 0x04003BEB RID: 15339
	private static readonly IntPtr NativeMethodInfoPtr_PlayHandlerMoveSE_Protected_Virtual_Void_0;

	// Token: 0x04003BEC RID: 15340
	private static readonly IntPtr NativeMethodInfoPtr_SetDefault_Protected_Virtual_Void_0;

	// Token: 0x04003BED RID: 15341
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;
}
