using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000022 RID: 34
[Token(Token = "0x2000022")]
public class VoiceBoss02 : MonoBehaviour
{
	// Token: 0x060000F3 RID: 243 RVA: 0x00004DE8 File Offset: 0x00002FE8
	[Token(Token = "0x60000F3")]
	[Address(RVA = "0x938EF0", Offset = "0x937CF0", VA = "0x180938EF0")]
	public void InitData()
	{
		/*
An exception occurred when decompiling this method (060000F3)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void VoiceBoss02::InitData()

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stloc:GameObject(var_0_06, ldfld:GameObject(VoiceBoss02::SE_AttackFour, ldloc:VoiceBoss02(this))); 	stloc:Transform(var_1_0D, callgetter:Transform(Component::get_transform, ldloc:VoiceBoss02[exp:Component](this))); 	stloc:SoundEffect(var_2_15, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_0_06), ldloc:Transform(var_1_0D))); 	stfld:SoundEffect(VoiceBoss02::g_SEAttackFour, ldloc:VoiceBoss02(this), ldloc:SoundEffect(var_2_15)); 	stloc:GameObject(var_3_23, ldfld:GameObject(VoiceBoss02::SE_AttackHammer, ldloc:VoiceBoss02(this))); 	stloc:Transform(var_4_2A, callgetter:Transform(Component::get_transform, ldloc:VoiceBoss02[exp:Component](this))); 	stloc:SoundEffect(var_5_34, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_3_23), ldloc:Transform(var_4_2A))); 	stfld:SoundEffect(VoiceBoss02::g_SEAttackHammer, ldloc:VoiceBoss02(this), ldloc:SoundEffect(var_5_34)); 	stloc:GameObject(var_6_44, ldfld:GameObject(VoiceBoss02::SE_AttackJump, ldloc:VoiceBoss02(this))); 	stloc:Transform(var_7_4C, callgetter:Transform(Component::get_transform, ldloc:VoiceBoss02[exp:Component](this))); 	stloc:SoundEffect(var_8_57, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_6_44), ldloc:Transform(var_7_4C))); 	stfld:SoundEffect(VoiceBoss02::g_SEAttackJump, ldloc:VoiceBoss02(this), ldloc:SoundEffect(var_8_57)); 	stloc:GameObject(var_9_67, ldfld:GameObject(VoiceBoss02::SE_AttackUp, ldloc:VoiceBoss02(this))); 	stloc:Transform(var_10_6F, callgetter:Transform(Component::get_transform, ldloc:VoiceBoss02[exp:Component](this))); 	stloc:SoundEffect(var_11_7A, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_9_67), ldloc:Transform(var_10_6F))); 	stfld:SoundEffect(VoiceBoss02::g_SEAttackUp, ldloc:VoiceBoss02(this), ldloc:SoundEffect(var_11_7A)); 	stloc:GameObject(var_12_8A, ldfld:GameObject(VoiceBoss02::SE_AttackRotate, ldloc:VoiceBoss02(this))); 	stloc:Transform(var_13_92, callgetter:Transform(Component::get_transform, ldloc:VoiceBoss02[exp:Component](this))); 	stloc:SoundEffect(var_14_9D, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_12_8A), ldloc:Transform(var_13_92))); 	stfld:SoundEffect(VoiceBoss02::g_SEAttackRotate, ldloc:VoiceBoss02(this), ldloc:SoundEffect(var_14_9D)); 	stloc:GameObject(var_15_AD, ldfld:GameObject(VoiceBoss02::SE_AttackCharge, ldloc:VoiceBoss02(this))); 	stloc:Transform(var_16_B5, callgetter:Transform(Component::get_transform, ldloc:VoiceBoss02[exp:Component](this))); 	stloc:SoundEffect(var_17_C0, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_15_AD), ldloc:Transform(var_16_B5))); 	stfld:SoundEffect(VoiceBoss02::g_SEAttackCharge, ldloc:VoiceBoss02(this), ldloc:SoundEffect(var_17_C0)); 	stloc:GameObject(var_18_D0, ldfld:GameObject(VoiceBoss02::SE_Damage, ldloc:VoiceBoss02(this))); 	stloc:Transform(var_19_D8, callgetter:Transform(Component::get_transform, ldloc:VoiceBoss02[exp:Component](this))); 	stloc:SoundEffect(var_20_E3, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_18_D0), ldloc:Transform(var_19_D8))); 	stfld:SoundEffect(VoiceBoss02::g_SEDamage, ldloc:VoiceBoss02(this), ldloc:SoundEffect(var_20_E3)); 	stloc:GameObject(var_21_F3, ldfld:GameObject(VoiceBoss02::SE_DamageFly, ldloc:VoiceBoss02(this))); 	stloc:Transform(var_22_FB, callgetter:Transform(Component::get_transform, ldloc:VoiceBoss02[exp:Component](this))); 	stloc:SoundEffect(var_23_106, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_21_F3), ldloc:Transform(var_22_FB))); 	stfld:SoundEffect(VoiceBoss02::g_SEDamageFly, ldloc:VoiceBoss02(this), ldloc:SoundEffect(var_23_106)); 	stloc:GameObject(var_24_116, ldfld:GameObject(VoiceBoss02::SE_Death, ldloc:VoiceBoss02(this))); 	stloc:Transform(var_25_11E, callgetter:Transform(Component::get_transform, ldloc:VoiceBoss02[exp:Component](this))); 	stloc:SoundEffect(var_26_129, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_24_116), ldloc:Transform(var_25_11E))); 	stfld:SoundEffect(VoiceBoss02::g_SEDeath, ldloc:VoiceBoss02(this), ldloc:SoundEffect(var_26_129)); }; 
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810
   at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 344
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
   --- End of inner exception stack trace ---
   at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
   at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1618
*/;
	}

