62 lines
1.4 KiB
Java
62 lines
1.4 KiB
Java
|
package o;
|
||
|
|
||
|
import java.nio.ByteBuffer;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public class yPj {
|
||
|
private APp a;
|
||
|
protected ByteBuffer b;
|
||
|
private int c;
|
||
|
protected int d;
|
||
|
private int e;
|
||
|
|
||
|
public yPj() {
|
||
|
if (APp.d == null) {
|
||
|
APp.d = new C6481cUW();
|
||
|
}
|
||
|
this.a = APp.d;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final int a(int i) {
|
||
|
if (i < this.c) {
|
||
|
return this.b.getShort(this.e + i);
|
||
|
}
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final int e(int i) {
|
||
|
return i + this.b.getInt(i);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final int b(int i) {
|
||
|
int i2 = i + this.d;
|
||
|
return this.b.getInt(i2 + this.b.getInt(i2));
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final int d(int i) {
|
||
|
int i2 = i + this.d;
|
||
|
return i2 + this.b.getInt(i2) + 4;
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: protected */
|
||
|
public final void c(int i, ByteBuffer byteBuffer) {
|
||
|
short s;
|
||
|
this.b = byteBuffer;
|
||
|
if (byteBuffer != null) {
|
||
|
this.d = i;
|
||
|
int i2 = i - byteBuffer.getInt(i);
|
||
|
this.e = i2;
|
||
|
s = this.b.getShort(i2);
|
||
|
} else {
|
||
|
s = 0;
|
||
|
this.d = 0;
|
||
|
this.e = 0;
|
||
|
}
|
||
|
this.c = s;
|
||
|
}
|
||
|
}
|