298 lines
12 KiB
Java
298 lines
12 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import android.graphics.Color;
|
|
import android.graphics.ImageFormat;
|
|
import android.graphics.drawable.Drawable;
|
|
import android.os.Process;
|
|
import android.text.TextUtils;
|
|
import android.view.Gravity;
|
|
import android.view.KeyEvent;
|
|
import android.view.MotionEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
|
|
import java.lang.reflect.Method;
|
|
import java.util.Collections;
|
|
import java.util.List;
|
|
import o.PRA;
|
|
|
|
/* renamed from: o.Bh, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C0206Bh extends BaseAssetsDisplayMapper {
|
|
private final C0209Bj b;
|
|
private static final byte[] $$d = {54, -108, 123, 45};
|
|
private static final int $$e = 33;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int i = 0;
|
|
private static int h = 1;
|
|
private static char[] a = {36834};
|
|
private static long d = -6971144541410648284L;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002d). 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 q(int r6, short r7, int r8, java.lang.Object[] r9) {
|
|
/*
|
|
byte[] r0 = o.C0206Bh.$$d
|
|
int r6 = 106 - r6
|
|
int r8 = r8 * 4
|
|
int r8 = 4 - r8
|
|
int r7 = r7 * 3
|
|
int r1 = 1 - r7
|
|
byte[] r1 = new byte[r1]
|
|
r2 = 0
|
|
int r7 = 0 - r7
|
|
if (r0 != 0) goto L16
|
|
r3 = r8
|
|
r4 = r2
|
|
goto L2d
|
|
L16:
|
|
r3 = r2
|
|
L17:
|
|
byte r4 = (byte) r6
|
|
r1[r3] = r4
|
|
if (r3 != r7) goto L24
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r1, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L24:
|
|
int r3 = r3 + 1
|
|
r4 = r0[r8]
|
|
r5 = r8
|
|
r8 = r6
|
|
r6 = r4
|
|
r4 = r3
|
|
r3 = r5
|
|
L2d:
|
|
int r6 = r6 + r8
|
|
int r8 = r3 + 1
|
|
r3 = r4
|
|
goto L17
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C0206Bh.q(int, short, int, java.lang.Object[]):void");
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public C0206Bh(Resources resources, SharedPreferences sharedPreferences, C0209Bj c0209Bj, String str) {
|
|
super(resources, sharedPreferences, str);
|
|
this.b = c0209Bj;
|
|
}
|
|
|
|
public final C1202Xx d(SPo sPo) {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 39;
|
|
h = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
if (sPo == null) {
|
|
return null;
|
|
}
|
|
List<XI> d2 = d(sPo.j);
|
|
String str = sPo.h;
|
|
String str2 = sPo.i;
|
|
String str3 = sPo.g;
|
|
String str4 = sPo.f;
|
|
String b_ = b_(sPo.c);
|
|
List<XW> d3 = this.b.d((List) sPo.d);
|
|
boolean z = sPo.b;
|
|
String str5 = sPo.a;
|
|
Object[] objArr = new Object[1];
|
|
n((char) Gravity.getAbsoluteGravity(0, 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1, Drawable.resolveOpacity(0, 0) + 1, objArr);
|
|
C1202Xx c1202Xx = new C1202Xx(d2, str, str2, str3, str4, b_, d3, ((String) objArr[0]).intern(), z, str5, sPo.e);
|
|
int i5 = i + 91;
|
|
h = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return c1202Xx;
|
|
}
|
|
|
|
private List<XI> d(List<XeW> list) {
|
|
int i2 = 2 % 2;
|
|
int i3 = h + 5;
|
|
i = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
if (list == null) {
|
|
return Collections.emptyList();
|
|
}
|
|
YKU yku = new YKU(list);
|
|
List<XI> list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.Be
|
|
private C0206Bh e;
|
|
|
|
@Override // o.InterfaceC1244Ytw
|
|
public final Object d(Object obj2) {
|
|
return C0206Bh.b((XeW) obj2);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
}
|
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
|
int i4 = h + 23;
|
|
i = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
return list2;
|
|
}
|
|
|
|
public static XI b(XeW xeW) {
|
|
int i2 = 2 % 2;
|
|
if (xeW != null) {
|
|
return new XI(xeW.a, xeW.e);
|
|
}
|
|
int i3 = i + 43;
|
|
int i4 = i3 % 128;
|
|
h = i4;
|
|
int i5 = i3 % 2;
|
|
int i6 = i4 + 77;
|
|
i = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
return null;
|
|
}
|
|
|
|
private static void n(char c, int i2, int i3, Object[] objArr) {
|
|
int i4 = 2 % 2;
|
|
dQY dqy = new dQY();
|
|
long[] jArr = new long[i3];
|
|
dqy.a = 0;
|
|
int i5 = $10 + 13;
|
|
$11 = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
while (dqy.a < i3) {
|
|
int i7 = $10 + 95;
|
|
$11 = i7 % 128;
|
|
if (i7 % 2 == 0) {
|
|
int i8 = dqy.a;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(a[i2 >>> dqy.a])};
|
|
Object obj = xzZ.y.get(1095064095);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(MotionEvent.axisFromString("") + 309, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (32797 - Color.blue(0)));
|
|
byte b = (byte) 0;
|
|
Object[] objArr3 = new Object[1];
|
|
q((byte) ($$e >>> 2), b, b, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(1095064095, obj);
|
|
}
|
|
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(d), Integer.valueOf(c)};
|
|
Object obj2 = xzZ.y.get(-548438098);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(412 - TextUtils.getOffsetBefore("", 0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
|
|
byte b2 = (byte) 0;
|
|
Object[] objArr5 = new Object[1];
|
|
q((byte) 7, b2, b2, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
|
xzZ.y.put(-548438098, obj2);
|
|
}
|
|
jArr[i8] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
|
|
Object[] objArr6 = {dqy, dqy};
|
|
Object obj3 = xzZ.y.get(1071125919);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(406 - TextUtils.lastIndexOf("", '0', 0, 0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (ExpandableListView.getPackedPositionGroup(0L) + 29234));
|
|
byte b3 = (byte) 0;
|
|
byte b4 = b3;
|
|
Object[] objArr7 = new Object[1];
|
|
q(b3, b4, b4, objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
} else {
|
|
int i9 = dqy.a;
|
|
try {
|
|
Object[] objArr8 = {Integer.valueOf(a[i2 + dqy.a])};
|
|
Object obj4 = xzZ.y.get(1095064095);
|
|
if (obj4 == null) {
|
|
Class cls4 = (Class) xzZ.c(307 - ImageFormat.getBitsPerPixel(0), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 32797));
|
|
byte b5 = (byte) 0;
|
|
Object[] objArr9 = new Object[1];
|
|
q((byte) ($$e >>> 2), b5, b5, objArr9);
|
|
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
|
|
xzZ.y.put(1095064095, obj4);
|
|
}
|
|
try {
|
|
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(d), Integer.valueOf(c)};
|
|
Object obj5 = xzZ.y.get(-548438098);
|
|
if (obj5 == null) {
|
|
Class cls5 = (Class) xzZ.c(412 - Color.alpha(0), TextUtils.indexOf("", "") + 5, (char) Color.argb(0, 0, 0, 0));
|
|
byte b6 = (byte) 0;
|
|
Object[] objArr11 = new Object[1];
|
|
q((byte) 7, b6, b6, objArr11);
|
|
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
|
xzZ.y.put(-548438098, obj5);
|
|
}
|
|
jArr[i9] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
|
|
try {
|
|
Object[] objArr12 = {dqy, dqy};
|
|
Object obj6 = xzZ.y.get(1071125919);
|
|
if (obj6 == null) {
|
|
Class cls6 = (Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 407, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (29233 - TextUtils.indexOf((CharSequence) "", '0', 0)));
|
|
byte b7 = (byte) 0;
|
|
byte b8 = b7;
|
|
Object[] objArr13 = new Object[1];
|
|
q(b7, b8, b8, objArr13);
|
|
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj6);
|
|
}
|
|
((Method) obj6).invoke(null, objArr12);
|
|
} catch (Throwable th2) {
|
|
Throwable cause2 = th2.getCause();
|
|
if (cause2 == null) {
|
|
throw th2;
|
|
}
|
|
throw cause2;
|
|
}
|
|
} catch (Throwable th3) {
|
|
Throwable cause3 = th3.getCause();
|
|
if (cause3 == null) {
|
|
throw th3;
|
|
}
|
|
throw cause3;
|
|
}
|
|
} catch (Throwable th4) {
|
|
Throwable cause4 = th4.getCause();
|
|
if (cause4 == null) {
|
|
throw th4;
|
|
}
|
|
throw cause4;
|
|
}
|
|
}
|
|
}
|
|
char[] cArr = new char[i3];
|
|
dqy.a = 0;
|
|
while (dqy.a < i3) {
|
|
cArr[dqy.a] = (char) jArr[dqy.a];
|
|
Object[] objArr14 = {dqy, dqy};
|
|
Object obj7 = xzZ.y.get(1071125919);
|
|
if (obj7 == null) {
|
|
Class cls7 = (Class) xzZ.c(407 - Color.blue(0), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (29235 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
|
|
byte b9 = (byte) 0;
|
|
byte b10 = b9;
|
|
Object[] objArr15 = new Object[1];
|
|
q(b9, b10, b10, objArr15);
|
|
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj7);
|
|
}
|
|
((Method) obj7).invoke(null, objArr14);
|
|
}
|
|
objArr[0] = new String(cArr);
|
|
}
|
|
}
|