what-the-bank/sources/com/scb/phone/view/activity/privacypolicy/ScbPrivacyPolicyActivity.java

824 lines
39 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.privacypolicy;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ExpandableListView;
import butterknife.BindView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC14961gcz;
import o.C14957gcv;
import o.C3614bBe;
import o.C4403bZM;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.fZZ;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
/* loaded from: classes5.dex */
public final class ScbPrivacyPolicyActivity extends Hilt_ScbPrivacyPolicyActivity {
private static int B;
public static final LWm m;
private static char[] q;
private static int u;
private static int[] w;
private static boolean x;
private static boolean y;
private final InterfaceC13393fZL t;
@BindView
public WebView wvPrivacyPolicy;
private static final byte[] $$p = {126, ISO7816.INS_INCREASE, 86, Ascii.DEL};
private static final int $$q = 117;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 0;
private final String s = "javascript:";
private final String r = "style.display='none'";
private final String l = "document.getElementsByClassName('inner-header')[0].style.display='none';";
/* renamed from: o, reason: collision with root package name */
private final String f7812o = "document.getElementsByClassName('breadcrumb-outer')[0].style.display='none';";
private final String k = "document.getElementsByTagName('footer')[0].style.display='none';";
private final String p = "$('.responsivegrid').css('padding-top','0px')";
private static void aC(int i, short s, int i2, Object[] objArr) {
byte[] bArr = $$p;
int i3 = 122 - i;
int i4 = 4 - (s * 3);
int i5 = i2 * 3;
byte[] bArr2 = new byte[1 - i5];
int i6 = 0 - i5;
int i7 = -1;
if (bArr == null) {
i3 += i4;
i4++;
i7 = -1;
}
while (true) {
int i8 = i7 + 1;
bArr2[i8] = (byte) i3;
if (i8 == i6) {
objArr[0] = new String(bArr2, 0);
return;
}
int i9 = i4;
i3 += bArr[i4];
i4 = i9 + 1;
i7 = i8;
}
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i3;
int i6 = ~(i4 | i5);
int i7 = ~i2;
int i8 = (i * 868) + (i2 * 868) + ((i6 | (~(i7 | i5))) * (-867));
int i9 = i4 | i7;
return (i8 + ((((~i9) | (~(i4 | i3))) | (~(i7 | i3))) * (-1734))) + (((~((i | i7) | i3)) | ((~((i2 | i4) | i3)) | (~(i5 | i9)))) * 867) != 1 ? c(objArr) : b(objArr);
}
private static /* synthetic */ Object b(Object[] objArr) {
ScbPrivacyPolicyActivity scbPrivacyPolicyActivity = (ScbPrivacyPolicyActivity) objArr[0];
int i = 2 % 2;
int i2 = B + 21;
int i3 = i2 % 128;
v = i3;
int i4 = i2 % 2;
String str = scbPrivacyPolicyActivity.f7812o;
if (i4 != 0) {
int i5 = 18 / 0;
}
int i6 = i3 + 1;
B = i6 % 128;
if (i6 % 2 != 0) {
return str;
}
throw null;
}
public static final /* synthetic */ String b(ScbPrivacyPolicyActivity scbPrivacyPolicyActivity) {
int i = 2 % 2;
int i2 = B + 37;
v = i2 % 128;
int i3 = i2 % 2;
String str = scbPrivacyPolicyActivity.k;
if (i3 == 0) {
return str;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static final /* synthetic */ String c(ScbPrivacyPolicyActivity scbPrivacyPolicyActivity) {
int i = 2 % 2;
int i2 = v + 59;
int i3 = i2 % 128;
B = i3;
int i4 = i2 % 2;
String str = scbPrivacyPolicyActivity.s;
int i5 = i3 + 93;
v = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 9 / 0;
}
return str;
}
public static final /* synthetic */ String d(ScbPrivacyPolicyActivity scbPrivacyPolicyActivity) {
int i = 2 % 2;
int i2 = v + 107;
int i3 = i2 % 128;
B = i3;
int i4 = i2 % 2;
String str = scbPrivacyPolicyActivity.l;
int i5 = i3 + 57;
v = i5 % 128;
int i6 = i5 % 2;
return str;
}
public static final /* synthetic */ String e(ScbPrivacyPolicyActivity scbPrivacyPolicyActivity) {
int i = 2 % 2;
int i2 = B + 73;
int i3 = i2 % 128;
v = i3;
int i4 = i2 % 2;
String str = scbPrivacyPolicyActivity.p;
int i5 = i3 + 61;
B = i5 % 128;
if (i5 % 2 != 0) {
return str;
}
throw null;
}
public ScbPrivacyPolicyActivity() {
HBt hBt = new HBt(this);
C14957gcv.e(hBt, "");
this.t = new fZZ(hBt);
}
/* loaded from: classes5.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<String> {
private ScbPrivacyPolicyActivity b;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ String invoke() {
Intent intent = this.b.getIntent();
if (intent != null) {
return intent.getStringExtra("EXTRA_TITLE");
}
return null;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(ScbPrivacyPolicyActivity scbPrivacyPolicyActivity) {
super(0);
this.b = scbPrivacyPolicyActivity;
}
}
/* loaded from: classes5.dex */
public static final class LWm {
private LWm() {
}
public static Intent akV_(Context context, String str, String str2) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
Intent intent = new Intent(context, (Class<?>) ScbPrivacyPolicyActivity.class);
intent.putExtra("EXTRA_URL", str);
intent.putExtra("EXTRA_TITLE", str2);
return intent;
}
public /* synthetic */ LWm(byte b) {
this();
}
}
/* loaded from: classes5.dex */
public static final class IeS extends WebViewClient {
private ScbPrivacyPolicyActivity d;
IeS(ScbPrivacyPolicyActivity scbPrivacyPolicyActivity) {
this.d = scbPrivacyPolicyActivity;
}
@Override // android.webkit.WebViewClient
public final void onLoadResource(WebView webView, String str) {
super.onLoadResource(webView, str);
if (webView != null) {
String c = ScbPrivacyPolicyActivity.c(this.d);
String d = ScbPrivacyPolicyActivity.d(this.d);
String str2 = (String) ScbPrivacyPolicyActivity.c(new Object[]{this.d}, -1908617793, 1908617794, (int) System.currentTimeMillis());
String b = ScbPrivacyPolicyActivity.b(this.d);
String e = ScbPrivacyPolicyActivity.e(this.d);
StringBuilder sb = new StringBuilder();
sb.append(c);
sb.append(d);
sb.append(str2);
sb.append(b);
sb.append(e);
webView.evaluateJavascript(sb.toString(), null);
}
}
}
private static void aB(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = w;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 1;
$10 = i8 % 128;
if (i8 % i2 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(15 - View.resolveSizeAndState(i6, i6, i6), KeyEvent.getDeadChar(i6, i6) + 5, (char) (58134 - (ViewConfiguration.getEdgeSlop() >> 16)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7 /= 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
try {
Object[] objArr3 = {Integer.valueOf(iArr3[i7])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(14 - ExpandableListView.getPackedPositionChild(0L), AndroidCharacter.getMirror('0') - '+', (char) (58133 - TextUtils.lastIndexOf("", '0')))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr4[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
i2 = 2;
i6 = 0;
i4 = 729798706;
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = w;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i9 = 0;
while (i9 < length3) {
int i10 = $11 + 97;
$10 = i10 % 128;
int i11 = i10 % 2;
try {
Object[] objArr4 = new Object[i5];
objArr4[0] = Integer.valueOf(iArr6[i9]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
iArr2 = iArr6;
} else {
iArr2 = iArr6;
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getKeyRepeatDelay() >> 16), Color.blue(0) + 5, (char) (View.resolveSize(0, 0) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj3);
}
iArr7[i9] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i9++;
iArr6 = iArr2;
i5 = 1;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
iArr6 = iArr7;
}
char c = 0;
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i12 = 0;
for (int i13 = 16; i12 < i13; i13 = 16) {
c4403bZM.e ^= iArr5[i12];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 119, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) TextUtils.getOffsetAfter("", 0));
byte b = (byte) 0;
Object[] objArr6 = new Object[1];
aC((byte) 18, b, b, objArr6);
obj4 = cls2.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i12++;
}
int i14 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i14;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i15 = c4403bZM.e;
int i16 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 97, ExpandableListView.getPackedPositionType(0L) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b2 = (byte) 0;
Object[] objArr8 = new Object[1];
aC((byte) ($$q & 30), b2, b2, objArr8);
obj5 = cls3.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
c = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0069, code lost:
if (r3 > 99999) goto L11;
*/
@Override // com.scb.phone.view.activity.privacypolicy.Hilt_ScbPrivacyPolicyActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 1218
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.privacypolicy.ScbPrivacyPolicyActivity.onCreate(android.os.Bundle):void");
}
private static void aA(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
int length;
char[] cArr2;
int i3;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = q;
if (cArr3 != null) {
int i5 = $11 + 109;
$10 = i5 % 128;
if (i5 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i3 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i3 = 0;
}
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i3])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 337, 5 - Color.alpha(0), (char) View.getDefaultSize(0, 0));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) 57, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(u)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 284, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (39813 - View.getDefaultSize(0, 0)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
aC(b2, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
char c = '0';
if (y) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i6 = $11 + 101;
$10 = i6 % 128;
if (i6 % 2 != 0) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[c3614bBe.c % c3614bBe.a] << i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 41, 5 - (Process.myTid() >> 22), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(39 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
}
objArr[0] = new String(cArr4);
return;
}
if (!x) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i7 = $11 + 87;
$10 = i7 % 128;
if (i7 % 2 != 0) {
cArr5[c3614bBe.a] = (char) (cArr3[iArr[c3614bBe.c << c3614bBe.a] >> i] >>> intValue);
i2 = c3614bBe.a;
} else {
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i2 = c3614bBe.a + 1;
}
c3614bBe.a = i2;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
try {
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 39, 4 - TextUtils.indexOf("", c), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
c = '0';
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr6);
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onCreateOptionsMenu(Menu menu) {
int i = 2 % 2;
int i2 = B + 1;
v = i2 % 128;
int i3 = i2 % 2;
getMenuInflater().inflate(R.menu.2131689474, menu);
int i4 = v + 105;
B = i4 % 128;
int i5 = i4 % 2;
return true;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() == R.id.menu_close) {
int i2 = B + 3;
v = i2 % 128;
if (i2 % 2 != 0) {
finish();
return true;
}
finish();
return true;
}
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i3 = B + 53;
v = i3 % 128;
if (i3 % 2 == 0) {
return onOptionsItemSelected;
}
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:42:0x0023, code lost:
r1 = com.scb.phone.view.activity.privacypolicy.ScbPrivacyPolicyActivity.v + 123;
com.scb.phone.view.activity.privacypolicy.ScbPrivacyPolicyActivity.B = r1 % 128;
r1 = r1 % 2;
r8 = new java.lang.Object[1];
aA(null, null, 127 - android.view.View.resolveSize(0, 0), new byte[]{net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -112, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -113, -113, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -122, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -124, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -126, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2}, r8);
r1 = java.lang.Class.forName((java.lang.String) r8[0]);
r9 = new java.lang.Object[1];
aB(new int[]{-1789991709, 248817592, -1828680757, 969564282, -1298678163, 530873720, 2127150856, 1036895590, -1766751469, -760834809}, (android.view.ViewConfiguration.getZoomControlsTimeout() > 0 ? 1 : (android.view.ViewConfiguration.getZoomControlsTimeout() == 0 ? 0 : -1)) + 17, r9);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.privacypolicy.Hilt_ScbPrivacyPolicyActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onResume() {
/*
Method dump skipped, instructions count: 486
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.privacypolicy.ScbPrivacyPolicyActivity.onResume():void");
}
@Override // com.scb.phone.view.activity.privacypolicy.Hilt_ScbPrivacyPolicyActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
int i2 = B + 97;
v = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_direct_debit_description_jcb).substring(42, 43).length() + 126, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{-1789991709, 248817592, -1828680757, 969564282, -1298678163, 530873720, 2127150856, 1036895590, -1766751469, -760834809}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 86, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = v + 69;
B = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 487, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) View.MeasureSpec.getMode(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i5 = v + 105;
B = i5 % 128;
if (i5 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
private static /* synthetic */ Object c(Object[] objArr) {
ScbPrivacyPolicyActivity scbPrivacyPolicyActivity = (ScbPrivacyPolicyActivity) objArr[0];
Context context = (Context) objArr[1];
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aA(null, null, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 128, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aA(null, null, 127 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = v + 101;
B = i2 % 128;
if (i2 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context = context.getApplicationContext();
int i3 = B + 117;
v = i3 % 128;
int i4 = i3 % 2;
}
if (context != null) {
int i5 = v + 109;
B = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = new Object[1];
aA(null, null, 127 - (ViewConfiguration.getLongPressTimeout() >> 16), new byte[]{-105, ISOFileInfo.SECURITY_ATTR_EXP, -99, ISOFileInfo.LCS_BYTE, -97, -101, -105, -100, -104, -104, ISOFileInfo.SECURITY_ATTR_EXP, -102, -107, -99, -97, -107, -107, ISOFileInfo.FILE_IDENTIFIER, -101, ISOFileInfo.LCS_BYTE, -97, ISOFileInfo.LCS_BYTE, -98, -102, -101, ISOFileInfo.DATA_BYTES2, -105, -103, -99, -100, -103, -104, -99, -103, -104, -103, ISOFileInfo.DATA_BYTES2, -100, -101, -104, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -103, -104, -105, -106, -107}, objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{-996122230, 1416430000, -1197540997, 198770957, 1369851253, -782216988, 1077075199, -1313566478, -81465622, -1478745888, 109978770, -879906299, -1278735901, 1996186727, 1916595510, 1976611733, -874198552, -193196235, 85159325, 2069744461, -1516839080, -1523446517, 1444252312, -896751041, -2092160052, -251281599, -1956955034, -2127370581, 177753265, 2090611616, -1543116769, -1046249651}, 63 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(null, null, Color.argb(0, 0, 0, 0) + 127, new byte[]{-106, ISOFileInfo.LCS_BYTE, -99, -97, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, -102, ISOFileInfo.A0, -101, -98, -99, -100, ISOFileInfo.SECURITY_ATTR_EXP, -104, ISOFileInfo.SECURITY_ATTR_EXP, -98, ISOFileInfo.LCS_BYTE, -102, -103, -97, ISOFileInfo.A0, -97, -107, -107, -100, -97, -97, ISOFileInfo.DATA_BYTES2, -104, -105, ISOFileInfo.FILE_IDENTIFIER, -101, -98, -99, ISOFileInfo.SECURITY_ATTR_EXP, -102, -99, ISOFileInfo.LCS_BYTE, -100, -106, ISOFileInfo.A0, -107, ISOFileInfo.A0, -102, -104, ISOFileInfo.DATA_BYTES2, -99, ISOFileInfo.A0, -105, -104, ISOFileInfo.SECURITY_ATTR_EXP, -103, -101, -100, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.DATA_BYTES2, -103, ISOFileInfo.A0, -99, ISOFileInfo.DATA_BYTES2}, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{-1566144667, 2064266173, 1682157565, 1799620139, -442322011, 1066914286, -625662124, -1510838088, 1341559293, -1940729066, -234517350, 113559849, 183126989, -364855346, 547463651, 1005079956, -301599746, -377937889, -888044544, -697115009, -1322215111, 1239394739, 1315928947, 418651731, 2115204690, -677867722, 1079175641, 1010621870, -807682487, 120359607, 1815099991, 704275115, 2144350150, -2069002023, -867957033, 396064950, -356777251, 1227387414}, 74 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{210066791, 1706997468, 704036171, 1615284560}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{-380967730, 1808328406, 1977352193, 660305074, 2130666817, -2045425810, -1118659569, -1160645211, 1364745626, 1706864980, 280989767, 1556370659, -556682229, 911336475, 60911306, 806243702, 1321854958, -1112396239}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 35, objArr9);
Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getLongPressTimeout() >> 16), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) Drawable.resolveOpacity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr10);
return null;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
return null;
}
public static final Intent akT_(Context context, String str) {
int i = 2 % 2;
int i2 = B + 69;
v = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(context, "");
C14957gcv.e(str, "");
Intent akV_ = LWm.akV_(context, str, null);
int i4 = v + 41;
B = i4 % 128;
if (i4 % 2 != 0) {
return akV_;
}
throw null;
}
static void f() {
q = new char[]{16345, 16342, 16348, 16330, 16343, 16337, 16278, 16331, 16296, 16347, 16349, 16341, 16321, 16301, 16328, 16313, 16332, 16334, 16300, 16336, 16265, 16271, 16268, 16346, 16267, 16350, 16257, 16266, 16256, 16270, 16269, 16264};
u = 1934311032;
x = true;
y = true;
w = new int[]{-1433111805, -564027766, -1953813249, 824836043, -691471586, 20092703, -54685801, -2025457585, 1178439154, 1341862998, 1298452906, -427539367, -879150864, 1547174850, 1373900725, 1963421563, 509200399, -1781064715};
}
@Override // com.scb.phone.view.activity.privacypolicy.Hilt_ScbPrivacyPolicyActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
c(new Object[]{this, context}, -1200925877, 1200925877, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.privacypolicy.Hilt_ScbPrivacyPolicyActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = v + 115;
B = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 125;
B = i4 % 128;
int i5 = i4 % 2;
}
public static final Intent akU_(Context context, String str, String str2) {
int i = 2 % 2;
int i2 = B + 93;
v = i2 % 128;
int i3 = i2 % 2;
Intent akV_ = LWm.akV_(context, str, str2);
if (i3 != 0) {
int i4 = 38 / 0;
}
return akV_;
}
public static final /* synthetic */ String a(ScbPrivacyPolicyActivity scbPrivacyPolicyActivity) {
return (String) c(new Object[]{scbPrivacyPolicyActivity}, -1908617793, 1908617794, (int) System.currentTimeMillis());
}
static {
B = 1;
f();
m = new LWm((byte) 0);
int i = v + 25;
B = i % 128;
int i2 = i % 2;
}
}