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

// Token: 0x0200021D RID: 541
[Token(Token = "0x200021D")]
public static class GameJsonParser
{
	// Token: 0x060014FD RID: 5373 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60014FD")]
	[Address(RVA = "0x542E80", Offset = "0x541C80", VA = "0x180542E80")]
	public static void Export(string rootPath, List<string[][]> metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060014FE RID: 5374 RVA: 0x0002F768 File Offset: 0x0002D968
	[Token(Token = "0x60014FE")]
	[Address(RVA = "0x542CD0", Offset = "0x541AD0", VA = "0x180542CD0")]
	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: 0x060014FF RID: 5375 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60014FF")]
	[Address(RVA = "0x5443A0", Offset = "0x5431A0", VA = "0x1805443A0")]
	private static string[] Parse(List<string[][]> metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001500 RID: 5376 RVA: 0x0002F7DC File Offset: 0x0002D9DC
	[Token(Token = "0x6001500")]
	[Address(RVA = "0x543F00", Offset = "0x542D00", VA = "0x180543F00")]
	private static string ParseUISystemData(string[][] metadata)
	{
		return GameJsonParser.ParseGeneralText("UISystem", 1, metadata);
	}

	// Token: 0x06001501 RID: 5377 RVA: 0x0002F7F8 File Offset: 0x0002D9F8
	[Token(Token = "0x6001501")]
	[Address(RVA = "0x5439C0", Offset = "0x5427C0", VA = "0x1805439C0")]
	private static string ParseItemData(string[][] metadata)
	{
		return GameJsonParser.ParseGeneralText("Valuables", 2, metadata);
	}

	// Token: 0x06001502 RID: 5378 RVA: 0x0002F814 File Offset: 0x0002DA14
	[Token(Token = "0x6001502")]
	[Address(RVA = "0x5432D0", Offset = "0x5420D0", VA = "0x1805432D0")]
	private static string ParseGameTipData(string[][] metadata)
	{
		return GameJsonParser.ParseGeneralText("GameTips", 2, metadata);
	}

	// Token: 0x06001503 RID: 5379 RVA: 0x0002F830 File Offset: 0x0002DA30
	[Token(Token = "0x6001503")]
	[Address(RVA = "0x543020", Offset = "0x541E20", VA = "0x180543020")]
	private static string ParseAchievementData(string[][] metadata)
	{
		return GameJsonParser.ParseGeneralText("Achievement", 2, metadata);
	}

	// Token: 0x06001504 RID: 5380 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001504")]
	[Address(RVA = "0x543C40", Offset = "0x542A40", VA = "0x180543C40")]
	private static string ParseStoryData(string[][] metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001505 RID: 5381 RVA: 0x0002F84C File Offset: 0x0002DA4C
	[Token(Token = "0x6001505")]
	[Address(RVA = "0x543060", Offset = "0x541E60", VA = "0x180543060")]
	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: 0x06001506 RID: 5382 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001506")]
	[Address(RVA = "0x543A00", Offset = "0x542800", VA = "0x180543A00")]
	private static string ParseItemVoiceData(string[][] metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001507 RID: 5383 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001507")]
	[Address(RVA = "0x543F40", Offset = "0x542D40", VA = "0x180543F40")]
	private static string ParseVideoData(string[][] videoMetadata, Dictionary<string, string[][]> subtitleMetadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001508 RID: 5384 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001508")]
	[Address(RVA = "0x543310", Offset = "0x542110", VA = "0x180543310")]
	private static string ParseGeneralText(string sheetName, int columnRangePerLanguage, string[][] metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001509 RID: 5385 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001509")]
	[Address(RVA = "0x543740", Offset = "0x542540", VA = "0x180543740")]
	private static void ParseHashtagText(Dictionary<string, string[][]> dataGroupMap, string[][] metadata)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x0600150A RID: 5386 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600150A")]
	[Address(RVA = "0x544DE0", Offset = "0x543BE0", VA = "0x180544DE0")]
	[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: 0x0600150B RID: 5387 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600150B")]
	[Address(RVA = "0x5449A0", Offset = "0x5437A0", VA = "0x1805449A0")]
	[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: 0x0600150C RID: 5388 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600150C")]
	[Address(RVA = "0x545070", Offset = "0x543E70", VA = "0x180545070")]
	[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: 0x0600150D RID: 5389 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x600150D")]
	[Address(RVA = "0x545270", Offset = "0x544070", VA = "0x180545270")]
	[CompilerGenerated]
	internal static SubtitleData[] <ParseVideoData>g__ParseValue|10_3(string[][] rowDataRanges)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}
}
