using System; using Cpp2IlInjected; using UnityEngine; // Token: 0x02000027 RID: 39 [Token(Token = "0x2000027")] public class VoiceBoss06 : MonoBehaviour { // Token: 0x0600012C RID: 300 RVA: 0x00005A64 File Offset: 0x00003C64 [Token(Token = "0x600012C")] [Address(RVA = "0x4B3DD0", Offset = "0x4B2DD0", VA = "0x1804B3DD0")] public void InitData(Transform Parent) { /* An exception occurred when decompiling this method (0600012C) 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: 0x0600012D RID: 301 RVA: 0x00005B70 File Offset: 0x00003D70 [Token(Token = "0x600012D")] [Address(RVA = "0x4B32B0", Offset = "0x4B22B0", VA = "0x1804B32B0")] public void PlayVoiceAttack01() { this.g_SEAttack01.PlayRandom(1f, 1f); } // Token: 0x0600012E RID: 302 RVA: 0x00005B98 File Offset: 0x00003D98 [Token(Token = "0x600012E")] [Address(RVA = "0x4B3620", Offset = "0x4B2620", VA = "0x1804B3620")] public void PlayVoiceAttack02() { this.g_SEAttack02.PlayRandom(1f, 1f); } // Token: 0x0600012F RID: 303 RVA: 0x00005BC0 File Offset: 0x00003DC0 [Token(Token = "0x600012F")] [Address(RVA = "0x4B3730", Offset = "0x4B2730", VA = "0x1804B3730")] public void PlayVoiceAttack03() { this.g_SEAttack03.PlayRandom(1f, 1f); } // Token: 0x06000130 RID: 304 RVA: 0x00005BE8 File Offset: 0x00003DE8 [Token(Token = "0x6000130")] [Address(RVA = "0x4B3310", Offset = "0x4B2310", VA = "0x1804B3310")] public void PlayVoiceAttack04() { this.g_SEAttack04.PlayRandom(1f, 1f); } // Token: 0x06000131 RID: 305 RVA: 0x00005C10 File Offset: 0x00003E10 [Token(Token = "0x6000131")] [Address(RVA = "0x4B32E0", Offset = "0x4B22E0", VA = "0x1804B32E0")] public void PlayVoiceAttack05() { this.g_SEAttack05.PlayRandom(1f, 1f); } // Token: 0x06000132 RID: 306 RVA: 0x00005C38 File Offset: 0x00003E38 [Token(Token = "0x6000132")] [Address(RVA = "0x4B3D70", Offset = "0x4B2D70", VA = "0x1804B3D70")] public void PlayVoiceDodge() { this.g_SEDodge.PlayRandom(1f, 1f); } // Token: 0x06000133 RID: 307 RVA: 0x00005C60 File Offset: 0x00003E60 [Token(Token = "0x6000133")] [Address(RVA = "0x4B2770", Offset = "0x4B1770", VA = "0x1804B2770")] public void PlayVoiceSwitchMagic() { this.g_SESwitchMagic.PlayRandom(1f, 1f); } // Token: 0x06000134 RID: 308 RVA: 0x00005C88 File Offset: 0x00003E88 [Token(Token = "0x6000134")] [Address(RVA = "0x4B3DA0", Offset = "0x4B2DA0", VA = "0x1804B3DA0")] public void PlayVoiceDamage() { this.g_SEDamage.PlayRandom(1f, 1f); } // Token: 0x06000135 RID: 309 RVA: 0x00005CB0 File Offset: 0x00003EB0 [Token(Token = "0x6000135")] [Address(RVA = "0x4B3F70", Offset = "0x4B2F70", VA = "0x1804B3F70")] public void PlayVoiceChargeArcaneLong() { SoundEffect soundEffect = this.g_SECharge; int num = 0; soundEffect.Play(num, 1f, 1f); } // Token: 0x06000136 RID: 310 RVA: 0x00005CE0 File Offset: 0x00003EE0 [Token(Token = "0x6000136")] [Address(RVA = "0x4B4070", Offset = "0x4B3070", VA = "0x1804B4070")] public void PlayVoiceChargeIceLong() { this.g_SECharge.Play(1, 1f, 1f); } // Token: 0x06000137 RID: 311 RVA: 0x00005D0C File Offset: 0x00003F0C [Token(Token = "0x6000137")] [Address(RVA = "0x4B3FF0", Offset = "0x4B2FF0", VA = "0x1804B3FF0")] public void PlayVoiceChargeFireLong() { this.g_SECharge.Play(2, 1f, 1f); } // Token: 0x06000138 RID: 312 RVA: 0x00005D38 File Offset: 0x00003F38 [Token(Token = "0x6000138")] [Address(RVA = "0x4B40F0", Offset = "0x4B30F0", VA = "0x1804B40F0")] public void PlayVoiceChargeLightningLong() { this.g_SECharge.Play(3, 1f, 1f); } // Token: 0x06000139 RID: 313 RVA: 0x00005D64 File Offset: 0x00003F64 [Token(Token = "0x6000139")] [Address(RVA = "0x4B3FB0", Offset = "0x4B2FB0", VA = "0x1804B3FB0")] public void PlayVoiceChargeArcaneShort() { this.g_SECharge.Play(4, 1f, 1f); } // Token: 0x0600013A RID: 314 RVA: 0x00005D90 File Offset: 0x00003F90 [Token(Token = "0x600013A")] [Address(RVA = "0x4B40B0", Offset = "0x4B30B0", VA = "0x1804B40B0")] public void PlayVoiceChargeIceShort() { this.g_SECharge.Play(5, 1f, 1f); } // Token: 0x0600013B RID: 315 RVA: 0x00005DBC File Offset: 0x00003FBC [Token(Token = "0x600013B")] [Address(RVA = "0x4B4030", Offset = "0x4B3030", VA = "0x1804B4030")] public void PlayVoiceChargeFireShort() { this.g_SECharge.Play(6, 1f, 1f); } // Token: 0x0600013C RID: 316 RVA: 0x00005DE8 File Offset: 0x00003FE8 [Token(Token = "0x600013C")] [Address(RVA = "0x4B4130", Offset = "0x4B3130", VA = "0x1804B4130")] public void PlayVoiceChargeLightningShort() { this.g_SECharge.Play(7, 1f, 1f); } // Token: 0x0600013D RID: 317 RVA: 0x00005E14 File Offset: 0x00004014 [Token(Token = "0x600013D")] [Address(RVA = "0x4B4170", Offset = "0x4B3170", VA = "0x1804B4170")] 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: 0x0600013E RID: 318 RVA: 0x00005EC4 File Offset: 0x000040C4 [Token(Token = "0x600013E")] [Address(RVA = "0x4B42D0", Offset = "0x4B32D0", VA = "0x1804B42D0")] public void StopVoiceCharge() { this.g_SECharge.Stop(); } // Token: 0x0600013F RID: 319 RVA: 0x00005EE4 File Offset: 0x000040E4 [Token(Token = "0x600013F")] [Address(RVA = "0x4B42A0", Offset = "0x4B32A0", VA = "0x1804B42A0")] public void PlayVoiceDamageFly() { this.g_SEDamageFly.PlayRandom(1f, 1f); } // Token: 0x06000140 RID: 320 RVA: 0x00005F0C File Offset: 0x0000410C [Token(Token = "0x6000140")] [Address(RVA = "0x4B2E10", Offset = "0x4B1E10", VA = "0x1804B2E10")] public void PlayVoiceDeath() { this.g_SEDeath.PlayRandom(1f, 1f); } // Token: 0x06000141 RID: 321 RVA: 0x00005F34 File Offset: 0x00004134 [Token(Token = "0x6000141")] [Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")] public VoiceBoss06() { } // Token: 0x040001A2 RID: 418 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40001A2")] public GameObject SE_Attack01; // Token: 0x040001A3 RID: 419 [FieldOffset(Offset = "0x20")] [Token(Token = "0x40001A3")] public GameObject SE_Attack02; // Token: 0x040001A4 RID: 420 [FieldOffset(Offset = "0x28")] [Token(Token = "0x40001A4")] public GameObject SE_Attack03; // Token: 0x040001A5 RID: 421 [FieldOffset(Offset = "0x30")] [Token(Token = "0x40001A5")] public GameObject SE_Attack04; // Token: 0x040001A6 RID: 422 [FieldOffset(Offset = "0x38")] [Token(Token = "0x40001A6")] public GameObject SE_Attack05; // Token: 0x040001A7 RID: 423 [FieldOffset(Offset = "0x40")] [Token(Token = "0x40001A7")] public GameObject SE_Dodge; // Token: 0x040001A8 RID: 424 [FieldOffset(Offset = "0x48")] [Token(Token = "0x40001A8")] public GameObject SE_SwitchMagic; // Token: 0x040001A9 RID: 425 [FieldOffset(Offset = "0x50")] [Token(Token = "0x40001A9")] public GameObject SE_Charge; // Token: 0x040001AA RID: 426 [FieldOffset(Offset = "0x58")] [Token(Token = "0x40001AA")] public GameObject SE_ChargeShot; // Token: 0x040001AB RID: 427 [FieldOffset(Offset = "0x60")] [Token(Token = "0x40001AB")] public GameObject SE_Damage; // Token: 0x040001AC RID: 428 [FieldOffset(Offset = "0x68")] [Token(Token = "0x40001AC")] public GameObject SE_DamageFly; // Token: 0x040001AD RID: 429 [FieldOffset(Offset = "0x70")] [Token(Token = "0x40001AD")] public GameObject SE_Death; // Token: 0x040001AE RID: 430 [FieldOffset(Offset = "0x78")] [Token(Token = "0x40001AE")] private SoundEffect g_SEAttack01; // Token: 0x040001AF RID: 431 [FieldOffset(Offset = "0x80")] [Token(Token = "0x40001AF")] private SoundEffect g_SEAttack02; // Token: 0x040001B0 RID: 432 [FieldOffset(Offset = "0x88")] [Token(Token = "0x40001B0")] private SoundEffect g_SEAttack03; // Token: 0x040001B1 RID: 433 [FieldOffset(Offset = "0x90")] [Token(Token = "0x40001B1")] private SoundEffect g_SEAttack04; // Token: 0x040001B2 RID: 434 [FieldOffset(Offset = "0x98")] [Token(Token = "0x40001B2")] private SoundEffect g_SEAttack05; // Token: 0x040001B3 RID: 435 [FieldOffset(Offset = "0xA0")] [Token(Token = "0x40001B3")] private SoundEffect g_SEDodge; // Token: 0x040001B4 RID: 436 [FieldOffset(Offset = "0xA8")] [Token(Token = "0x40001B4")] private SoundEffect g_SESwitchMagic; // Token: 0x040001B5 RID: 437 [FieldOffset(Offset = "0xB0")] [Token(Token = "0x40001B5")] private SoundEffect g_SECharge; // Token: 0x040001B6 RID: 438 [FieldOffset(Offset = "0xB8")] [Token(Token = "0x40001B6")] private SoundEffect g_SEChargeShot; // Token: 0x040001B7 RID: 439 [FieldOffset(Offset = "0xC0")] [Token(Token = "0x40001B7")] private SoundEffect g_SEDamage; // Token: 0x040001B8 RID: 440 [FieldOffset(Offset = "0xC8")] [Token(Token = "0x40001B8")] private SoundEffect g_SEDamageFly; // Token: 0x040001B9 RID: 441 [FieldOffset(Offset = "0xD0")] [Token(Token = "0x40001B9")] private SoundEffect g_SEDeath; }