using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020002EA RID: 746
[Token(Token = "0x20002EA")]
public class VideoPlayScene : GameSceneBase
{
	// Token: 0x06001BE3 RID: 7139 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001BE3")]
	[Address(RVA = "0x936D80", Offset = "0x935B80", VA = "0x180936D80", Slot = "4")]
	public override void Enter()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001BE4 RID: 7140 RVA: 0x00042210 File Offset: 0x00040410
	[Token(Token = "0x6001BE4")]
	[Address(RVA = "0x936F00", Offset = "0x935D00", VA = "0x180936F00")]
	private void OnVideoPlayed(VideoData data)
	{
		this.videoPlayWindow.SetVideoData(data);
		UIVideoPlayWindow uivideoPlayWindow = this.videoPlayWindow;
		Action action = delegate
		{
			UIVideoMenu uivideoMenu = this.videoMenu;
			Action action2 = new Action(this.SwitchTitleScene);
			uivideoMenu.Open(action2);
		};
		uivideoPlayWindow.Open(action);
	}

	// Token: 0x06001BE5 RID: 7141 RVA: 0x0004224C File Offset: 0x0004044C
	[Token(Token = "0x6001BE5")]
	[Address(RVA = "0x936FB0", Offset = "0x935DB0", VA = "0x180936FB0")]
	private void SwitchTitleScene()
	{
		Game.UnloadUnusedAssets();
		this.videoMenu.Dispose();
		Game.SwitchTitleScene(false);
	}

	// Token: 0x06001BE6 RID: 7142 RVA: 0x00042278 File Offset: 0x00040478
	[Token(Token = "0x6001BE6")]
	[Address(RVA = "0x3FBF80", Offset = "0x3FAD80", VA = "0x1803FBF80")]
	public VideoPlayScene()
	{
	}

	// Token: 0x04002579 RID: 9593
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4002579")]
	[SerializeField]
	private UIVideoMenu videoMenu;

	// Token: 0x0400257A RID: 9594
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x400257A")]
	[SerializeField]
	private UIVideoPlayWindow videoPlayWindow;
}
