-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathClass62.java
263 lines (228 loc) · 9.36 KB
/
Class62.java
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
final class Class62 {
static int anInt942;
int[][] anIntArrayArray943;
static int anInt944 = 0;
int[] anIntArray945;
static Class94 aClass94_946 = Class3_Sub4.buildString(")2");
int anInt947;
private static Class94 aClass94_948 = Class3_Sub4.buildString("You can(Wt add yourself to your own friend list)3");
Class69 aClass69_949;
static int anInt950;
static Class94 aClass94_951 = Class3_Sub4.buildString("Interfaces charg-Bes");
static int anInt952;
int[] anIntArray953;
int[] anIntArray954;
int[] anIntArray955;
int[] anIntArray956;
static Class94 aClass94_957 = aClass94_948;
int[] anIntArray958;
int[][] anIntArrayArray959;
int anInt960;
int anInt961;
Class69[] aClass69Array962;
static int anInt963;
int anInt964;
public static void method1223(int var0) {
try {
aClass94_951 = null;
aClass94_946 = null;
if(var0 == 0) {
aClass94_948 = null;
aClass94_957 = null;
}
} catch (RuntimeException var2) {
throw Class44.method1067(var2, "ii.A(" + var0 + ')');
}
}
static final void method1224(Class11 var0, int var1, int var2, int var3) {
try {
if(0 != var0.aByte162) {
if(var0.aByte162 != 1) {
if(2 == var0.aByte162) {
var0.anInt210 = var2 - var0.anInt193 - var0.anInt166;
} else if(var0.aByte162 != 3) {
if(4 == var0.aByte162) {
var0.anInt210 = (var2 * var0.anInt166 >> 14) + (-var0.anInt193 + var2) / 2;
} else {
var0.anInt210 = -(var2 * var0.anInt166 >> 14) + -var0.anInt193 + var2;
}
} else {
var0.anInt210 = var0.anInt166 * var2 >> 14;
}
} else {
var0.anInt210 = (var2 - var0.anInt193) / 2 + var0.anInt166;
}
} else {
var0.anInt210 = var0.anInt166;
}
if(0 == var0.aByte273) {
var0.anInt306 = var0.anInt316;
} else if(~var0.aByte273 != -2) {
if(var0.aByte273 == 2) {
var0.anInt306 = -var0.anInt316 + -var0.anInt168 + var3;
} else if(3 != var0.aByte273) {
if(4 != var0.aByte273) {
var0.anInt306 = -(var3 * var0.anInt316 >> 14) + var3 + -var0.anInt168;
} else {
var0.anInt306 = (var0.anInt316 * var3 >> 14) + (var3 - var0.anInt168) / 2;
}
} else {
var0.anInt306 = var0.anInt316 * var3 >> 14;
}
} else {
var0.anInt306 = var0.anInt316 + (var3 - var0.anInt168) / 2;
}
if(Class69.aBoolean1040 && (client.method44(var0).anInt2205 != 0 || ~var0.anInt187 == -1)) {
if(~var0.anInt210 > -1) {
var0.anInt210 = 0;
} else if(var0.anInt193 + var0.anInt210 > var2) {
var0.anInt210 = var2 + -var0.anInt193;
}
if(0 > var0.anInt306) {
var0.anInt306 = 0;
} else if(var3 < var0.anInt306 - -var0.anInt168) {
var0.anInt306 = var3 + -var0.anInt168;
}
}
if(var1 != 23730) {
method1223(19);
}
} catch (RuntimeException var5) {
throw Class44.method1067(var5, "ii.B(" + (var0 != null?"{...}":"null") + ',' + var1 + ',' + var2 + ',' + var3 + ')');
}
}
static final void method1225(int var0) {
try {
Class149 var1 = Class3_Sub28_Sub7_Sub1.aClass149_4047;
synchronized(var1) {
if(var0 != 18074) {
aClass94_946 = (Class94)null;
}
Class3_Sub13_Sub5.anInt3069 = Class28.anInt549;
Class126.anInt1676 = Class3_Sub21.anInt2493;
Class130.anInt1709 = Class95.anInt1340;
Class3_Sub28_Sub11.anInt3644 = Class140_Sub3.anInt2743;
Class163_Sub1.anInt2993 = Class16.anInt362;
++Class3_Sub28_Sub7_Sub1.anInt4045;
Class38_Sub1.anInt2614 = Class3_Sub13_Sub32.anInt3389;
Class75.aLong1102 = Class140_Sub6.aLong2926;
Class140_Sub3.anInt2743 = 0;
}
} catch (RuntimeException var4) {
throw Class44.method1067(var4, "ii.D(" + var0 + ')');
}
}
private final void method1226(int var1, byte[] var2) {
try {
Class3_Sub30 var3 = new Class3_Sub30(Class3_Sub28_Sub13.method623((byte)-114, var2));
int var4 = var3.method803((byte)-34);
if(var4 != 5 && ~var4 != -7) {
throw new RuntimeException();
} else {
if(~var4 <= -7) {
this.anInt961 = var3.method748(-502942936);
} else {
this.anInt961 = 0;
}
int var5 = var3.method803((byte)-127);
int var6 = 0;
this.anInt947 = var3.method737(var1 ^ 3);
int var7 = -1;
this.anIntArray953 = new int[this.anInt947];
int var8;
for(var8 = 0; this.anInt947 > var8; ++var8) {
this.anIntArray953[var8] = var6 += var3.method737(1);
if(this.anIntArray953[var8] > var7) {
var7 = this.anIntArray953[var8];
}
}
this.anInt960 = var7 - -1;
this.anIntArray958 = new int[this.anInt960];
this.anIntArrayArray959 = new int[this.anInt960][];
this.anIntArray945 = new int[this.anInt960];
this.anIntArray954 = new int[this.anInt960];
this.anIntArray956 = new int[this.anInt960];
if(~var5 != -1) {
this.anIntArray955 = new int[this.anInt960];
for(var8 = 0; ~var8 > ~this.anInt960; ++var8) {
this.anIntArray955[var8] = -1;
}
for(var8 = 0; ~var8 > ~this.anInt947; ++var8) {
this.anIntArray955[this.anIntArray953[var8]] = var3.method748(Class93.method1519(var1, -502942934));
}
this.aClass69_949 = new Class69(this.anIntArray955);
}
for(var8 = 0; ~this.anInt947 < ~var8; ++var8) {
this.anIntArray945[this.anIntArray953[var8]] = var3.method748(-502942936);
}
for(var8 = 0; this.anInt947 > var8; ++var8) {
this.anIntArray958[this.anIntArray953[var8]] = var3.method748(Class93.method1519(var1, -502942934));
}
var8 = 0;
if(var1 != 2) {
aClass94_957 = (Class94)null;
}
while(this.anInt947 > var8) {
this.anIntArray956[this.anIntArray953[var8]] = var3.method737(1);
++var8;
}
int var9;
int var10;
int var11;
int var12;
for(var8 = 0; ~var8 > ~this.anInt947; ++var8) {
var6 = 0;
var9 = this.anIntArray953[var8];
var10 = this.anIntArray956[var9];
var11 = -1;
this.anIntArrayArray959[var9] = new int[var10];
for(var12 = 0; var10 > var12; ++var12) {
int var13 = this.anIntArrayArray959[var9][var12] = var6 += var3.method737(1);
if(var13 > var11) {
var11 = var13;
}
}
this.anIntArray954[var9] = var11 + 1;
if(~(1 + var11) == ~var10) {
this.anIntArrayArray959[var9] = null;
}
}
if(-1 != ~var5) {
this.aClass69Array962 = new Class69[var7 - -1];
this.anIntArrayArray943 = new int[1 + var7][];
for(var8 = 0; var8 < this.anInt947; ++var8) {
var9 = this.anIntArray953[var8];
var10 = this.anIntArray956[var9];
this.anIntArrayArray943[var9] = new int[this.anIntArray954[var9]];
for(var11 = 0; var11 < this.anIntArray954[var9]; ++var11) {
this.anIntArrayArray943[var9][var11] = -1;
}
for(var11 = 0; ~var11 > ~var10; ++var11) {
if(null != this.anIntArrayArray959[var9]) {
var12 = this.anIntArrayArray959[var9][var11];
} else {
var12 = var11;
}
this.anIntArrayArray943[var9][var12] = var3.method748(var1 + -502942938);
}
this.aClass69Array962[var9] = new Class69(this.anIntArrayArray943[var9]);
}
}
}
} catch (RuntimeException var14) {
throw Class44.method1067(var14, "ii.C(" + var1 + ',' + (var2 != null?"{...}":"null") + ')');
}
}
Class62(byte[] var1, int var2) {
try {
this.anInt964 = Class38.method1026(var1, var1.length, false);
if(var2 == this.anInt964) {
this.method1226(2, var1);
} else {
throw new RuntimeException();
}
} catch (RuntimeException var4) {
throw Class44.method1067(var4, "ii.<init>(" + (var1 != null?"{...}":"null") + ',' + var2 + ')');
}
}
}