using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x020001AD RID: 429
[Token(Token = "0x20001AD")]
public class BR_ResetBossScene : SceneEvent
{
	// Token: 0x060013D1 RID: 5073 RVA: 0x000020D3 File Offset: 0x000002D3
	[Token(Token = "0x60013D1")]
	[Address(RVA = "0x79F380", Offset = "0x79E380", VA = "0x18079F380", Slot = "4")]
	public override void InitData(SceneEventManager SEM)
	{
		throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
	}

	// Token: 0x060013D2 RID: 5074 RVA: 0x0002D098 File Offset: 0x0002B298
	[Token(Token = "0x60013D2")]
	[Address(RVA = "0x79F5D0", Offset = "0x79E5D0", VA = "0x18079F5D0", Slot = "5")]
	public override void OpenEvent()
	{
		NPCManage[] resetEnemy = this.ResetEnemy;
		int num = 0;
		if (num < resetEnemy.Length)
		{
			resetEnemy[num].ResetDeath();
			NPCManage[] resetEnemy2 = this.ResetEnemy;
			num++;
		}
		SceneEvent[] resetBossEvent = this.ResetBossEvent;
		if (num < resetBossEvent.Length)
		{
			if (!resetBossEvent[num].GetIsReleaseEvent())
			{
				this.ResetBossEvent[num].ReleaseEvent();
				this.ResetBossEvent[num].ResetEvent();
			}
			SceneEvent[] resetBossEvent2 = this.ResetBossEvent;
			num++;
			while (resetBossEvent2 != 0)
			{
			}
		}
		DamageObject[] array = this.g_ResetDamageObject;
		if (array != 0 && num < array.Length)
		{
			DamageObject damageObject = array[num];
			int num2 = 0;
			if (damageObject != num2)
			{
				this.g_ResetDamageObject[num].gameObject.SetActive(true);
				this.g_ResetDamageObject[num].SetRecovery();
			}
			DamageObject[] array2 = this.g_ResetDamageObject;
			num++;
			while (array2 != 0)
			{
			}
		}
	}

	// Token: 0x060013D3 RID: 5075 RVA: 0x0002D190 File Offset: 0x0002B390
	[Token(Token = "0x60013D3")]
	[Address(RVA = "0x32DFD0", Offset = "0x32CFD0", VA = "0x18032DFD0")]
	public BR_ResetBossScene()
	{
	}

	// Token: 0x04001DEF RID: 7663
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x4001DEF")]
	public NPCManage[] ResetEnemy;

	// Token: 0x04001DF0 RID: 7664
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x4001DF0")]
	public SceneEvent[] ResetBossEvent;

	// Token: 0x04001DF1 RID: 7665
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x4001DF1")]
	public Transform[] ResetDamageObjectRoot;

	// Token: 0x04001DF2 RID: 7666
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x4001DF2")]
	private DamageObject[] g_ResetDamageObject;
}
