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

89 lines
3.5 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.icu.text.DateFormat;
import android.icu.text.DisplayContext;
import android.icu.util.TimeZone;
import android.util.Base64;
import java.nio.charset.StandardCharsets;
import java.util.Date;
import java.util.Locale;
import o.C17052tZT;
/* renamed from: o.uiA, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public final class C17195uiA {
private static byte b = 6;
private static int c = 1;
private static int e;
private static void a(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 static String b(long j) {
DateFormat instanceForSkeleton = DateFormat.getInstanceForSkeleton("yMMMM", Locale.getDefault());
instanceForSkeleton.setTimeZone(TimeZone.getTimeZone("UTC"));
instanceForSkeleton.setContext(DisplayContext.CAPITALIZATION_FOR_STANDALONE);
return instanceForSkeleton.format(new Date(j));
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Removed duplicated region for block: B:17:0x00cb */
/* JADX WARN: Removed duplicated region for block: B:22:0x00f1 */
/* JADX WARN: Removed duplicated region for block: B:7:0x008d */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static java.lang.String c(android.content.Context r6, long r7, boolean r9, boolean r10, boolean r11) {
/*
Method dump skipped, instructions count: 292
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.C17195uiA.c(android.content.Context, long, boolean, boolean, boolean):java.lang.String");
}
/* JADX INFO: Access modifiers changed from: package-private */
public static String b(Context context, int i) {
int i2 = 2 % 2;
if (OnG.e().get(1) == i) {
String string = context.getString(C17052tZT.ojQ.mtrl_picker_navigate_to_current_year_description);
if (string.startsWith(",*,)")) {
int i3 = e + 9;
c = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
a(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
}
return String.format(string, Integer.valueOf(i));
}
String string2 = context.getString(C17052tZT.ojQ.mtrl_picker_navigate_to_year_description);
if (string2.startsWith(",*,)")) {
int i5 = c + 103;
e = i5 % 128;
if (i5 % 2 != 0) {
Object[] objArr2 = new Object[1];
a(string2.substring(4), objArr2);
((String) objArr2[0]).intern();
Object obj = null;
obj.hashCode();
throw null;
}
Object[] objArr3 = new Object[1];
a(string2.substring(4), objArr3);
string2 = ((String) objArr3[0]).intern();
int i6 = c + 39;
e = i6 % 128;
int i7 = i6 % 2;
}
return String.format(string2, Integer.valueOf(i));
}
}