using System;
using Cpp2IlInjected;
using UnityEngine;

// Token: 0x02000029 RID: 41
[Token(Token = "0x2000029")]
public class VoiceKnight : MonoBehaviour
{
	// Token: 0x06000147 RID: 327 RVA: 0x00006114 File Offset: 0x00004314
	[Token(Token = "0x6000147")]
	[Address(RVA = "0x93AD00", Offset = "0x939B00", VA = "0x18093AD00")]
	public void InitData()
	{
		/*
An exception occurred when decompiling this method (06000147)

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

 ---> System.Exception: Basic block has to end with unconditional control flow. 
{; 	Block_0:; 	stloc:GameObject(var_0_06, ldfld:GameObject(VoiceKnight::SE_Attack01, ldloc:VoiceKnight(this))); 	stloc:Transform(var_1_0D, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_2_15, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_0_06), ldloc:Transform(var_1_0D))); 	stfld:SoundEffect(VoiceKnight::g_SEAttack01, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_2_15)); 	stloc:GameObject(var_3_23, ldfld:GameObject(VoiceKnight::SE_Attack02, ldloc:VoiceKnight(this))); 	stloc:Transform(var_4_2A, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_5_34, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_3_23), ldloc:Transform(var_4_2A))); 	stfld:SoundEffect(VoiceKnight::g_SEAttack02, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_5_34)); 	stloc:GameObject(var_6_44, ldfld:GameObject(VoiceKnight::SE_Attack03, ldloc:VoiceKnight(this))); 	stloc:Transform(var_7_4C, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_8_57, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_6_44), ldloc:Transform(var_7_4C))); 	stfld:SoundEffect(VoiceKnight::g_SEAttack03, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_8_57)); 	stloc:GameObject(var_9_67, ldfld:GameObject(VoiceKnight::SE_Attack04, ldloc:VoiceKnight(this))); 	stloc:Transform(var_10_6F, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_11_7A, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_9_67), ldloc:Transform(var_10_6F))); 	stfld:SoundEffect(VoiceKnight::g_SEAttack04, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_11_7A)); 	stloc:GameObject(var_12_8A, ldfld:GameObject(VoiceKnight::SE_AttackDodge, ldloc:VoiceKnight(this))); 	stloc:Transform(var_13_92, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_14_9D, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_12_8A), ldloc:Transform(var_13_92))); 	stfld:SoundEffect(VoiceKnight::g_SEAttackDodge, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_14_9D)); 	stloc:GameObject(var_15_AD, ldfld:GameObject(VoiceKnight::SE_AttackRun, ldloc:VoiceKnight(this))); 	stloc:Transform(var_16_B5, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_17_C0, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_15_AD), ldloc:Transform(var_16_B5))); 	stfld:SoundEffect(VoiceKnight::g_SEAttackRun, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_17_C0)); 	stloc:GameObject(var_18_D0, ldfld:GameObject(VoiceKnight::SE_AttackSky, ldloc:VoiceKnight(this))); 	stloc:Transform(var_19_D8, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_20_E3, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_18_D0), ldloc:Transform(var_19_D8))); 	stfld:SoundEffect(VoiceKnight::g_SEAttackSky, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_20_E3)); 	stloc:GameObject(var_21_F3, ldfld:GameObject(VoiceKnight::SE_Dodge, ldloc:VoiceKnight(this))); 	stloc:Transform(var_22_FB, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_23_106, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_21_F3), ldloc:Transform(var_22_FB))); 	stfld:SoundEffect(VoiceKnight::g_SEDodge, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_23_106)); 	stloc:GameObject(var_24_116, ldfld:GameObject(VoiceKnight::SE_Jump, ldloc:VoiceKnight(this))); 	stloc:Transform(var_25_11E, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_26_129, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_24_116), ldloc:Transform(var_25_11E))); 	stfld:SoundEffect(VoiceKnight::g_SEJump, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_26_129)); 	stloc:GameObject(var_27_139, ldfld:GameObject(VoiceKnight::SE_Dodge, ldloc:VoiceKnight(this))); 	stloc:Transform(var_28_141, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_29_14C, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_27_139), ldloc:Transform(var_28_141))); 	stfld:SoundEffect(VoiceKnight::g_SEDamage, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_29_14C)); 	stloc:GameObject(var_30_15C, ldfld:GameObject(VoiceKnight::SE_Dead, ldloc:VoiceKnight(this))); 	stloc:Transform(var_31_164, callgetter:Transform(Component::get_transform, ldloc:VoiceKnight[exp:Component](this))); 	stloc:SoundEffect(var_32_16F, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldloc:GameObject(var_30_15C), ldloc:Transform(var_31_164))); 	stfld:SoundEffect(VoiceKnight::g_SEDead, ldloc:VoiceKnight(this), ldloc:SoundEffect(var_32_16F)); }; 
   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: 0x06000148 RID: 328 RVA: 0x0000629C File Offset: 0x0000449C
	[Token(Token = "0x6000148")]
	[Address(RVA = "0x93AF10", Offset = "0x939D10", VA = "0x18093AF10")]
	public void PlayVoiceAttack01_01()
	{
		SoundEffect soundEffect = this.g_SEAttack01;
		int num = 0;
		soundEffect.Play(num, 1f, 1f);
	}

	// Token: 0x06000149 RID: 329 RVA: 0x000062CC File Offset: 0x000044CC
	[Token(Token = "0x6000149")]
	[Address(RVA = "0x93AF50", Offset = "0x939D50", VA = "0x18093AF50")]
	public void PlayVoiceAttack01_02()
	{
		int num = UnityEngine.Random.Range(0, 2);
		SoundEffect soundEffect = this.g_SEAttack01;
		if (num != 0)
		{
			soundEffect.Play(2, 1f, 1f);
			return;
		}
		soundEffect.Play(1, 1f, 1f);
	}

	// Token: 0x0600014A RID: 330 RVA: 0x00006318 File Offset: 0x00004518
	[Token(Token = "0x600014A")]
	[Address(RVA = "0x93AFD0", Offset = "0x939DD0", VA = "0x18093AFD0")]
	public void PlayVoiceAttack02_01()
	{
		int num = UnityEngine.Random.Range(0, 2);
		SoundEffect soundEffect = this.g_SEAttack02;
		if (num != 0)
		{
			soundEffect.Play(1, 1f, 1f);
			return;
		}
		int num2 = 0;
		soundEffect.Play(num2, 1f, 1f);
	}

	// Token: 0x0600014B RID: 331 RVA: 0x00006364 File Offset: 0x00004564
	[Token(Token = "0x600014B")]
	[Address(RVA = "0x93B050", Offset = "0x939E50", VA = "0x18093B050")]
	public void PlayVoiceAttack02_02()
	{
		int num = UnityEngine.Random.Range(0, 2);
		SoundEffect soundEffect = this.g_SEAttack02;
		if (num != 0)
		{
			soundEffect.Play(3, 1f, 1f);
			return;
		}
		soundEffect.Play(2, 1f, 1f);
	}

	// Token: 0x0600014C RID: 332 RVA: 0x000063B0 File Offset: 0x000045B0
	[Token(Token = "0x600014C")]
	[Address(RVA = "0x939230", Offset = "0x938030", VA = "0x180939230")]
	public void PlayVoiceAttack03_01()
	{
		SoundEffect soundEffect = this.g_SEAttack03;
		int num = 0;
		soundEffect.Play(num, 1f, 1f);
	}

	// Token: 0x0600014D RID: 333 RVA: 0x000063E0 File Offset: 0x000045E0
	[Token(Token = "0x600014D")]
	[Address(RVA = "0x939270", Offset = "0x938070", VA = "0x180939270")]
	public void PlayVoiceAttack03_02()
	{
		this.g_SEAttack03.Play(1, 1f, 1f);
	}

	// Token: 0x0600014E RID: 334 RVA: 0x0000640C File Offset: 0x0000460C
	[Token(Token = "0x600014E")]
	[Address(RVA = "0x939730", Offset = "0x938530", VA = "0x180939730")]
	public void PlayVoiceAttack04()
	{
		this.g_SEAttack04.PlayRandom(1f, 1f);
	}

	// Token: 0x0600014F RID: 335 RVA: 0x00006434 File Offset: 0x00004634
	[Token(Token = "0x600014F")]
	[Address(RVA = "0x93B0D0", Offset = "0x939ED0", VA = "0x18093B0D0")]
	public void PlayVoiceAttackDodge01()
	{
		SoundEffect soundEffect = this.g_SEAttackDodge;
		int num = 0;
		soundEffect.Play(num, 1f, 1f);
	}

	// Token: 0x06000150 RID: 336 RVA: 0x00006464 File Offset: 0x00004664
	[Token(Token = "0x6000150")]
	[Address(RVA = "0x93B110", Offset = "0x939F10", VA = "0x18093B110")]
	public void PlayVoiceAttackDodge02()
	{
		this.g_SEAttackDodge.Play(1, 1f, 1f);
	}

	// Token: 0x06000151 RID: 337 RVA: 0x00006490 File Offset: 0x00004690
	[Token(Token = "0x6000151")]
	[Address(RVA = "0x93B150", Offset = "0x939F50", VA = "0x18093B150")]
	public void PlayVoiceAttackRun01()
	{
		SoundEffect soundEffect = this.g_SEAttackRun;
		int num = 0;
		soundEffect.Play(num, 1f, 1f);
	}

	// Token: 0x06000152 RID: 338 RVA: 0x000064C0 File Offset: 0x000046C0
	[Token(Token = "0x6000152")]
	[Address(RVA = "0x93B190", Offset = "0x939F90", VA = "0x18093B190")]
	public void PlayVoiceAttackRun02()
	{
		this.g_SEAttackRun.Play(1, 1f, 1f);
	}

	// Token: 0x06000153 RID: 339 RVA: 0x000064EC File Offset: 0x000046EC
	[Token(Token = "0x6000153")]
	[Address(RVA = "0x939D70", Offset = "0x938B70", VA = "0x180939D70")]
	public void PlayVoiceAttackSky()
	{
		this.g_SEAttackSky.PlayRandom(1f, 1f);
	}

	// Token: 0x06000154 RID: 340 RVA: 0x00006514 File Offset: 0x00004714
	[Token(Token = "0x6000154")]
	[Address(RVA = "0x938770", Offset = "0x937570", VA = "0x180938770")]
	public void PlayVoiceDodge()
	{
		this.g_SEDodge.PlayRandom(1f, 1f);
	}

	// Token: 0x06000155 RID: 341 RVA: 0x0000653C File Offset: 0x0000473C
	[Token(Token = "0x6000155")]
	[Address(RVA = "0x939680", Offset = "0x938480", VA = "0x180939680")]
	public void PlayVoiceJump()
	{
		this.g_SEJump.PlayRandom(1f, 1f);
	}

	// Token: 0x06000156 RID: 342 RVA: 0x00006564 File Offset: 0x00004764
	[Token(Token = "0x6000156")]
	[Address(RVA = "0x939650", Offset = "0x938450", VA = "0x180939650")]
	public void PlayVoiceDamage()
	{
		this.g_SEDamage.PlayRandom(1f, 1f);
	}

	// Token: 0x06000157 RID: 343 RVA: 0x0000658C File Offset: 0x0000478C
	[Token(Token = "0x6000157")]
	[Address(RVA = "0x939DA0", Offset = "0x938BA0", VA = "0x180939DA0")]
	public void PlayVoiceDead()
	{
		this.g_SEDead.PlayRandom(1f, 1f);
	}

	// Token: 0x06000158 RID: 344 RVA: 0x000065B4 File Offset: 0x000047B4
	[Token(Token = "0x6000158")]
	[Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")]
	public VoiceKnight()
	{
	}

	// Token: 0x040001C2 RID: 450
	[FieldOffset(Offset = "0x18")]
	[Token(Token = "0x40001C2")]
	public GameObject SE_Attack01;

	// Token: 0x040001C3 RID: 451
	[FieldOffset(Offset = "0x20")]
	[Token(Token = "0x40001C3")]
	public GameObject SE_Attack02;

	// Token: 0x040001C4 RID: 452
	[FieldOffset(Offset = "0x28")]
	[Token(Token = "0x40001C4")]
	public GameObject SE_Attack03;

	// Token: 0x040001C5 RID: 453
	[FieldOffset(Offset = "0x30")]
	[Token(Token = "0x40001C5")]
	public GameObject SE_Attack04;

	// Token: 0x040001C6 RID: 454
	[FieldOffset(Offset = "0x38")]
	[Token(Token = "0x40001C6")]
	public GameObject SE_AttackDodge;

	// Token: 0x040001C7 RID: 455
	[FieldOffset(Offset = "0x40")]
	[Token(Token = "0x40001C7")]
	public GameObject SE_AttackRun;

	// Token: 0x040001C8 RID: 456
	[FieldOffset(Offset = "0x48")]
	[Token(Token = "0x40001C8")]
	public GameObject SE_AttackSky;

	// Token: 0x040001C9 RID: 457
	[FieldOffset(Offset = "0x50")]
	[Token(Token = "0x40001C9")]
	public GameObject SE_Dodge;

	// Token: 0x040001CA RID: 458
	[FieldOffset(Offset = "0x58")]
	[Token(Token = "0x40001CA")]
	public GameObject SE_Jump;

	// Token: 0x040001CB RID: 459
	[FieldOffset(Offset = "0x60")]
	[Token(Token = "0x40001CB")]
	public GameObject SE_Damage;

	// Token: 0x040001CC RID: 460
	[FieldOffset(Offset = "0x68")]
	[Token(Token = "0x40001CC")]
	public GameObject SE_Dead;

	// Token: 0x040001CD RID: 461
	[FieldOffset(Offset = "0x70")]
	[Token(Token = "0x40001CD")]
	private SoundEffect g_SEAttack01;

	// Token: 0x040001CE RID: 462
	[FieldOffset(Offset = "0x78")]
	[Token(Token = "0x40001CE")]
	private SoundEffect g_SEAttack02;

	// Token: 0x040001CF RID: 463
	[FieldOffset(Offset = "0x80")]
	[Token(Token = "0x40001CF")]
	private SoundEffect g_SEAttack03;

	// Token: 0x040001D0 RID: 464
	[FieldOffset(Offset = "0x88")]
	[Token(Token = "0x40001D0")]
	private SoundEffect g_SEAttack04;

	// Token: 0x040001D1 RID: 465
	[FieldOffset(Offset = "0x90")]
	[Token(Token = "0x40001D1")]
	private SoundEffect g_SEAttackDodge;

	// Token: 0x040001D2 RID: 466
	[FieldOffset(Offset = "0x98")]
	[Token(Token = "0x40001D2")]
	private SoundEffect g_SEAttackRun;

	// Token: 0x040001D3 RID: 467
	[FieldOffset(Offset = "0xA0")]
	[Token(Token = "0x40001D3")]
	private SoundEffect g_SEAttackSky;

	// Token: 0x040001D4 RID: 468
	[FieldOffset(Offset = "0xA8")]
	[Token(Token = "0x40001D4")]
	private SoundEffect g_SEDodge;

	// Token: 0x040001D5 RID: 469
	[FieldOffset(Offset = "0xB0")]
	[Token(Token = "0x40001D5")]
	private SoundEffect g_SEJump;

	// Token: 0x040001D6 RID: 470
	[FieldOffset(Offset = "0xB8")]
	[Token(Token = "0x40001D6")]
	private SoundEffect g_SEDamage;

	// Token: 0x040001D7 RID: 471
	[FieldOffset(Offset = "0xC0")]
	[Token(Token = "0x40001D7")]
	private SoundEffect g_SEDead;
}