	// Token: 0x060000F4 RID: 244 RVA: 0x00004F28 File Offset: 0x00003128
	[Token(Token = "0x60000F4")]
	[Address(RVA = "0x939120", Offset = "0x937F20", VA = "0x180939120")]
	public void PlayVoiceAttackFour(int i)
	{
		if (i == 0)
		{
			this.g_SEAttackFour.Play(4, 1f, 1f);
			return;
		}
		if (i == 1)
		{
			this.g_SEAttackFour.Play(5, 1f, 1f);
			return;
		}
		if (i != 2)
		{
			if (i == 3)
			{
				this.g_SEAttackFour.Play(7, 1f, 1f);
			}
			return;
		}
		this.g_SEAttackFour.Play(6, 1f, 1f);
	}

	// Token: 0x060000F5 RID: 245 RVA: 0x00004FA8 File Offset: 0x000031A8
	[Token(Token = "0x60000F5")]
	[Address(RVA = "0x939120", Offset = "0x937F20", VA = "0x180939120")]
	public void PlayVoiceAttackFourPlus(int i)
	{
		if (i == 0)
		{
			this.g_SEAttackFour.Play(4, 1f, 1f);
			return;
		}
		if (i == 1)
		{
			this.g_SEAttackFour.Play(5, 1f, 1f);
			return;
		}
		if (i != 2)
		{
			if (i == 3)
			{
				this.g_SEAttackFour.Play(7, 1f, 1f);
			}
			return;
		}
		this.g_SEAttackFour.Play(6, 1f, 1f);
	}

	// Token: 0x060000F6 RID: 246 RVA: 0x00005028 File Offset: 0x00003228
	[Token(Token = "0x60000F6")]
	[Address(RVA = "0x939200", Offset = "0x938000", VA = "0x180939200")]
	public void PlayVoiceAttackHammer()
	{
		this.g_SEAttackHammer.PlayRandom(1f, 1f);
	}

	// Token: 0x060000F7 RID: 247 RVA: 0x00005050 File Offset: 0x00003250
	[Token(Token = "0x60000F7")]
	[Address(RVA = "0x939470", Offset = "0x938270", VA = "0x180939470")]
	public void PlayVoidAttackJump()
	{
		this.g_SEAttackJump.PlayRandom(1f, 1f);
	}

	// Token: 0x060000F8 RID: 248 RVA: 0x00005078 File Offset: 0x00003278
	[Token(Token = "0x60000F8")]
	[Address(RVA = "0x9392B0", Offset = "0x9380B0", VA = "0x1809392B0")]
	public void PlayVoiceAttackUp()
	{
		this.g_SEAttackUp.PlayRandom(1f, 1f);
	}

	// Token: 0x060000F9 RID: 249 RVA: 0x000050A0 File Offset: 0x000032A0
	[Token(Token = "0x60000F9")]
	[Address(RVA = "0x939230", Offset = "0x938030", VA = "0x180939230")]
	public void PlayVoiceAttackRotate01()
	{
		SoundEffect soundEffect = this.g_SEAttackRotate;
		int num = 0;
		soundEffect.Play(num, 1f, 1f);
	}

	// Token: 0x060000FA RID: 250 RVA: 0x000050D0 File Offset: 0x000032D0
	[Token(Token = "0x60000FA")]
	[Address(RVA = "0x939270", Offset = "0x938070", VA = "0x180939270")]
	public void PlayVoiceAttackRotate02()
	{
		this.g_SEAttackRotate.Play(1, 1f, 1f);
	}

	// Token: 0x060000FB RID: 251 RVA: 0x000050FC File Offset: 0x000032FC
	[Token(Token = "0x60000FB")]
	[Address(RVA = "0x9390A0", Offset = "0x937EA0", VA = "0x1809390A0")]
	public void PlayVoiceAttackCharge01()
	{
		SoundEffect soundEffect = this.g_SEAttackCharge;
		int num = 0;
		soundEffect.Play(num, 1f, 1f);
	}

