422 lines
14 KiB
Java
422 lines
14 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Color;
|
||
|
import android.os.SystemClock;
|
||
|
import android.telephony.cdma.CdmaCellLocation;
|
||
|
import android.text.AndroidCharacter;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import java.io.Serializable;
|
||
|
import java.lang.reflect.Method;
|
||
|
import java.nio.CharBuffer;
|
||
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
||
|
|
||
|
/* renamed from: o.glq, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class C15262glq implements Serializable, CharSequence {
|
||
|
private int b;
|
||
|
private char[] c;
|
||
|
private static final byte[] $$a = {88, ISOFileInfo.FCI_EXT, 86, 9};
|
||
|
private static final int $$b = 120;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int a = 0;
|
||
|
private static int e = 1;
|
||
|
private static char[] d = {40005, 40087, 40086, 40106};
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). Please report as a decompilation issue!!! */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private static void g(byte r6, int r7, short r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
int r6 = r6 * 4
|
||
|
int r6 = 4 - r6
|
||
|
int r8 = r8 * 2
|
||
|
int r8 = 73 - r8
|
||
|
byte[] r0 = o.C15262glq.$$a
|
||
|
int r7 = r7 * 2
|
||
|
int r7 = r7 + 1
|
||
|
byte[] r1 = new byte[r7]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L16
|
||
|
r3 = r7
|
||
|
r5 = r2
|
||
|
goto L28
|
||
|
L16:
|
||
|
r3 = r2
|
||
|
L17:
|
||
|
byte r4 = (byte) r8
|
||
|
int r5 = r3 + 1
|
||
|
r1[r3] = r4
|
||
|
if (r5 != r7) goto L26
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r1, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L26:
|
||
|
r3 = r0[r6]
|
||
|
L28:
|
||
|
int r6 = r6 + 1
|
||
|
int r8 = r8 + r3
|
||
|
r3 = r5
|
||
|
goto L17
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.C15262glq.g(byte, int, short, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
public C15262glq(int i) {
|
||
|
C15264gls.e(64, "Buffer capacity");
|
||
|
this.c = new char[64];
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: private */
|
||
|
public static /* synthetic */ Object c(Object[] objArr) {
|
||
|
C15262glq c15262glq = (C15262glq) objArr[0];
|
||
|
int intValue = ((Number) objArr[1]).intValue();
|
||
|
int i = 2 % 2;
|
||
|
int i2 = a + 53;
|
||
|
e = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
char[] cArr = new char[Math.max(c15262glq.c.length << 1, intValue)];
|
||
|
System.arraycopy(c15262glq.c, 0, cArr, 0, c15262glq.b);
|
||
|
c15262glq.c = cArr;
|
||
|
int i4 = e + 53;
|
||
|
a = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
public final void b(String str) {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = e;
|
||
|
int i3 = i2 + 5;
|
||
|
a = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
if (str == null) {
|
||
|
int i5 = i2 + 117;
|
||
|
a = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
Object[] objArr = new Object[1];
|
||
|
f(new byte[]{0, 0, 0, 1}, new int[]{0, 4, 48, 2}, false, objArr);
|
||
|
str = ((String) objArr[0]).intern();
|
||
|
}
|
||
|
int length = str.length();
|
||
|
int i7 = this.b + length;
|
||
|
if (i7 > this.c.length) {
|
||
|
c(new Object[]{this, Integer.valueOf(i7)});
|
||
|
}
|
||
|
str.getChars(0, length, this.c, this.b);
|
||
|
this.b = i7;
|
||
|
}
|
||
|
|
||
|
public final void a(char c) {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = a + 33;
|
||
|
int i3 = i2 % 128;
|
||
|
e = i3;
|
||
|
int i4 = i2 % 2;
|
||
|
int i5 = this.b + 1;
|
||
|
if (i5 > this.c.length) {
|
||
|
int i6 = i3 + 27;
|
||
|
a = i6 % 128;
|
||
|
if (i6 % 2 == 0) {
|
||
|
c(new Object[]{this, Integer.valueOf(i5)});
|
||
|
} else {
|
||
|
c(new Object[]{this, Integer.valueOf(i5)});
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
this.c[this.b] = c;
|
||
|
this.b = i5;
|
||
|
}
|
||
|
|
||
|
private static void f(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
|
||
|
int i;
|
||
|
int i2;
|
||
|
char[] cArr;
|
||
|
char c;
|
||
|
int length;
|
||
|
char[] cArr2;
|
||
|
int i3;
|
||
|
int i4 = 2;
|
||
|
int i5 = 2 % 2;
|
||
|
TVH tvh = new TVH();
|
||
|
int i6 = 0;
|
||
|
int i7 = iArr[0];
|
||
|
int i8 = iArr[1];
|
||
|
int i9 = iArr[2];
|
||
|
int i10 = iArr[3];
|
||
|
char[] cArr3 = d;
|
||
|
if (cArr3 != null) {
|
||
|
int i11 = $10 + 23;
|
||
|
$11 = i11 % 128;
|
||
|
if (i11 % 2 == 0) {
|
||
|
length = cArr3.length;
|
||
|
cArr2 = new char[length];
|
||
|
} else {
|
||
|
length = cArr3.length;
|
||
|
cArr2 = new char[length];
|
||
|
}
|
||
|
int i12 = 0;
|
||
|
while (i12 < length) {
|
||
|
int i13 = $11 + 107;
|
||
|
$10 = i13 % 128;
|
||
|
if (i13 % i4 != 0) {
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[i6] = Integer.valueOf(cArr3[i12]);
|
||
|
Object obj = xzZ.y.get(1645349359);
|
||
|
if (obj != null) {
|
||
|
i3 = length;
|
||
|
} else {
|
||
|
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (41977 - TextUtils.indexOf("", "", i6, i6)));
|
||
|
byte b = (byte) i6;
|
||
|
byte b2 = b;
|
||
|
i3 = length;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
g(b, b2, (byte) (b2 + 1), objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1645349359, obj);
|
||
|
}
|
||
|
cArr2[i12] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
} else {
|
||
|
i3 = length;
|
||
|
Object[] objArr4 = {Integer.valueOf(cArr3[i12])};
|
||
|
Object obj2 = xzZ.y.get(1645349359);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(222 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), AndroidCharacter.getMirror('0') - '+', (char) (41978 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))));
|
||
|
byte b3 = (byte) 0;
|
||
|
byte b4 = b3;
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
g(b3, b4, (byte) (b4 + 1), objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
|
||
|
xzZ.y.put(1645349359, obj2);
|
||
|
}
|
||
|
cArr2[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
||
|
}
|
||
|
i12++;
|
||
|
int i14 = $11 + 109;
|
||
|
$10 = i14 % 128;
|
||
|
int i15 = i14 % 2;
|
||
|
length = i3;
|
||
|
i4 = 2;
|
||
|
i6 = 0;
|
||
|
}
|
||
|
cArr3 = cArr2;
|
||
|
}
|
||
|
char[] cArr4 = new char[i8];
|
||
|
System.arraycopy(cArr3, i7, cArr4, 0, i8);
|
||
|
if (bArr != null) {
|
||
|
int i16 = $11 + 25;
|
||
|
$10 = i16 % 128;
|
||
|
if (i16 % 2 != 0) {
|
||
|
cArr = new char[i8];
|
||
|
tvh.c = 0;
|
||
|
c = 1;
|
||
|
} else {
|
||
|
cArr = new char[i8];
|
||
|
tvh.c = 0;
|
||
|
c = 0;
|
||
|
}
|
||
|
while (tvh.c < i8) {
|
||
|
if (bArr[tvh.c] == 1) {
|
||
|
int i17 = tvh.c;
|
||
|
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
|
||
|
Object obj3 = xzZ.y.get(850398076);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 502, Color.argb(0, 0, 0, 0) + 5, (char) (54 - (ViewConfiguration.getScrollBarSize() >> 8)))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(850398076, obj3);
|
||
|
}
|
||
|
cArr[i17] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
|
||
|
} else {
|
||
|
int i18 = tvh.c;
|
||
|
Object[] objArr7 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
|
||
|
Object obj4 = xzZ.y.get(1084521042);
|
||
|
if (obj4 == null) {
|
||
|
obj4 = ((Class) xzZ.c(15 - TextUtils.getTrimmedLength(""), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (58135 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(1084521042, obj4);
|
||
|
}
|
||
|
cArr[i18] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
|
||
|
}
|
||
|
c = cArr[tvh.c];
|
||
|
Object[] objArr8 = {tvh, tvh};
|
||
|
Object obj5 = xzZ.y.get(1698744941);
|
||
|
if (obj5 == null) {
|
||
|
Class cls3 = (Class) xzZ.c(403 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 21608));
|
||
|
byte b5 = (byte) 0;
|
||
|
byte b6 = b5;
|
||
|
Object[] objArr9 = new Object[1];
|
||
|
g(b5, b6, b6, objArr9);
|
||
|
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1698744941, obj5);
|
||
|
}
|
||
|
((Method) obj5).invoke(null, objArr8);
|
||
|
}
|
||
|
int i19 = $10 + 9;
|
||
|
$11 = i19 % 128;
|
||
|
i = 2;
|
||
|
int i20 = i19 % 2;
|
||
|
cArr4 = cArr;
|
||
|
} else {
|
||
|
i = 2;
|
||
|
}
|
||
|
if (i10 > 0) {
|
||
|
int i21 = $10 + 95;
|
||
|
$11 = i21 % 128;
|
||
|
int i22 = i21 % i;
|
||
|
char[] cArr5 = new char[i8];
|
||
|
i2 = 0;
|
||
|
System.arraycopy(cArr4, 0, cArr5, 0, i8);
|
||
|
int i23 = i8 - i10;
|
||
|
System.arraycopy(cArr5, 0, cArr4, i23, i10);
|
||
|
System.arraycopy(cArr5, i10, cArr4, 0, i23);
|
||
|
} else {
|
||
|
i2 = 0;
|
||
|
}
|
||
|
if (z) {
|
||
|
char[] cArr6 = new char[i8];
|
||
|
while (true) {
|
||
|
tvh.c = i2;
|
||
|
if (tvh.c >= i8) {
|
||
|
break;
|
||
|
}
|
||
|
cArr6[tvh.c] = cArr4[(i8 - tvh.c) - 1];
|
||
|
i2 = tvh.c + 1;
|
||
|
}
|
||
|
cArr4 = cArr6;
|
||
|
}
|
||
|
if (i9 > 0) {
|
||
|
tvh.c = 0;
|
||
|
int i24 = $10 + 9;
|
||
|
$11 = i24 % 128;
|
||
|
int i25 = i24 % 2;
|
||
|
while (tvh.c < i8) {
|
||
|
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
|
||
|
tvh.c++;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr4);
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.CharSequence
|
||
|
public final char charAt(int i) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = a + 83;
|
||
|
int i4 = i3 % 128;
|
||
|
e = i4;
|
||
|
int i5 = i3 % 2;
|
||
|
char c = this.c[i];
|
||
|
int i6 = i4 + 69;
|
||
|
a = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
return c;
|
||
|
}
|
||
|
|
||
|
public final void c(int i) {
|
||
|
int i2 = 2 % 2;
|
||
|
if (i <= 0) {
|
||
|
int i3 = e + 45;
|
||
|
a = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
return;
|
||
|
}
|
||
|
int length = this.c.length;
|
||
|
int i5 = this.b;
|
||
|
if (i > length - i5) {
|
||
|
int i6 = e + 21;
|
||
|
a = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
c(new Object[]{this, Integer.valueOf(i5 + i)});
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.CharSequence
|
||
|
public final CharSequence subSequence(int i, int i2) {
|
||
|
int i3 = 2 % 2;
|
||
|
if (i < 0) {
|
||
|
throw new IndexOutOfBoundsException("Negative beginIndex: ".concat(String.valueOf(i)));
|
||
|
}
|
||
|
int i4 = e + 69;
|
||
|
int i5 = i4 % 128;
|
||
|
a = i5;
|
||
|
int i6 = i4 % 2;
|
||
|
if (i2 > this.b) {
|
||
|
StringBuilder sb = new StringBuilder("endIndex: ");
|
||
|
sb.append(i2);
|
||
|
sb.append(" > length: ");
|
||
|
sb.append(this.b);
|
||
|
throw new IndexOutOfBoundsException(sb.toString());
|
||
|
}
|
||
|
int i7 = i5 + 89;
|
||
|
e = i7 % 128;
|
||
|
int i8 = i7 % 2;
|
||
|
if (i > i2) {
|
||
|
StringBuilder sb2 = new StringBuilder("beginIndex: ");
|
||
|
sb2.append(i);
|
||
|
sb2.append(" > endIndex: ");
|
||
|
sb2.append(i2);
|
||
|
throw new IndexOutOfBoundsException(sb2.toString());
|
||
|
}
|
||
|
int i9 = i5 + 113;
|
||
|
e = i9 % 128;
|
||
|
if (i9 % 2 == 0) {
|
||
|
CharBuffer.wrap(this.c, i, i2);
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
CharBuffer wrap = CharBuffer.wrap(this.c, i, i2);
|
||
|
int i10 = e + 57;
|
||
|
a = i10 % 128;
|
||
|
int i11 = i10 % 2;
|
||
|
return wrap;
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.CharSequence
|
||
|
public final String toString() {
|
||
|
int i = 2 % 2;
|
||
|
String str = new String(this.c, 0, this.b);
|
||
|
int i2 = a + 75;
|
||
|
e = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
return str;
|
||
|
}
|
||
|
|
||
|
@Override // java.lang.CharSequence
|
||
|
public final int length() {
|
||
|
int i;
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = e;
|
||
|
int i4 = i3 + 105;
|
||
|
a = i4 % 128;
|
||
|
if (i4 % 2 != 0) {
|
||
|
i = this.b;
|
||
|
int i5 = 25 / 0;
|
||
|
} else {
|
||
|
i = this.b;
|
||
|
}
|
||
|
int i6 = i3 + 1;
|
||
|
a = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
return i;
|
||
|
}
|
||
|
|
||
|
private void b(int i) {
|
||
|
c(new Object[]{this, Integer.valueOf(i)});
|
||
|
}
|
||
|
}
|