using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200025E RID: 606
[Token(Token = "0x200025E")]
public static class GameJsonParser
{
	// Token: 0x060016C8 RID: 5832 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016C8")]
	[Address(RVA = "0x376830", Offset = "0x375830", VA = "0x180376830")]
	public static void Export(string rootPath, List<string[][]> metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016C9 RID: 5833 RVA: 0x00033490 File Offset: 0x00031690
	[Token(Token = "0x60016C9")]
	[Address(RVA = "0x376680", Offset = "0x375680", VA = "0x180376680")]
	public static TextAsset[] Convert(List<string[][]> metadata)
	{
		TextAsset[] array2;
		int num;
		TextAsset textAsset;
		do
		{
			string[] jsonFileNames = Game.GetJsonFileNames();
			string[] array = GameJsonParser.Parse(metadata);
			array2 = new TextAsset[jsonFileNames.Length];
			num = 0;
			if (num >= jsonFileNames.Length)
			{
				return array2;
			}
			textAsset = new TextAsset(array[num]);
			string text = jsonFileNames[num];
			textAsset.name = text;
		}
		while (textAsset == 0);
		array2[0] = textAsset;
		num++;
		return array2;
	}

	// Token: 0x060016CA RID: 5834 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016CA")]
	[Address(RVA = "0x377CF0", Offset = "0x376CF0", VA = "0x180377CF0")]
	private static string[] Parse(List<string[][]> metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016CB RID: 5835 RVA: 0x00033504 File Offset: 0x00031704
	[Token(Token = "0x60016CB")]
	[Address(RVA = "0x3778B0", Offset = "0x3768B0", VA = "0x1803778B0")]
	private static string ParseUISystemData(string[][] metadata)
	{
		return GameJsonParser.ParseGeneralText("UISystem", 1, metadata);
	}

	// Token: 0x060016CC RID: 5836 RVA: 0x00033520 File Offset: 0x00031720
	[Token(Token = "0x60016CC")]
	[Address(RVA = "0x377370", Offset = "0x376370", VA = "0x180377370")]
	private static string ParseItemData(string[][] metadata)
	{
		return GameJsonParser.ParseGeneralText("Valuables", 2, metadata);
	}

	// Token: 0x060016CD RID: 5837 RVA: 0x0003353C File Offset: 0x0003173C
	[Token(Token = "0x60016CD")]
	[Address(RVA = "0x376C80", Offset = "0x375C80", VA = "0x180376C80")]
	private static string ParseGameTipData(string[][] metadata)
	{
		return GameJsonParser.ParseGeneralText("GameTips", 2, metadata);
	}

	// Token: 0x060016CE RID: 5838 RVA: 0x00033558 File Offset: 0x00031758
	[Token(Token = "0x60016CE")]
	[Address(RVA = "0x3769D0", Offset = "0x3759D0", VA = "0x1803769D0")]
	private static string ParseAchievementData(string[][] metadata)
	{
		return GameJsonParser.ParseGeneralText("Achievement", 2, metadata);
	}

	// Token: 0x060016CF RID: 5839 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016CF")]
	[Address(RVA = "0x3775F0", Offset = "0x3765F0", VA = "0x1803775F0")]
	private static string ParseStoryData(string[][] metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016D0 RID: 5840 RVA: 0x00033574 File Offset: 0x00031774
	[Token(Token = "0x60016D0")]
	[Address(RVA = "0x376A10", Offset = "0x375A10", VA = "0x180376A10")]
	private static string ParseCombatDialogueData(string[][] textMetadata, string[][] voiceMetadata)
	{
		Dictionary<CombatDialogueType, CombatDialogueData> dictionary = new Dictionary();
		CombatDialogueData combatDialogueData = GameJsonParser.<ParseCombatDialogueData>g__CreateCombatDialogueData|8_0(1, 5, textMetadata, voiceMetadata);
		throw new NullReferenceException();
	}

	// Token: 0x060016D1 RID: 5841 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016D1")]
	[Address(RVA = "0x3773B0", Offset = "0x3763B0", VA = "0x1803773B0")]
	private static string ParseItemVoiceData(string[][] metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016D2 RID: 5842 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016D2")]
	[Address(RVA = "0x3778F0", Offset = "0x3768F0", VA = "0x1803778F0")]
	private static string ParseVideoData(string[][] videoMetadata, Dictionary<string, string[][]> subtitleMetadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016D3 RID: 5843 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016D3")]
	[Address(RVA = "0x376CC0", Offset = "0x375CC0", VA = "0x180376CC0")]
	private static string ParseGeneralText(string sheetName, int columnRangePerLanguage, string[][] metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016D4 RID: 5844 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016D4")]
	[Address(RVA = "0x3770F0", Offset = "0x3760F0", VA = "0x1803770F0")]
	private static void ParseHashtagText(Dictionary<string, string[][]> dataGroupMap, string[][] metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016D5 RID: 5845 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016D5")]
	[Address(RVA = "0x378730", Offset = "0x377730", VA = "0x180378730")]
	[CompilerGenerated]
	internal static Dictionary<int, string[][]> <ParseStoryData>g__ParseValue|7_2(string[][] rowDataRanges, int columnRangePerLanguage)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016D6 RID: 5846 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016D6")]
	[Address(RVA = "0x3782F0", Offset = "0x3772F0", VA = "0x1803782F0")]
	[CompilerGenerated]
	internal static CombatDialogueData <ParseCombatDialogueData>g__CreateCombatDialogueData|8_0(int rowStart, int rowRange, string[][] textMetadata, string[][] voiceMetadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016D7 RID: 5847 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016D7")]
	[Address(RVA = "0x3789C0", Offset = "0x3779C0", VA = "0x1803789C0")]
	[CompilerGenerated]
	internal static Dictionary<string, SubtitleData[]> <ParseVideoData>g__ParseSubtitleData|10_0(Dictionary<string, string[][]> hashtagDataMap)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060016D8 RID: 5848 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60016D8")]
	[Address(RVA = "0x378BC0", Offset = "0x377BC0", VA = "0x180378BC0")]
	[CompilerGenerated]
	internal static SubtitleData[] <ParseVideoData>g__ParseValue|10_3(string[][] rowDataRanges)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}
}