	// Token: 0x060000FC RID: 252 RVA: 0x0000512C File Offset: 0x0000332C
	[Token(Token = "0x60000FC")]
	[Address(RVA = "0x9390E0", Offset = "0x937EE0", VA = "0x1809390E0")]
	public void PlayVoiceAttackCharge02()
	{
		this.g_SEAttackCharge.Play(1, 1f, 1f);
	}

	// Token: 0x060000FD RID: 253 RVA: 0x00005158 File Offset: 0x00003358
	[Token(Token = "0x60000FD")]
	[Address(RVA = "0x939310", Offset = "0x938110", VA = "0x180939310")]
	public void PlayVoiceDamage()
	{
		this.g_SEDamage.PlayRandom(1f, 1f);
	}

	// Token: 0x060000FE RID: 254 RVA: 0x00005180 File Offset: 0x00003380
	[Token(Token = "0x60000FE")]
	[Address(RVA = "0x9392E0", Offset = "0x9380E0", VA = "0x1809392E0")]
	public void PlayVoiceDamageFly()
	{
		this.g_SEDamageFly.PlayRandom(1f, 1f);
	}

	// Token: 0x060000FF RID: 255 RVA: 0x000051A8 File Offset: 0x000033A8
	[Token(Token = "0x60000FF")]
	[Address(RVA = "0x939340", Offset = "0x938140", VA = "0x180939340")]
	public void PlayVoiceDeath(int i)
	{
		this.g_SEDeath.Play(i, 1f, 1f);
	}

	// Token: 0x06000100 RID: 256 RVA: 0x000051D4 File Offset: 0x000033D4
	[Token(Token = "0x6000100")]
	[Address(RVA = "0x939380", Offset = "0x938180", VA = "0x180939380")]
	public void PlayVoiceDodge()
	{
		int num = UnityEngine.Random.Range(0, 4);
		if (num == 0)
		{
			SoundEffect soundEffect = this.g_SEAttackFour;
			int num2 = 0;
			soundEffect.Play(num2, 1f, 1f);
			return;
		}
		if (num == 1)
		{
			this.g_SEAttackFour.Play(1, 1f, 1f);
			return;
		}
		if (num != 2)
		{
			if (num == 3)
			{
				this.g_SEAttackFour.Play(num, 1f, 1f);
			}
			return;
		}
		this.g_SEAttackFour.Play(2, 1f, 1f);
	}

	// Token: 0x06000101 RID: 257 RVA: 0x00005264 File Offset: 0x00003464
	[Token(Token = "0x6000101")]
	[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
	public VoiceBoss02()
	{
	}

	// Token: 0x04000147 RID: 327
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x4000147")]
	public GameObject SE_AttackFour;

	// Token: 0x04000148 RID: 328
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x4000148")]
	public GameObject SE_AttackHammer;

	// Token: 0x04000149 RID: 329
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x4000149")]
	public GameObject SE_AttackJump;

	// Token: 0x0400014A RID: 330
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x400014A")]
	public GameObject SE_AttackUp;

	// Token: 0x0400014B RID: 331
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x400014B")]
	public GameObject SE_AttackRotate;

	// Token: 0x0400014C RID: 332
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x400014C")]
	public GameObject SE_AttackCharge;

	// Token: 0x0400014D RID: 333
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x400014D")]
	public GameObject SE_Damage;

	// Token: 0x0400014E RID: 334
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x400014E")]
	public GameObject SE_DamageFly;

	// Token: 0x0400014F RID: 335
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x400014F")]
	public GameObject SE_Death;

	// Token: 0x04000150 RID: 336
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x4000150")]
	private SoundEffect g_SEAttackFour;

	// Token: 0x04000151 RID: 337
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x4000151")]
	private SoundEffect g_SEAttackHammer;

	// Token: 0x04000152 RID: 338
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x4000152")]
	private SoundEffect g_SEAttackJump;

	// Token: 0x04000153 RID: 339
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x4000153")]
	private SoundEffect g_SEAttackUp;

	// Token: 0x04000154 RID: 340
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x4000154")]
	private SoundEffect g_SEAttackRotate;

	// Token: 0x04000155 RID: 341
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x4000155")]
	private SoundEffect g_SEAttackCharge;

	// Token: 0x04000156 RID: 342
	[FieldOffset(Offset = "0x90")]
	[Token(Token = "0x4000156")]
	private SoundEffect g_SEDamage;

	// Token: 0x04000157 RID: 343
	[FieldOffset(Offset = "0x98")]
	[Token(Token = "0x4000157")]
	private SoundEffect g_SEDamageFly;

	// Token: 0x04000158 RID: 344
	[FieldOffset(Offset = "0xA0")]
	[Token(Token = "0x4000158")]
	private SoundEffect g_SEDeath;
}
