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

◆ InternalRead() [1/2]

ValueTuple< int, bool > Mono.Net.Security.MobileAuthenticatedStream.InternalRead ( AsyncProtocolRequest asyncRequest,
BufferOffsetSize internalBuffer,
byte[] buffer,
int offset,
int size )
inlineprivateinherited

Definition at line 264 of file MobileAuthenticatedStream.cs.

265 {
266 /*
267An exception occurred when decompiling this method (06000109)
268
269ICSharpCode.Decompiler.DecompilerException: Error decompiling System.ValueTuple`2<System.Int32,System.Boolean> Mono.Net.Security.MobileAuthenticatedStream::InternalRead(Mono.Net.Security.AsyncProtocolRequest,Mono.Net.Security.BufferOffsetSize,System.Byte[],System.Int32,System.Int32)
270
271 ---> System.Exception: Basic block has to end with unconditional control flow.
272{
273 IL_0015:
274 stloc:int32(var_1_1D, call:int32(Math::Min, ldloc:int32(var_0_09), ldloc:int32(size)))
275 stloc:uint8[](var_2_24, ldfld:uint8[](BufferOffsetSize::Buffer, ldloc:BufferOffsetSize(internalBuffer)))
276 stloc:int32(var_3_2B, ldfld:int32(BufferOffsetSize::Offset, ldloc:BufferOffsetSize(internalBuffer)))
277 call:void(Buffer::BlockCopy, ldloc:uint8[][exp:Array](var_2_24), ldloc:int32(var_3_2B), ldloc:uint8[][exp:Array](buffer), ldloc:int32(offset), ldloc:int32(var_1_1D))
278 stloc:int32(var_4_3D, ldfld:int32(BufferOffsetSize::Offset, ldloc:BufferOffsetSize(internalBuffer)))
279 stloc:int32(var_5_45, ldfld:int32(BufferOffsetSize::TotalBytes, ldloc:BufferOffsetSize(internalBuffer)))
280 stloc:bool(var_6_4D, ldfld:bool(BufferOffsetSize::Complete, ldloc:BufferOffsetSize(internalBuffer)))
281 stfld:int32(BufferOffsetSize::Offset, ldloc:BufferOffsetSize(internalBuffer), ldloc:int32(var_4_3D))
282 stfld:int32(BufferOffsetSize::TotalBytes, ldloc:BufferOffsetSize(internalBuffer), ldloc:int32(var_5_45))
283}
284
285 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
286 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
287 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
288 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
289 --- End of inner exception stack trace ---
290 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
291 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
292*/;
293 }