-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathClass8.java
300 lines (260 loc) · 11.5 KB
/
Class8.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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
final class Class8 {
private Class3_Sub30 aClass3_Sub30_99;
private Class3_Sub28_Sub10_Sub2 aClass3_Sub28_Sub10_Sub2_100;
static int anInt101;
private Class66 aClass66_102;
private Class73 aClass73_103;
static int anInt104 = 0;
static Class153 aClass153_105;
static Class94 aClass94_106 = Class3_Sub4.buildString("showVideoAd");
private Class151_Sub1[] aClass151_Sub1Array107;
public static void method836(int var0) {
try {
aClass153_105 = null;
if(var0 > -10) {
method843(-80, (Class3_Sub30)null);
}
aClass94_106 = null;
} catch (RuntimeException var2) {
throw Class44.method1067(var2, "al.I(" + var0 + ')');
}
}
final boolean method837(int var1) {
try {
if(null == this.aClass3_Sub30_99) {
if(var1 != 255) {
anInt104 = 119;
}
if(this.aClass3_Sub28_Sub10_Sub2_100 == null) {
if(this.aClass66_102.method1251((byte)89)) {
return false;
}
this.aClass3_Sub28_Sub10_Sub2_100 = this.aClass66_102.method1255(123, 255, (byte)0, 255, true);
}
if(this.aClass3_Sub28_Sub10_Sub2_100.aBoolean3632) {
return false;
} else {
this.aClass3_Sub30_99 = new Class3_Sub30(this.aClass3_Sub28_Sub10_Sub2_100.method587(false));
this.aClass151_Sub1Array107 = new Class151_Sub1[(this.aClass3_Sub30_99.aByteArray2590.length + -5) / 8];
return true;
}
} else {
return true;
}
} catch (RuntimeException var3) {
throw Class44.method1067(var3, "al.J(" + var1 + ')');
}
}
final void method838(byte var1) {
try {
if(null != this.aClass151_Sub1Array107) {
int var2;
for(var2 = 0; ~this.aClass151_Sub1Array107.length < ~var2; ++var2) {
if(this.aClass151_Sub1Array107[var2] != null) {
this.aClass151_Sub1Array107[var2].method2110(0);
}
}
for(var2 = 0; this.aClass151_Sub1Array107.length > var2; ++var2) {
if(this.aClass151_Sub1Array107[var2] != null) {
this.aClass151_Sub1Array107[var2].method2107(true);
}
}
if(var1 >= -56) {
this.aClass3_Sub28_Sub10_Sub2_100 = (Class3_Sub28_Sub10_Sub2)null;
}
}
} catch (RuntimeException var3) {
throw Class44.method1067(var3, "al.E(" + var1 + ')');
}
}
private final Class151_Sub1 method839(int var1, int var2, Class41 var3, Class41 var4) {
try {
if(var1 != -1824885439) {
method842(true, false, false, -22, true);
}
return this.method847(var4, -125, var2, true, var3);
} catch (RuntimeException var6) {
throw Class44.method1067(var6, "al.L(" + var1 + ',' + var2 + ',' + (var3 != null?"{...}":"null") + ',' + (var4 != null?"{...}":"null") + ')');
}
}
static final void method840(Class111 var0, byte var1, int var2, int var3, int var4, int var5, int var6, int var7, int var8) {
try {
int var9 = 3 & var3;
if(var1 >= -1) {
aClass94_106 = (Class94)null;
}
int var10;
int var11;
if(-2 != ~var9 && -4 != ~var9) {
var11 = var0.anInt1485;
var10 = var0.anInt1480;
} else {
var10 = var0.anInt1485;
var11 = var0.anInt1480;
}
int var14;
int var15;
if(-105 > ~(var7 - -var11)) {
var15 = 1 + var7;
var14 = var7;
} else {
var14 = var7 - -(var11 >> 1);
var15 = var7 - -(1 + var11 >> 1);
}
int var16 = (var6 << 7) - -(var10 << 6);
int var17 = (var7 << 7) + (var11 << 6);
int var12;
int var13;
if(104 < var6 - -var10) {
var12 = var6;
var13 = var6 + 1;
} else {
var12 = var6 + (var10 >> 1);
var13 = (var10 - -1 >> 1) + var6;
}
int[][] var18 = Class44.anIntArrayArrayArray723[var8];
int var20 = 0;
int var19 = var18[var12][var15] + var18[var12][var14] + var18[var13][var14] + var18[var13][var15] >> 2;
int[][] var21;
if(~var8 != -1) {
var21 = Class44.anIntArrayArrayArray723[0];
var20 = -(var21[var12][var15] + var21[var13][var14] + (var21[var12][var14] - -var21[var13][var15]) >> 2) + var19;
}
var21 = (int[][])null;
if(3 > var8) {
var21 = Class44.anIntArrayArrayArray723[1 + var8];
}
Class136 var22 = var0.method1696(var3, var16, var18, var5, var19, var21, false, (Class109_Sub1)null, (byte)-69, true, var17);
Class141.method2047(var22.aClass109_Sub1_1770, -var4 + var16, var20, var17 + -var2);
} catch (RuntimeException var23) {
throw Class44.method1067(var23, "al.K(" + (var0 != null?"{...}":"null") + ',' + var1 + ',' + var2 + ',' + var3 + ',' + var4 + ',' + var5 + ',' + var6 + ',' + var7 + ',' + var8 + ')');
}
}
static final void method841(boolean var0) {
try {
Class140.aClass11Array1836 = null;
Class3_Sub13_Sub1.method171(-101, Class3_Sub28_Sub12.anInt3655, 0, Class23.anInt454, 0, -1, Class140_Sub7.anInt2934, 0, 0);
if(Class140.aClass11Array1836 != null) {
Class47.method1095(0, Class73.anInt1082, Class3_Sub28_Sub7.anInt3602, Class140.aClass11Array1836, Class23.anInt454, -1412584499, 0, Class140_Sub7.anInt2934, (byte)73, Class4.aClass11_88.anInt292);
Class140.aClass11Array1836 = null;
}
if(!var0) {
method844((byte)-24);
}
} catch (RuntimeException var2) {
throw Class44.method1067(var2, "al.G(" + var0 + ')');
}
}
static final Class153 method842(boolean var0, boolean var1, boolean var2, int var3, boolean var4) {
try {
if(!var4) {
return (Class153)null;
} else {
Class41 var5 = null;
if(null != Class101.aClass30_1422) {
var5 = new Class41(var3, Class101.aClass30_1422, Class163_Sub2.aClass30Array2998[var3], 1000000);
}
Class3_Sub30.aClass151_Sub1Array2601[var3] = Class151.aClass8_1936.method839(-1824885439, var3, Class86.aClass41_1186, var5);
if(var1) {
Class3_Sub30.aClass151_Sub1Array2601[var3].method2101(true);
}
return new Class153(Class3_Sub30.aClass151_Sub1Array2601[var3], var0, var2);
}
} catch (RuntimeException var6) {
throw Class44.method1067(var6, "al.B(" + var0 + ',' + var1 + ',' + var2 + ',' + var3 + ',' + var4 + ')');
}
}
static final Class75_Sub1 method843(int var0, Class3_Sub30 var1) {
try {
return var0 != -5232?(Class75_Sub1)null:new Class75_Sub1(var1.method787((byte)46), var1.method787((byte)109), var1.method787((byte)68), var1.method787((byte)127), var1.method794((byte)91), var1.method803((byte)-124));
} catch (RuntimeException var3) {
throw Class44.method1067(var3, "al.D(" + var0 + ',' + (var1 != null?"{...}":"null") + ')');
}
}
static final void method844(byte var0) {
try {
if(var0 != -9) {
aClass94_106 = (Class94)null;
}
if(null == Class3_Sub13_Sub17.anIntArray3212 || null == Class75_Sub2.anIntArray2639) {
Class3_Sub13_Sub17.anIntArray3212 = new int[256];
Class75_Sub2.anIntArray2639 = new int[256];
for(int var1 = 0; 256 > var1; ++var1) {
double var2 = (double)var1 / 255.0D * 6.283185307179586D;
Class3_Sub13_Sub17.anIntArray3212[var1] = (int)(Math.sin(var2) * 4096.0D);
Class75_Sub2.anIntArray2639[var1] = (int)(4096.0D * Math.cos(var2));
}
}
} catch (RuntimeException var4) {
throw Class44.method1067(var4, "al.C(" + var0 + ')');
}
}
static final void method845(boolean var0, int var1) {
try {
if(var0 == !Class139.aBoolean1827) {
Class139.aBoolean1827 = var0;
if(var1 != 255) {
aClass94_106 = (Class94)null;
}
Class104.method1626((byte)-126);
}
} catch (RuntimeException var3) {
throw Class44.method1067(var3, "al.H(" + var0 + ',' + var1 + ')');
}
}
static final boolean method846(int var0, int var1, int var2) {
int var3 = Class81.anIntArrayArrayArray1142[var0][var1][var2];
if(var3 == -Class3_Sub28_Sub1.anInt3539) {
return false;
} else if(var3 == Class3_Sub28_Sub1.anInt3539) {
return true;
} else {
int var4 = var1 << 7;
int var5 = var2 << 7;
if(Class3_Sub13_Sub37.method349(var4 + 1, Class44.anIntArrayArrayArray723[var0][var1][var2], var5 + 1) && Class3_Sub13_Sub37.method349(var4 + 128 - 1, Class44.anIntArrayArrayArray723[var0][var1 + 1][var2], var5 + 1) && Class3_Sub13_Sub37.method349(var4 + 128 - 1, Class44.anIntArrayArrayArray723[var0][var1 + 1][var2 + 1], var5 + 128 - 1) && Class3_Sub13_Sub37.method349(var4 + 1, Class44.anIntArrayArrayArray723[var0][var1][var2 + 1], var5 + 128 - 1)) {
Class81.anIntArrayArrayArray1142[var0][var1][var2] = Class3_Sub28_Sub1.anInt3539;
return true;
} else {
Class81.anIntArrayArrayArray1142[var0][var1][var2] = -Class3_Sub28_Sub1.anInt3539;
return false;
}
}
}
private final Class151_Sub1 method847(Class41 var1, int var2, int var3, boolean var4, Class41 var5) {
try {
if(null != this.aClass3_Sub30_99) {
this.aClass3_Sub30_99.anInt2595 = 5 + var3 * 8;
if(var2 >= -1) {
return (Class151_Sub1)null;
} else if(this.aClass3_Sub30_99.aByteArray2590.length > this.aClass3_Sub30_99.anInt2595) {
if(null == this.aClass151_Sub1Array107[var3]) {
int var6 = this.aClass3_Sub30_99.method748(-502942936);
int var7 = this.aClass3_Sub30_99.method748(-502942936);
Class151_Sub1 var8 = new Class151_Sub1(var3, var1, var5, this.aClass66_102, this.aClass73_103, var6, var7, var4);
this.aClass151_Sub1Array107[var3] = var8;
return var8;
} else {
return this.aClass151_Sub1Array107[var3];
}
} else {
throw new RuntimeException();
}
} else {
throw new RuntimeException();
}
} catch (RuntimeException var9) {
throw Class44.method1067(var9, "al.A(" + (var1 != null?"{...}":"null") + ',' + var2 + ',' + var3 + ',' + var4 + ',' + (var5 != null?"{...}":"null") + ')');
}
}
Class8(Class66 var1, Class73 var2) {
try {
this.aClass73_103 = var2;
this.aClass66_102 = var1;
if(!this.aClass66_102.method1251((byte)111)) {
this.aClass3_Sub28_Sub10_Sub2_100 = this.aClass66_102.method1255(110, 255, (byte)0, 255, true);
}
} catch (RuntimeException var4) {
throw Class44.method1067(var4, "al.<init>(" + (var1 != null?"{...}":"null") + ',' + (var2 != null?"{...}":"null") + ')');
}
}
}