67 lines
1.9 KiB
Java
67 lines
1.9 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import android.util.Base64;
|
|
import java.nio.charset.StandardCharsets;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import o.C15715hv;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class AG extends C16157lj {
|
|
private static int a = 1;
|
|
private static byte b = 6;
|
|
private static int d;
|
|
|
|
@InterfaceC13391fZD
|
|
public AG(Resources resources, SharedPreferences sharedPreferences) {
|
|
super(resources, sharedPreferences);
|
|
}
|
|
|
|
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] ^ b);
|
|
}
|
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
|
}
|
|
|
|
public final List<UL> f() {
|
|
int i = 2 % 2;
|
|
ArrayList arrayList = new ArrayList();
|
|
UL b2 = UL.b();
|
|
b2.b = "th";
|
|
String string = this.e.getString(C15715hv.tOB.th_title);
|
|
if (string.startsWith(",*,)")) {
|
|
Object[] objArr = new Object[1];
|
|
n(string.substring(4), objArr);
|
|
string = ((String) objArr[0]).intern();
|
|
}
|
|
b2.c = string;
|
|
arrayList.add(b2);
|
|
UL b3 = UL.b();
|
|
b3.b = "en";
|
|
String string2 = this.e.getString(C15715hv.tOB.en_title);
|
|
if (string2.startsWith(",*,)")) {
|
|
Object[] objArr2 = new Object[1];
|
|
n(string2.substring(4), objArr2);
|
|
string2 = ((String) objArr2[0]).intern();
|
|
int i2 = d + 117;
|
|
a = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
}
|
|
b3.c = string2;
|
|
arrayList.add(b3);
|
|
int i4 = d + 59;
|
|
a = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
return arrayList;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
}
|