what-the-bank/sources/com/scb/phone/view/fragment/investment/funddetails/InvestmentFundDetailFragmen...

1567 lines
67 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.investment.funddetails;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.os.SystemClock;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.SpannedString;
import android.text.TextUtils;
import android.util.Base64;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.core.widget.NestedScrollView;
import androidx.viewpager.widget.ViewPager;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.material.tabs.TabLayout;
import com.google.common.base.Ascii;
import com.scb.phone.R;
import com.scb.phone.view.activity.investment.InvestmentWebViewActivity;
import com.scb.phone.view.activity.investment.fundswitch.FundSwitchLandingActivity;
import com.scb.phone.view.activity.investment.purchase.FundPurchaseLandingActivity;
import com.scb.phone.view.activity.investment.redeem.FundRedeemLandingActivity;
import com.scb.phone.view.activity.partner.PartnerAuthorizationActivity;
import com.scb.phone.view.adapter.investment.funddetails.InvestmentDetailsFundListAdapter;
import com.scb.phone.view.custom.common.CustomFundsActions;
import com.scb.phone.view.custom.common.FragmentWrapContentViewPager;
import com.scb.phone.view.custom.investment.CustomNewFundsActions;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import java.util.HashMap;
import java.util.List;
import me.relex.circleindicator.CircleIndicator;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13482fbE;
import o.AbstractC14961gcz;
import o.C0845Pv;
import o.C0849Px;
import o.C0851Pz;
import o.C10454eEo;
import o.C10457eEr;
import o.C11604eiV;
import o.C12320evw;
import o.C14866gag;
import o.C14957gcv;
import o.C15971jzF;
import o.C17201uku;
import o.C3663bCw;
import o.C5656bxF;
import o.DFY;
import o.InterfaceC12848fIw;
import o.InterfaceC13391fZD;
import o.InterfaceC14890gbN;
import o.OH;
import o.OJ;
import o.OK;
import o.ON;
import o.PY;
import o.cZA;
import o.fJM;
import o.mfY;
import o.oir;
import o.qeC;
import o.xzZ;
import o.yRS;
/* loaded from: classes5.dex */
public final class InvestmentFundDetailFragment extends Hilt_InvestmentFundDetailFragment implements cZA.RVV, ViewPager.ojQ, InterfaceC12848fIw, InvestmentDetailsFundListAdapter.IeS {
private static byte g;
private static int h;
private static int i;
private static short[] l;
private static int m;
private static byte[] n;
/* renamed from: o, reason: collision with root package name */
private static int f8047o;
private C5656bxF c;
private oir d;
private int f;
private int j;
@InterfaceC13391fZD
public C3663bCw presenter;
private static final byte[] $$a = {33, -82, ISO7816.INS_UNBLOCK_CHV, 67};
private static final int $$b = 57;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
public static /* synthetic */ Object b(Object[] objArr, int i2, int i3, int i4) {
int i5 = (i2 * 678) + (i3 * (-676));
int i6 = ~i2;
int i7 = ~i3;
int i8 = i5 + (i6 * 677) + ((i6 | i7) * (-677)) + ((~(i2 | i7)) * 677);
return i8 != 1 ? i8 != 2 ? i8 != 3 ? i8 != 4 ? i8 != 5 ? d(objArr) : i(objArr) : c(objArr) : b(objArr) : e(objArr) : a(objArr);
}
private static void r(short s, byte b, byte b2, Object[] objArr) {
byte[] bArr = $$a;
int i2 = s * 4;
int i3 = (b2 * 2) + 4;
int i4 = (b * 2) + 108;
byte[] bArr2 = new byte[i2 + 1];
int i5 = -1;
if (bArr == null) {
i4 += -i2;
i3++;
}
while (true) {
i5++;
bArr2[i5] = (byte) i4;
if (i5 == i2) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i4 += -bArr[i3];
i3++;
}
}
}
private void p(String str, Object[] objArr) {
byte[] decode;
int length;
int i2 = 2 % 2;
int i3 = f8047o + 1;
k = i3 % 128;
if (i3 % 2 != 0) {
decode = Base64.decode(str, 0);
length = decode.length;
} else {
decode = Base64.decode(str, 0);
length = decode.length;
}
byte[] bArr = new byte[length];
int i4 = 0;
while (i4 < decode.length) {
int i5 = k + 21;
f8047o = i5 % 128;
if (i5 % 2 == 0) {
bArr[i4] = (byte) (decode[(decode.length >>> i4) / 0] ^ g);
i4 += 39;
} else {
bArr[i4] = (byte) (decode[(decode.length - i4) - 1] ^ g);
i4++;
}
}
String str2 = new String(bArr, StandardCharsets.UTF_8);
int i6 = f8047o + 79;
k = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str2;
}
private static /* synthetic */ Object e(Object[] objArr) {
InvestmentFundDetailFragment investmentFundDetailFragment = (InvestmentFundDetailFragment) objArr[0];
int i2 = 2 % 2;
int i3 = f8047o + 3;
k = i3 % 128;
if (i3 % 2 != 0) {
C3663bCw c3663bCw = investmentFundDetailFragment.presenter;
throw null;
}
C3663bCw c3663bCw2 = investmentFundDetailFragment.presenter;
if (c3663bCw2 != null) {
return c3663bCw2;
}
C14957gcv.a("");
int i4 = k + 69;
f8047o = i4 % 128;
if (i4 % 2 != 0) {
return null;
}
throw null;
}
private final oir f() {
int i2 = 2 % 2;
int i3 = k + 29;
f8047o = i3 % 128;
if (i3 % 2 == 0) {
C14957gcv.e(this.d);
Object obj = null;
obj.hashCode();
throw null;
}
oir oirVar = this.d;
C14957gcv.e(oirVar);
int i4 = f8047o + 115;
k = i4 % 128;
int i5 = i4 % 2;
return oirVar;
}
private final C5656bxF i() {
int i2 = 2 % 2;
int i3 = f8047o + 49;
k = i3 % 128;
int i4 = i3 % 2;
C5656bxF c5656bxF = this.c;
C14957gcv.e(c5656bxF);
int i5 = k + 31;
f8047o = i5 % 128;
int i6 = i5 % 2;
return c5656bxF;
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
int i2;
int i3 = 2 % 2;
C14957gcv.e(layoutInflater, "");
View inflate = layoutInflater.inflate(R.layout.2131559667, viewGroup, false);
int i4 = R.id.card_view_pager;
FragmentWrapContentViewPager fragmentWrapContentViewPager = (FragmentWrapContentViewPager) qeC.e(inflate, R.id.card_view_pager);
if (fragmentWrapContentViewPager != null) {
int i5 = f8047o + 5;
k = i5 % 128;
int i6 = i5 % 2;
int i7 = R.id.cfa_investment_details;
Object obj = null;
if (i6 != 0) {
throw null;
}
CustomFundsActions customFundsActions = (CustomFundsActions) qeC.e(inflate, R.id.cfa_investment_details);
if (customFundsActions != null) {
i4 = R.id.cfa_new_investment_details;
CustomNewFundsActions customNewFundsActions = (CustomNewFundsActions) qeC.e(inflate, R.id.cfa_new_investment_details);
if (customNewFundsActions != null) {
int i8 = k + 71;
f8047o = i8 % 128;
int i9 = i8 % 2;
i4 = R.id.custom_progress;
View e = qeC.e(inflate, R.id.custom_progress);
if (e != null) {
if (e == null) {
throw new NullPointerException("rootView");
}
LinearLayout linearLayout = (LinearLayout) e;
C17201uku c17201uku = new C17201uku(linearLayout, linearLayout);
i4 = R.id.custom_toolbar;
View e2 = qeC.e(inflate, R.id.custom_toolbar);
if (e2 != null) {
int i10 = k + 121;
f8047o = i10 % 128;
if (i10 % 2 == 0) {
C11604eiV.c(e2);
obj.hashCode();
throw null;
}
C11604eiV c = C11604eiV.c(e2);
NestedScrollView nestedScrollView = (NestedScrollView) qeC.e(inflate, R.id.fund_details_scrollview);
if (nestedScrollView != null) {
i4 = R.id.fund_details_tab_layout;
TabLayout tabLayout = (TabLayout) qeC.e(inflate, R.id.fund_details_tab_layout);
if (tabLayout != null) {
i4 = R.id.fund_details_view_pager;
FragmentWrapContentViewPager fragmentWrapContentViewPager2 = (FragmentWrapContentViewPager) qeC.e(inflate, R.id.fund_details_view_pager);
if (fragmentWrapContentViewPager2 != null) {
i4 = R.id.indicator;
CircleIndicator circleIndicator = (CircleIndicator) qeC.e(inflate, R.id.indicator);
if (circleIndicator != null) {
int i11 = f8047o + 5;
k = i11 % 128;
int i12 = i11 % 2;
i7 = R.id.ltf_dividend_container;
if (i12 != 0) {
throw null;
}
LinearLayout linearLayout2 = (LinearLayout) qeC.e(inflate, R.id.ltf_dividend_container);
if (linearLayout2 != null) {
i4 = R.id.ltf_dividend_fragment_container;
LinearLayout linearLayout3 = (LinearLayout) qeC.e(inflate, R.id.ltf_dividend_fragment_container);
if (linearLayout3 != null) {
i4 = R.id.ltf_dividend_text_view;
TextView textView = (TextView) qeC.e(inflate, R.id.ltf_dividend_text_view);
if (textView != null) {
oir oirVar = new oir((LinearLayout) inflate, fragmentWrapContentViewPager, customFundsActions, customNewFundsActions, c17201uku, c, nestedScrollView, tabLayout, fragmentWrapContentViewPager2, circleIndicator, linearLayout2, linearLayout3, textView);
int i13 = f8047o + 115;
k = i13 % 128;
int i14 = i13 % 2;
this.d = oirVar;
oir f = f();
LinearLayout linearLayout4 = f.m;
ImageView imageView = (ImageView) qeC.e(linearLayout4, R.id.expand_icon_image_view);
if (imageView != null) {
int i15 = f8047o + 115;
k = i15 % 128;
int i16 = i15 % 2;
i2 = R.id.fund_average_cost_text_view;
if (i16 != 0) {
obj.hashCode();
throw null;
}
TextView textView2 = (TextView) qeC.e(linearLayout4, R.id.fund_average_cost_text_view);
if (textView2 != null) {
int i17 = k + 77;
f8047o = i17 % 128;
int i18 = i17 % 2;
i2 = R.id.fund_average_unit_text_view;
if (i18 == 0) {
obj.hashCode();
throw null;
}
TextView textView3 = (TextView) qeC.e(linearLayout4, R.id.fund_average_unit_text_view);
if (textView3 != null) {
TextView textView4 = (TextView) qeC.e(linearLayout4, R.id.fund_current_unit_text_view);
if (textView4 != null) {
int i19 = f8047o + 39;
k = i19 % 128;
int i20 = i19 % 2;
i2 = R.id.fund_current_value_text_view;
if (i20 != 0) {
obj.hashCode();
throw null;
}
TextView textView5 = (TextView) qeC.e(linearLayout4, R.id.fund_current_value_text_view);
if (textView5 != null) {
TextView textView6 = (TextView) qeC.e(linearLayout4, R.id.fund_description_text_view);
if (textView6 != null) {
int i21 = f8047o + 43;
k = i21 % 128;
int i22 = i21 % 2;
TextView textView7 = (TextView) qeC.e(linearLayout4, R.id.fund_name_text_view);
if (textView7 != null) {
RelativeLayout relativeLayout = (RelativeLayout) qeC.e(linearLayout4, R.id.layout_collapsed);
if (relativeLayout != null) {
LinearLayout linearLayout5 = (LinearLayout) qeC.e(linearLayout4, R.id.layout_expanded);
if (linearLayout5 != null) {
this.c = new C5656bxF(linearLayout4, imageView, textView2, textView3, textView4, textView5, textView6, textView7, relativeLayout, linearLayout5);
this.mToolbar = f.e.c;
this.mActionBarTitle = f.e.d;
this.mProgress = f.b.d;
((C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this))).e((C3663bCw) this);
LinearLayout linearLayout6 = f().m;
C14957gcv.c(linearLayout6, "");
return linearLayout6;
}
i2 = R.id.layout_expanded;
} else {
i2 = R.id.layout_collapsed;
}
} else {
i2 = R.id.fund_name_text_view;
}
} else {
i2 = R.id.fund_description_text_view;
}
}
} else {
i2 = R.id.fund_current_unit_text_view;
}
}
}
} else {
i2 = R.id.expand_icon_image_view;
}
throw new NullPointerException("Missing required view with ID: ".concat(linearLayout4.getResources().getResourceName(i2)));
}
}
}
}
}
}
} else {
i4 = R.id.fund_details_scrollview;
}
}
}
}
}
i4 = i7;
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i4)));
}
@Override // androidx.fragment.app.Fragment
public final void onViewCreated(View view, Bundle bundle) {
int i2 = 2 % 2;
int i3 = k + 101;
f8047o = i3 % 128;
if (i3 % 2 != 0) {
C14957gcv.e(view, "");
super.onViewCreated(view, bundle);
aa();
g();
l();
return;
}
C14957gcv.e(view, "");
super.onViewCreated(view, bundle);
aa();
g();
l();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:15:0x0079, code lost:
if (r0 != null) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0082, code lost:
r5 = (android.os.Parcelable) r0.getParcelable("INVESTMENT_DETAILS", o.OH.class);
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0080, code lost:
if (r0 != null) goto L32;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final void g() {
/*
r7 = this;
r0 = 2
int r1 = r0 % r0
androidx.fragment.app.FragmentActivity r1 = r7.getActivity()
if (r1 == 0) goto Ld3
android.content.Intent r1 = r1.getIntent()
if (r1 == 0) goto Ld3
java.lang.String r2 = "SELECTED_FUND_LIST_POSITION"
r3 = -1
int r2 = r1.getIntExtra(r2, r3)
r7.f = r2
java.lang.String r2 = "SELECTED_CLIENT_LIST_POSITION"
int r2 = r1.getIntExtra(r2, r3)
r7.j = r2
int r2 = android.os.Build.VERSION.SDK_INT
java.lang.String r3 = "INVESTMENT_DETAILS_CLIENT"
r4 = 33
r5 = 0
if (r2 < r4) goto L3a
android.os.Bundle r2 = r1.getExtras()
if (r2 == 0) goto L38
java.lang.Class<o.OK> r6 = o.OK.class
java.lang.Object r2 = r2.getParcelable(r3, r6)
android.os.Parcelable r2 = (android.os.Parcelable) r2
goto L5e
L38:
r2 = r5
goto L5e
L3a:
android.os.Bundle r2 = r1.getExtras()
if (r2 == 0) goto L45
android.os.Parcelable r2 = r2.getParcelable(r3)
goto L46
L45:
r2 = r5
L46:
boolean r3 = r2 instanceof o.OK
if (r3 != 0) goto L5a
int r2 = com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.f8047o
int r2 = r2 + 121
int r3 = r2 % 128
com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.k = r3
int r2 = r2 % r0
if (r2 == 0) goto L59
r2 = 44
int r2 = r2 / 0
L59:
r2 = r5
L5a:
o.OK r2 = (o.OK) r2
android.os.Parcelable r2 = (android.os.Parcelable) r2
L5e:
o.OK r2 = (o.OK) r2
int r3 = android.os.Build.VERSION.SDK_INT
java.lang.String r6 = "INVESTMENT_DETAILS"
if (r3 < r4) goto L8c
int r3 = com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.f8047o
int r3 = r3 + 47
int r4 = r3 % 128
com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.k = r4
int r3 = r3 % r0
if (r3 == 0) goto L7c
android.os.Bundle r0 = r1.getExtras()
r1 = 90
int r1 = r1 / 0
if (r0 == 0) goto La1
goto L82
L7c:
android.os.Bundle r0 = r1.getExtras()
if (r0 == 0) goto La1
L82:
java.lang.Class<o.OH> r1 = o.OH.class
java.lang.Object r0 = r0.getParcelable(r6, r1)
r5 = r0
android.os.Parcelable r5 = (android.os.Parcelable) r5
goto La1
L8c:
android.os.Bundle r0 = r1.getExtras()
if (r0 == 0) goto L97
android.os.Parcelable r0 = r0.getParcelable(r6)
goto L98
L97:
r0 = r5
L98:
boolean r1 = r0 instanceof o.OH
if (r1 == 0) goto L9d
r5 = r0
L9d:
o.OH r5 = (o.OH) r5
android.os.Parcelable r5 = (android.os.Parcelable) r5
La1:
o.OH r5 = (o.OH) r5
java.lang.Object[] r0 = new java.lang.Object[]{r7}
int r1 = java.lang.System.identityHashCode(r7)
r3 = -1582708460(0xffffffffa1a9c914, float:-1.150511E-18)
r4 = 1582708462(0x5e5636ee, float:3.8589466E18)
java.lang.Object r0 = b(r0, r3, r4, r1)
o.bCw r0 = (o.C3663bCw) r0
int r1 = r7.f
int r3 = r7.j
r0.d(r5, r2, r1, r3)
o.oir r0 = r7.f()
android.widget.LinearLayout r0 = r0.g
java.lang.String r1 = ""
o.C14957gcv.c(r0, r1)
android.view.View r0 = (android.view.View) r0
o.C14957gcv.e(r0, r1)
r1 = 8
r0.setVisibility(r1)
Ld3:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.g():void");
}
@Override // o.cZA.RVV
public final void a(OK ok) {
int i2 = 2 % 2;
C14957gcv.e(ok, "");
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
InvestmentDetailsFundListAdapter investmentDetailsFundListAdapter = new InvestmentDetailsFundListAdapter(requireContext, ok, this);
oir f = f();
FragmentWrapContentViewPager fragmentWrapContentViewPager = f.d;
fragmentWrapContentViewPager.setAdapter(investmentDetailsFundListAdapter);
fragmentWrapContentViewPager.addOnPageChangeListener(this);
fragmentWrapContentViewPager.setClipToPadding(false);
fragmentWrapContentViewPager.setPadding(fragmentWrapContentViewPager.getResources().getDimensionPixelOffset(R.dimen.f28572131166623), 0, fragmentWrapContentViewPager.getResources().getDimensionPixelOffset(R.dimen.f28572131166623), 0);
fragmentWrapContentViewPager.setOffscreenPageLimit(1);
f.i.setViewPager(fragmentWrapContentViewPager);
fragmentWrapContentViewPager.setCurrentItem(this.f);
CircleIndicator circleIndicator = f.i;
circleIndicator.setVisibility(C3663bCw.b(ok.f.size()));
int i3 = k + 125;
f8047o = i3 % 128;
int i4 = i3 % 2;
}
@Override // com.scb.phone.view.fragment.BaseFragment
public final void aa() {
int i2 = 2 % 2;
int i3 = f8047o + 111;
k = i3 % 128;
int i4 = i3 % 2;
super.aa();
u(getString(R.string.investment_fund_detail_title));
Y();
int i5 = f8047o + 113;
k = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@Override // o.cZA.RVV
public final void a(OJ oj) {
int i2 = 2 % 2;
int i3 = f8047o + 1;
k = i3 % 128;
int i4 = i3 % 2;
if (oj != null) {
Intent intent = new Intent();
intent.setAction("com.scb.phone/BROADCAST_FUND_DETAILS_SUMMARY");
intent.putExtra("INVESTMENT_FUND_LIST", oj);
C10457eEr.aqd_(this, intent);
int i5 = k + 5;
f8047o = i5 % 128;
int i6 = i5 % 2;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes5.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private C5656bxF b;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
if (this.b.c.getVisibility() == 8) {
fJM.e(this.b.c);
this.b.b.setImageResource(R.drawable.ic_expand_less_black_24dp);
} else {
this.b.b.setImageResource(R.drawable.ic_expand_more_black_24dp);
fJM.d(this.b.c);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(C5656bxF c5656bxF) {
super(0);
this.b = c5656bxF;
}
}
private final void l() {
int i2 = 2 % 2;
C5656bxF i3 = i();
RelativeLayout relativeLayout = i3.a;
C14957gcv.c(relativeLayout, "");
C10454eEo.d(relativeLayout, new HBt(i3));
int i4 = k + 99;
f8047o = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 81 / 0;
}
}
private static /* synthetic */ Object b(Object[] objArr) {
InvestmentFundDetailFragment investmentFundDetailFragment = (InvestmentFundDetailFragment) objArr[0];
int i2 = 2 % 2;
int i3 = k + 87;
f8047o = i3 % 128;
int i4 = i3 % 2;
investmentFundDetailFragment.d = null;
investmentFundDetailFragment.c = null;
super.onDestroyView();
int i5 = k + 45;
f8047o = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 1 / 0;
}
return null;
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroy() {
int i2 = 2 % 2;
int i3 = f8047o + 45;
k = i3 % 128;
int i4 = i3 % 2;
((C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this))).w_();
super.onDestroy();
int i5 = k + 57;
f8047o = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public final void onPageScrollStateChanged(int i2) {
int i3 = 2 % 2;
int i4 = f8047o + 53;
k = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 1 / 0;
if (i2 != 0) {
return;
}
} else if (i2 != 0) {
return;
}
((C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this))).e(this.f);
int i6 = k + 31;
f8047o = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 3 / 3;
}
}
@Override // o.cZA.RVV
public final void b() {
int i2 = 2 % 2;
int i3 = k + 109;
f8047o = i3 % 128;
if (i3 % 2 == 0) {
getContext();
Object obj = null;
obj.hashCode();
throw null;
}
Context context = getContext();
if (context != null) {
FundPurchaseLandingActivity.IeS ieS = FundPurchaseLandingActivity.b;
C3663bCw c3663bCw = (C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this));
int intValue = ((Integer) C3663bCw.e(new Object[]{c3663bCw}, -1446371456, 1446371458, System.identityHashCode(c3663bCw))).intValue();
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) FundPurchaseLandingActivity.class);
intent.putExtra("SELECTED_CLIENT_LIST_POSITION", intValue);
context.startActivity(intent);
int i4 = k + 29;
f8047o = i4 % 128;
int i5 = i4 % 2;
}
}
@Override // o.cZA.RVV
public final void c(OH oh, PY py) {
List<OK> list;
int i2 = 2 % 2;
Context context = getContext();
if (context != null) {
int i3 = k + 45;
f8047o = i3 % 128;
ON on = null;
if (i3 % 2 == 0) {
FundPurchaseLandingActivity.IeS ieS = FundPurchaseLandingActivity.b;
on.hashCode();
throw null;
}
FundPurchaseLandingActivity.IeS ieS2 = FundPurchaseLandingActivity.b;
if (oh != null) {
list = oh.d;
int i4 = k + 27;
f8047o = i4 % 128;
int i5 = i4 % 2;
} else {
int i6 = f8047o + 123;
k = i6 % 128;
int i7 = i6 % 2;
list = null;
}
if (oh != null) {
int i8 = k + 119;
f8047o = i8 % 128;
int i9 = i8 % 2;
on = oh.i;
}
C3663bCw c3663bCw = (C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this));
FundPurchaseLandingActivity.IeS.c(context, py, list, on, ((Integer) C3663bCw.e(new Object[]{c3663bCw}, -1446371456, 1446371458, System.identityHashCode(c3663bCw))).intValue());
}
}
@Override // o.cZA.RVV
public final void d() {
int i2 = 2 % 2;
int i3 = f8047o + 41;
k = i3 % 128;
if (i3 % 2 != 0) {
getContext();
Object obj = null;
obj.hashCode();
throw null;
}
Context context = getContext();
if (context != null) {
FundRedeemLandingActivity.RVV rvv = FundRedeemLandingActivity.b;
C3663bCw c3663bCw = (C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this));
int intValue = ((Integer) C3663bCw.e(new Object[]{c3663bCw}, -1446371456, 1446371458, System.identityHashCode(c3663bCw))).intValue();
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) FundRedeemLandingActivity.class);
intent.putExtra("SELECTED_CLIENT_LIST_POSITION", intValue);
context.startActivity(intent);
}
int i4 = f8047o + 61;
k = i4 % 128;
int i5 = i4 % 2;
}
private static void q(short s, byte b, int i2, int i3, int i4, Object[] objArr) {
int i5;
int i6;
boolean z;
int i7 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(i)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - Color.red(0), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
r(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
int i8 = intValue == -1 ? 1 : 0;
long j = 0;
if (i8 != 0) {
int i9 = $11 + 11;
$10 = i9 % 128;
if (i9 % 2 != 0) {
throw null;
}
byte[] bArr = n;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i10 = 0;
while (i10 < length) {
Object[] objArr4 = {Integer.valueOf(bArr[i10])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 60, 5 - View.combineMeasuredStates(0, 0), (char) ((ViewConfiguration.getZoomControlsTimeout() > j ? 1 : (ViewConfiguration.getZoomControlsTimeout() == j ? 0 : -1)) - 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
r(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i10] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i10++;
j = 0;
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = n;
try {
Object[] objArr6 = {Integer.valueOf(i3), Integer.valueOf(h)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 338, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
r(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (i ^ (-7303220121662775787L))));
i5 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
intValue = (short) (((short) (l[i3 + ((int) (h ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (i ^ (-7303220121662775787L))));
int i11 = $11 + 59;
$10 = i11 % 128;
i5 = 2;
int i12 = i11 % 2;
}
} else {
i5 = 2;
}
if (intValue > 0) {
dfy.c = ((i3 + intValue) - i5) + ((int) (h ^ (-7303220121662775787L))) + i8;
Object[] objArr8 = {dfy, Integer.valueOf(i4), Integer.valueOf(m), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(747 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - TextUtils.getTrimmedLength(""), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = n;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i13 = 0; i13 < length2; i13++) {
bArr5[i13] = (byte) (bArr4[i13] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
if (bArr4 != null) {
z = true;
i6 = 2;
} else {
int i14 = $10 + 103;
$11 = i14 % 128;
i6 = 2;
int i15 = i14 % 2;
z = false;
}
dfy.d = 1;
int i16 = $11 + 71;
$10 = i16 % 128;
if (i16 % i6 != 0) {
int i17 = 4 % i6;
}
while (dfy.d < intValue) {
if (z) {
int i18 = $10 + 37;
$11 = i18 % 128;
int i19 = i18 % 2;
byte[] bArr6 = n;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s)) ^ b));
} else {
short[] sArr = l;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
int i20 = $10 + 99;
$11 = i20 % 128;
int i21 = i20 % 2;
}
}
objArr[0] = sb.toString();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // o.cZA.RVV
public final void c(OH oh, C0845Pv c0845Pv) {
int i2 = 2 % 2;
C14957gcv.e(c0845Pv, "");
Context context = getContext();
if (context != null) {
FundRedeemLandingActivity.RVV rvv = FundRedeemLandingActivity.b;
C3663bCw c3663bCw = (C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this));
int intValue = ((Integer) C3663bCw.e(new Object[]{c3663bCw}, -1446371456, 1446371458, System.identityHashCode(c3663bCw))).intValue();
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) FundRedeemLandingActivity.class);
intent.putExtra("INVESTMENT_DETAILS", oh);
intent.putExtra("com.scb.phone.REDEEM_FUND_SEARCH_SELECTED", c0845Pv);
intent.putExtra("SELECTED_CLIENT_LIST_POSITION", intValue);
context.startActivity(intent);
int i3 = k + 37;
f8047o = i3 % 128;
int i4 = i3 % 2;
}
int i5 = f8047o + 115;
k = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 37 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x001d, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001f, code lost:
r2 = com.scb.phone.view.activity.investment.fundswitch.FundSwitchLandingActivity.b;
r2 = (o.C3663bCw) b(new java.lang.Object[]{r6}, -1582708460, 1582708462, java.lang.System.identityHashCode(r6));
r2 = ((java.lang.Integer) o.C3663bCw.e(new java.lang.Object[]{r2}, -1446371456, 1446371458, java.lang.System.identityHashCode(r2))).intValue();
o.C14957gcv.e(r1, "");
r3 = new android.content.Intent(r1, (java.lang.Class<?>) com.scb.phone.view.activity.investment.fundswitch.FundSwitchLandingActivity.class);
r3.putExtra("SWITCH_INPUT_DISPLAY", r7);
r3.putExtra("com.scb.phone.SWITCH_FUND_SEARCH_SELECTED", r8);
r3.putExtra("SELECTED_CLIENT_LIST_POSITION", r2);
startActivity(r3);
*/
@Override // o.cZA.RVV
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void d(o.OH r7, o.PB r8) {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.k
int r1 = r1 + 41
int r2 = r1 % 128
com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.f8047o = r2
int r1 = r1 % r0
if (r1 != 0) goto L19
android.content.Context r1 = r6.getContext()
r2 = 44
int r2 = r2 / 0
if (r1 == 0) goto L6f
goto L1f
L19:
android.content.Context r1 = r6.getContext()
if (r1 == 0) goto L6f
L1f:
com.scb.phone.view.activity.investment.fundswitch.FundSwitchLandingActivity$RVV r2 = com.scb.phone.view.activity.investment.fundswitch.FundSwitchLandingActivity.b
java.lang.Object[] r2 = new java.lang.Object[]{r6}
int r3 = java.lang.System.identityHashCode(r6)
r4 = -1582708460(0xffffffffa1a9c914, float:-1.150511E-18)
r5 = 1582708462(0x5e5636ee, float:3.8589466E18)
java.lang.Object r2 = b(r2, r4, r5, r3)
o.bCw r2 = (o.C3663bCw) r2
java.lang.Object[] r3 = new java.lang.Object[]{r2}
int r2 = java.lang.System.identityHashCode(r2)
r4 = -1446371456(0xffffffffa9ca1f80, float:-8.9760664E-14)
r5 = 1446371458(0x5635e082, float:4.9993965E13)
java.lang.Object r2 = o.C3663bCw.e(r3, r4, r5, r2)
java.lang.Integer r2 = (java.lang.Integer) r2
int r2 = r2.intValue()
java.lang.String r3 = ""
o.C14957gcv.e(r1, r3)
android.content.Intent r3 = new android.content.Intent
java.lang.Class<com.scb.phone.view.activity.investment.fundswitch.FundSwitchLandingActivity> r4 = com.scb.phone.view.activity.investment.fundswitch.FundSwitchLandingActivity.class
r3.<init>(r1, r4)
java.lang.String r1 = "SWITCH_INPUT_DISPLAY"
android.os.Parcelable r7 = (android.os.Parcelable) r7
r3.putExtra(r1, r7)
java.lang.String r7 = "com.scb.phone.SWITCH_FUND_SEARCH_SELECTED"
android.os.Parcelable r8 = (android.os.Parcelable) r8
r3.putExtra(r7, r8)
java.lang.String r7 = "SELECTED_CLIENT_LIST_POSITION"
r3.putExtra(r7, r2)
r6.startActivity(r3)
L6f:
int r7 = com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.f8047o
int r7 = r7 + 3
int r8 = r7 % 128
com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.k = r8
int r7 = r7 % r0
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.d(o.OH, o.PB):void");
}
@Override // o.cZA.RVV
public final void c() {
int i2 = 2 % 2;
int i3 = k + 79;
f8047o = i3 % 128;
if (i3 % 2 == 0) {
getContext();
throw null;
}
Context context = getContext();
if (context != null) {
FundSwitchLandingActivity.RVV rvv = FundSwitchLandingActivity.b;
C3663bCw c3663bCw = (C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this));
int intValue = ((Integer) C3663bCw.e(new Object[]{c3663bCw}, -1446371456, 1446371458, System.identityHashCode(c3663bCw))).intValue();
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) FundSwitchLandingActivity.class);
intent.putExtra("SELECTED_CLIENT_LIST_POSITION", intValue);
startActivity(intent);
int i4 = k + 41;
f8047o = i4 % 128;
int i5 = i4 % 2;
}
}
private static /* synthetic */ Object d(Object[] objArr) {
InvestmentFundDetailFragment investmentFundDetailFragment = (InvestmentFundDetailFragment) objArr[0];
int i2 = 2 % 2;
int i3 = f8047o + 77;
k = i3 % 128;
int i4 = i3 % 2;
investmentFundDetailFragment.f().g.setVisibility(8);
int i5 = k + 101;
f8047o = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 18 / 0;
}
return null;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r4v2, types: [android.text.SpannableString, android.text.Spannable] */
@Override // o.cZA.RVV
public final void c(List<C0849Px> list, String str, int i2) {
int i3 = 2 % 2;
int i4 = f8047o + 71;
k = i4 % 128;
int i5 = i4 % 2;
oir f = f();
LinearLayout linearLayout = f.g;
C14957gcv.c(linearLayout, "");
LinearLayout linearLayout2 = linearLayout;
C14957gcv.e(linearLayout2, "");
linearLayout2.setVisibility(0);
TabLayout tabLayout = f.h;
C14957gcv.c(tabLayout, "");
TabLayout tabLayout2 = tabLayout;
C14957gcv.e(tabLayout2, "");
tabLayout2.setVisibility(8);
FragmentWrapContentViewPager fragmentWrapContentViewPager = f.j;
C14957gcv.c(fragmentWrapContentViewPager, "");
FragmentWrapContentViewPager fragmentWrapContentViewPager2 = fragmentWrapContentViewPager;
C14957gcv.e(fragmentWrapContentViewPager2, "");
fragmentWrapContentViewPager2.setVisibility(8);
LinearLayout linearLayout3 = f.f;
C14957gcv.c(linearLayout3, "");
LinearLayout linearLayout4 = linearLayout3;
C14957gcv.e(linearLayout4, "");
linearLayout4.setVisibility(0);
TextView textView = f.k;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
TextView textView3 = f.k;
Context context = textView3.getContext();
String string = context.getString(i2);
if (string.startsWith(",*,)")) {
Object[] objArr = new Object[1];
p(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
CharSequence text = context.getText(i2);
if (text instanceof Spanned) {
?? spannableString = new SpannableString(string);
TextUtils.copySpansFrom((SpannedString) text, 0, string.length(), Object.class, spannableString, 0);
int i6 = k + 79;
f8047o = i6 % 128;
int i7 = i6 % 2;
string = spannableString;
}
}
textView3.setText(string);
AbstractC13482fbE a = getChildFragmentManager().a();
int id = f().f.getId();
FundSummaryTabFragment a2 = FundSummaryTabFragment.a(list, str);
String string2 = getString(i2);
if (id == 0) {
throw new IllegalArgumentException("Must use non-zero containerViewId");
}
a.b(id, a2, string2, 2);
a.b();
int i8 = k + 55;
f8047o = i8 % 128;
int i9 = i8 % 2;
}
@Override // o.cZA.RVV
public final void e(List<? extends C0851Pz> list) {
int i2 = 2 % 2;
int i3 = k + 107;
f8047o = i3 % 128;
int i4 = i3 % 2;
oir f = f();
LinearLayout linearLayout = f.g;
C14957gcv.c(linearLayout, "");
LinearLayout linearLayout2 = linearLayout;
C14957gcv.e(linearLayout2, "");
linearLayout2.setVisibility(0);
TabLayout tabLayout = f.h;
C14957gcv.c(tabLayout, "");
TabLayout tabLayout2 = tabLayout;
C14957gcv.e(tabLayout2, "");
tabLayout2.setVisibility(8);
FragmentWrapContentViewPager fragmentWrapContentViewPager = f.j;
C14957gcv.c(fragmentWrapContentViewPager, "");
FragmentWrapContentViewPager fragmentWrapContentViewPager2 = fragmentWrapContentViewPager;
C14957gcv.e(fragmentWrapContentViewPager2, "");
fragmentWrapContentViewPager2.setVisibility(8);
LinearLayout linearLayout3 = f.f;
C14957gcv.c(linearLayout3, "");
LinearLayout linearLayout4 = linearLayout3;
C14957gcv.e(linearLayout4, "");
linearLayout4.setVisibility(0);
TextView textView = f.k;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
f.k.setText(R.string.dividend);
AbstractC13482fbE a = getChildFragmentManager().a();
int id = f().f.getId();
DividendTabFragment a2 = DividendTabFragment.a(list);
String string = getString(R.string.dividend);
if (id != 0) {
int i5 = k + 41;
f8047o = i5 % 128;
int i6 = i5 % 2;
a.b(id, a2, string, 2);
a.b();
int i7 = k + 27;
f8047o = i7 % 128;
if (i7 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
throw new IllegalArgumentException("Must use non-zero containerViewId");
}
@Override // o.cZA.RVV
public final void b(List<C0849Px> list, List<? extends C0851Pz> list2, String str) {
int i2 = 2 % 2;
C14957gcv.e(str, "");
oir f = f();
LinearLayout linearLayout = f.g;
C14957gcv.c(linearLayout, "");
LinearLayout linearLayout2 = linearLayout;
C14957gcv.e(linearLayout2, "");
linearLayout2.setVisibility(0);
LinearLayout linearLayout3 = f.f;
C14957gcv.c(linearLayout3, "");
LinearLayout linearLayout4 = linearLayout3;
C14957gcv.e(linearLayout4, "");
linearLayout4.setVisibility(8);
TextView textView = f.k;
C14957gcv.c(textView, "");
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(8);
TabLayout tabLayout = f.h;
C14957gcv.c(tabLayout, "");
TabLayout tabLayout2 = tabLayout;
C14957gcv.e(tabLayout2, "");
tabLayout2.setVisibility(0);
FragmentWrapContentViewPager fragmentWrapContentViewPager = f.j;
C14957gcv.c(fragmentWrapContentViewPager, "");
FragmentWrapContentViewPager fragmentWrapContentViewPager2 = fragmentWrapContentViewPager;
C14957gcv.e(fragmentWrapContentViewPager2, "");
fragmentWrapContentViewPager2.setVisibility(0);
yRS parentFragmentManager = getParentFragmentManager();
C14957gcv.c(parentFragmentManager, "");
Context requireContext = requireContext();
C14957gcv.c(requireContext, "");
f.j.setAdapter(new C12320evw(parentFragmentManager, requireContext, list, list2, str, ((C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this))).a(str)));
f.h.setupWithViewPager(f.j);
int i3 = f8047o + 55;
k = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 46 / 0;
}
}
@Override // o.cZA.RVV
public final void d(OK ok) {
int i2 = 2 % 2;
int i3 = k + 111;
f8047o = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(ok, "");
CustomFundsActions customFundsActions = f().c;
customFundsActions.setButtonEnabled("BUTTON_PURCHASE", ok.d);
customFundsActions.setButtonEnabled("BUTTON_REDEEM", ok.c);
customFundsActions.setButtonEnabled("BUTTON_SWITCH", ok.b);
C14957gcv.c(customFundsActions, "");
CustomFundsActions customFundsActions2 = customFundsActions;
C14957gcv.e(customFundsActions2, "");
customFundsActions2.setVisibility(0);
customFundsActions.setOnCustomFundsActionsClickListener(this);
int i5 = f8047o + 111;
k = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@Override // o.cZA.RVV
public final void e(OK ok) {
int i2 = 2 % 2;
int i3 = f8047o + 23;
k = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(ok, "");
CustomNewFundsActions customNewFundsActions = f().a;
Object[] objArr = new Object[1];
q((short) ((ViewConfiguration.getWindowTouchSlop() >> 8) - 4), (byte) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1), (-33) - View.combineMeasuredStates(0, 0), 1613905003 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (-772946731) - ExpandableListView.getPackedPositionChild(0L), objArr);
customNewFundsActions.setButtonEnabled("BUTTON_PURCHASE", C14957gcv.b((Object) ((String) objArr[0]).intern(), (Object) ok.d));
Object[] objArr2 = new Object[1];
q((short) ((-3) - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), (byte) (TextUtils.lastIndexOf("", '0', 0) + 1), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 34, 1613905004 - Color.green(0), TextUtils.indexOf((CharSequence) "", '0') - 772946729, objArr2);
customNewFundsActions.setButtonEnabled("BUTTON_REDEEM", C14957gcv.b((Object) ((String) objArr2[0]).intern(), (Object) ok.c));
customNewFundsActions.setButtonEnabled("BUTTON_SWITCH", ((C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this))).b());
customNewFundsActions.setButtonEnabled("BUTTON_TRANSACTIONS", true);
C14957gcv.c(customNewFundsActions, "");
CustomNewFundsActions customNewFundsActions2 = customNewFundsActions;
C14957gcv.e(customNewFundsActions2, "");
customNewFundsActions2.setVisibility(0);
customNewFundsActions.setOnFundsActionsClickListener(this);
int i5 = f8047o + 13;
k = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@Override // o.cZA.RVV
public final void a() {
int i2 = 2 % 2;
int i3 = f8047o + 13;
k = i3 % 128;
Object obj = null;
if (i3 % 2 == 0) {
Context context = getContext();
if (context != null) {
int i4 = k + 1;
f8047o = i4 % 128;
int i5 = i4 % 2;
InvestmentWebViewActivity.HBt hBt = InvestmentWebViewActivity.k;
startActivity(InvestmentWebViewActivity.HBt.agT_(context, null, mfY.MF_TRANSACTIONS_HISTORY_FUND_DETAIL));
return;
}
return;
}
getContext();
obj.hashCode();
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
InvestmentFundDetailFragment investmentFundDetailFragment = (InvestmentFundDetailFragment) objArr[0];
String str = (String) objArr[1];
HashMap hashMap = (HashMap) objArr[2];
int i2 = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(hashMap, "");
PartnerAuthorizationActivity.HBt hBt = PartnerAuthorizationActivity.f7686o;
Context requireContext = investmentFundDetailFragment.requireContext();
C14957gcv.c(requireContext, "");
investmentFundDetailFragment.startActivity(PartnerAuthorizationActivity.HBt.ajP_(requireContext, hashMap, true, new Intent().putExtra(C15971jzF.e.e, str)));
int i3 = k + 105;
f8047o = i3 % 128;
int i4 = i3 % 2;
return null;
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Removed duplicated region for block: B:12:0x0076 */
/* JADX WARN: Removed duplicated region for block: B:16:0x0093 */
/* JADX WARN: Removed duplicated region for block: B:20:0x00af */
/* JADX WARN: Removed duplicated region for block: B:23:0x00ca A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:5:0x003c */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object c(java.lang.Object[] r9) {
/*
r0 = 0
r1 = r9[r0]
com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment r1 = (com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment) r1
r2 = 1
r9 = r9[r2]
java.lang.String r9 = (java.lang.String) r9
r3 = 2
int r4 = r3 % r3
int r4 = com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.f8047o
int r4 = r4 + 103
int r5 = r4 % 128
com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.k = r5
int r4 = r4 % r3
java.lang.String r5 = ""
r6 = 1582708462(0x5e5636ee, float:3.8589466E18)
r7 = -1582708460(0xffffffffa1a9c914, float:-1.150511E-18)
r8 = 0
if (r4 == 0) goto L30
o.C14957gcv.e(r9, r5)
int r4 = r9.hashCode()
r5 = 43
int r5 = r5 / r0
switch(r4) {
case -1477774519: goto Laf;
case -1432358687: goto L93;
case -747110078: goto L76;
case -278559890: goto L3c;
default: goto L2e;
}
L2e:
goto Lca
L30:
o.C14957gcv.e(r9, r5)
int r4 = r9.hashCode()
switch(r4) {
case -1477774519: goto Laf;
case -1432358687: goto L93;
case -747110078: goto L76;
case -278559890: goto L3c;
default: goto L3a;
}
L3a:
goto Lca
L3c:
java.lang.String r4 = "BUTTON_PURCHASE"
boolean r9 = r9.equals(r4)
if (r9 == r2) goto L46
goto Lca
L46:
java.lang.Object[] r9 = new java.lang.Object[]{r1}
int r4 = java.lang.System.identityHashCode(r1)
java.lang.Object r9 = b(r9, r7, r6, r4)
o.bCw r9 = (o.C3663bCw) r9
int r1 = r1.f
java.lang.Object[] r4 = new java.lang.Object[r3]
r4[r0] = r9
java.lang.Integer r9 = java.lang.Integer.valueOf(r1)
r4[r2] = r9
r9 = 657518242(0x2730eea2, float:2.455427E-15)
r0 = -657518241(0xffffffffd8cf115f, float:-1.8213881E15)
o.C3663bCw.e(r4, r9, r0, r1)
int r9 = com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.k
int r9 = r9 + 75
int r0 = r9 % 128
com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.f8047o = r0
int r9 = r9 % r3
if (r9 == 0) goto L75
return r8
L75:
throw r8
L76:
java.lang.String r0 = "BUTTON_TRANSACTIONS"
boolean r9 = r9.equals(r0)
r9 = r9 ^ r2
if (r9 == r2) goto Lca
java.lang.Object[] r9 = new java.lang.Object[]{r1}
int r0 = java.lang.System.identityHashCode(r1)
java.lang.Object r9 = b(r9, r7, r6, r0)
o.bCw r9 = (o.C3663bCw) r9
int r0 = r1.f
r9.h(r0)
return r8
L93:
java.lang.String r0 = "BUTTON_SWITCH"
boolean r9 = r9.equals(r0)
if (r9 == 0) goto Lca
java.lang.Object[] r9 = new java.lang.Object[]{r1}
int r0 = java.lang.System.identityHashCode(r1)
java.lang.Object r9 = b(r9, r7, r6, r0)
o.bCw r9 = (o.C3663bCw) r9
int r0 = r1.f
r9.g(r0)
return r8
Laf:
java.lang.String r0 = "BUTTON_REDEEM"
boolean r9 = r9.equals(r0)
if (r9 == 0) goto Lca
java.lang.Object[] r9 = new java.lang.Object[]{r1}
int r0 = java.lang.System.identityHashCode(r1)
java.lang.Object r9 = b(r9, r7, r6, r0)
o.bCw r9 = (o.C3663bCw) r9
int r0 = r1.f
r9.d(r0)
Lca:
return r8
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.investment.funddetails.InvestmentFundDetailFragment.c(java.lang.Object[]):java.lang.Object");
}
private static /* synthetic */ Object i(Object[] objArr) {
InvestmentFundDetailFragment investmentFundDetailFragment = (InvestmentFundDetailFragment) objArr[0];
OJ oj = (OJ) objArr[1];
int i2 = 2 % 2;
int i3 = f8047o + 51;
k = i3 % 128;
if (i3 % 2 == 0) {
C14957gcv.e(oj, "");
C3663bCw c3663bCw = (C3663bCw) b(new Object[]{investmentFundDetailFragment}, -1582708460, 1582708462, System.identityHashCode(investmentFundDetailFragment));
C3663bCw.e(new Object[]{c3663bCw, oj}, 1197047305, -1197047297, System.identityHashCode(c3663bCw));
return null;
}
C14957gcv.e(oj, "");
C3663bCw c3663bCw2 = (C3663bCw) b(new Object[]{investmentFundDetailFragment}, -1582708460, 1582708462, System.identityHashCode(investmentFundDetailFragment));
C3663bCw.e(new Object[]{c3663bCw2, oj}, 1197047305, -1197047297, System.identityHashCode(c3663bCw2));
throw null;
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
static void j() {
h = -872161919;
i = 1406017079;
m = 2111579470;
n = new byte[]{Ascii.NAK};
}
static void h() {
int i2 = 2 % 2;
int i3 = k + 121;
int i4 = i3 % 128;
f8047o = i4;
int i5 = i3 % 2;
g = (byte) 6;
int i6 = i4 + 119;
k = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
@Override // o.cZA.RVV
public final void e() {
b(new Object[]{this}, 862656188, -862656188, System.identityHashCode(this));
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public final void onPageSelected(int i2) {
int i3 = 2 % 2;
int i4 = f8047o + 21;
int i5 = i4 % 128;
k = i5;
int i6 = i4 % 2;
this.f = i2;
if (i6 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i7 = i5 + 113;
f8047o = i7 % 128;
int i8 = i7 % 2;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public final void onPageScrolled(int i2, float f, int i3) {
int i4 = 2 % 2;
int i5 = k + 65;
f8047o = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 66 / 0;
}
}
@Override // com.scb.phone.view.adapter.investment.funddetails.InvestmentDetailsFundListAdapter.IeS
public final void b(OJ oj) {
b(new Object[]{this, oj}, -2125893070, 2125893075, System.identityHashCode(this));
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public final void onDestroyView() {
b(new Object[]{this}, -1188874496, 1188874499, System.identityHashCode(this));
}
@Override // o.InterfaceC12848fIw
public final void d(String str) {
b(new Object[]{this, str}, 1889321995, -1889321991, System.identityHashCode(this));
}
@Override // o.cZA.RVV
public final void d(String str, HashMap<String, Object> hashMap) {
b(new Object[]{this, str, hashMap}, -551934012, 551934013, System.identityHashCode(this));
}
private C3663bCw m() {
return (C3663bCw) b(new Object[]{this}, -1582708460, 1582708462, System.identityHashCode(this));
}
static {
f8047o = 1;
j();
h();
new IeS((byte) 0);
int i2 = k + 95;
f8047o = i2 % 128;
int i3 = i2 % 2;
}
}