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