terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
CommonBossBigProgressBar.cs
Go to the documentation of this file.
1using System;
3
5{
6 // Token: 0x02000AE8 RID: 2792
8 {
9 // Token: 0x060051FE RID: 20990 RVA: 0x002820CC File Offset: 0x002802CC
11 {
12 /*
13An exception occurred when decompiling this method (060051FE)
14
15ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.GameContent.UI.BigProgressBar.CommonBossBigProgressBar::ValidateAndCollectNecessaryInfo(Terraria.GameContent.UI.BigProgressBar.BigProgressBarInfo)
16
17 ---> System.Exception: Basic block has to end with unconditional control flow.
18{
19 Block_0:
20 stfld:int32(CommonBossBigProgressBar::_headIndex, ldloc:CommonBossBigProgressBar(this), ldloc:int32(var_0))
21}
22
23 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
24 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 355
25 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
26 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
27 --- End of inner exception stack trace ---
28 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
29 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 1683
30*/;
31 }
32
33 // Token: 0x060051FF RID: 20991 RVA: 0x002820E4 File Offset: 0x002802E4
34 public void Draw(BigProgressBarInfo info, SpriteBatch spriteBatch)
35 {
36 if (!true)
37 {
38 }
39 float lifeCurrent = this._cache.LifeCurrent;
40 float lifeMax = this._cache.LifeMax;
41 }
42
43 // Token: 0x06005200 RID: 20992 RVA: 0x0028210C File Offset: 0x0028030C
45 {
46 }
47
48 // Token: 0x04008A60 RID: 35424
50
51 // Token: 0x04008A61 RID: 35425
52 private int _headIndex;
53 }
54}
class f__AnonymousType0<< Count > j__TPar
void Draw(BigProgressBarInfo info, SpriteBatch spriteBatch)