what-the-bank/sources/o/wbF.java

70 lines
1.7 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import o.vax;
/* loaded from: classes2.dex */
final class wbF {
final byte[] d;
final int e;
private wbF(int i, byte[] bArr) {
this.e = i;
this.d = bArr;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static wbF[] a(byte[] bArr, vax vaxVar) {
vax.RVV rvv = vaxVar.c;
vax.HBt[] hBtArr = rvv.a;
int i = 0;
for (vax.HBt hBt : hBtArr) {
i += hBt.b;
}
wbF[] wbfArr = new wbF[i];
int i2 = 0;
for (vax.HBt hBt2 : hBtArr) {
int i3 = 0;
while (i3 < hBt2.b) {
int i4 = hBt2.d;
wbfArr[i2] = new wbF(i4, new byte[rvv.e + i4]);
i3++;
i2++;
}
}
int length = wbfArr[0].d.length - rvv.e;
int i5 = length - 1;
int i6 = 0;
for (int i7 = 0; i7 < i5; i7++) {
int i8 = 0;
while (i8 < i2) {
wbfArr[i8].d[i7] = bArr[i6];
i8++;
i6++;
}
}
boolean z = vaxVar.i == 24;
int i9 = z ? 8 : i2;
int i10 = 0;
while (i10 < i9) {
wbfArr[i10].d[i5] = bArr[i6];
i10++;
i6++;
}
int length2 = wbfArr[0].d.length;
while (length < length2) {
int i11 = 0;
while (i11 < i2) {
int i12 = z ? (i11 + 8) % i2 : i11;
wbfArr[i12].d[(!z || i12 <= 7) ? length : length - 1] = bArr[i6];
i11++;
i6++;
}
length++;
}
if (i6 == bArr.length) {
return wbfArr;
}
throw new IllegalArgumentException();
}
}