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
RandomStyleInfo_OldMobile.cs
Go to the documentation of this file.
1using System;
2using System.IO;
3
4namespace Terraria.IO
5{
6 // Token: 0x02000572 RID: 1394
8 {
9 // Token: 0x060033DF RID: 13279 RVA: 0x00200E6C File Offset: 0x001FF06C
10 public bool Load(BinaryReader reader, int release)
11 {
12 /*
13An exception occurred when decompiling this method (060033DF)
14
15ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.IO.RandomStyleInfo_OldMobile::Load(System.IO.BinaryReader,System.Int32)
16
17 ---> System.Exception: Basic block has to end with unconditional control flow.
18{
19 Block_0:
20 stfld:uint8(uint8::m_value, ldfld:uint8[][exp:uint8&](RandomStyleInfo_OldMobile::style, ldloc:RandomStyleInfo_OldMobile(this)), ldloc:BinaryReader[exp:uint8](reader))
21 stfld:uint16(uint16::m_value, ldfld:uint16[][exp:uint16&](RandomStyleInfo_OldMobile::X, ldloc:RandomStyleInfo_OldMobile(this)), ldloc:BinaryReader[exp:uint16](reader))
22}
23
24 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
25 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
26 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
27 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
28 --- End of inner exception stack trace ---
29 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
30 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
31*/;
32 }
33
34 // Token: 0x060033E0 RID: 13280 RVA: 0x00200E98 File Offset: 0x001FF098
36 {
37 }
38
39 // Token: 0x04003E34 RID: 15924
40 public byte[] style;
41
42 // Token: 0x04003E35 RID: 15925
43 public ushort[] X;
44 }
45}
class f__AnonymousType0<< Count > j__TPar
bool Load(BinaryReader reader, int release)