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
InterfaceStyles_Layout.cs
Go to the documentation of this file.
1using System;
6
7// Token: 0x020001DC RID: 476
10{
11 // Token: 0x06000C37 RID: 3127 RVA: 0x0003CF5C File Offset: 0x0003B15C
12 private void Awake()
13 {
14 if (!true)
15 {
16 }
17 }
18
19 // Token: 0x17000155 RID: 341
20 // (get) Token: 0x06000C38 RID: 3128 RVA: 0x0003CF6C File Offset: 0x0003B16C
22 {
23 get
24 {
25 /*
26An exception occurred when decompiling this method (06000C38)
27
28ICSharpCode.Decompiler.DecompilerException: Error decompiling InterfaceProfile_Layout InterfaceStyles_Layout::get_Active()
29
30 ---> System.Exception: Basic block has to end with unconditional control flow.
31{
32 IL_0000:
33 brtrue(IL_0000, ldc.i4:bool(1))
34}
35
36 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
37 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
38 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
39 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
40 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
41 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
42 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
43 --- End of inner exception stack trace ---
44 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
45 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
46*/;
47 }
48 }
49
50 // Token: 0x17000156 RID: 342
51 // (get) Token: 0x06000C39 RID: 3129 RVA: 0x000021DB File Offset: 0x000003DB
52 // (set) Token: 0x06000C3A RID: 3130 RVA: 0x0003CF7C File Offset: 0x0003B17C
54 {
55 get
56 {
57 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
58 }
59 set
60 {
61 }
62 }
63
64 // Token: 0x06000C3B RID: 3131 RVA: 0x0003CF8C File Offset: 0x0003B18C
65 public static void LoadUIResolution()
66 {
67 if (!true)
68 {
69 }
70 if (!true)
71 {
72 }
73 }
74
75 // Token: 0x06000C3C RID: 3132 RVA: 0x0003CFDC File Offset: 0x0003B1DC
76 public static void SetActiveLayout(InterfaceProfile_Layout active)
77 {
78 long num = 0L;
81 if (num != 0L)
82 {
83 return;
84 }
85 }
86
87 // Token: 0x06000C3D RID: 3133 RVA: 0x0003D020 File Offset: 0x0003B220
89 {
90 /*
91An exception occurred when decompiling this method (06000C3D)
92
93ICSharpCode.Decompiler.DecompilerException: Error decompiling InterfaceProfile_Layout InterfaceStyles_Layout::GetDefaultProfile(System.String)
94
95 ---> System.Exception: Basic block has to end with unconditional control flow.
96{
97 Block_0:
98 stloc:class InterfaceProfile_Layout[](var_0_06, ldfld:class InterfaceProfile_Layout[](InterfaceStyles_Layout::Profiles, ldloc:InterfaceStyles_Layout(this)))
99 stloc:int32(var_1_0D, ldfld:int32(InterfaceProfile_Layout::VerticalResolution, ldloc:class InterfaceProfile_Layout[][exp:InterfaceProfile_Layout](var_0_06)))
100 stloc:bool(var_2_1A, call:bool(string::op_Equality, ldfld:string(InterfaceProfile_Layout::ProfileName, ldloc:class InterfaceProfile_Layout[][exp:InterfaceProfile_Layout](var_0_06)), ldloc:string(profileName)))
101 stloc:class InterfaceProfile_Layout[](var_3_21, ldfld:class InterfaceProfile_Layout[](InterfaceStyles_Layout::Profiles, ldloc:InterfaceStyles_Layout(this)))
102}
103
104 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
105 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
106 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
107 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
108 --- End of inner exception stack trace ---
109 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
110 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
111*/;
112 }
113
114 // Token: 0x06000C3E RID: 3134 RVA: 0x0003D054 File Offset: 0x0003B254
115 public void SaveConfiguration()
116 {
117 }
118
119 // Token: 0x06000C3F RID: 3135 RVA: 0x0003D07C File Offset: 0x0003B27C
121 {
122 float y = this.CustomProfiles._minResolution.Y;
123 string textValue = Language.GetTextValue("Mobile.Fullscreen");
125 string textValue2 = Language.GetTextValue("Mobile.Splitscreen");
128 string text;
130 }
131
132 // Token: 0x06000C40 RID: 3136 RVA: 0x0003D0E0 File Offset: 0x0003B2E0
146
147 // Token: 0x06000C41 RID: 3137 RVA: 0x0003D274 File Offset: 0x0003B474
149 {
150 if (!true)
151 {
152 }
153 base..ctor();
154 }
155
156 // Token: 0x06000C42 RID: 3138 RVA: 0x0003D28C File Offset: 0x0003B48C
157 // Note: this type is marked as 'beforefieldinit'.
159 {
160 }
161
162 // Token: 0x04001110 RID: 4368
164
165 // Token: 0x04001111 RID: 4369
167
168 // Token: 0x04001112 RID: 4370
170
171 // Token: 0x04001113 RID: 4371
172 [JsonProperty("Profiles")]
174}
class f__AnonymousType0<< Count > j__TPar
static bool IsCurrentPlatform(DrPlatform.DrPlatformType platform)
Definition DrPlatform.cs:49
Dictionary< GUIPageIcons.Category, bool > GroupsCollapsed
List< GUIPageIconGrouping > LeftGroupings
static void SetActiveLayout(InterfaceProfile_Layout active)
InterfaceProfile_Layout[] CustomProfiles
static InterfaceProfile_Layout _active
static InterfaceStyles_Layout Instance
static InterfaceProfile_Layout Active
InterfaceProfile_Layout[] Profiles
void LoadConfiguration(bool allowLoad)
static List< GUIPageIcons.Category > refreshCategories
InterfaceProfile_Layout GetDefaultProfile(string profileName)
static string GetTextValue(string key)
Definition Language.cs:54