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

◆ Read() [1/2]

override int Ionic.Zip.ZipSegmentedStream.Read ( byte[] buffer,
int offset,
int count )
inline

Definition at line 218 of file ZipSegmentedStream.cs.

219 {
220 /*
221An exception occurred when decompiling this method (06000291)
222
223ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Ionic.Zip.ZipSegmentedStream::Read(System.Byte[],System.Int32,System.Int32)
224
225 ---> System.Exception: Basic block has to end with unconditional control flow.
226{
227 Block_0:
228 stloc:RwMode(var_0_06, ldfld:RwMode(ZipSegmentedStream::rwMode, ldloc:ZipSegmentedStream(this)))
229 stloc:Stream(var_1_0D, ldfld:Stream(ZipSegmentedStream::_innerStream, ldloc:ZipSegmentedStream(this)))
230 stloc:Stream(var_2_14, ldfld:Stream(ZipSegmentedStream::_innerStream, ldloc:ZipSegmentedStream(this)))
231 stloc:Stream(var_3_1B, ldfld:Stream(ZipSegmentedStream::_innerStream, ldloc:ZipSegmentedStream(this)))
232 stloc:uint32(var_4_22, ldfld:uint32(ZipSegmentedStream::_currentDiskNumber, ldloc:ZipSegmentedStream(this)))
233 stloc:int32(var_5_2A, ldfld:int32(ZipSegmentedStream::_maxSegmentSize, ldloc:ZipSegmentedStream(this)))
234 stfld:uint32(ZipSegmentedStream::_currentDiskNumber, ldloc:ZipSegmentedStream(this), ldloc:uint32(var_4_22))
235 call:void(ZipSegmentedStream::_SetReadStream, ldloc:ZipSegmentedStream(this))
236 stloc:Stream(var_6_40, ldfld:Stream(ZipSegmentedStream::_innerStream, ldloc:ZipSegmentedStream(this)))
237 stloc:int32(var_7_43, ldc.i4:int32(1))
238 stfld:bool(ZipSegmentedStream::_exceptionPending, ldloc:ZipSegmentedStream(this), ldloc:int32[exp:bool](var_7_43))
239 stloc:string(var_8_53, callgetter:string(ZipSegmentedStream::get_CurrentName, ldloc:ZipSegmentedStream(this)))
240 stloc:string(var_9_61, call:string(string::Format, ldstr:string("Read error in file {0}"), ldloc:string[exp:object](var_8_53)))
241}
242
243 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
244 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
245 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
246 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
247 --- End of inner exception stack trace ---
248 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
249 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
250*/;
251 }