forked from kenlee0305/CyberAIO-1
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathClass92.cs
132 lines (116 loc) · 3.62 KB
/
Class92.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
using System;
// Token: 0x020000AD RID: 173
internal sealed class Class92 : Interface6
{
// Token: 0x060004AE RID: 1198 RVA: 0x0002A338 File Offset: 0x00028538
public Class92(Interface6 interface6_1)
{
this.interface6_0 = interface6_1;
this.int_0 = interface6_1.imethod_2();
this.byte_0 = new byte[this.int_0];
this.byte_1 = new byte[this.int_0];
this.byte_2 = new byte[this.int_0];
}
// Token: 0x060004AF RID: 1199 RVA: 0x00005265 File Offset: 0x00003465
public Interface6 method_0()
{
return this.interface6_0;
}
// Token: 0x060004B0 RID: 1200 RVA: 0x0002A394 File Offset: 0x00028594
public void imethod_1(bool bool_1, Interface1 interface1_0)
{
this.bool_0 = bool_1;
if (interface1_0 is Class100)
{
Class100 @class = (Class100)interface1_0;
byte[] array = @class.method_0();
if (array.Length != this.int_0)
{
throw new ArgumentException(Class185.smethod_0(537695022));
}
Array.Copy(array, 0, this.byte_0, 0, array.Length);
interface1_0 = @class.method_1();
}
this.imethod_5();
this.interface6_0.imethod_1(this.bool_0, interface1_0);
}
// Token: 0x060004B1 RID: 1201 RVA: 0x0000526D File Offset: 0x0000346D
public string imethod_0()
{
return this.interface6_0.imethod_0() + Class185.smethod_0(537695072);
}
// Token: 0x060004B2 RID: 1202 RVA: 0x00003ADA File Offset: 0x00001CDA
public bool imethod_3()
{
return false;
}
// Token: 0x060004B3 RID: 1203 RVA: 0x00005289 File Offset: 0x00003489
public int imethod_2()
{
return this.interface6_0.imethod_2();
}
// Token: 0x060004B4 RID: 1204 RVA: 0x00005296 File Offset: 0x00003496
public int imethod_4(byte[] byte_3, int int_1, byte[] byte_4, int int_2)
{
if (!this.bool_0)
{
return this.method_2(byte_3, int_1, byte_4, int_2);
}
return this.method_1(byte_3, int_1, byte_4, int_2);
}
// Token: 0x060004B5 RID: 1205 RVA: 0x000052B7 File Offset: 0x000034B7
public void imethod_5()
{
Array.Copy(this.byte_0, 0, this.byte_1, 0, this.byte_0.Length);
Array.Clear(this.byte_2, 0, this.byte_2.Length);
this.interface6_0.imethod_5();
}
// Token: 0x060004B6 RID: 1206 RVA: 0x0002A40C File Offset: 0x0002860C
private int method_1(byte[] byte_3, int int_1, byte[] byte_4, int int_2)
{
if (int_1 + this.int_0 > byte_3.Length)
{
throw new Exception1(Class185.smethod_0(537695203));
}
for (int i = 0; i < this.int_0; i++)
{
byte[] array = this.byte_1;
int num = i;
array[num] ^= byte_3[int_1 + i];
}
int result = this.interface6_0.imethod_4(this.byte_1, 0, byte_4, int_2);
Array.Copy(byte_4, int_2, this.byte_1, 0, this.byte_1.Length);
return result;
}
// Token: 0x060004B7 RID: 1207 RVA: 0x0002A48C File Offset: 0x0002868C
private int method_2(byte[] byte_3, int int_1, byte[] byte_4, int int_2)
{
if (int_1 + this.int_0 > byte_3.Length)
{
throw new Exception1(Class185.smethod_0(537695203));
}
Array.Copy(byte_3, int_1, this.byte_2, 0, this.int_0);
int result = this.interface6_0.imethod_4(byte_3, int_1, byte_4, int_2);
for (int i = 0; i < this.int_0; i++)
{
int num = int_2 + i;
byte_4[num] ^= this.byte_1[i];
}
byte[] array = this.byte_1;
this.byte_1 = this.byte_2;
this.byte_2 = array;
return result;
}
// Token: 0x04000243 RID: 579
private byte[] byte_0;
// Token: 0x04000244 RID: 580
private byte[] byte_1;
// Token: 0x04000245 RID: 581
private byte[] byte_2;
// Token: 0x04000246 RID: 582
private int int_0;
// Token: 0x04000247 RID: 583
private Interface6 interface6_0;
// Token: 0x04000248 RID: 584
private bool bool_0;
}