64 lines
2.0 KiB
Java
64 lines
2.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.SharedPreferences;
|
||
|
import android.content.res.Resources;
|
||
|
import android.util.Base64;
|
||
|
import java.nio.charset.StandardCharsets;
|
||
|
|
||
|
/* renamed from: o.wQ, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class C17391wQ extends C16157lj {
|
||
|
private static byte a = 6;
|
||
|
private static int b = 1;
|
||
|
private static int d;
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C17391wQ(Resources resources, SharedPreferences sharedPreferences) {
|
||
|
super(resources, sharedPreferences);
|
||
|
}
|
||
|
|
||
|
public final C0916Rm e(int i, int i2) {
|
||
|
int i3 = 2 % 2;
|
||
|
C0916Rm c0916Rm = new C0916Rm();
|
||
|
String string = this.e.getString(i);
|
||
|
if (string.startsWith(",*,)")) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
n(string.substring(4), objArr);
|
||
|
string = ((String) objArr[0]).intern();
|
||
|
int i4 = d + 7;
|
||
|
b = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
}
|
||
|
c0916Rm.b = string;
|
||
|
String string2 = this.e.getString(i2);
|
||
|
if (string2.startsWith(",*,)")) {
|
||
|
int i6 = d + 109;
|
||
|
b = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
String substring = string2.substring(4);
|
||
|
if (i7 == 0) {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
n(substring, objArr2);
|
||
|
((String) objArr2[0]).intern();
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
n(substring, objArr3);
|
||
|
string2 = ((String) objArr3[0]).intern();
|
||
|
}
|
||
|
c0916Rm.a = string2;
|
||
|
return c0916Rm;
|
||
|
}
|
||
|
|
||
|
private void n(String str, Object[] objArr) {
|
||
|
byte[] decode = Base64.decode(str, 0);
|
||
|
byte[] bArr = new byte[decode.length];
|
||
|
for (int i = 0; i < decode.length; i++) {
|
||
|
bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ a);
|
||
|
}
|
||
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
||
|
}
|
||
|
}
|