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

130 lines
4.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.util.Base64;
import java.nio.charset.StandardCharsets;
import o.C0690Mh;
import o.C15715hv;
/* renamed from: o.sG, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public class C16898sG extends C16157lj {
private static int a = 0;
private static int b = 1;
private static byte d = 6;
@InterfaceC13391fZD
public C16898sG(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] ^ d);
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
public final C0693Mj h() {
int i = 2 % 2;
C0693Mj c0693Mj = new C0693Mj();
String string = this.e.getString(C15715hv.tOB.manage_email_unable_to_proceed_title);
if (string.startsWith(",*,)")) {
Object[] objArr = new Object[1];
n(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
int i2 = a + 105;
b = i2 % 128;
int i3 = i2 % 2;
}
c0693Mj.d = string;
String string2 = this.e.getString(C15715hv.tOB.manage_email_unable_to_proceed_body);
if (string2.startsWith(",*,)")) {
Object[] objArr2 = new Object[1];
n(string2.substring(4), objArr2);
string2 = ((String) objArr2[0]).intern();
}
c0693Mj.c = string2;
C0690Mh c0690Mh = new C0690Mh();
String string3 = this.e.getString(C15715hv.tOB.ok);
if (string3.startsWith(",*,)")) {
int i4 = a + 53;
b = i4 % 128;
int i5 = i4 % 2;
String substring = string3.substring(4);
if (i5 == 0) {
Object[] objArr3 = new Object[1];
n(substring, objArr3);
((String) objArr3[0]).intern();
throw null;
}
Object[] objArr4 = new Object[1];
n(substring, objArr4);
string3 = ((String) objArr4[0]).intern();
}
c0690Mh.b = string3;
c0690Mh.e = C0690Mh.IeS.NAVIGATE_BACK;
c0693Mj.e = c0690Mh;
return c0693Mj;
}
public final C0693Mj e(Runnable runnable) {
int i = 2 % 2;
C0693Mj c0693Mj = new C0693Mj();
String string = this.e.getString(C15715hv.tOB.manage_email_email_empty_title);
if (string.startsWith(",*,)")) {
Object[] objArr = new Object[1];
n(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
}
c0693Mj.d = string;
String string2 = this.e.getString(C15715hv.tOB.manage_email_email_empty);
if (string2.startsWith(",*,)")) {
int i2 = b + 89;
a = i2 % 128;
if (i2 % 2 != 0) {
Object[] objArr2 = new Object[1];
n(string2.substring(4), objArr2);
((String) objArr2[0]).intern();
throw null;
}
Object[] objArr3 = new Object[1];
n(string2.substring(4), objArr3);
string2 = ((String) objArr3[0]).intern();
}
c0693Mj.c = string2;
C0690Mh c0690Mh = new C0690Mh();
String string3 = this.e.getString(C15715hv.tOB.add_now);
if (string3.startsWith(",*,)")) {
Object[] objArr4 = new Object[1];
n(string3.substring(4), objArr4);
string3 = ((String) objArr4[0]).intern();
}
c0690Mh.b = string3;
c0690Mh.e = C0690Mh.IeS.JUST_DISMISS;
c0693Mj.e = c0690Mh;
C0690Mh c0690Mh2 = new C0690Mh();
String string4 = this.e.getString(C15715hv.tOB.add_later);
if (string4.startsWith(",*,)")) {
String substring = string4.substring(4);
Object[] objArr5 = new Object[1];
n(substring, objArr5);
string4 = ((String) objArr5[0]).intern();
}
c0690Mh2.b = string4;
c0690Mh2.e = C0690Mh.IeS.CUSTOM;
c0690Mh2.e = C0690Mh.IeS.CUSTOM;
c0690Mh2.d = runnable;
c0693Mj.b = c0690Mh2;
int i3 = b + 79;
a = i3 % 128;
if (i3 % 2 == 0) {
return c0693Mj;
}
throw null;
}
}