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

◆ isSelectedItem()

bool GUIControllerDynamicGridNavigator.isSelectedItem ( int itemIndex)
inline

Definition at line 237 of file GUIControllerDynamicGridNavigator.cs.

238 {
239 /*
240An exception occurred when decompiling this method (060005E1)
241
242ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIControllerDynamicGridNavigator::isSelectedItem(System.Int32)
243
244 ---> System.Exception: Basic block has to end with unconditional control flow.
245{
246 Block_0:
247 stloc:GetGrid(var_0_06, ldfld:GetGrid(GUIControllerDynamicGridNavigator::_grid, ldloc:GUIControllerDynamicGridNavigator(this)))
248 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_0_06)))
249 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_0_06)))
250 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_0_06)))
251 stloc:GetGrid(var_4_22, ldfld:GetGrid(GUIControllerDynamicGridNavigator::_grid, ldloc:GUIControllerDynamicGridNavigator(this)))
252 stloc:native int(var_5_2B, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_4_22)))
253 stloc:native int(var_6_34, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_4_22)))
254 stloc:native int(var_7_3D, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_4_22)))
255 stloc:int32(var_8_45, ldfld:int32(GUIControllerDynamicGridNavigator::itemRow, ldloc:GUIControllerDynamicGridNavigator(this)))
256 stloc:int32(var_9_4D, ldfld:int32(GUIControllerDynamicGridNavigator::itemColumn, ldloc:GUIControllerDynamicGridNavigator(this)))
257}
258
259 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
260 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
261 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
262 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
263 --- End of inner exception stack trace ---
264 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
265 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
266*/;
267 }