using System;
using Cpp2IlInjected;

// Token: 0x02000159 RID: 345
[Token(Token = "0x2000159")]
public class GameSaveVer46
{
	// Token: 0x06001098 RID: 4248 RVA: 0x00026B2C File Offset: 0x00024D2C
	[Token(Token = "0x6001098")]
	[Address(RVA = "0xA2ADE0", Offset = "0xA29DE0", VA = "0x180A2ADE0")]
	public GameSave UpgradeVersion()
	{
		GameSave gameSave = new GameSave();
		gameSave.dataVersion = (int)((ulong)46L);
		GameSaveBasicDataVer46 gameSaveBasicDataVer = this.basic;
		GameSaveBasicData gameSaveBasicData = new GameSaveBasicData();
		int dataIndex = gameSaveBasicDataVer.dataIndex;
		gameSaveBasicData.dataIndex = dataIndex;
		GameDifficulty difficulty = gameSaveBasicDataVer.difficulty;
		gameSaveBasicData.difficulty = difficulty;
		GameStage stage = gameSaveBasicDataVer.stage;
		gameSaveBasicData.stage = stage;
		int savePoint = gameSaveBasicDataVer.savePoint;
		gameSaveBasicData.savePoint = savePoint;
		int num = 0;
		bool showTeleportMenu = gameSaveBasicDataVer.showTeleportMenu;
		gameSaveBasicData.showTeleportMenu = showTeleportMenu;
		long timeStamp = gameSaveBasicDataVer.timeStamp;
		gameSaveBasicData.timeStamp = timeStamp;
		ulong playedSeconds = gameSaveBasicDataVer.playedSeconds;
		if (playedSeconds == (ulong)0L)
		{
			ulong gamingTime = gameSaveBasicDataVer.gamingTime;
		}
		gameSaveBasicData.gamingTime = playedSeconds;
		int gameBeatingCounter = gameSaveBasicDataVer.gameBeatingCounter;
		int gameClearedTimes = gameSaveBasicDataVer.gameClearedTimes;
		gameSaveBasicData.gameCleared = num;
		gameSave.basic = gameSaveBasicData;
		PlayerStatsData playerStatsData = this.stats;
		gameSave.stats = playerStatsData;
		GamePropertyData gamePropertyData = this.props;
		gameSave.props = gamePropertyData;
		StageFlagData stageFlagData = this.flags;
		gameSave.flags = stageFlagData;
		TutorialTipData tutorialTipData = this.tips;
		gameSave.tips = tutorialTipData;
		return gameSave;
	}

	// Token: 0x06001099 RID: 4249 RVA: 0x00026C3C File Offset: 0x00024E3C
	[Token(Token = "0x6001099")]
	[Address(RVA = "0x36ABD0", Offset = "0x369BD0", VA = "0x18036ABD0")]
	public GameSaveVer46()
	{
	}

	// Token: 0x04001B65 RID: 7013
	[FieldOffset(Offset = "0x10")]
	[Token(Token = "0x4001B65")]
	public GameSaveBasicDataVer46 basic;

	// Token: 0x04001B66 RID: 7014
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4001B66")]
	public PlayerStatsData stats;

	// Token: 0x04001B67 RID: 7015
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4001B67")]
	public GamePropertyData props;

	// Token: 0x04001B68 RID: 7016
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4001B68")]
	public StageFlagData flags;

	// Token: 0x04001B69 RID: 7017
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x4001B69")]
	public TutorialTipData tips;
}
