using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x0200033E RID: 830
[Token(Token = "0x200033E")]
public class VideoPlayScene : GameSceneBase
{
	// Token: 0x06001E6E RID: 7790 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x6001E6E")]
	[Address(RVA = "0x4B0D70", Offset = "0x4AFD70", VA = "0x1804B0D70", Slot = "4")]
	public override void Enter()
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x06001E6F RID: 7791 RVA: 0x00048404 File Offset: 0x00046604
	[Token(Token = "0x6001E6F")]
	[Address(RVA = "0x4B0EF0", Offset = "0x4AFEF0", VA = "0x1804B0EF0")]
	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: 0x06001E70 RID: 7792 RVA: 0x00048440 File Offset: 0x00046640
	[Token(Token = "0x6001E70")]
	[Address(RVA = "0x4B0FA0", Offset = "0x4AFFA0", VA = "0x1804B0FA0")]
	private void SwitchTitleScene()
	{
		Game.UnloadUnusedAssets();
		this.videoMenu.Dispose();
		Game.SwitchTitleScene(false);
	}

	// Token: 0x06001E71 RID: 7793 RVA: 0x0004846C File Offset: 0x0004666C
	[Token(Token = "0x6001E71")]
	[Address(RVA = "0x41ED30", Offset = "0x41DD30", VA = "0x18041ED30")]
	public VideoPlayScene()
	{
	}

	// Token: 0x0400282A RID: 10282
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x400282A")]
	[SerializeField]
	private UIVideoMenu videoMenu;

	// Token: 0x0400282B RID: 10283
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x400282B")]
	[SerializeField]
	private UIVideoPlayWindow videoPlayWindow;
}
