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

84 lines
2.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.text.DecimalFormat;
import o.QEQ;
/* loaded from: classes.dex */
public final class OXB extends C0743NnU<QEQ> {
public OXB(QEQ qeq) {
super(qeq);
}
@Override // o.C0743NnU
public final String d(int i) {
if (i == -2) {
Integer j = ((QEQ) this.a).j(-2);
QEQ.IeS a = j == null ? null : QEQ.IeS.a(j.intValue());
if (a == null) {
return null;
}
return a.toString();
}
if (i != 5) {
switch (i) {
case 10:
Integer j2 = ((QEQ) this.a).j(10);
QEQ.HBt c = j2 == null ? null : QEQ.HBt.c(j2.intValue());
if (c == null) {
return null;
}
return c.toString();
case 11:
Integer j3 = ((QEQ) this.a).j(11);
QEQ.RVV b = j3 == null ? null : QEQ.RVV.b(j3.intValue());
if (b == null) {
return null;
}
return b.toString();
case 12:
case 13:
case 14:
case 15:
Long f = ((QEQ) this.a).f(i);
if (f == null) {
return null;
}
return String.format(new StringBuilder("0x%08X").toString(), Long.valueOf(f.longValue()));
case 16:
Long f2 = ((QEQ) this.a).f(16);
QEQ.LWm a2 = f2 == null ? null : QEQ.LWm.a(f2.longValue());
if (a2 == null) {
return null;
}
return a2.toString();
case 17:
case 18:
case 19:
if (((QEQ) this.a).f(i) == null) {
return null;
}
return new DecimalFormat("0.###").format(Double.valueOf(r5.longValue() / 65536.0d));
case 20:
QEQ.tOB b2 = ((QEQ) this.a).j(20) == null ? null : QEQ.tOB.b(r5.intValue());
if (b2 == null) {
return null;
}
return b2.toString();
default:
return super.d(i);
}
}
QEQ.Sts c2 = QEQ.Sts.c((QEQ) this.a);
if (c2 != null) {
return c2.toString();
}
Integer j4 = ((QEQ) this.a).j(5);
if (j4 == null) {
return null;
}
StringBuilder sb = new StringBuilder("Illegal value 0x");
sb.append(Integer.toHexString(j4.intValue()));
return sb.toString();
}
}