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

◆ Navigate()

GUIControllerItem GUIControllerBestiary.Navigate ( Vector2 navigationVector)
inline

Implements GUIControllerItem.

Definition at line 167 of file GUIControllerBestiary.cs.

168 {
169 /*
170An exception occurred when decompiling this method (06000352)
171
172ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIControllerItem GUIControllerBestiary::Navigate(Microsoft.Xna.Framework.Vector2)
173
174 ---> System.Exception: Basic block has to end with unconditional control flow.
175{
176 IL_009C:
177 stloc:int32(var_13_A2, ldfld:int32(GUIControllerBestiary::SelectedRow, ldloc:GUIControllerBestiary(this)))
178 stloc:int32(var_14_AA, ldfld:int32(GUIControllerBestiary::SelectedIndex, ldloc:GUIControllerBestiary(this)))
179 stloc:int32(var_15_B2, ldfld:int32(GUIControllerBestiary::maxItemIndex, ldloc:GUIControllerBestiary(this)))
180 stfld:int32(GUIControllerBestiary::SelectedIndex, ldloc:GUIControllerBestiary(this), ldloc:int32(var_14_AA))
181 stloc:int32(var_16_C2, ldfld:int32(GUIControllerBestiary::filterSelectedColumn, ldloc:GUIControllerBestiary(this)))
182 stloc:int32(var_17_CA, callgetter:int32(GUIControllerBestiary::get_maxRowColumn, ldloc:GUIControllerBestiary(this)))
183 stloc:int32(var_18_D2, ldfld:int32(GUIControllerBestiary::filterSelectedColumn, ldloc:GUIControllerBestiary(this)))
184 stfld:int32(GUIControllerBestiary::filterSelectedColumn, ldloc:GUIControllerBestiary(this), ldloc:int32(var_18_D2))
185 call:void(GUIControllerBestiary::UpdateScroll, ldloc:GUIControllerBestiary(this))
186 stloc:int32(var_19_E8, ldfld:int32(GUIControllerBestiary::SelectedRow, ldloc:GUIControllerBestiary(this)))
187 stloc:int32(var_20_F0, callgetter:int32(GUIControllerBestiary::get_maxRowIndex, ldloc:GUIControllerBestiary(this)))
188 stloc:int32(var_21_F8, ldfld:int32(GUIControllerBestiary::SelectedRow, ldloc:GUIControllerBestiary(this)))
189 stfld:int32(GUIControllerBestiary::SelectedRow, ldloc:GUIControllerBestiary(this), ldloc:int32(var_21_F8))
190 call:void(GUIControllerBestiary::UpdateScroll, ldloc:GUIControllerBestiary(this))
191 stloc:int32(var_22_10E, ldfld:int32(GUIControllerBestiary::SelectedColumn, ldloc:GUIControllerBestiary(this)))
192 stloc:int32(var_23_116, ldfld:int32(GUIControllerBestiary::SelectedRow, ldloc:GUIControllerBestiary(this)))
193 stloc:int32(var_24_11E, callgetter:int32(GUIControllerBestiary::get_maxRowIndex, ldloc:GUIControllerBestiary(this)))
194 stloc:int32(var_25_126, ldfld:int32(GUIControllerBestiary::SelectedColumn, ldloc:GUIControllerBestiary(this)))
195 stloc:int32(var_26_12E, ldfld:int32(GUIControllerBestiary::SelectedColumn, ldloc:GUIControllerBestiary(this)))
196 stloc:int32(var_27_136, callgetter:int32(GUIControllerBestiary::get_maxRowColumn, ldloc:GUIControllerBestiary(this)))
197 stloc:int32(var_28_13E, ldfld:int32(GUIControllerBestiary::SelectedColumn, ldloc:GUIControllerBestiary(this)))
198 stfld:int32(GUIControllerBestiary::SelectedColumn, ldloc:GUIControllerBestiary(this), ldloc:int32(var_28_13E))
199}
200
201 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
202 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
203 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
204 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
205 --- End of inner exception stack trace ---
206 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
207 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
208*/;
209 }