package o; import android.content.Context; import android.util.Base64; import androidx.fragment.app.Fragment; import com.scb.phone.view.fragment.investment.purchase.AccountTabFragment; import com.scb.phone.view.fragment.investment.purchase.CreditCardTabFragment; import java.nio.charset.StandardCharsets; /* renamed from: o.evC, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C12274evC extends MoT { private static byte f = 6; private static int i = 1; private static int j; private Context a; private String b; private boolean c; private InterfaceC12876fJt d; private fIG e; private int[] g; private void h(String str, Object[] objArr) { byte[] decode = Base64.decode(str, 0); byte[] bArr = new byte[decode.length]; for (int i2 = 0; i2 < decode.length; i2++) { bArr[i2] = (byte) (decode[(decode.length - i2) - 1] ^ f); } objArr[0] = new String(bArr, StandardCharsets.UTF_8); } public C12274evC(yRS yrs, Context context, fIG fig, InterfaceC12876fJt interfaceC12876fJt, boolean z, String str) { super(yrs); this.g = new int[]{com.scb.phone.R.string.account_no, com.scb.phone.R.string.credit_card}; this.a = context; this.e = fig; this.d = interfaceC12876fJt; this.c = z; this.b = str; } @Override // o.MoT public final Fragment b(int i2) { if (i2 == 0) { return AccountTabFragment.e(this.e, this.d, i2, this.c, this.b); } if (i2 != 1) { return null; } return CreditCardTabFragment.e(this.e, i2); } @Override // o.WYJ public final int getCount() { return this.g.length; } @Override // o.WYJ public final CharSequence getPageTitle(int i2) { int i3 = 2 % 2; String string = this.a.getString(this.g[i2]); if (string.startsWith(",*,)")) { int i4 = i + 99; j = i4 % 128; int i5 = i4 % 2; String substring = string.substring(4); if (i5 != 0) { Object[] objArr = new Object[1]; h(substring, objArr); ((String) objArr[0]).intern(); throw null; } Object[] objArr2 = new Object[1]; h(substring, objArr2); string = ((String) objArr2[0]).intern(); } int i6 = i + 121; j = i6 % 128; if (i6 % 2 != 0) { int i7 = 22 / 0; } return string; } }