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
RC2.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x020002EA RID: 746
8 [ComVisible(true)]
9 public abstract class RC2 : SymmetricAlgorithm
10 {
11 // Token: 0x0600190C RID: 6412 RVA: 0x00035AB0 File Offset: 0x00033CB0
12 protected RC2()
13 {
15 if (128 == 0)
16 {
17 }
18 }
19
20 // Token: 0x170002B0 RID: 688
21 // (get) Token: 0x0600190D RID: 6413 RVA: 0x00035AD8 File Offset: 0x00033CD8
22 // (set) Token: 0x0600190E RID: 6414 RVA: 0x00035AEC File Offset: 0x00033CEC
23 public virtual int EffectiveKeySize
24 {
25 get
26 {
27 /*
28An exception occurred when decompiling this method (0600190D)
29
30ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Security.Cryptography.RC2::get_EffectiveKeySize()
31
32 ---> System.Exception: Basic block has to end with unconditional control flow.
33{
34 Block_0:
35 stloc:int32(var_0_06, ldfld:int32(RC2::EffectiveKeySizeValue, ldloc:RC2(this)))
36}
37
38 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
39 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
40 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
41 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
42 --- End of inner exception stack trace ---
43 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
44 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
45*/;
46 }
47 set
48 {
49 int keySizeValue = this.KeySizeValue;
50 if (value != 0)
51 {
52 bool flag = base.ValidKeySize(value);
53 }
55 }
56 }
57
58 // Token: 0x170002B1 RID: 689
59 // (get) Token: 0x0600190F RID: 6415 RVA: 0x00035B20 File Offset: 0x00033D20
60 // (set) Token: 0x06001910 RID: 6416 RVA: 0x00035B34 File Offset: 0x00033D34
61 public override int KeySize
62 {
63 get
64 {
65 return this.KeySizeValue;
66 }
67 set
68 {
71 }
72 }
73
74 // Token: 0x06001911 RID: 6417 RVA: 0x0000207A File Offset: 0x0000027A
75 public new static RC2 Create()
76 {
77 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
78 }
79
80 // Token: 0x06001912 RID: 6418 RVA: 0x00035B5C File Offset: 0x00033D5C
81 public new static RC2 Create(string AlgName)
82 {
83 if (!true)
84 {
85 }
86 object obj;
87 if (obj != null)
88 {
89 }
90 throw new InvalidCastException();
91 }
92
93 // Token: 0x06001913 RID: 6419 RVA: 0x00035B74 File Offset: 0x00033D74
94 // Note: this type is marked as 'beforefieldinit'.
95 static RC2()
96 {
97 }
98
99 // Token: 0x04000CCF RID: 3279
101
102 // Token: 0x04000CD0 RID: 3280
103 private static KeySizes[] s_legalBlockSizes;
104
105 // Token: 0x04000CD1 RID: 3281
106 private static KeySizes[] s_legalKeySizes;
107 }
108}
class f__AnonymousType0<< Count > j__TPar
static new RC2 Create()
Definition RC2.cs:75
virtual int EffectiveKeySize
Definition RC2.cs:24
static KeySizes[] s_legalKeySizes
Definition RC2.cs:106
static KeySizes[] s_legalBlockSizes
Definition RC2.cs:103
static new RC2 Create(string AlgName)
Definition RC2.cs:81