using System; using Cpp2IlInjected; using UnityEngine; // Token: 0x02000026 RID: 38 [Token(Token = "0x2000026")] public class VoiceBoss06 : MonoBehaviour { // Token: 0x0600012B RID: 299 RVA: 0x00005AE0 File Offset: 0x00003CE0 [Token(Token = "0x600012B")] [Address(RVA = "0x939DD0", Offset = "0x938BD0", VA = "0x180939DD0")] public void InitData(Transform Parent) { /* An exception occurred when decompiling this method (0600012B) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void VoiceBoss06::InitData(UnityEngine.Transform) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; stloc:SoundEffect(var_0_0C, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_Attack01, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEAttack01, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_0_0C)); stloc:SoundEffect(var_1_20, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_Attack02, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEAttack02, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_1_20)); stloc:SoundEffect(var_2_34, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_Attack03, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEAttack03, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_2_34)); stloc:SoundEffect(var_3_48, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_Attack04, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEAttack04, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_3_48)); stloc:SoundEffect(var_4_5C, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_Attack05, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEAttack05, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_4_5C)); stloc:SoundEffect(var_5_72, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_Dodge, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEDodge, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_5_72)); stloc:SoundEffect(var_6_88, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_SwitchMagic, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SESwitchMagic, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_6_88)); stloc:SoundEffect(var_7_9E, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_Charge, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SECharge, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_7_9E)); stloc:SoundEffect(var_8_B4, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_ChargeShot, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEChargeShot, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_8_B4)); stloc:SoundEffect(var_9_CA, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_Damage, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEDamage, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_9_CA)); stloc:SoundEffect(var_10_E0, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_DamageFly, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEDamageFly, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_10_E0)); stloc:SoundEffect(var_11_F6, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss06::SE_Death, ldloc:VoiceBoss06(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss06::g_SEDeath, ldloc:VoiceBoss06(this), ldloc:SoundEffect(var_11_F6)); }; 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: 0x0600012C RID: 300 RVA: 0x00005BEC File Offset: 0x00003DEC [Token(Token = "0x600012C")] [Address(RVA = "0x9392B0", Offset = "0x9380B0", VA = "0x1809392B0")] public void PlayVoiceAttack01() { this.g_SEAttack01.PlayRandom(1f, 1f); } // Token: 0x0600012D RID: 301 RVA: 0x00005C14 File Offset: 0x00003E14 [Token(Token = "0x600012D")] [Address(RVA = "0x939620", Offset = "0x938420", VA = "0x180939620")] public void PlayVoiceAttack02() { this.g_SEAttack02.PlayRandom(1f, 1f); } // Token: 0x0600012E RID: 302 RVA: 0x00005C3C File Offset: 0x00003E3C [Token(Token = "0x600012E")] [Address(RVA = "0x939730", Offset = "0x938530", VA = "0x180939730")] public void PlayVoiceAttack03() { this.g_SEAttack03.PlayRandom(1f, 1f); } // Token: 0x0600012F RID: 303 RVA: 0x00005C64 File Offset: 0x00003E64 [Token(Token = "0x600012F")] [Address(RVA = "0x939310", Offset = "0x938110", VA = "0x180939310")] public void PlayVoiceAttack04() { this.g_SEAttack04.PlayRandom(1f, 1f); } // Token: 0x06000130 RID: 304 RVA: 0x00005C8C File Offset: 0x00003E8C [Token(Token = "0x6000130")] [Address(RVA = "0x9392E0", Offset = "0x9380E0", VA = "0x1809392E0")] public void PlayVoiceAttack05() { this.g_SEAttack05.PlayRandom(1f, 1f); } // Token: 0x06000131 RID: 305 RVA: 0x00005CB4 File Offset: 0x00003EB4 [Token(Token = "0x6000131")] [Address(RVA = "0x939D70", Offset = "0x938B70", VA = "0x180939D70")] public void PlayVoiceDodge() { this.g_SEDodge.PlayRandom(1f, 1f); } // Token: 0x06000132 RID: 306 RVA: 0x00005CDC File Offset: 0x00003EDC [Token(Token = "0x6000132")] [Address(RVA = "0x938770", Offset = "0x937570", VA = "0x180938770")] public void PlayVoiceSwitchMagic() { this.g_SESwitchMagic.PlayRandom(1f, 1f); } // Token: 0x06000133 RID: 307 RVA: 0x00005D04 File Offset: 0x00003F04 [Token(Token = "0x6000133")] [Address(RVA = "0x939DA0", Offset = "0x938BA0", VA = "0x180939DA0")] public void PlayVoiceDamage() { this.g_SEDamage.PlayRandom(1f, 1f); } // Token: 0x06000134 RID: 308 RVA: 0x00005D2C File Offset: 0x00003F2C [Token(Token = "0x6000134")] [Address(RVA = "0x939F70", Offset = "0x938D70", VA = "0x180939F70")] public void PlayVoiceChargeArcaneLong() { SoundEffect soundEffect = this.g_SECharge; int num = 0; soundEffect.Play(num, 1f, 1f); } // Token: 0x06000135 RID: 309 RVA: 0x00005D5C File Offset: 0x00003F5C [Token(Token = "0x6000135")] [Address(RVA = "0x93A070", Offset = "0x938E70", VA = "0x18093A070")] public void PlayVoiceChargeIceLong() { this.g_SECharge.Play(1, 1f, 1f); } // Token: 0x06000136 RID: 310 RVA: 0x00005D88 File Offset: 0x00003F88 [Token(Token = "0x6000136")] [Address(RVA = "0x939FF0", Offset = "0x938DF0", VA = "0x180939FF0")] public void PlayVoiceChargeFireLong() { this.g_SECharge.Play(2, 1f, 1f); } // Token: 0x06000137 RID: 311 RVA: 0x00005DB4 File Offset: 0x00003FB4 [Token(Token = "0x6000137")] [Address(RVA = "0x93A0F0", Offset = "0x938EF0", VA = "0x18093A0F0")] public void PlayVoiceChargeLightningLong() { this.g_SECharge.Play(3, 1f, 1f); } // Token: 0x06000138 RID: 312 RVA: 0x00005DE0 File Offset: 0x00003FE0 [Token(Token = "0x6000138")] [Address(RVA = "0x939FB0", Offset = "0x938DB0", VA = "0x180939FB0")] public void PlayVoiceChargeArcaneShort() { this.g_SECharge.Play(4, 1f, 1f); } // Token: 0x06000139 RID: 313 RVA: 0x00005E0C File Offset: 0x0000400C [Token(Token = "0x6000139")] [Address(RVA = "0x93A0B0", Offset = "0x938EB0", VA = "0x18093A0B0")] public void PlayVoiceChargeIceShort() { this.g_SECharge.Play(5, 1f, 1f); } // Token: 0x0600013A RID: 314 RVA: 0x00005E38 File Offset: 0x00004038 [Token(Token = "0x600013A")] [Address(RVA = "0x93A030", Offset = "0x938E30", VA = "0x18093A030")] public void PlayVoiceChargeFireShort() { this.g_SECharge.Play(6, 1f, 1f); } // Token: 0x0600013B RID: 315 RVA: 0x00005E64 File Offset: 0x00004064 [Token(Token = "0x600013B")] [Address(RVA = "0x93A130", Offset = "0x938F30", VA = "0x18093A130")] public void PlayVoiceChargeLightningShort() { this.g_SECharge.Play(7, 1f, 1f); } // Token: 0x0600013C RID: 316 RVA: 0x00005E90 File Offset: 0x00004090 [Token(Token = "0x600013C")] [Address(RVA = "0x93A170", Offset = "0x938F70", VA = "0x18093A170")] public void PlayVoiceChargeShot(int i) { if (i == 0) { SoundEffect soundEffect = this.g_SEChargeShot; int num = 0; soundEffect.Play(num, 1f, 1f); return; } if (i != 0) { if (i != 0) { if (i == 1) { uint num2; this.g_SEChargeShot.Play((int)num2, 1f, 1f); } return; } uint num3; this.g_SEChargeShot.Play((int)num3, 1f, 1f); return; } else { int num4 = UnityEngine.Random.Range(0, 2); SoundEffect soundEffect2 = this.g_SEChargeShot; if (num4 != 0) { uint num5; soundEffect2.Play((int)num5, 1f, 1f); return; } uint num6; soundEffect2.Play((int)num6, 1f, 1f); return; } } // Token: 0x0600013D RID: 317 RVA: 0x00005F40 File Offset: 0x00004140 [Token(Token = "0x600013D")] [Address(RVA = "0x93A2D0", Offset = "0x9390D0", VA = "0x18093A2D0")] public void StopVoiceCharge() { this.g_SECharge.Stop(); } // Token: 0x0600013E RID: 318 RVA: 0x00005F60 File Offset: 0x00004160 [Token(Token = "0x600013E")] [Address(RVA = "0x93A2A0", Offset = "0x9390A0", VA = "0x18093A2A0")] public void PlayVoiceDamageFly() { this.g_SEDamageFly.PlayRandom(1f, 1f); } // Token: 0x0600013F RID: 319 RVA: 0x00005F88 File Offset: 0x00004188 [Token(Token = "0x600013F")] [Address(RVA = "0x938E10", Offset = "0x937C10", VA = "0x180938E10")] public void PlayVoiceDeath() { this.g_SEDeath.PlayRandom(1f, 1f); } // Token: 0x06000140 RID: 320 RVA: 0x00005FB0 File Offset: 0x000041B0 [Token(Token = "0x6000140")] [Address(RVA = "0x3088F0", Offset = "0x3076F0", VA = "0x1803088F0")] public VoiceBoss06() { } // Token: 0x0400019D RID: 413 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400019D")] public GameObject SE_Attack01; // Token: 0x0400019E RID: 414 [FieldOffset(Offset = "0x20")] [Token(Token = "0x400019E")] public GameObject SE_Attack02; // Token: 0x0400019F RID: 415 [FieldOffset(Offset = "0x28")] [Token(Token = "0x400019F")] public GameObject SE_Attack03; // Token: 0x040001A0 RID: 416 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40001A0")] public GameObject SE_Attack04; // Token: 0x040001A1 RID: 417 [FieldOffset(Offset = "0x38")] [Token(Token = "0x40001A1")] public GameObject SE_Attack05; // Token: 0x040001A2 RID: 418 [FieldOffset(Offset = "0x40")] [Token(Token = "0x40001A2")] public GameObject SE_Dodge; // Token: 0x040001A3 RID: 419 [FieldOffset(Offset = "0x48")] [Token(Token = "0x40001A3")] public GameObject SE_SwitchMagic; // Token: 0x040001A4 RID: 420 [FieldOffset(Offset = "0x50")] [Token(Token = "0x40001A4")] public GameObject SE_Charge; // Token: 0x040001A5 RID: 421 [FieldOffset(Offset = "0x58")] [Token(Token = "0x40001A5")] public GameObject SE_ChargeShot; // Token: 0x040001A6 RID: 422 [FieldOffset(Offset = "0x60")] [Token(Token = "0x40001A6")] public GameObject SE_Damage; // Token: 0x040001A7 RID: 423 [FieldOffset(Offset = "0x68")] [Token(Token = "0x40001A7")] public GameObject SE_DamageFly; // Token: 0x040001A8 RID: 424 [FieldOffset(Offset = "0x70")] [Token(Token = "0x40001A8")] public GameObject SE_Death; // Token: 0x040001A9 RID: 425 [FieldOffset(Offset = "0x78")] [Token(Token = "0x40001A9")] private SoundEffect g_SEAttack01; // Token: 0x040001AA RID: 426 [FieldOffset(Offset = "0x80")] [Token(Token = "0x40001AA")] private SoundEffect g_SEAttack02; // Token: 0x040001AB RID: 427 [FieldOffset(Offset = "0x88")] [Token(Token = "0x40001AB")] private SoundEffect g_SEAttack03; // Token: 0x040001AC RID: 428 [FieldOffset(Offset = "0x90")] [Token(Token = "0x40001AC")] private SoundEffect g_SEAttack04; // Token: 0x040001AD RID: 429 [FieldOffset(Offset = "0x98")] [Token(Token = "0x40001AD")] private SoundEffect g_SEAttack05; // Token: 0x040001AE RID: 430 [FieldOffset(Offset = "0xA0")] [Token(Token = "0x40001AE")] private SoundEffect g_SEDodge; // Token: 0x040001AF RID: 431 [FieldOffset(Offset = "0xA8")] [Token(Token = "0x40001AF")] private SoundEffect g_SESwitchMagic; // Token: 0x040001B0 RID: 432 [FieldOffset(Offset = "0xB0")] [Token(Token = "0x40001B0")] private SoundEffect g_SECharge; // Token: 0x040001B1 RID: 433 [FieldOffset(Offset = "0xB8")] [Token(Token = "0x40001B1")] private SoundEffect g_SEChargeShot; // Token: 0x040001B2 RID: 434 [FieldOffset(Offset = "0xC0")] [Token(Token = "0x40001B2")] private SoundEffect g_SEDamage; // Token: 0x040001B3 RID: 435 [FieldOffset(Offset = "0xC8")] [Token(Token = "0x40001B3")] private SoundEffect g_SEDamageFly; // Token: 0x040001B4 RID: 436 [FieldOffset(Offset = "0xD0")] [Token(Token = "0x40001B4")] private SoundEffect g_SEDeath; }