what-the-bank/sources/com/scb/phone/view/activity/friends/FriendsLandingActivity.java

772 lines
32 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.friends;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.friends.FriendsLandingActivity;
import com.scb.phone.view.activity.landingpage.PartnerWebViewActivity;
import com.squareup.picasso.Picasso;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C0915Rl;
import o.C13020fOa;
import o.C14957gcv;
import o.C5017blB;
import o.EnumC8951daY;
import o.InterfaceC13391fZD;
import o.InterfaceC9295dgz;
import o.MO;
import o.Nhs;
import o.ZI;
import o.jTb;
import o.pug;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class FriendsLandingActivity extends Hilt_FriendsLandingActivity implements InterfaceC9295dgz {
private static char k;
private static char l;
private static char m;
/* renamed from: o, reason: collision with root package name */
private static char f7170o;
private static int p;
private static int q;
private static long s;
private static char t;
@BindView
public ImageView ivFriendHeader;
@InterfaceC13391fZD
public C5017blB presenter;
@BindView
public TextView tvRefCode;
@BindView
public TextView tvTermCondition;
private static final byte[] $$g = {14, 104, 7, -34};
private static final int $$h = CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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 az(byte r6, int r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.friends.FriendsLandingActivity.$$g
int r7 = 115 - r7
int r6 = r6 * 4
int r6 = r6 + 4
int r8 = r8 * 3
int r1 = 1 - r8
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
if (r0 != 0) goto L17
r3 = r7
r4 = r2
r7 = r6
goto L2c
L17:
r3 = r2
L18:
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r3 = r0[r6]
r5 = r7
r7 = r6
r6 = r5
L2c:
int r6 = r6 + r3
int r7 = r7 + 1
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.friends.FriendsLandingActivity.az(byte, int, short, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x008a, code lost:
if (r2 > 99999) goto L8;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ java.lang.Object c(java.lang.Object[] r22, int r23, int r24, int r25) {
/*
Method dump skipped, instructions count: 1028
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.friends.FriendsLandingActivity.c(java.lang.Object[], int, int, int):java.lang.Object");
}
@OnClick
public final void onCopy() {
int i = 2 % 2;
final C5017blB c5017blB = this.presenter;
Object obj = null;
if (c5017blB != null) {
int i2 = r + 57;
p = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
c5017blB = null;
}
ZI.IeS ieS = new ZI.IeS(c5017blB) { // from class: o.blG
private C5017blB e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5017blB.a(this.e, (InterfaceC9295dgz) obj2);
}
{
this.e = c5017blB;
}
};
boolean z = false;
if (c5017blB.f != 0) {
int i4 = p + 51;
r = i4 % 128;
if (i4 % 2 == 0) {
z = true;
}
}
if (!(!z)) {
int i5 = r + 117;
p = i5 % 128;
if (i5 % 2 != 0) {
ieS.e(c5017blB.f);
} else {
ieS.e(c5017blB.f);
obj.hashCode();
throw null;
}
}
}
@OnClick
public final void onShare() {
int i = 2 % 2;
int i2 = r + 71;
p = i2 % 128;
final C5017blB c5017blB = null;
if (i2 % 2 == 0) {
c5017blB.hashCode();
throw null;
}
C5017blB c5017blB2 = this.presenter;
if (c5017blB2 != null) {
c5017blB = c5017blB2;
} else {
C14957gcv.a("");
}
ZI.IeS ieS = new ZI.IeS(c5017blB) { // from class: o.blD
private C5017blB d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5017blB.e(this.d, (InterfaceC9295dgz) obj);
}
{
this.d = c5017blB;
}
};
if (c5017blB.f != 0) {
int i3 = r + 23;
p = i3 % 128;
int i4 = i3 % 2;
ieS.e(c5017blB.f);
}
}
@OnClick
public final void openTermsAndConditions() {
int i = 2 % 2;
int i2 = r + 17;
p = i2 % 128;
int i3 = i2 % 2;
final C5017blB c5017blB = this.presenter;
if (c5017blB == null) {
C14957gcv.a("");
c5017blB = null;
}
ZI.IeS ieS = new ZI.IeS(c5017blB) { // from class: o.blE
private C5017blB a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5017blB.b(this.a, (InterfaceC9295dgz) obj);
}
{
this.a = c5017blB;
}
};
boolean z = false;
if (c5017blB.f != 0) {
int i4 = r + 67;
p = i4 % 128;
if (i4 % 2 != 0) {
z = true;
}
}
if (z) {
ieS.e(c5017blB.f);
}
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $10 + 47;
$11 = i4 % 128;
int i5 = i4 % 2;
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = 58224;
int i7 = i3;
while (i7 < 16) {
int i8 = $10 + 81;
$11 = i8 % 128;
int i9 = i8 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
int i10 = (c2 + i6) ^ ((c2 << 4) + ((char) (f7170o ^ 41718355337583039L)));
int i11 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(m);
objArr2[2] = Integer.valueOf(i11);
objArr2[1] = Integer.valueOf(i10);
objArr2[i3] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(ImageFormat.getBitsPerPixel(i3) + 413, 5 - TextUtils.indexOf("", "", i3, i3), (char) TextUtils.indexOf("", ""));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
az(b, (byte) (b | 49), b, objArr3);
String str = (String) objArr3[i3];
Class<?>[] clsArr = new Class[4];
clsArr[i3] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i3]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (l ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(k)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(411 - MotionEvent.axisFromString(""), 5 - View.resolveSizeAndState(0, 0, 0), (char) View.MeasureSpec.getSize(0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b2, (byte) (b2 | 49), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6 -= 40503;
i7++;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - View.resolveSizeAndState(0, 0, 0), 5 - (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)), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b3, (byte) (b3 | ISO7816.INS_DECREASE), b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i12 = $11 + 47;
$10 = i12 % 128;
if (i12 % 2 != 0) {
int i13 = 3 / 2;
}
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $10 + 111;
$11 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 45, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 351, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 52128));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
az(b, b2, b2, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 749, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 403, View.combineMeasuredStates(0, 0) + 5, (char) (21608 - (KeyEvent.getMaxKeyCode() >> 16)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (s ^ 9051040786702654117L)) ^ ((int) (q ^ 9051040786702654117L))) ^ ((char) (t ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i6 = $10 + 121;
$11 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0069, code lost:
if (r3 > 99999) goto L8;
*/
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:11:0x03da */
/* JADX WARN: Removed duplicated region for block: B:14:0x03f3 */
/* JADX WARN: Removed duplicated region for block: B:20:0x040d */
/* JADX WARN: Removed duplicated region for block: B:24:0x0405 */
/* JADX WARN: Removed duplicated region for block: B:25:0x03e5 */
/* JADX WARN: Removed duplicated region for block: B:8:0x03af */
/* JADX WARN: Type inference failed for: r0v41, types: [T extends o.cYp, o.cYp] */
/* JADX WARN: Type inference failed for: r10v13 */
/* JADX WARN: Type inference failed for: r10v14, types: [o.ZI] */
/* JADX WARN: Type inference failed for: r10v16 */
/* JADX WARN: Type inference failed for: r8v24 */
/* JADX WARN: Type inference failed for: r8v25, types: [o.blB, o.ZI] */
/* JADX WARN: Type inference failed for: r8v26 */
@Override // com.scb.phone.view.activity.friends.Hilt_FriendsLandingActivity, 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 r27) {
/*
Method dump skipped, instructions count: 1596
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.friends.FriendsLandingActivity.onCreate(android.os.Bundle):void");
}
private static /* synthetic */ Object e(Object[] objArr) {
final FriendsLandingActivity friendsLandingActivity = (FriendsLandingActivity) objArr[0];
MO mo = (MO) objArr[1];
int i = 2 % 2;
C14957gcv.e(mo, "");
TextView textView = friendsLandingActivity.tvRefCode;
Object obj = null;
if (textView != null) {
int i2 = r + 63;
p = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
textView = null;
}
textView.setText(mo.a);
C13020fOa e = Picasso.d().e(mo.c);
ImageView imageView = friendsLandingActivity.ivFriendHeader;
if (imageView != null) {
int i3 = p + 59;
r = i3 % 128;
if (i3 % 2 != 0) {
obj.hashCode();
throw null;
}
} else {
C14957gcv.a("");
imageView = null;
}
e.aBu_(imageView, null);
ImageView imageView2 = friendsLandingActivity.ivFriendHeader;
if (imageView2 != null) {
int i4 = p + 97;
r = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
imageView2 = null;
}
imageView2.post(new Runnable(friendsLandingActivity) { // from class: o.dOf
private FriendsLandingActivity b;
@Override // java.lang.Runnable
public final void run() {
FriendsLandingActivity.d(this.b);
}
{
this.b = friendsLandingActivity;
}
});
return null;
}
@Override // o.InterfaceC9295dgz
public final void e(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
Object systemService = getSystemService("clipboard");
C14957gcv.d(systemService, "");
((ClipboardManager) systemService).setPrimaryClip(ClipData.newPlainText("FriendsGetFriends", str));
Xb_(this, R.id.root_view, getString(R.string.invite_friends_copied), EnumC8951daY.SUCCESS);
c("friends_get_friends_landing_button", new pug("button", "copy"));
int i2 = p + 77;
r = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9295dgz
public final void d(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
Intent intent = new Intent();
intent.setAction("android.intent.action.SEND");
intent.putExtra("android.intent.extra.TEXT", str);
intent.setType("text/plain");
startActivity(intent);
c("friends_get_friends_landing_button", new pug("button", "share"));
int i2 = p + 89;
r = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9295dgz
public final void b(C0915Rl c0915Rl) {
int i = 2 % 2;
C14957gcv.e(c0915Rl, "");
Intent intent = new Intent(this, (Class<?>) PartnerWebViewActivity.class);
intent.putExtra("com.scb.phone.EXTRA_DISPLAY", c0915Rl);
startActivity(intent);
int i2 = p + 7;
r = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.friends.Hilt_FriendsLandingActivity, 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 onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 95;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 10136), new char[]{22909, 34591, 41276, 27933, 8504, 56893, 48642, 25562, 15744, 42867, 12294, 56095, 53859, 7482, 48777, 24960, 49608, 45077, 63153, 42742, 45561, 39938, 9875, 49108, 4199, 60279}, new char[]{25174, 7154, 47829, 6183}, new char[]{0, 0, 0, 0}, Color.red(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{6064, 31351, 38530, 10910, 28787, 22609, 57931, 15291, 11682, 29537, 9736, 61459, 365, 16076, 2373, 35793, 30742, 6101}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mf_onboarding_investment_experience_1_3_years).substring(2, 4).length() + 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 11;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).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((KeyEvent.getMaxKeyCode() >> 16) + 487, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) View.getDefaultSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.friends.Hilt_FriendsLandingActivity, 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 = p + 35;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 10060), new char[]{22909, 34591, 41276, 27933, 8504, 56893, 48642, 25562, 15744, 42867, 12294, 56095, 53859, 7482, 48777, 24960, 49608, 45077, 63153, 42742, 45561, 39938, 9875, 49108, 4199, 60279}, new char[]{25174, 7154, 47829, 6183}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 110, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{6064, 31351, 38530, 10910, 28787, 22609, 57931, 15291, 11682, 29537, 9736, 61459, 365, 16076, 2373, 35793, 30742, 6101}, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = p + 63;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 4 / 2;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 73;
r = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 492, 5 - ExpandableListView.getPackedPositionType(0L), (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - TextUtils.indexOf((CharSequence) "", '0', 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i7 = 24 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 491, (Process.myTid() >> 22) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 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(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - (ViewConfiguration.getTapTimeout() >> 16), 5 - TextUtils.indexOf("", "", 0, 0), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
public static /* synthetic */ void d(FriendsLandingActivity friendsLandingActivity) {
int i = 2 % 2;
C14957gcv.e(friendsLandingActivity, "");
ImageView imageView = friendsLandingActivity.ivFriendHeader;
ImageView imageView2 = null;
if (imageView != null) {
int i2 = r + 117;
p = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 4 % 4;
}
} else {
C14957gcv.a("");
int i4 = p + 67;
r = i4 % 128;
int i5 = i4 % 2;
imageView = null;
}
ViewGroup.LayoutParams layoutParams = imageView.getLayoutParams();
if (layoutParams instanceof LinearLayout.LayoutParams) {
layoutParams.height = (int) (friendsLandingActivity.getResources().getDisplayMetrics().widthPixels * 0.3875d);
}
ImageView imageView3 = friendsLandingActivity.ivFriendHeader;
if (imageView3 != null) {
imageView2 = imageView3;
} else {
C14957gcv.a("");
}
imageView2.setLayoutParams(layoutParams);
}
static void j() {
l = (char) 55844;
k = (char) 57526;
f7170o = (char) 19712;
m = (char) 368;
s = 9051040786702654117L;
q = 452713125;
t = (char) 63849;
}
@Override // com.scb.phone.view.activity.friends.Hilt_FriendsLandingActivity, 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}, 1536833368, -1536833368, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.friends.Hilt_FriendsLandingActivity, 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 = p + 99;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 39;
p = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9295dgz
public final void d(MO mo) {
c(new Object[]{this, mo}, -1065644200, 1065644201, System.identityHashCode(this));
}
static {
p = 1;
j();
new HBt((byte) 0);
int i = r + 97;
p = i % 128;
int i2 = i % 2;
}
}