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

// Token: 0x0200023B RID: 571
public class GameBattleSelectPackage : ScriptableObject
{
	// Token: 0x0600531F RID: 21279 RVA: 0x0014AC90 File Offset: 0x00148E90
	[CallerCount(3)]
	[CachedScanResults(RefRangeStart = 576605, RefRangeEnd = 576608, XrefRangeStart = 576605, XrefRangeEnd = 576605, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Sprite GetBossRushSprite(SaveSystem.ScriptType Boss, bool unlocked)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		IntPtr* ptr;
		checked
		{
			ptr = stackalloc IntPtr[unchecked((UIntPtr)2) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref Boss;
		}
		ptr[checked(unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)) / (UIntPtr)sizeof(IntPtr)] = ref unlocked;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameBattleSelectPackage.NativeMethodInfoPtr_GetBossRushSprite_Public_Sprite_ScriptType_Boolean_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
		IntPtr intPtr3 = intPtr;
		return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
	}

	// Token: 0x06005320 RID: 21280 RVA: 0x0014AD0C File Offset: 0x00148F0C
	[CallerCount(2)]
	[CachedScanResults(RefRangeStart = 215174, RefRangeEnd = 215176, XrefRangeStart = 215174, XrefRangeEnd = 215176, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe GameBattleSelectPackage()
		: this(IL2CPP.il2cpp_object_new(Il2CppClassPointerStore<GameBattleSelectPackage>.NativeClassPtr))
	{
		IntPtr* ptr = null;
		IntPtr intPtr2;
		IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameBattleSelectPackage.NativeMethodInfoPtr__ctor_Public_Void_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
		Il2CppException.RaiseExceptionIfNecessary(intPtr2);
	}

	// Token: 0x06005321 RID: 21281 RVA: 0x0014AD58 File Offset: 0x00148F58
	[CallerCount(8)]
	[CachedScanResults(RefRangeStart = 150281, RefRangeEnd = 150289, XrefRangeStart = 150281, XrefRangeEnd = 150289, MetadataInitTokenRva = 0L, MetadataInitFlagRva = 0L)]
	public unsafe Sprite Method_Private_Sprite_Int32_0(int index)
	{
		IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
		checked
		{
			IntPtr* ptr = stackalloc IntPtr[unchecked((UIntPtr)1) * (UIntPtr)sizeof(IntPtr)];
			*ptr = ref index;
			IntPtr intPtr2;
			IntPtr intPtr = IL2CPP.il2cpp_runtime_invoke(GameBattleSelectPackage.NativeMethodInfoPtr_Method_Private_Sprite_Int32_0, IL2CPP.Il2CppObjectBaseToPtrNotNull(this), (void**)ptr, ref intPtr2);
			Il2CppException.RaiseExceptionIfNecessary(intPtr2);
			IntPtr intPtr3 = intPtr;
			return (intPtr3 != 0) ? new Sprite(intPtr3) : null;
		}
	}

	// Token: 0x06005322 RID: 21282 RVA: 0x0014ADC0 File Offset: 0x00148FC0
	// Note: this type is marked as 'beforefieldinit'.
	static GameBattleSelectPackage()
	{
		Il2CppClassPointerStore<GameBattleSelectPackage>.NativeClassPtr = IL2CPP.GetIl2CppClass("Assembly-CSharp.dll", "", "GameBattleSelectPackage");
		IL2CPP.il2cpp_runtime_class_init(Il2CppClassPointerStore<GameBattleSelectPackage>.NativeClassPtr);
		GameBattleSelectPackage.NativeFieldInfoPtr_bossRushSprites = IL2CPP.GetIl2CppField(Il2CppClassPointerStore<GameBattleSelectPackage>.NativeClassPtr, "bossRushSprites");
		GameBattleSelectPackage.NativeMethodInfoPtr_GetBossRushSprite_Public_Sprite_ScriptType_Boolean_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameBattleSelectPackage>.NativeClassPtr, 100668860);
		GameBattleSelectPackage.NativeMethodInfoPtr__ctor_Public_Void_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameBattleSelectPackage>.NativeClassPtr, 100668861);
		GameBattleSelectPackage.NativeMethodInfoPtr_Method_Private_Sprite_Int32_0 = IL2CPP.GetIl2CppMethodByToken(Il2CppClassPointerStore<GameBattleSelectPackage>.NativeClassPtr, 100668862);
	}

	// Token: 0x06005323 RID: 21283 RVA: 0x00009E64 File Offset: 0x00008064
	public GameBattleSelectPackage(IntPtr pointer)
		: base(pointer)
	{
	}

	// Token: 0x17001D91 RID: 7569
	// (get) Token: 0x06005324 RID: 21284 RVA: 0x0014AE40 File Offset: 0x00149040
	// (set) Token: 0x06005325 RID: 21285 RVA: 0x0014AE74 File Offset: 0x00149074
	public unsafe Il2CppReferenceArray<Sprite> bossRushSprites
	{
		get
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this) + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameBattleSelectPackage.NativeFieldInfoPtr_bossRushSprites);
			IntPtr intPtr2 = *intPtr;
			return (intPtr2 != 0) ? new Il2CppReferenceArray<Sprite>(intPtr2) : null;
		}
		set
		{
			IntPtr intPtr = IL2CPP.Il2CppObjectBaseToPtrNotNull(this);
			IL2CPP.il2cpp_gc_wbarrier_set_field(intPtr, intPtr + (IntPtr)IL2CPP.il2cpp_field_get_offset(GameBattleSelectPackage.NativeFieldInfoPtr_bossRushSprites), IL2CPP.Il2CppObjectBaseToPtr(value));
		}
	}

	// Token: 0x040036AC RID: 13996
	private static readonly IntPtr NativeFieldInfoPtr_bossRushSprites;

	// Token: 0x040036AD RID: 13997
	private static readonly IntPtr NativeMethodInfoPtr_GetBossRushSprite_Public_Sprite_ScriptType_Boolean_0;

	// Token: 0x040036AE RID: 13998
	private static readonly IntPtr NativeMethodInfoPtr__ctor_Public_Void_0;

	// Token: 0x040036AF RID: 13999
	private static readonly IntPtr NativeMethodInfoPtr_Method_Private_Sprite_Int32_0;
}
