83 lines
2.6 KiB
Java
83 lines
2.6 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.util.Base64;
|
||
|
import androidx.fragment.app.Fragment;
|
||
|
import com.scb.phone.view.fragment.transferandpay.transfer.TransferHistoryFragment;
|
||
|
import com.scb.phone.view.fragment.transferandpay.transfer.TransferToOthersStep1Fragment;
|
||
|
import com.scb.phone.view.fragment.transferandpay.transfer.TransferToPromptPayStep1Fragment;
|
||
|
import java.nio.charset.StandardCharsets;
|
||
|
|
||
|
/* renamed from: o.ezR, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes5.dex */
|
||
|
public final class C12501ezR extends MoT {
|
||
|
private static byte g = 6;
|
||
|
private static int h = 1;
|
||
|
private static int j;
|
||
|
private Context a;
|
||
|
private final TransferToPromptPayStep1Fragment b;
|
||
|
public final TransferHistoryFragment c;
|
||
|
private int[] d;
|
||
|
private final TransferToOthersStep1Fragment e;
|
||
|
|
||
|
private void i(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] ^ g);
|
||
|
}
|
||
|
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
|
||
|
}
|
||
|
|
||
|
public C12501ezR(yRS yrs, Context context) {
|
||
|
super(yrs);
|
||
|
this.d = new int[]{com.scb.phone.R.string.tab_transfer_to_account, com.scb.phone.R.string.tab_transfer_to_prompt_pay, com.scb.phone.R.string.auto_regen_repeat_top_up_history};
|
||
|
this.a = context;
|
||
|
this.c = new TransferHistoryFragment();
|
||
|
this.e = TransferToOthersStep1Fragment.d();
|
||
|
this.b = TransferToPromptPayStep1Fragment.j();
|
||
|
}
|
||
|
|
||
|
@Override // o.WYJ
|
||
|
public final int getCount() {
|
||
|
return this.d.length;
|
||
|
}
|
||
|
|
||
|
@Override // o.WYJ
|
||
|
public final CharSequence getPageTitle(int i) {
|
||
|
int i2 = 2 % 2;
|
||
|
int i3 = h + 79;
|
||
|
j = i3 % 128;
|
||
|
if (i3 % 2 != 0) {
|
||
|
this.a.getString(this.d[i]).startsWith(",*,)");
|
||
|
throw null;
|
||
|
}
|
||
|
String string = this.a.getString(this.d[i]);
|
||
|
if (!(!string.startsWith(",*,)"))) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
i(string.substring(4), objArr);
|
||
|
string = ((String) objArr[0]).intern();
|
||
|
}
|
||
|
int i4 = j + 97;
|
||
|
h = i4 % 128;
|
||
|
if (i4 % 2 == 0) {
|
||
|
int i5 = 45 / 0;
|
||
|
}
|
||
|
return string;
|
||
|
}
|
||
|
|
||
|
@Override // o.MoT
|
||
|
public final Fragment b(int i) {
|
||
|
if (i == 0) {
|
||
|
return this.e;
|
||
|
}
|
||
|
if (i == 1) {
|
||
|
return this.b;
|
||
|
}
|
||
|
if (i != 2) {
|
||
|
return null;
|
||
|
}
|
||
|
return this.c;
|
||
|
}
|
||
|
}
|