Files
rr3-apk/decompiled/sources/com/applovin/impl/yf.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

63 lines
1.2 KiB
Java

package com.applovin.impl;
import java.util.Arrays;
/* loaded from: classes.dex */
final class yf {
private final int a;
private boolean b;
private boolean c;
public byte[] d;
public int e;
public boolean a() {
return this.c;
}
public boolean a(int i) {
if (!this.b) {
return false;
}
this.e -= i;
this.b = false;
this.c = true;
return true;
}
public void b() {
this.b = false;
this.c = false;
}
public yf(int i, int i2) {
this.a = i;
byte[] bArr = new byte[i2 + 3];
this.d = bArr;
bArr[2] = 1;
}
public void a(byte[] bArr, int i, int i2) {
if (this.b) {
int i3 = i2 - i;
byte[] bArr2 = this.d;
int length = bArr2.length;
int i4 = this.e + i3;
if (length < i4) {
this.d = Arrays.copyOf(bArr2, i4 * 2);
}
System.arraycopy(bArr, i, this.d, this.e, i3);
this.e += i3;
}
}
public void b(int i) {
b1.b(!this.b);
boolean z = i == this.a;
this.b = z;
if (z) {
this.e = 3;
this.c = false;
}
}
}