- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
59 lines
1.2 KiB
Java
59 lines
1.2 KiB
Java
package com.applovin.impl;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class cr {
|
|
private final byte[] a;
|
|
private final int b;
|
|
private int c;
|
|
private int d;
|
|
|
|
public int b() {
|
|
return (this.c * 8) + this.d;
|
|
}
|
|
|
|
public cr(byte[] bArr) {
|
|
this.a = bArr;
|
|
this.b = bArr.length;
|
|
}
|
|
|
|
public boolean c() {
|
|
boolean z = (((this.a[this.c] & 255) >> this.d) & 1) == 1;
|
|
b(1);
|
|
return z;
|
|
}
|
|
|
|
private void a() {
|
|
int i;
|
|
int i2 = this.c;
|
|
b1.b(i2 >= 0 && (i2 < (i = this.b) || (i2 == i && this.d == 0)));
|
|
}
|
|
|
|
public void b(int i) {
|
|
int i2 = i / 8;
|
|
int i3 = this.c + i2;
|
|
this.c = i3;
|
|
int i4 = this.d + (i - (i2 * 8));
|
|
this.d = i4;
|
|
if (i4 > 7) {
|
|
this.c = i3 + 1;
|
|
this.d = i4 - 8;
|
|
}
|
|
a();
|
|
}
|
|
|
|
public int a(int i) {
|
|
int i2 = this.c;
|
|
int min = Math.min(i, 8 - this.d);
|
|
int i3 = i2 + 1;
|
|
int i4 = ((this.a[i2] & 255) >> this.d) & (255 >> (8 - min));
|
|
while (min < i) {
|
|
i4 |= (this.a[i3] & 255) << min;
|
|
min += 8;
|
|
i3++;
|
|
}
|
|
int i5 = i4 & ((-1) >>> (32 - i));
|
|
b(i);
|
|
return i5;
|
|
}
|
|
}
|