what-the-bank/sources/com/scb/phone/view/activity/additionaldocument/ReviewDocumentActivity.java

2248 lines
93 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.additionaldocument;
import android.app.ActivityManager;
import android.content.Context;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.Point;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.media.ExifInterface;
import android.net.Uri;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Display;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity;
import com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity;
import com.scb.phone.view.activity.additionaldocument.ZoomDocumentActivity;
import com.scb.phone.view.activity.hml.HmlDocumentListActivity;
import com.scb.phone.view.custom.hml.HmlCommonCustomDialog;
import com.squareup.picasso.Picasso;
import java.io.File;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13175fSw;
import o.AbstractC14961gcz;
import o.C12891fKc;
import o.C13020fOa;
import o.C13366fYe;
import o.C14866gag;
import o.C14954gcs;
import o.C14957gcv;
import o.C2483afU;
import o.C4593bdB;
import o.DFY;
import o.EnumC12984fNP;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC14890gbN;
import o.InterfaceC14894gbR;
import o.InterfaceC9024dbs;
import o.ZI;
import o.fSD;
import o.fSJ;
import o.fSQ;
import o.fSS;
import o.xzZ;
import o.yqQ;
import org.bouncycastle.asn1.cmp.PKIFailureInfo;
/* loaded from: classes4.dex */
public class ReviewDocumentActivity extends Hilt_ReviewDocumentActivity implements InterfaceC9024dbs {
public static final IeS b;
private static char[] k;
/* renamed from: o, reason: collision with root package name */
private static char f6564o;
private static short[] p;
private static int q;
private static int r;
private static int s;
private static byte[] t;
private static int x;
private static long y;
@BindView
public TextView confirmTextView;
@BindView
public ImageView imageReview;
@BindView
public TextView infoText;
private fSJ l;
@BindView
public ConstraintLayout layout;
private fSJ m;
@InterfaceC13391fZD
public C2483afU presenter;
@BindView
public View tapIcon;
@BindView
public View tapText;
private static final byte[] $$p = {53, ISOFileInfo.A5, 77, -13};
private static final int $$q = 76;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aD(byte r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r0 = 1 - r6
byte[] r1 = com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.$$p
int r8 = 120 - r8
int r7 = r7 + 4
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L15
r4 = r8
r3 = r2
r8 = r7
goto L2c
L15:
r3 = r2
L16:
byte r4 = (byte) r8
r0[r3] = r4
int r7 = r7 + 1
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
r4 = r1[r7]
int r3 = r3 + 1
r5 = r8
r8 = r7
r7 = r5
L2c:
int r4 = -r4
int r7 = r7 + r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.aD(byte, int, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = i4 | i5;
int i7 = ~(i6 | i3);
int i8 = ~i3;
switch ((i * (-919)) + (i2 * (-919)) + ((i7 | (~(i5 | i8 | i))) * 920) + (((~i6) | (~(i4 | i8))) * 920) + (((~(i | i5 | i3)) | (~(i2 | i4 | i3)) | (~(i6 | i8))) * 920)) {
case 1:
return e(objArr);
case 2:
return d(objArr);
case 3:
return b(objArr);
case 4:
return c(objArr);
case 5:
return i(objArr);
case 6:
InterfaceC14894gbR interfaceC14894gbR = (InterfaceC14894gbR) objArr[0];
Object obj = objArr[1];
int i9 = 2 % 2;
int i10 = u + 109;
x = i10 % 128;
int i11 = i10 % 2;
k(interfaceC14894gbR, obj);
int i12 = u + 91;
x = i12 % 128;
int i13 = i12 % 2;
return null;
default:
return a(objArr);
}
}
private static /* synthetic */ Object e(Object[] objArr) {
int i = 2 % 2;
ImageView imageView = ((ReviewDocumentActivity) objArr[0]).imageReview;
if (imageView != null) {
int i2 = x + 73;
u = i2 % 128;
int i3 = i2 % 2;
return imageView;
}
C14957gcv.a("");
int i4 = u + 57;
x = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
throw null;
}
private View s() {
int i = 2 % 2;
int i2 = u;
int i3 = i2 + 111;
x = i3 % 128;
int i4 = i3 % 2;
View view = this.tapText;
if (view == null) {
C14957gcv.a("");
return null;
}
int i5 = i2 + 23;
x = i5 % 128;
if (i5 % 2 == 0) {
return view;
}
throw null;
}
private View o() {
int i = 2 % 2;
View view = this.tapIcon;
if (view != null) {
int i2 = x + 91;
u = i2 % 128;
int i3 = i2 % 2;
return view;
}
C14957gcv.a("");
int i4 = x + 69;
u = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
int i = 2 % 2;
TextView textView = ((ReviewDocumentActivity) objArr[0]).infoText;
Object obj = null;
if (textView == null) {
C14957gcv.a("");
return null;
}
int i2 = u + 21;
int i3 = i2 % 128;
x = i3;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
int i4 = i3 + 27;
u = i4 % 128;
if (i4 % 2 != 0) {
return textView;
}
throw null;
}
private ConstraintLayout k() {
int i = 2 % 2;
ConstraintLayout constraintLayout = this.layout;
if (constraintLayout != null) {
int i2 = u + 7;
x = i2 % 128;
int i3 = i2 % 2;
return constraintLayout;
}
C14957gcv.a("");
int i4 = u + 113;
x = i4 % 128;
int i5 = i4 % 2;
return null;
}
private C2483afU l() {
int i = 2 % 2;
C2483afU c2483afU = this.presenter;
if (c2483afU != null) {
int i2 = x;
int i3 = i2 + 117;
u = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 19;
u = i5 % 128;
int i6 = i5 % 2;
return c2483afU;
}
C14957gcv.a("");
int i7 = u + 43;
x = i7 % 128;
Object obj = null;
if (i7 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@OnClick
public final void onRetakeClicked() {
int i = 2 % 2;
int i2 = u + 67;
x = i2 % 128;
int i3 = i2 % 2;
l().d();
int i4 = x + 77;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 22 / 0;
}
}
/* JADX WARN: Removed duplicated region for block: B:12:0x0030 */
/* JADX WARN: Removed duplicated region for block: B:18:0x0052 */
/* JADX WARN: Removed duplicated region for block: B:23:0x0062 */
/* JADX WARN: Removed duplicated region for block: B:30:? A[RETURN, SYNTHETIC] */
@butterknife.OnClick
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onDoneClicked() {
/*
r8 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.u
int r1 = r1 + 35
int r2 = r1 % 128
com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.x = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L7d
o.afU r1 = r8.l()
boolean r3 = r1.a
if (r3 != 0) goto L7c
T extends o.cYp r3 = r1.f
r4 = 1
r5 = 0
if (r3 == 0) goto L2b
int r3 = com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.u
int r3 = r3 + 71
int r6 = r3 % 128
com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.x = r6
int r3 = r3 % r0
if (r3 == 0) goto L29
goto L2b
L29:
r3 = r4
goto L2c
L2b:
r3 = r5
L2c:
r3 = r3 ^ r4
if (r3 == 0) goto L30
goto L49
L30:
int r3 = com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.x
int r3 = r3 + 49
int r6 = r3 % 128
com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.u = r6
int r3 = r3 % r0
if (r3 != 0) goto L44
T extends o.cYp r3 = r1.f
r3.y()
r3 = 95
int r3 = r3 / r5
goto L49
L44:
T extends o.cYp r3 = r1.f
r3.y()
L49:
o.agg r3 = new o.agg
r3.<init>(r1)
T extends o.cYp r6 = r1.f
if (r6 == 0) goto L5f
int r6 = com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.u
int r6 = r6 + 3
int r7 = r6 % 128
com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.x = r7
int r6 = r6 % r0
if (r6 == 0) goto L5e
goto L5f
L5e:
r5 = r4
L5f:
r5 = r5 ^ r4
if (r5 == r4) goto L7c
int r4 = com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.x
int r4 = r4 + 97
int r5 = r4 % 128
com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.u = r5
int r4 = r4 % r0
if (r4 == 0) goto L73
T extends o.cYp r0 = r1.f
r3.e(r0)
goto L7c
L73:
T extends o.cYp r0 = r1.f
r3.e(r0)
r2.hashCode()
throw r2
L7c:
return
L7d:
o.afU r0 = r8.l()
boolean r0 = r0.a
throw r2
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.onDoneClicked():void");
}
@OnClick
public final void onImageClicked() {
int i = 2 % 2;
final C2483afU l = l();
if (l.a) {
return;
}
l.a = true;
ZI.IeS ieS = new ZI.IeS(l) { // from class: o.agc
private C2483afU b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2483afU.c(this.b, (InterfaceC9024dbs) obj);
}
{
this.b = l;
}
};
if (l.f != 0) {
int i2 = u + 113;
int i3 = i2 % 128;
x = i3;
int i4 = i2 % 2;
int i5 = i3 + 13;
u = i5 % 128;
int i6 = i5 % 2;
ieS.e(l.f);
}
}
@OnClick
public final void onRotateClicked() {
int i = 2 % 2;
final C2483afU l = l();
l.f8518o = (l.f8518o + 90) % 360;
ZI.IeS ieS = new ZI.IeS(l) { // from class: o.agh
private C2483afU c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2483afU.d(this.c, (InterfaceC9024dbs) obj);
}
{
this.c = l;
}
};
if (l.f != 0) {
int i2 = u + 35;
x = i2 % 128;
int i3 = i2 % 2;
ieS.e(l.f);
return;
}
int i4 = x + 117;
u = i4 % 128;
int i5 = i4 % 2;
}
private static void aB(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
int i3 = $10 + 9;
$11 = i3 % 128;
int i4 = i3 % 2;
while (c4593bdB.e < cArr.length) {
int i5 = $10 + 21;
$11 = i5 % 128;
if (i5 % 2 == 0) {
int i6 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 402, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (TextUtils.getOffsetAfter("", 0) + 21608));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aD(b2, b3, (byte) (b3 & 43), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i6] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() % (y % (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(237 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), Color.green(0) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
aD(b4, b5, (byte) (b5 & ISO7816.INS_PSO), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i7 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 402, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getTapTimeout() >> 16) + 21608));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
aD(b6, b7, (byte) (b7 & 43), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i7] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (y ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 237, TextUtils.getOffsetBefore("", 0) + 5, (char) (TextUtils.lastIndexOf("", '0') + 1));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 - 1);
Object[] objArr9 = new Object[1];
aD(b8, b9, (byte) (b9 & ISO7816.INS_PSO), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
int i8 = $11 + 99;
$10 = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 3 % 2;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(239 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b10 = (byte) 0;
byte b11 = (byte) (b10 - 1);
Object[] objArr11 = new Object[1];
aD(b10, b11, (byte) (b11 & ISO7816.INS_PSO), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
objArr[0] = new String(cArr2);
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
/* loaded from: classes4.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Bitmap, fSD<? extends String>> {
private ReviewDocumentActivity e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ fSD<? extends String> invoke(Bitmap bitmap) {
return C12891fKc.ayZ_(this.e, bitmap);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(ReviewDocumentActivity reviewDocumentActivity) {
super(1);
this.e = reviewDocumentActivity;
}
}
/* loaded from: classes4.dex */
final /* synthetic */ class LWm extends C14954gcs implements InterfaceC14894gbR<String, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(String str) {
String str2 = str;
C14957gcv.e(str2, "");
final C2483afU c2483afU = (C2483afU) this.f;
C14957gcv.e(str2, "");
c2483afU.g = str2;
if (c2483afU.f != 0) {
c2483afU.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(c2483afU) { // from class: o.agb
private C2483afU a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2483afU.b(this.a, (InterfaceC9024dbs) obj);
}
{
this.a = c2483afU;
}
};
if (c2483afU.f != 0) {
ieS.e(c2483afU.f);
}
return C14866gag.c;
}
LWm(Object obj) {
super(1, obj, C2483afU.class, "tiffPreviewCreationSuccess", "tiffPreviewCreationSuccess(Ljava/lang/String;)V");
}
}
/* loaded from: classes4.dex */
final /* synthetic */ class HBt extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
final C2483afU c2483afU = (C2483afU) this.f;
C14957gcv.e(th2, "");
Runnable runnable = new Runnable(c2483afU) { // from class: o.agf
private C2483afU d;
@Override // java.lang.Runnable
public final void run() {
C2483afU.e(this.d);
}
{
this.d = c2483afU;
}
};
if (c2483afU.b(th2)) {
c2483afU.d(c2483afU.j.c(th2, runnable));
}
return C14866gag.c;
}
HBt(Object obj) {
super(1, obj, C2483afU.class, "tiffPreviewCreationError", "tiffPreviewCreationError(Ljava/lang/Throwable;)V");
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0115, code lost:
if (r3 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_ReviewDocumentActivity, 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 void onCreate(android.os.Bundle r26) {
/*
Method dump skipped, instructions count: 1724
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.additionaldocument.ReviewDocumentActivity.onCreate(android.os.Bundle):void");
}
@Override // o.InterfaceC9024dbs
public final void b(String str, int i) {
int i2 = 2 % 2;
C14957gcv.e(str, "");
Display defaultDisplay = getWindowManager().getDefaultDisplay();
Point point = new Point();
defaultDisplay.getSize(point);
b(str, i, point.x);
int i3 = u + 103;
x = i3 % 128;
int i4 = i3 % 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Bitmap, fSD<? extends String>> {
private ReviewDocumentActivity a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ fSD<? extends String> invoke(Bitmap bitmap) {
return C12891fKc.aza_(this.a, bitmap);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(ReviewDocumentActivity reviewDocumentActivity) {
super(1);
this.a = reviewDocumentActivity;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public final /* synthetic */ class ZqN extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
((C2483afU) this.f).g(th2);
return C14866gag.c;
}
ZqN(Object obj) {
super(1, obj, C2483afU.class, "documentRotationError", "documentRotationError(Ljava/lang/Throwable;)V");
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public final /* synthetic */ class saX extends C14954gcs implements InterfaceC14894gbR<String, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(String str) {
String str2 = str;
C14957gcv.e(str2, "");
((C2483afU) this.f).b(str2);
return C14866gag.c;
}
saX(Object obj) {
super(1, obj, C2483afU.class, "documentRotationSuccess", "documentRotationSuccess(Ljava/lang/String;)V");
}
}
private static final fSD f(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 55;
x = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
fSD fsd = (fSD) interfaceC14894gbR.invoke(obj);
int i4 = x + 113;
u = i4 % 128;
int i5 = i4 % 2;
return fsd;
}
private static final void o(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 95;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = x + 97;
u = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9024dbs
public final void c(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
getWindowManager().getDefaultDisplay().getSize(new Point());
AbstractC13175fSw<Bitmap> a = C12891fKc.a(str);
final RVV rvv = new RVV(this);
C13366fYe c13366fYe = new C13366fYe(a, new fSS(rvv) { // from class: o.drT
private InterfaceC14894gbR b;
@Override // o.fSS
public final Object a(Object obj) {
return ReviewDocumentActivity.g(this.b, obj);
}
{
this.b = rvv;
}
});
final LWm lWm = new LWm(l());
fSQ fsq = new fSQ(lWm) { // from class: o.drS
private InterfaceC14894gbR b;
@Override // o.fSQ
public final void c(Object obj) {
ReviewDocumentActivity.h(this.b, obj);
}
{
this.b = lWm;
}
};
final HBt hBt = new HBt(l());
this.l = c13366fYe.b(fsq, new fSQ(hBt) { // from class: o.dsa
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj) {
ReviewDocumentActivity.j(this.e, obj);
}
{
this.e = hBt;
}
});
int i2 = u + 87;
x = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class tOB extends AbstractC14961gcz implements InterfaceC14894gbR<Bitmap, fSD<? extends String>> {
private ReviewDocumentActivity a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ fSD<? extends String> invoke(Bitmap bitmap) {
return C12891fKc.ayZ_(this.a, bitmap);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
tOB(ReviewDocumentActivity reviewDocumentActivity) {
super(1);
this.a = reviewDocumentActivity;
}
}
private static final void m(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 121;
u = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
} else {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i3 = 15 / 0;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public final /* synthetic */ class jbe extends C14954gcs implements InterfaceC14894gbR<String, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(String str) {
String str2 = str;
C14957gcv.e(str2, "");
((C2483afU) this.f).b(str2);
return C14866gag.c;
}
jbe(Object obj) {
super(1, obj, C2483afU.class, "documentRotationSuccess", "documentRotationSuccess(Ljava/lang/String;)V");
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public final /* synthetic */ class ojQ extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
((C2483afU) this.f).g(th2);
return C14866gag.c;
}
ojQ(Object obj) {
super(1, obj, C2483afU.class, "documentRotationError", "documentRotationError(Ljava/lang/Throwable;)V");
}
}
private final void b(String str, int i, int i2) {
String intern;
int i3 = 2 % 2;
ExifInterface exifInterface = new ExifInterface(str);
if (i == 0) {
Object[] objArr = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_shop_address_alley).substring(3, 5).codePointAt(0) - 32), (-643437176) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.device_debugging_message).substring(27, 28).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.msg_pointx_input_remark).substring(8, 9).length() - 18, (-685816046) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_tap_menu).substring(0, 9).codePointAt(6), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 46), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
aB(new char[]{55530, 49195, 59733, 37502, 48048, 42196, 19959, 29993, 7745, 1910, 8323, 51677, 62206, 39427, 33599, 44153, 21910, 32416}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 6325, new Object[1]);
Object[] objArr2 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_title_auto_topup).substring(0, 19).length() - 19), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.total_vat_label).substring(0, 3).codePointAt(1) - 643437240, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 30, (-685815966) - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (byte) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), objArr2);
Class<?> cls2 = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aB(new char[]{55530, 49195, 59733, 37502, 48048, 42196, 19959, 29993, 7745, 1910, 8323, 51677, 62206, 39427, 33599, 44153, 21910, 32416}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 6325, objArr3);
Object[] objArr4 = new Object[1];
aC(((Context) cls.getMethod((String) r12[0], new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 98, new char[]{13817}, (byte) (((Context) cls2.getMethod((String) objArr3[0], new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_company_search_no_results_text).substring(39, 40).length() + 77), objArr4);
intern = ((String) objArr4[0]).intern();
} else if (i != 90) {
int i4 = u + 35;
int i5 = i4 % 128;
x = i5;
if (i4 % 2 == 0 ? i == 180 : i == 18240) {
intern = "3";
} else {
int i6 = i5 + 71;
u = i6 % 128;
int i7 = i6 % 2;
intern = "8";
}
} else {
intern = "6";
}
exifInterface.setAttribute("Orientation", intern);
exifInterface.saveAttributes();
C13020fOa a = new C13020fOa(Picasso.d(), Uri.fromFile(new File(str)), 0).a(EnumC12984fNP.NO_CACHE, new EnumC12984fNP[0]);
a.a.e(i2, 0);
a.aBu_((ImageView) e(new Object[]{this}, -962065376, 962065377, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1052415853), null);
}
private static void aA(short s2, int i, int i2, int i3, byte b2, Object[] objArr) {
int i4;
int i5;
boolean z;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(r)};
Object obj = xzZ.y.get(-2092856797);
char c = '0';
if (obj == null) {
Class cls = (Class) xzZ.c(336 - TextUtils.indexOf((CharSequence) "", '0', 0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((-1) - ImageFormat.getBitsPerPixel(0)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr3 = new Object[1];
aD(b3, b4, (byte) (b4 & 10), 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();
boolean z2 = intValue == -1;
if (z2) {
byte[] bArr = t;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i7 = 0;
while (i7 < length) {
Object[] objArr4 = {Integer.valueOf(bArr[i7])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c('l' - AndroidCharacter.getMirror(c), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 - 1);
Object[] objArr5 = new Object[1];
aD(b5, b6, (byte) (b6 & 12), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i7] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i7++;
c = '0';
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = t;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(q)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 337, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) View.resolveSizeAndState(0, 0, 0));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 - 1);
Object[] objArr7 = new Object[1];
aD(b7, b8, (byte) (b8 & 10), 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) (r ^ (-7303220121662775787L))));
i4 = 2;
} else {
intValue = (short) (((short) (p[i + ((int) (q ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (r ^ (-7303220121662775787L))));
int i8 = $10 + 17;
$11 = i8 % 128;
i4 = 2;
int i9 = i8 % 2;
}
} else {
i4 = 2;
}
if (intValue > 0) {
int i10 = ((i + intValue) - i4) + ((int) (q ^ (-7303220121662775787L)));
if (!(!z2)) {
int i11 = $11 + 91;
$10 = i11 % 128;
int i12 = i11 % 2;
i5 = 1;
} else {
i5 = 0;
}
dfy.c = i10 + i5;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(s), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(748 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (ViewConfiguration.getTapTimeout() >> 16))).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 = t;
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) {
int i14 = $10 + 111;
$11 = i14 % 128;
int i15 = i14 % 2;
z = true;
} else {
z = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr6 = t;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b2));
} else {
short[] sArr = p;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b2));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // o.InterfaceC9024dbs
public void b(boolean z) {
int i = 2 % 2;
int i2 = u + 87;
x = i2 % 128;
int i3 = i2 % 2;
finish();
int i4 = x + 73;
u = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* loaded from: classes4.dex */
static final class NHB extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private ReviewDocumentActivity a;
private InterfaceC14890gbN<C14866gag> d;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
this.d.invoke();
this.a.onBackPressed();
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
NHB(InterfaceC14890gbN<C14866gag> interfaceC14890gbN, ReviewDocumentActivity reviewDocumentActivity) {
super(0);
this.d = interfaceC14890gbN;
this.a = reviewDocumentActivity;
}
}
@Override // o.InterfaceC9024dbs
public final void d(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
ZoomDocumentActivity.Sts sts = ZoomDocumentActivity.f6565o;
ReviewDocumentActivity reviewDocumentActivity = this;
C14957gcv.e(reviewDocumentActivity, "");
C14957gcv.e(str, "");
Intent intent = new Intent(reviewDocumentActivity, (Class<?>) ZoomDocumentActivity.class);
intent.putExtra("IMAGE_PATH_TAG", str);
startActivity(intent);
int i2 = x + 119;
u = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
/* loaded from: classes4.dex */
static final class ZnX extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private ReviewDocumentActivity c;
private InterfaceC14890gbN<C14866gag> d;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
this.d.invoke();
this.c.onBackPressed();
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
ZnX(InterfaceC14890gbN<C14866gag> interfaceC14890gbN, ReviewDocumentActivity reviewDocumentActivity) {
super(0);
this.d = interfaceC14890gbN;
this.c = reviewDocumentActivity;
}
}
/* loaded from: classes4.dex */
static final class jNh extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private ReviewDocumentActivity b;
private InterfaceC14890gbN<C14866gag> c;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
this.c.invoke();
this.b.b(true);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
jNh(InterfaceC14890gbN<C14866gag> interfaceC14890gbN, ReviewDocumentActivity reviewDocumentActivity) {
super(0);
this.c = interfaceC14890gbN;
this.b = reviewDocumentActivity;
}
}
@Override // o.InterfaceC9024dbs
public void b() {
int i = 2 % 2;
int i2 = u + 29;
x = i2 % 128;
int i3 = i2 % 2;
Intent intent = getIntent();
CaptureDocumentActivity.Sts sts = CaptureDocumentActivity.b;
ReviewDocumentActivity reviewDocumentActivity = this;
String stringExtra = intent.getStringExtra("APPLICATION_ID_TAG");
if (stringExtra == null) {
int i4 = x + 113;
u = i4 % 128;
int i5 = i4 % 2;
stringExtra = "";
}
String stringExtra2 = intent.getStringExtra("DOCUMENT_TYPE_TAG");
if (stringExtra2 == null) {
stringExtra2 = "";
}
String stringExtra3 = intent.getStringExtra("PRODUCT_TYPE_TAG");
if (stringExtra3 == null) {
stringExtra3 = "";
}
String stringExtra4 = intent.getStringExtra("FLOW_TAG");
startActivity(CaptureDocumentActivity.Sts.Yb_(reviewDocumentActivity, stringExtra, stringExtra2, stringExtra3, stringExtra4 != null ? stringExtra4 : ""));
finish();
int i6 = u + 19;
x = i6 % 128;
if (i6 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void aC(int i, char[] cArr, byte b2, Object[] objArr) {
int i2;
Object obj;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = k;
Object obj2 = null;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
for (int i5 = 0; i5 < length; i5++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - View.getDefaultSize(0, 0), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr3 = new Object[1];
aD(b3, b4, (byte) (b4 + 4), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i5] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(f6564o)};
Object obj4 = xzZ.y.get(-1987398494);
int i6 = 6;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 297, ExpandableListView.getPackedPositionChild(0L) + 6, (char) KeyEvent.keyCodeFromString(""));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 - 1);
Object[] objArr5 = new Object[1];
aD(b5, b6, (byte) (b6 + 4), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
char c = 3;
if (i2 > 1) {
int i7 = $10 + 41;
$11 = i7 % 128;
if (i7 % 2 == 0) {
irs.e = 1;
} else {
irs.e = 0;
}
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i8 = $11 + 27;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr4[irs.e] = (char) (irs.b >> b2);
cArr4[irs.e >>> 1] = (char) (irs.c >> b2);
} else {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
}
obj = obj2;
i3 = i6;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[i6] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[c] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 233, 5 - ((Process.getThreadPriority(0) + 20) >> i6), (char) (Color.red(0) + 22024));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 - 1);
Object[] objArr7 = new Object[1];
aD(b7, b8, (byte) (b8 + 1), objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 != null) {
i3 = 6;
} else {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - Color.argb(0, 0, 0, 0), (char) (AndroidCharacter.getMirror('0') - '0'));
byte b9 = (byte) 0;
byte b10 = (byte) (b9 - 1);
Object[] objArr9 = new Object[1];
aD(b9, b10, (byte) (b10 + 3), objArr9);
i3 = 6;
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i9 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i9];
} else {
obj = null;
i3 = 6;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i10 = (irs.a * charValue) + irs.f;
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i10];
cArr4[irs.e + 1] = cArr2[i11];
} else {
int i12 = (irs.a * charValue) + irs.j;
int i13 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
}
}
}
irs.e += 2;
obj2 = obj;
i6 = i3;
c = 3;
}
}
for (int i14 = 0; i14 < i; i14++) {
int i15 = $10 + 3;
$11 = i15 % 128;
int i16 = i15 % 2;
cArr4[i14] = (char) (cArr4[i14] ^ 13722);
}
objArr[0] = new String(cArr4);
}
private static final fSD n(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 1;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
fSD fsd = (fSD) interfaceC14894gbR.invoke(obj);
int i4 = u + 19;
x = i4 % 128;
int i5 = i4 % 2;
return fsd;
}
private static final void p(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 81;
x = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
} else {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i3 = 61 / 0;
}
}
private static final void s(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 53;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = x + 107;
u = i4 % 128;
int i5 = i4 % 2;
}
private static final fSD t(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 19;
x = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
fSD fsd = (fSD) interfaceC14894gbR.invoke(obj);
int i4 = u + 85;
x = i4 % 128;
if (i4 % 2 == 0) {
return fsd;
}
Object obj2 = null;
obj2.hashCode();
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
fSJ b2;
ReviewDocumentActivity reviewDocumentActivity = (ReviewDocumentActivity) objArr[0];
String str = (String) objArr[1];
int intValue = ((Number) objArr[2]).intValue();
int i = 2 % 2;
int i2 = x + 39;
u = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
C14957gcv.e(str, "");
if (C12891fKc.g(str)) {
Object systemService = reviewDocumentActivity.getSystemService("activity");
C14957gcv.d(systemService, "");
ActivityManager activityManager = (ActivityManager) systemService;
int largeMemoryClass = activityManager.getLargeMemoryClass();
ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo();
activityManager.getMemoryInfo(memoryInfo);
AbstractC13175fSw<Bitmap> e = C12891fKc.e(reviewDocumentActivity.getIntent().getStringExtra("IMAGE_PATH_TAG"), intValue, largeMemoryClass, memoryInfo.totalMem - memoryInfo.threshold);
final Sts sts = new Sts(reviewDocumentActivity);
C13366fYe c13366fYe = new C13366fYe(e, new fSS(sts) { // from class: o.drY
private InterfaceC14894gbR c;
@Override // o.fSS
public final Object a(Object obj2) {
return (fSD) ReviewDocumentActivity.e(new Object[]{this.c, obj2}, 772205351, -772205346, (int) System.currentTimeMillis());
}
{
this.c = sts;
}
});
final saX sax = new saX(reviewDocumentActivity.l());
fSQ fsq = new fSQ(sax) { // from class: o.drW
private InterfaceC14894gbR c;
@Override // o.fSQ
public final void c(Object obj2) {
ReviewDocumentActivity.b(this.c, obj2);
}
{
this.c = sax;
}
};
final ZqN zqN = new ZqN(reviewDocumentActivity.l());
b2 = c13366fYe.b(fsq, new fSQ(zqN) { // from class: o.dsb
private InterfaceC14894gbR c;
@Override // o.fSQ
public final void c(Object obj2) {
ReviewDocumentActivity.a(this.c, obj2);
}
{
this.c = zqN;
}
});
} else {
AbstractC13175fSw<Bitmap> i3 = C12891fKc.i(reviewDocumentActivity.getIntent().getStringExtra("IMAGE_PATH_TAG"));
final tOB tob = new tOB(reviewDocumentActivity);
C13366fYe c13366fYe2 = new C13366fYe(i3, new fSS(tob) { // from class: o.drZ
private InterfaceC14894gbR d;
@Override // o.fSS
public final Object a(Object obj2) {
return ReviewDocumentActivity.c(this.d, obj2);
}
{
this.d = tob;
}
});
final jbe jbeVar = new jbe(reviewDocumentActivity.l());
fSQ fsq2 = new fSQ(jbeVar) { // from class: o.dsh
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj2) {
ReviewDocumentActivity.e(new Object[]{this.e, obj2}, 533741589, -533741583, (int) System.currentTimeMillis());
}
{
this.e = jbeVar;
}
};
final ojQ ojq = new ojQ(reviewDocumentActivity.l());
b2 = c13366fYe2.b(fsq2, new fSQ(ojq) { // from class: o.dsf
private InterfaceC14894gbR c;
@Override // o.fSQ
public final void c(Object obj2) {
ReviewDocumentActivity.d(this.c, obj2);
}
{
this.c = ojq;
}
});
}
reviewDocumentActivity.m = b2;
int i4 = u + 21;
x = i4 % 128;
int i5 = i4 % 2;
return null;
}
C14957gcv.e(str, "");
C12891fKc.g(str);
obj.hashCode();
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
InterfaceC14894gbR interfaceC14894gbR = (InterfaceC14894gbR) objArr[0];
Object obj = objArr[1];
int i = 2 % 2;
int i2 = x + 103;
u = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
throw null;
}
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i3 = u + 19;
x = i3 % 128;
if (i3 % 2 == 0) {
return null;
}
throw null;
}
private static final void k(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 123;
u = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
} else {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i3 = 79 / 0;
}
}
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_ReviewDocumentActivity, 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 void onResume() {
int i = 2 % 2;
int i2 = x + 27;
u = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = u + 59;
x = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 643437209, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 17, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 685816000, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{55530, 49195, 59733, 37502, 48048, 42196, 19959, 29993, 7745, 1910, 8323, 51677, 62206, 39427, 33599, 44153, 21910, 32416}, TextUtils.indexOf("", "", 0, 0) + 6359, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = u + 37;
x = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = x + 61;
u = i8 % 128;
try {
if (i8 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (KeyEvent.getMaxKeyCode() >> 16), 5 - TextUtils.getCapsMode("", 0, 0), (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 487, (-16777211) - Color.rgb(0, 0, 0), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i9 = 42 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 486, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
l().a = false;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = u + 23;
x = i2 % 128;
if (i2 % 2 == 0) {
super.onDestroy();
fSJ fsj = this.m;
if (fsj != null) {
fsj.dispose();
}
fSJ fsj2 = this.l;
if (fsj2 != null) {
fsj2.dispose();
int i3 = x + 81;
u = i3 % 128;
int i4 = i3 % 2;
}
l().w_();
return;
}
super.onDestroy();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = x + 83;
u = i2 % 128;
int i3 = i2 % 2;
l().d();
int i4 = x + 65;
u = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9024dbs
public final void a(String str, String str2, InterfaceC14890gbN<C14866gag> interfaceC14890gbN) {
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(interfaceC14890gbN, "");
String string = getString(R.string.auto_kofax_rtti_retake);
C14957gcv.c((Object) string, "");
d(this, str, str2, string, new NHB(interfaceC14890gbN, this));
int i2 = x + 115;
u = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 67 / 0;
}
}
@Override // o.InterfaceC9024dbs
public final void e(String str, String str2, InterfaceC14890gbN<C14866gag> interfaceC14890gbN, InterfaceC14890gbN<C14866gag> interfaceC14890gbN2) {
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(interfaceC14890gbN, "");
C14957gcv.e(interfaceC14890gbN2, "");
String string = getString(R.string.auto_kofax_rtti_retake);
C14957gcv.c((Object) string, "");
b(str, str2, string, new ZnX(interfaceC14890gbN, this), getString(R.string.auto_kofax_rtti_proceed), new jNh(interfaceC14890gbN2, this));
int i2 = x + 91;
u = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9024dbs
public final void d() {
yqQ.Sts sts;
int i = 2 % 2;
o().setVisibility(0);
s().setVisibility(0);
Object obj = null;
((TextView) e(new Object[]{this}, 1499363633, -1499363633, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 157873126)).setText(R.string.auto_kofax_review_desc_2);
yqQ yqq = new yqQ();
yqq.e(k());
if (yqq.a.containsKey(Integer.valueOf(R.id.tv_retake)) && (sts = yqq.a.get(Integer.valueOf(R.id.tv_retake))) != null) {
int i2 = x + 23;
u = i2 % 128;
int i3 = i2 % 2;
sts.a.h = -1;
sts.a.g = -1;
sts.a.d = 0;
sts.a.r = PKIFailureInfo.systemUnavail;
}
if (!yqq.a.containsKey(Integer.valueOf(R.id.tv_retake))) {
yqq.a.put(Integer.valueOf(R.id.tv_retake), new yqQ.Sts());
}
yqQ.Sts sts2 = yqq.a.get(Integer.valueOf(R.id.tv_retake));
if (sts2 != null) {
int i4 = x + 93;
u = i4 % 128;
if (i4 % 2 == 0) {
sts2.a.ai = 0;
sts2.a.ah = -1;
sts2.a.c = -1;
sts2.a.a = -1;
sts2.a.e = -1;
sts2.a.ad = 1;
} else {
sts2.a.ai = 0;
sts2.a.ah = -1;
sts2.a.c = -1;
sts2.a.a = -1;
sts2.a.e = -1;
sts2.a.ad = 0;
}
}
yqq.d(k());
int i5 = x + 91;
u = i5 % 128;
if (i5 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9024dbs
public final void e() {
int i = 2 % 2;
int i2 = u + 113;
x = i2 % 128;
int i3 = i2 % 2;
Intent agh_ = agh_();
agh_.setFlags(603979776);
startActivity(agh_);
int i4 = x + 111;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 70 / 0;
}
}
public Intent agh_() {
int i = 2 % 2;
Intent intent = new Intent(this, (Class<?>) HmlDocumentListActivity.class);
int i2 = u + 97;
x = i2 % 128;
int i3 = i2 % 2;
return intent;
}
private static /* synthetic */ void d(ReviewDocumentActivity reviewDocumentActivity, String str, String str2, String str3, InterfaceC14890gbN interfaceC14890gbN) {
int i = 2 % 2;
int i2 = x + 43;
u = i2 % 128;
int i3 = i2 % 2;
reviewDocumentActivity.b(str, str2, str3, interfaceC14890gbN, null, null);
int i4 = x + 43;
u = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
private final void b(String str, String str2, String str3, InterfaceC14890gbN<C14866gag> interfaceC14890gbN, String str4, InterfaceC14890gbN<C14866gag> interfaceC14890gbN2) {
int i = 2 % 2;
HmlCommonCustomDialog hmlCommonCustomDialog = new HmlCommonCustomDialog(this);
hmlCommonCustomDialog.setOnDismissListener(this);
String str5 = str;
TextView textView = null;
if (!TextUtils.isEmpty(str5)) {
TextView textView2 = hmlCommonCustomDialog.titleText;
if (textView2 != null) {
int i2 = x + 97;
u = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
textView2 = null;
}
textView2.setVisibility(0);
TextView textView3 = hmlCommonCustomDialog.titleText;
if (textView3 != null) {
int i3 = x + 43;
u = i3 % 128;
int i4 = i3 % 2;
} else {
C14957gcv.a("");
textView3 = null;
}
textView3.setText(str5);
}
String str6 = str2;
if (!TextUtils.isEmpty(str6)) {
TextView textView4 = hmlCommonCustomDialog.messageText;
if (textView4 == null) {
C14957gcv.a("");
int i5 = u + 79;
x = i5 % 128;
int i6 = i5 % 2;
textView4 = null;
}
textView4.setVisibility(0);
TextView textView5 = hmlCommonCustomDialog.messageText;
if (textView5 != null) {
int i7 = u;
int i8 = i7 + 23;
x = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 67 / 0;
}
int i10 = i7 + 103;
x = i10 % 128;
int i11 = i10 % 2;
textView = textView5;
} else {
C14957gcv.a("");
}
textView.setText(str6);
}
hmlCommonCustomDialog.d(str3, interfaceC14890gbN);
hmlCommonCustomDialog.e(str4, interfaceC14890gbN2);
hmlCommonCustomDialog.setCancelable(false);
hmlCommonCustomDialog.show();
}
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_ReviewDocumentActivity, 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = u + 17;
x = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_monthly_income_about_steps).substring(87, 88).codePointAt(0) - 32), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 643437175, AndroidCharacter.getMirror('0') - 'A', ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.only_one_card_allowed_label).substring(7, 8).codePointAt(0) - 685815998, (byte) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{55530, 49195, 59733, 37502, 48048, 42196, 19959, 29993, 7745, 1910, 8323, 51677, 62206, 39427, 33599, 44153, 21910, 32416}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_description_2_2).substring(0, 73).codePointAt(27) + 2730, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = x + 103;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 2 % 3;
}
}
if (baseContext != null) {
int i6 = x + 111;
u = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = u + 55;
x = i7 % 128;
try {
if (i7 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (ViewConfiguration.getTapTimeout() >> 16))).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((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)) + 487, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 487, Process.getGidForName("") + 6, (char) Color.alpha(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_ReviewDocumentActivity, 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 void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = u + 85;
x = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aB(new char[]{55528, 2090, 31095, 43676, 39890, 52449, 15395, 27964, 24206, 36815, 61605, 8214, 4455, 17039, 46044, 58607, 54314, 1383}, MotionEvent.axisFromString("") + 53454, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (TextUtils.lastIndexOf("", '0', 0) + 1), (-643437149) - (ViewConfiguration.getMaximumFlingVelocity() >> 16), TextUtils.indexOf("", "", 0) - 17, (-685815954) - View.getDefaultSize(0, 0), (byte) KeyEvent.keyCodeFromString(""), objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = x + 53;
u = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = x + 97;
u = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - KeyEvent.getDeadChar(0, 0), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{55480, 3529, 29267, 22670, 36198, 62393, 55333, 3753, 29523, 22943, 36381, 62709, 55598, 4064, 29752, 22856, 36763, 62557, 56037, 3940, 30198, 23166, 32978, 62721, 56263, ' ', 30460, 23345, 33262, 63179, 56095, 465, 30296, 23787, 33151, 63485, 56403, 735, 30529, 24010, 33315, 59570, 56630, 577, 26782, 23898, 33678, 59492}, 54648 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA((short) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), (-643437144) - ExpandableListView.getPackedPositionType(0L), (-16) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (-685815962) - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (byte) (ViewConfiguration.getJumpTapTimeout() >> 16), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{55528, 53298, 51647, 49459, 64228, 62005, 60414, 58233, 40099, 37931, 36260, 34125, 48847, 46618, 44947, 42780, 20696, 18520, 16857, 30976, 29316, 27142, 25596, 7038, 5282, 3194, 1441, 15677, 14053, 11880, 10218, 57136, 51421, 49160, 63886, 61781, 60112, 57940, 39882, 37709, 36036, 33858, 48578, 46779, 44651, 42989, 24373, 18657, 16507, 31231, 28973, 27304, 25123, 7087, 4891, 3274, 1041, 15811, 13633, 11993, 9736, 57222, 55120, 49283}, View.getDefaultSize(0, 0) + 2179, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((short) (ViewConfiguration.getMaximumFlingVelocity() >> 16), (-643437080) - (ViewConfiguration.getDoubleTapTimeout() >> 16), Drawable.resolveOpacity(0, 0) - 17, (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 685815959, (byte) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) (ViewConfiguration.getJumpTapTimeout() >> 16), (-643437006) - (ViewConfiguration.getDoubleTapTimeout() >> 16), View.MeasureSpec.getMode(0) - 17, (-685816006) - TextUtils.indexOf("", "", 0), (byte) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{55532, 52135, 65061, 57680, 38353, 47163, 43879, 24464, 17116, 30072, 6575, 3209, 16223, 9127, 55023, 63770, 60488, 36999, 33578, 46645, 23239, 19863, 28704, 25789, 6099, 14941, 11965, 53693, 50202, 63263, 39848, 36397, 45405, 42387, 18630, 31521}, TextUtils.indexOf((CharSequence) "", '0') + 4944, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (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, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
private static /* synthetic */ Object i(Object[] objArr) {
InterfaceC14894gbR interfaceC14894gbR = (InterfaceC14894gbR) objArr[0];
Object obj = objArr[1];
int i = 2 % 2;
int i2 = x + 53;
u = i2 % 128;
int i3 = i2 % 2;
fSD n = n(interfaceC14894gbR, obj);
int i4 = u + 101;
x = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 54 / 0;
}
return n;
}
private static /* synthetic */ Object c(Object[] objArr) {
int i = 2 % 2;
int i2 = u;
int i3 = i2 + 71;
x = i3 % 128;
Object obj = null;
if (i3 % 2 != 0) {
k = new char[]{49026};
f6564o = (char) 35368;
throw null;
}
k = new char[]{49026};
f6564o = (char) 35368;
int i4 = i2 + 7;
x = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
static void j() {
q = 1972636770;
r = 1406017029;
s = 2066654954;
t = new byte[]{Ascii.US, Ascii.SYN, -23, -26, Ascii.US, 1, -50, 16, 30, -26, Ascii.CAN, ISO7816.INS_CREATE_FILE, 4, 55, 6, ISOFileInfo.AB, Ascii.NAK, Ascii.SUB, 38, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, ISO7816.INS_CREATE_FILE, -18, 1, -55, Ascii.EM, 37, 17, -22, 57, -21, Ascii.DC2, -37, 62, -61, 56, -24, ISO7816.INS_GET_RESPONSE, 57, -60, 59, -63, Ascii.ETB, 57, 16, -23, -22, ISO7816.INS_GET_RESPONSE, -22, 57, -63, Ascii.NAK, 63, Ascii.SYN, -63, 57, -21, Ascii.NAK, -22, 29, ISO7816.INS_APPEND_RECORD, Ascii.DC2, ISO7816.INS_PUT_DATA, 38, -17, Ascii.SYN, -22, -58, 62, -58, ISO7816.INS_CHANGE_CHV, Ascii.DC4, -24, -21, 16, -17, Ascii.DC4, 17, -23, 17, -24, -59, 57, 16, -57, 57, -60, 58, -63, -24, 47, -22, 19, 28, -6, 4, 35, -24, -87, 82, -82, Ascii.DC4, Ascii.ESC, -21, -20, 16, 47, -45, -20, Ascii.SUB, 39, -41, -21, Ascii.EM, 32, ISO7816.INS_UPDATE_RECORD, -26, 4, -7, 17, -21, Ascii.SUB, -25, 4, -7, Ascii.ESC, ISO7816.INS_UNBLOCK_CHV, -81, Ascii.DC4, 7, -21, -6, 6, -23, -26, Ascii.US, -31, 83, ISO7816.INS_UPDATE_BINARY, -24, Ascii.CAN, -22, -29, 30, -19, 19, ISO7816.INS_DELETE_FILE, Ascii.CAN, -19, Ascii.NAK, -21, Ascii.EM, -29, Ascii.EM, -19, -29, 81, Ascii.NAK, ISO7816.INS_CREATE_FILE, ISO7816.INS_WRITE_RECORD, Ascii.SYN, -23, Ascii.NAK, Ascii.EM, ISO7816.INS_CREATE_FILE, Ascii.ETB, -29, Ascii.US, ISO7816.INS_CREATE_FILE};
y = 2346282267350977359L;
}
static void f() {
e(new Object[0], -1213310623, 1213310627, (int) System.currentTimeMillis());
}
@Override // com.scb.phone.view.activity.additionaldocument.Hilt_ReviewDocumentActivity, 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 void onStart() {
int i = 2 % 2;
int i2 = u + 111;
x = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = x + 13;
u = i4 % 128;
int i5 = i4 % 2;
}
public final void setTapText(View view) {
int i = 2 % 2;
int i2 = x + 49;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(view, "");
this.tapText = view;
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = x + 23;
u = i4 % 128;
int i5 = i4 % 2;
}
public final void setTapIcon(View view) {
int i = 2 % 2;
int i2 = u + 43;
x = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(view, "");
this.tapIcon = view;
int i4 = u + 11;
x = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9024dbs
public final void a(String str, int i) {
e(new Object[]{this, str, Integer.valueOf(i)}, -808291620, 808291623, i);
}
private TextView Yj_() {
return (TextView) e(new Object[]{this}, 1499363633, -1499363633, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 157873126);
}
private ImageView Yi_() {
return (ImageView) e(new Object[]{this}, -962065376, 962065377, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1052415853);
}
private static final void l(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
e(new Object[]{interfaceC14894gbR, obj}, 1387969635, -1387969633, (int) System.currentTimeMillis());
}
static {
x = 0;
j();
e(new Object[0], -1213310623, 1213310627, (int) System.currentTimeMillis());
b = new IeS((byte) 0);
int i = u + 121;
x = i % 128;
int i2 = i % 2;
}
public static /* synthetic */ void h(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 35;
x = i2 % 128;
int i3 = i2 % 2;
o(interfaceC14894gbR, obj);
if (i3 != 0) {
Object obj2 = null;
obj2.hashCode();
throw null;
}
int i4 = x + 39;
u = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ fSD g(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 37;
x = i2 % 128;
int i3 = i2 % 2;
fSD f = f(interfaceC14894gbR, obj);
int i4 = x + 97;
u = i4 % 128;
if (i4 % 2 != 0) {
return f;
}
Object obj2 = null;
obj2.hashCode();
throw null;
}
public static /* synthetic */ void j(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 35;
x = i2 % 128;
int i3 = i2 % 2;
Object obj2 = null;
m(interfaceC14894gbR, obj);
if (i3 != 0) {
throw null;
}
int i4 = x + 19;
u = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj2.hashCode();
throw null;
}
public static /* synthetic */ fSD c(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 31;
u = i2 % 128;
int i3 = i2 % 2;
fSD t2 = t(interfaceC14894gbR, obj);
int i4 = u + 59;
x = i4 % 128;
int i5 = i4 % 2;
return t2;
}
public static /* synthetic */ fSD e(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
return (fSD) e(new Object[]{interfaceC14894gbR, obj}, 772205351, -772205346, (int) System.currentTimeMillis());
}
public static /* synthetic */ void b(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 77;
x = i2 % 128;
int i3 = i2 % 2;
s(interfaceC14894gbR, obj);
int i4 = u + 49;
x = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ void d(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 111;
x = i2 % 128;
int i3 = i2 % 2;
e(new Object[]{interfaceC14894gbR, obj}, 1387969635, -1387969633, (int) System.currentTimeMillis());
int i4 = u + 55;
x = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ void a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = x + 7;
u = i2 % 128;
int i3 = i2 % 2;
Object obj2 = null;
p(interfaceC14894gbR, obj);
if (i3 == 0) {
throw null;
}
int i4 = x + 111;
u = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj2.hashCode();
throw null;
}
}