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

◆ GetBits()

int Ionic.BZip2.BZip2InputStream.GetBits ( int n)
inlineprivate

Definition at line 252 of file BZip2InputStream.cs.

253 {
254 /*
255An exception occurred when decompiling this method (060002E2)
256
257ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Ionic.BZip2.BZip2InputStream::GetBits(System.Int32)
258
259 ---> System.Exception: Basic block has to end with unconditional control flow.
260{
261 Block_0:
262 stloc:int32(var_0_06, ldfld:int32(BZip2InputStream::bsBuff, ldloc:BZip2InputStream(this)))
263 stloc:CRC32(var_1_0D, ldfld:CRC32(BZip2InputStream::crc, ldloc:BZip2InputStream(this)))
264 stloc:Stream(var_2_14, ldfld:Stream(BZip2InputStream::input, ldloc:BZip2InputStream(this)))
265 stfld:int32(BZip2InputStream::bsBuff, ldloc:BZip2InputStream(this), ldloc:int32(var_0_06))
266}
267
268 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
269 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
270 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
271 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
272 --- End of inner exception stack trace ---
273 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
274 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
275*/;
276 }

Referenced by Ionic.BZip2.BZip2InputStream.getAndMoveToFrontDecode(), Ionic.BZip2.BZip2InputStream.InitBlock(), and Ionic.BZip2.BZip2InputStream.recvDecodingTables().