Files
NobetaSource/Cpp2IL/Assembly-CSharp/VoiceBoss03Big.cs
2023-09-06 22:19:13 +02:00

277 lines
12 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
// Token: 0x02000025 RID: 37
[Token(Token = "0x2000025")]
public class VoiceBoss03Big : MonoBehaviour
{
// Token: 0x06000110 RID: 272 RVA: 0x00005448 File Offset: 0x00003648
[Token(Token = "0x6000110")]
[Address(RVA = "0x4B34A0", Offset = "0x4B24A0", VA = "0x1804B34A0")]
public void InitData(Transform Parent)
{
/*
An exception occurred when decompiling this method (06000110)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void VoiceBoss03Big::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(VoiceBoss03Big::SE_Debut, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SEDebut, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_0_0C)); stloc:SoundEffect(var_1_20, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_Attack01, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SEAttack01, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_1_20)); stloc:SoundEffect(var_2_34, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_Attack02, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SEAttack02, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_2_34)); stloc:SoundEffect(var_3_48, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_Sweep, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SESweep, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_3_48)); stloc:SoundEffect(var_4_5C, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_SplashMagma, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SESplashMagma, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_4_5C)); stloc:SoundEffect(var_5_72, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_FireBall, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SEFireBall, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_5_72)); stloc:SoundEffect(var_6_88, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_Charge, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SECharge, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_6_88)); stloc:SoundEffect(var_7_9E, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_ChargeAttack, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SEChargeAttack, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_7_9E)); stloc:SoundEffect(var_8_B4, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_ChargeThrow, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SEChargeThrow, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_8_B4)); stloc:SoundEffect(var_9_CA, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_ChargeDamage, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SEChargeDamage, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_9_CA)); stloc:SoundEffect(var_10_E0, call:SoundEffect(Common::GetSoundEffectOfPrefabs, ldfld:GameObject(VoiceBoss03Big::SE_Death, ldloc:VoiceBoss03Big(this)), ldloc:Transform(Parent))); stfld:SoundEffect(VoiceBoss03Big::g_SEDeath, ldloc:VoiceBoss03Big(this), ldloc:SoundEffect(var_10_E0)); };
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: 0x06000111 RID: 273 RVA: 0x00005540 File Offset: 0x00003740
[Token(Token = "0x6000111")]
[Address(RVA = "0x4B3790", Offset = "0x4B2790", VA = "0x1804B3790")]
private void Update()
{
do
{
float stageDeltaTime = Game.GetStageDeltaTime();
if (0 < (int)stageDeltaTime)
{
goto Block_0;
}
}
while (!this.g_SECharge.GetIsPlaying());
while (this.g_bSECharge)
{
}
this.g_SECharge.Pause();
this.g_bSECharge = true;
return;
Block_0:
if (this.g_bSECharge)
{
this.g_SECharge.Continue();
this.g_bSECharge = false;
}
}
// Token: 0x06000112 RID: 274 RVA: 0x000055A4 File Offset: 0x000037A4
[Token(Token = "0x6000112")]
[Address(RVA = "0x4B3470", Offset = "0x4B2470", VA = "0x1804B3470")]
public void PlayVoiceDebut()
{
this.g_SEDebut.PlayRandom(1f, 1f);
}
// Token: 0x06000113 RID: 275 RVA: 0x000055CC File Offset: 0x000037CC
[Token(Token = "0x6000113")]
[Address(RVA = "0x4B32B0", Offset = "0x4B22B0", VA = "0x1804B32B0")]
public void PlayVoiceAttack01()
{
this.g_SEAttack01.PlayRandom(1f, 1f);
}
// Token: 0x06000114 RID: 276 RVA: 0x000055F4 File Offset: 0x000037F4
[Token(Token = "0x6000114")]
[Address(RVA = "0x4B3620", Offset = "0x4B2620", VA = "0x1804B3620")]
public void PlayVoiceAttack02()
{
this.g_SEAttack02.PlayRandom(1f, 1f);
}
// Token: 0x06000115 RID: 277 RVA: 0x0000561C File Offset: 0x0000381C
[Token(Token = "0x6000115")]
[Address(RVA = "0x4B3730", Offset = "0x4B2730", VA = "0x1804B3730")]
public void PlayVoiceSweep()
{
this.g_SESweep.PlayRandom(1f, 1f);
}
// Token: 0x06000116 RID: 278 RVA: 0x00005644 File Offset: 0x00003844
[Token(Token = "0x6000116")]
[Address(RVA = "0x4B36F0", Offset = "0x4B26F0", VA = "0x1804B36F0")]
public void PlayVoiceSplashMagma(int i)
{
this.g_SESplashMagma.Play(i, 1f, 1f);
}
// Token: 0x06000117 RID: 279 RVA: 0x00005670 File Offset: 0x00003870
[Token(Token = "0x6000117")]
[Address(RVA = "0x4B32E0", Offset = "0x4B22E0", VA = "0x1804B32E0")]
public void PlayVoiceFireBall()
{
this.g_SEFireBall.PlayRandom(1f, 1f);
}
// Token: 0x06000118 RID: 280 RVA: 0x00005698 File Offset: 0x00003898
[Token(Token = "0x6000118")]
[Address(RVA = "0x4B2770", Offset = "0x4B1770", VA = "0x1804B2770")]
public void PlayVoiceChargeAttack()
{
this.g_SEChargeAttack.PlayRandom(1f, 1f);
}
// Token: 0x06000119 RID: 281 RVA: 0x000056C0 File Offset: 0x000038C0
[Token(Token = "0x6000119")]
[Address(RVA = "0x4B3680", Offset = "0x4B2680", VA = "0x1804B3680")]
public void PlayVoiceChargeThrow()
{
this.g_SEChargeThrow.PlayRandom(1f, 1f);
}
// Token: 0x0600011A RID: 282 RVA: 0x000056E8 File Offset: 0x000038E8
[Token(Token = "0x600011A")]
[Address(RVA = "0x4B3650", Offset = "0x4B2650", VA = "0x1804B3650")]
public void PlayVoiceChargeDamage()
{
this.g_SEChargeDamage.PlayRandom(1f, 1f);
}
// Token: 0x0600011B RID: 283 RVA: 0x00005710 File Offset: 0x00003910
[Token(Token = "0x600011B")]
[Address(RVA = "0x4B36B0", Offset = "0x4B26B0", VA = "0x1804B36B0")]
public void PlayVoiceDeath(int i)
{
this.g_SEDeath.Play(i, 1f, 1f);
}
// Token: 0x0600011C RID: 284 RVA: 0x0000573C File Offset: 0x0000393C
[Token(Token = "0x600011C")]
[Address(RVA = "0x4B3340", Offset = "0x4B2340", VA = "0x1804B3340")]
public void PlayVoiceCharge(int i)
{
this.g_SECharge.Play(i, 1f, 1f);
}
// Token: 0x0600011D RID: 285 RVA: 0x00005768 File Offset: 0x00003968
[Token(Token = "0x600011D")]
[Address(RVA = "0x4B3760", Offset = "0x4B2760", VA = "0x1804B3760")]
public void StopVoiceCharge()
{
this.g_SECharge.Stop();
}
// Token: 0x0600011E RID: 286 RVA: 0x00005788 File Offset: 0x00003988
[Token(Token = "0x600011E")]
[Address(RVA = "0x328C40", Offset = "0x327C40", VA = "0x180328C40")]
public VoiceBoss03Big()
{
}
// Token: 0x04000175 RID: 373
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000175")]
public GameObject SE_Debut;
// Token: 0x04000176 RID: 374
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000176")]
public GameObject SE_Attack01;
// Token: 0x04000177 RID: 375
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000177")]
public GameObject SE_Attack02;
// Token: 0x04000178 RID: 376
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000178")]
public GameObject SE_Sweep;
// Token: 0x04000179 RID: 377
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000179")]
public GameObject SE_SplashMagma;
// Token: 0x0400017A RID: 378
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400017A")]
public GameObject SE_FireBall;
// Token: 0x0400017B RID: 379
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400017B")]
public GameObject SE_Charge;
// Token: 0x0400017C RID: 380
[FieldOffset(Offset = "0x50")]
[Token(Token = "0x400017C")]
public GameObject SE_ChargeAttack;
// Token: 0x0400017D RID: 381
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x400017D")]
public GameObject SE_ChargeThrow;
// Token: 0x0400017E RID: 382
[FieldOffset(Offset = "0x60")]
[Token(Token = "0x400017E")]
public GameObject SE_ChargeDamage;
// Token: 0x0400017F RID: 383
[FieldOffset(Offset = "0x68")]
[Token(Token = "0x400017F")]
public GameObject SE_Death;
// Token: 0x04000180 RID: 384
[FieldOffset(Offset = "0x70")]
[Token(Token = "0x4000180")]
private SoundEffect g_SEDebut;
// Token: 0x04000181 RID: 385
[FieldOffset(Offset = "0x78")]
[Token(Token = "0x4000181")]
private SoundEffect g_SEAttack01;
// Token: 0x04000182 RID: 386
[FieldOffset(Offset = "0x80")]
[Token(Token = "0x4000182")]
private SoundEffect g_SEAttack02;
// Token: 0x04000183 RID: 387
[FieldOffset(Offset = "0x88")]
[Token(Token = "0x4000183")]
private SoundEffect g_SESweep;
// Token: 0x04000184 RID: 388
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x4000184")]
private SoundEffect g_SESplashMagma;
// Token: 0x04000185 RID: 389
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x4000185")]
private SoundEffect g_SEFireBall;
// Token: 0x04000186 RID: 390
[FieldOffset(Offset = "0xA0")]
[Token(Token = "0x4000186")]
private SoundEffect g_SECharge;
// Token: 0x04000187 RID: 391
[FieldOffset(Offset = "0xA8")]
[Token(Token = "0x4000187")]
private SoundEffect g_SEChargeAttack;
// Token: 0x04000188 RID: 392
[FieldOffset(Offset = "0xB0")]
[Token(Token = "0x4000188")]
private SoundEffect g_SEChargeThrow;
// Token: 0x04000189 RID: 393
[FieldOffset(Offset = "0xB8")]
[Token(Token = "0x4000189")]
private SoundEffect g_SEChargeDamage;
// Token: 0x0400018A RID: 394
[FieldOffset(Offset = "0xC0")]
[Token(Token = "0x400018A")]
private SoundEffect g_SEDeath;
// Token: 0x0400018B RID: 395
[FieldOffset(Offset = "0xC8")]
[Token(Token = "0x400018B")]
private bool g_bSECharge;
}