package o; import android.content.Context; import android.os.Bundle; import android.util.Base64; import androidx.fragment.app.Fragment; import com.scb.phone.view.fragment.pointx.PointXPaymentOptionPointOnlyFragment; import com.scb.phone.view.fragment.pointx.PointXPaymentOptionPointWithMoneyFragment; import java.nio.charset.StandardCharsets; /* renamed from: o.exG, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public final class C12384exG extends MoT { private static byte d = 0; private static int g = 1; private static int j; private final int[] a; private final Context b; private final PointXPaymentOptionPointOnlyFragment c; private final PointXPaymentOptionPointWithMoneyFragment e; /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ public C12384exG(yRS yrs, Context context, TR tr, TS ts, double d2, String str, boolean z, String[] strArr, C1203Xy c1203Xy, boolean z2, boolean z3, boolean z4) { super(yrs); C14957gcv.e(yrs, ""); C14957gcv.e(context, ""); C14957gcv.e(str, ""); C14957gcv.e(strArr, ""); this.b = context; PointXPaymentOptionPointOnlyFragment.HBt hBt = PointXPaymentOptionPointOnlyFragment.d; C14957gcv.e(str, ""); C14957gcv.e(strArr, ""); PointXPaymentOptionPointOnlyFragment pointXPaymentOptionPointOnlyFragment = new PointXPaymentOptionPointOnlyFragment(); Bundle bundle = new Bundle(); TR tr2 = tr; bundle.putParcelable("EXTRA_POINT_RATE_DISPLAY", tr2); TS ts2 = ts; bundle.putParcelable("EXTRA_POINT", ts2); bundle.putDouble("EXTRA_AMOUNT", d2); bundle.putBoolean("EXTRA_FLAG_POINT_ERROR", z); bundle.putString("EXTRA_FUNCTION", str); C1203Xy c1203Xy2 = c1203Xy; bundle.putParcelable("com.scb.phone.TransferTabFragment.EXTRA_BILL_SCAN", c1203Xy2); bundle.putStringArray("EXTRA_ALLOW_LIST", strArr); bundle.putBoolean("EXTRA_IS_POINT_WITH_MONEY", false); bundle.putBoolean("EXTRA_IS_PAYWISE_ENABLE", z2); bundle.putBoolean("EXTRA_IS_REPAYMENT", z3); bundle.putBoolean("EXTRA_IS_NOT_POINT_USER", z4); pointXPaymentOptionPointOnlyFragment.setArguments(bundle); this.c = pointXPaymentOptionPointOnlyFragment; PointXPaymentOptionPointWithMoneyFragment.RVV rvv = PointXPaymentOptionPointWithMoneyFragment.d; C14957gcv.e(str, ""); C14957gcv.e(strArr, ""); PointXPaymentOptionPointWithMoneyFragment pointXPaymentOptionPointWithMoneyFragment = new PointXPaymentOptionPointWithMoneyFragment(); Bundle bundle2 = new Bundle(); bundle2.putParcelable("EXTRA_POINT_RATE_DISPLAY", tr2); bundle2.putParcelable("EXTRA_POINT", ts2); bundle2.putDouble("EXTRA_AMOUNT", d2); bundle2.putBoolean("EXTRA_FLAG_POINT_ERROR", z); bundle2.putString("EXTRA_FUNCTION", str); bundle2.putParcelable("com.scb.phone.TransferTabFragment.EXTRA_BILL_SCAN", c1203Xy2); bundle2.putStringArray("EXTRA_ALLOW_LIST", strArr); bundle2.putBoolean("EXTRA_IS_POINT_WITH_MONEY", true); bundle2.putBoolean("EXTRA_IS_PAYWISE_ENABLE", z2); bundle2.putBoolean("EXTRA_IS_REPAYMENT", z3); bundle2.putBoolean("EXTRA_IS_NOT_POINT_USER", z4); pointXPaymentOptionPointWithMoneyFragment.setArguments(bundle2); this.e = pointXPaymentOptionPointWithMoneyFragment; this.a = new int[]{com.scb.phone.R.string.point_only, com.scb.phone.R.string.point_with_other}; } /* renamed from: o.exG$HBt */ /* loaded from: classes5.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } private void h(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); } @Override // o.MoT public final Fragment b(int i) { if (i == 0) { return this.c; } return this.e; } @Override // o.WYJ public final int getCount() { return this.a.length; } @Override // o.WYJ public final CharSequence getPageTitle(int i) { int i2 = 2 % 2; int i3 = g + 27; j = i3 % 128; int i4 = i3 % 2; String string = this.b.getString(this.a[i]); if (string.startsWith(",*,)")) { int i5 = j + 31; g = i5 % 128; int i6 = i5 % 2; Object[] objArr = new Object[1]; h(string.substring(4), objArr); string = ((String) objArr[0]).intern(); } C14957gcv.c((Object) string, ""); String str = string; int i7 = j + 73; g = i7 % 128; int i8 = i7 % 2; return str; } static void e() { d = (byte) 6; } static { e(); new HBt((byte) 0); } }