69 lines
1.9 KiB
Java
69 lines
1.9 KiB
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import android.util.Base64;
|
|
import androidx.fragment.app.Fragment;
|
|
import com.scb.phone.view.fragment.findus.ATMTabFragment;
|
|
import com.scb.phone.view.fragment.findus.BranchTabFragment;
|
|
import java.nio.charset.StandardCharsets;
|
|
|
|
/* renamed from: o.euF, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C12224euF extends MoT {
|
|
private static int a = 0;
|
|
private static int d = 1;
|
|
private static byte e = 6;
|
|
private int[] b;
|
|
private Context c;
|
|
|
|
public C12224euF(yRS yrs, Context context) {
|
|
super(yrs);
|
|
this.b = new int[]{com.scb.phone.R.string.branch, com.scb.phone.R.string.atm};
|
|
this.c = context;
|
|
}
|
|
|
|
private void g(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] ^ e);
|
|
}
|
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
|
}
|
|
|
|
@Override // o.MoT
|
|
public final Fragment b(int i) {
|
|
if (i == 0) {
|
|
return new BranchTabFragment();
|
|
}
|
|
if (i != 1) {
|
|
return null;
|
|
}
|
|
return new ATMTabFragment();
|
|
}
|
|
|
|
@Override // o.WYJ
|
|
public final int getCount() {
|
|
return this.b.length;
|
|
}
|
|
|
|
@Override // o.WYJ
|
|
public final CharSequence getPageTitle(int i) {
|
|
int i2 = 2 % 2;
|
|
int i3 = d + 11;
|
|
a = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
String string = this.c.getString(this.b[i]);
|
|
if (!string.startsWith(",*,)")) {
|
|
return string;
|
|
}
|
|
Object[] objArr = new Object[1];
|
|
g(string.substring(4), objArr);
|
|
String intern = ((String) objArr[0]).intern();
|
|
int i5 = a + 67;
|
|
d = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return intern;
|
|
}
|
|
}
|