613 lines
33 KiB
Java
613 lines
33 KiB
Java
|
package io.flutter.app;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.Intent;
|
||
|
import android.content.res.Configuration;
|
||
|
import android.graphics.Color;
|
||
|
import android.graphics.ImageFormat;
|
||
|
import android.graphics.PointF;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.os.Bundle;
|
||
|
import android.os.SystemClock;
|
||
|
import android.text.TextUtils;
|
||
|
import android.util.TypedValue;
|
||
|
import android.view.Gravity;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import android.widget.ExpandableListView;
|
||
|
import androidx.fragment.app.FragmentActivity;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
|
||
|
import com.scb.phone.R;
|
||
|
import io.flutter.app.FlutterActivityDelegate;
|
||
|
import io.flutter.plugin.common.PluginRegistry;
|
||
|
import io.flutter.view.FlutterNativeView;
|
||
|
import io.flutter.view.FlutterView;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
import o.dQY;
|
||
|
import o.xzZ;
|
||
|
import org.jnbis.internal.NistHelper;
|
||
|
|
||
|
@Deprecated
|
||
|
/* loaded from: classes5.dex */
|
||
|
public class FlutterFragmentActivity extends FragmentActivity implements FlutterView.Provider, PluginRegistry, FlutterActivityDelegate.ViewFactory {
|
||
|
private final FlutterActivityDelegate delegate;
|
||
|
private final FlutterActivityEvents eventDelegate;
|
||
|
private final PluginRegistry pluginRegistry;
|
||
|
private final FlutterView.Provider viewProvider;
|
||
|
private static final byte[] $$a = {40, -44, -105, ISO7816.INS_READ_BINARY2};
|
||
|
private static final int $$b = 121;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int c = 0;
|
||
|
private static int j = 1;
|
||
|
private static char[] a = {49027, 49098, 49105, 49049, 49053, 49109, 49106, 49111, 49118, 49127, 49114, 49110, 49026, 49138, 49028, 49048, 49116, 49050, 49104, 49034, 49117, 49093, 49030, 49054, 49029, 49052, 49115, 49024, 49025, 49126, 49089, 49051, 49031, 49091, 49095, 49035};
|
||
|
private static char d = 35375;
|
||
|
private static char[] e = {26500, 19058, 15445, 60981, 53250, 33513, 29907, 9862, 2199, 64375, 44363, 40750, 16644, 13286, 58835, 55214, 47496, 27753, 36787, 41564, 54390, 1536, 14397, 27355, 40182, 52956, 57533, 4929, 17724, 30498, 43296, 56285, 3569, 16279, 20897, 33857, 57202, 62155, 34019, 22144, 26866, 14912, 52278, 40534, 45089, 17354, 5600, 10198, 63985, 35655, 23907, 28427, 370, 54417, 59061, 47235, 19106, 7235, 11876, 49153, 37488, 42443, 30645, 2518, 56235, 60741, 49002, 20823, 25383, 13969, 51378, 39558, 44198, 32321, 4194, 8706, 62502, 34755, 23014, 27520, 15861, 53008, 57701, 45910, 17777, 6294, 10977, 64651, 36517, 41034, 29283, 1109, 54819, 59794, 48053, 19922, 8102, 12619, 49968, 38148, 53372, 64896, 35744, 22980, 26599, 13646, 50043, 37147, 48999, 19613, 6837, 10457, 63223, 33819, 21049, 24665, 3697, 56198, 59831, 47069, 17909, 4888, 8502, 53077, 40314, 43679, 30970, 1728, 54524, 57862, 45105, 24149, 27744, 14743, 51125, 38343, 41952, 29018, 7987, 11585, 64373, 34950, 22192, 25799, 13029, 49153, 60981, 48198, 19057, 6106, 9655, 62427, 33273, 44891, 32053, 2884, 55677, 59099, 46269, 17114, 4339, 15889, 52263, 39488, 43067, 30082, 998, 53659, 65521, 36098, 23345, 26970, 14176, 50311, 63550, 54729, 41983, 29065, 20407};
|
||
|
private static long b = -6510913510637329870L;
|
||
|
|
||
|
private static void h(int i, short s, int i2, Object[] objArr) {
|
||
|
int i3 = i * 2;
|
||
|
byte[] bArr = $$a;
|
||
|
int i4 = s + 4;
|
||
|
int i5 = i2 + 98;
|
||
|
byte[] bArr2 = new byte[i3 + 1];
|
||
|
int i6 = -1;
|
||
|
if (bArr == null) {
|
||
|
i5 = (-i5) + i3;
|
||
|
i6 = -1;
|
||
|
}
|
||
|
while (true) {
|
||
|
int i7 = i6 + 1;
|
||
|
bArr2[i7] = (byte) i5;
|
||
|
if (i7 == i3) {
|
||
|
objArr[0] = new String(bArr2, 0);
|
||
|
return;
|
||
|
}
|
||
|
i4++;
|
||
|
i5 = (-bArr[i4]) + i5;
|
||
|
i6 = i7;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // io.flutter.app.FlutterActivityDelegate.ViewFactory
|
||
|
public FlutterNativeView createFlutterNativeView() {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
@Override // io.flutter.app.FlutterActivityDelegate.ViewFactory
|
||
|
public FlutterView createFlutterView(Context context) {
|
||
|
return null;
|
||
|
}
|
||
|
|
||
|
@Override // io.flutter.app.FlutterActivityDelegate.ViewFactory
|
||
|
public boolean retainFlutterNativeView() {
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
public FlutterFragmentActivity() {
|
||
|
FlutterActivityDelegate flutterActivityDelegate = new FlutterActivityDelegate(this, this);
|
||
|
this.delegate = flutterActivityDelegate;
|
||
|
this.eventDelegate = flutterActivityDelegate;
|
||
|
this.viewProvider = flutterActivityDelegate;
|
||
|
this.pluginRegistry = flutterActivityDelegate;
|
||
|
}
|
||
|
|
||
|
@Override // io.flutter.view.FlutterView.Provider
|
||
|
public FlutterView getFlutterView() {
|
||
|
return this.viewProvider.getFlutterView();
|
||
|
}
|
||
|
|
||
|
@Override // io.flutter.plugin.common.PluginRegistry
|
||
|
public final boolean hasPlugin(String str) {
|
||
|
return this.pluginRegistry.hasPlugin(str);
|
||
|
}
|
||
|
|
||
|
@Override // io.flutter.plugin.common.PluginRegistry
|
||
|
public final <T> T valuePublishedByPlugin(String str) {
|
||
|
return (T) this.pluginRegistry.valuePublishedByPlugin(str);
|
||
|
}
|
||
|
|
||
|
@Override // io.flutter.plugin.common.PluginRegistry
|
||
|
public final PluginRegistry.Registrar registrarFor(String str) {
|
||
|
return this.pluginRegistry.registrarFor(str);
|
||
|
}
|
||
|
|
||
|
private static void g(int i, int i2, char c2, Object[] objArr) {
|
||
|
int i3;
|
||
|
int i4 = 2 % 2;
|
||
|
dQY dqy = new dQY();
|
||
|
long[] jArr = new long[i2];
|
||
|
dqy.a = 0;
|
||
|
int i5 = $10 + 31;
|
||
|
$11 = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
while (dqy.a < i2) {
|
||
|
int i7 = dqy.a;
|
||
|
try {
|
||
|
Object[] objArr2 = {Integer.valueOf(e[i + dqy.a])};
|
||
|
Object obj = xzZ.y.get(1095064095);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 308, 4 - ImageFormat.getBitsPerPixel(0), (char) (32797 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)));
|
||
|
byte b2 = (byte) 0;
|
||
|
byte b3 = (byte) (b2 - 1);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
h(b2, b3, (byte) (b3 + 1), objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1095064095, obj);
|
||
|
}
|
||
|
try {
|
||
|
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(b), Integer.valueOf(c2)};
|
||
|
Object obj2 = xzZ.y.get(-548438098);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(412 - Color.argb(0, 0, 0, 0), 5 - TextUtils.indexOf("", "", 0), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
|
||
|
byte b4 = (byte) 0;
|
||
|
byte b5 = (byte) (b4 - 1);
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
h(b4, b5, (byte) (-b5), objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(-548438098, obj2);
|
||
|
}
|
||
|
jArr[i7] = ((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(408 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (29234 - (ViewConfiguration.getDoubleTapTimeout() >> 16)));
|
||
|
byte b6 = (byte) 0;
|
||
|
byte b7 = (byte) (b6 - 1);
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
h(b6, b7, (byte) (b7 & 8), objArr7);
|
||
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1071125919, obj3);
|
||
|
}
|
||
|
((Method) obj3).invoke(null, objArr6);
|
||
|
int i8 = $11 + 75;
|
||
|
$10 = i8 % 128;
|
||
|
int i9 = i8 % 2;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
char[] cArr = new char[i2];
|
||
|
dqy.a = 0;
|
||
|
int i10 = $10 + 105;
|
||
|
$11 = i10 % 128;
|
||
|
int i11 = 2;
|
||
|
int i12 = i10 % 2;
|
||
|
while (dqy.a < i2) {
|
||
|
int i13 = $10 + 19;
|
||
|
$11 = i13 % 128;
|
||
|
int i14 = i13 % i11;
|
||
|
cArr[dqy.a] = (char) jArr[dqy.a];
|
||
|
Object[] objArr8 = {dqy, dqy};
|
||
|
Object obj4 = xzZ.y.get(1071125919);
|
||
|
if (obj4 != null) {
|
||
|
i3 = 2;
|
||
|
} else {
|
||
|
Class cls4 = (Class) xzZ.c(408 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 29235));
|
||
|
byte b8 = (byte) 0;
|
||
|
byte b9 = (byte) (b8 - 1);
|
||
|
Object[] objArr9 = new Object[1];
|
||
|
h(b8, b9, (byte) (b9 & 8), objArr9);
|
||
|
i3 = 2;
|
||
|
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1071125919, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr8);
|
||
|
i11 = i3;
|
||
|
}
|
||
|
objArr[0] = new String(cArr);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
|
||
|
public void onCreate(Bundle bundle) {
|
||
|
int intValue = ((Integer) Class.forName("android.os.Process").getDeclaredMethod("myUid", new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
|
||
|
if (intValue < 99000 || intValue > 99999) {
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
baseContext = (Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null);
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0), Drawable.resolveOpacity(0, 0) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr = {baseContext, "174b3cfab92a3b38b32834a9f6c5c9d11581febb2495c8e4", "eb6e6b49e52626716412c6a4360c2908775a58bb6ba6516bd8f7c85b8c186bae", "a803a3ee293eb408abf01072c8fe869d4ba552115053fc6ebe28690f0afa58c7", "https://siamcommercialbank.threatcast.guardsquare.com/api/ingest/v2/events", true, "9.8.0", "ea24d940-60eb-4211-abec-2c2a7ec5451e"};
|
||
|
Object obj2 = xzZ.y.get(1656189573);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(486 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), TextUtils.indexOf("", "", 0, 0) + 5, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
|
||
|
xzZ.y.put(1656189573, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
super.onCreate(bundle);
|
||
|
this.eventDelegate.onCreate(bundle);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity
|
||
|
public void onDestroy() {
|
||
|
this.eventDelegate.onDestroy();
|
||
|
super.onDestroy();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.activity.ComponentActivity, android.app.Activity
|
||
|
public void onBackPressed() {
|
||
|
if (this.eventDelegate.onBackPressed()) {
|
||
|
return;
|
||
|
}
|
||
|
super.onBackPressed();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
|
||
|
public void onStart() {
|
||
|
super.onStart();
|
||
|
this.eventDelegate.onStart();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity
|
||
|
public void onStop() {
|
||
|
this.eventDelegate.onStop();
|
||
|
super.onStop();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
|
||
|
public void onPause() {
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
baseContext = (Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null);
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr = {baseContext};
|
||
|
Object obj2 = xzZ.y.get(1633456013);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((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, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("c", Context.class);
|
||
|
xzZ.y.put(1633456013, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
super.onPause();
|
||
|
this.eventDelegate.onPause();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity
|
||
|
public void onPostResume() {
|
||
|
super.onPostResume();
|
||
|
this.eventDelegate.onPostResume();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
|
||
|
public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
|
||
|
super.onRequestPermissionsResult(i, strArr, iArr);
|
||
|
this.eventDelegate.onRequestPermissionsResult(i, strArr, iArr);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
|
||
|
public void onActivityResult(int i, int i2, Intent intent) {
|
||
|
if (this.eventDelegate.onActivityResult(i, i2, intent)) {
|
||
|
return;
|
||
|
}
|
||
|
super.onActivityResult(i, i2, intent);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.activity.ComponentActivity, android.app.Activity
|
||
|
public void onNewIntent(Intent intent) {
|
||
|
super.onNewIntent(intent);
|
||
|
this.eventDelegate.onNewIntent(intent);
|
||
|
}
|
||
|
|
||
|
@Override // android.app.Activity
|
||
|
public void onUserLeaveHint() {
|
||
|
this.eventDelegate.onUserLeaveHint();
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:38:0x0143, code lost:
|
||
|
|
||
|
if (r2.b == r2.c) goto L38;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:40:0x0171, code lost:
|
||
|
|
||
|
r12 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2};
|
||
|
r4 = o.xzZ.y.get(822107368);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:41:0x01be, code lost:
|
||
|
|
||
|
if (r4 == null) goto L43;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:45:0x0246, code lost:
|
||
|
|
||
|
if (((java.lang.Integer) ((java.lang.reflect.Method) r4).invoke(null, r12)).intValue() != r2.j) goto L54;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:46:0x0248, code lost:
|
||
|
|
||
|
r4 = io.flutter.app.FlutterFragmentActivity.$11 + 99;
|
||
|
io.flutter.app.FlutterFragmentActivity.$10 = r4 % 128;
|
||
|
r4 = r4 % 2;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:47:0x0254, code lost:
|
||
|
|
||
|
r9 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
|
||
|
r4 = o.xzZ.y.get(-1152873385);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:48:0x0291, code lost:
|
||
|
|
||
|
if (r4 == null) goto L51;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:50:0x0301, code lost:
|
||
|
|
||
|
r11 = null;
|
||
|
r4 = ((java.lang.Integer) ((java.lang.reflect.Method) r4).invoke(null, r9)).intValue();
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:51:0x030e, code lost:
|
||
|
|
||
|
r9 = (r2.d * r1) + r2.j;
|
||
|
r5[r2.e] = r3[r4];
|
||
|
r5[r2.e + 1] = r3[r9];
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:53:0x0374, code lost:
|
||
|
|
||
|
r2.e += 2;
|
||
|
r4 = r11;
|
||
|
r9 = '0';
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:54:0x0294, code lost:
|
||
|
|
||
|
r4 = (java.lang.Class) o.xzZ.c((android.view.ViewConfiguration.getPressedStateDuration() >> 16) + 327, ((byte) android.view.KeyEvent.getModifierMetaStateMask()) + 6, (char) (android.view.ViewConfiguration.getScrollDefaultDelay() >> 16));
|
||
|
r12 = (byte) 0;
|
||
|
r13 = (byte) (r12 - 1);
|
||
|
r15 = new java.lang.Object[1];
|
||
|
h(r12, r13, (byte) (r13 & com.google.common.base.Ascii.DC4), r15);
|
||
|
r4 = r4.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
|
||
|
o.xzZ.y.put(-1152873385, r4);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:55:0x0322, code lost:
|
||
|
|
||
|
r11 = null;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:56:0x0327, code lost:
|
||
|
|
||
|
if (r2.a != r2.d) goto L57;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:57:0x0329, code lost:
|
||
|
|
||
|
r2.f = ((r2.f + r1) - 1) % r1;
|
||
|
r2.j = ((r2.j + r1) - 1) % r1;
|
||
|
r4 = (r2.a * r1) + r2.f;
|
||
|
r9 = (r2.d * r1) + r2.j;
|
||
|
r5[r2.e] = r3[r4];
|
||
|
r5[r2.e + 1] = r3[r9];
|
||
|
r4 = io.flutter.app.FlutterFragmentActivity.$10 + 9;
|
||
|
io.flutter.app.FlutterFragmentActivity.$11 = r4 % 128;
|
||
|
r4 = r4 % 2;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:59:0x035b, code lost:
|
||
|
|
||
|
r4 = (r2.a * r1) + r2.j;
|
||
|
r9 = (r2.d * r1) + r2.f;
|
||
|
r5[r2.e] = r3[r4];
|
||
|
r5[r2.e + 1] = r3[r9];
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:61:0x01c1, code lost:
|
||
|
|
||
|
r4 = (java.lang.Class) o.xzZ.c(233 - android.graphics.Color.argb(0, 0, 0, 0), 5 - (android.view.ViewConfiguration.getLongPressTimeout() >> 16), (char) (22072 - android.text.AndroidCharacter.getMirror(r9)));
|
||
|
r13 = (byte) 0;
|
||
|
r15 = (byte) (r13 - 1);
|
||
|
r14 = new java.lang.Object[1];
|
||
|
h(r13, r15, (byte) (r15 & com.google.common.base.Ascii.SYN), r14);
|
||
|
r4 = r4.getMethod((java.lang.String) r14[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
|
||
|
o.xzZ.y.put(822107368, r4);
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:63:0x0159, code lost:
|
||
|
|
||
|
r5[r2.e] = (char) (r2.b - r26);
|
||
|
r5[r2.e + 1] = (char) (r2.c - r26);
|
||
|
r11 = r4;
|
||
|
*/
|
||
|
/* JADX WARN: Code restructure failed: missing block: B:66:0x0157, code lost:
|
||
|
|
||
|
if (r2.b == r2.c) goto L38;
|
||
|
*/
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private static void f(char[] r25, byte r26, int r27, java.lang.Object[] r28) {
|
||
|
/*
|
||
|
Method dump skipped, instructions count: 942
|
||
|
To view this dump add '--comments-level debug' option
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: io.flutter.app.FlutterFragmentActivity.f(char[], byte, int, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
@Override // androidx.activity.ComponentActivity, android.app.Activity, android.content.ComponentCallbacks2
|
||
|
public void onTrimMemory(int i) {
|
||
|
super.onTrimMemory(i);
|
||
|
this.eventDelegate.onTrimMemory(i);
|
||
|
}
|
||
|
|
||
|
@Override // android.app.Activity, android.content.ComponentCallbacks
|
||
|
public void onLowMemory() {
|
||
|
this.eventDelegate.onLowMemory();
|
||
|
}
|
||
|
|
||
|
@Override // androidx.activity.ComponentActivity, android.app.Activity, android.content.ComponentCallbacks
|
||
|
public void onConfigurationChanged(Configuration configuration) {
|
||
|
super.onConfigurationChanged(configuration);
|
||
|
this.eventDelegate.onConfigurationChanged(configuration);
|
||
|
}
|
||
|
|
||
|
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
|
||
|
public void onResume() {
|
||
|
int i = 2 % 2;
|
||
|
Context baseContext = getBaseContext();
|
||
|
if (baseContext == null) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
f(new char[]{'\b', 18, 6, 31, 22, 16, '\n', 1, '\t', 30, '\"', 3, '\f', 19, 4, 16, 22, '\t', 31, 4, '\b', 27, '#', 6, 7, '\b'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 17), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
g(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_input_address_thanon_is_not_allowed).substring(18, 19).length() - 1, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_direct_debit_ref_2).substring(0, 10).codePointAt(7) - 14, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 59445), objArr2);
|
||
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i2 = j + 111;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
baseContext = baseContext.getApplicationContext();
|
||
|
int i4 = c + 79;
|
||
|
j = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
}
|
||
|
if (baseContext != null) {
|
||
|
int i6 = c + 75;
|
||
|
j = i6 % 128;
|
||
|
try {
|
||
|
if (i6 % 2 == 0) {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (KeyEvent.getMaxKeyCode() >> 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(TextUtils.lastIndexOf("", '0', 0) + 488, View.resolveSizeAndState(0, 0, 0) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
|
||
|
xzZ.y.put(1378719468, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr3);
|
||
|
throw null;
|
||
|
}
|
||
|
Object obj3 = xzZ.y.get(125943855);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c((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)) + 492, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) Drawable.resolveOpacity(0, 0))).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(486 - ImageFormat.getBitsPerPixel(0), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).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();
|
||
|
}
|
||
|
|
||
|
@Override // 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) {
|
||
|
int i = 2 % 2;
|
||
|
super.attachBaseContext(context);
|
||
|
Object[] objArr = new Object[1];
|
||
|
g(18 - TextUtils.getCapsMode("", 0, 0), 19 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
f(new char[]{7, 2, NistHelper.SEP_FS, 11, 13912}, (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)) + 90), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, objArr2);
|
||
|
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
|
||
|
if (intValue < 99000 || intValue > 99999) {
|
||
|
Context applicationContext = context != null ? context.getApplicationContext() : context;
|
||
|
if (applicationContext != null) {
|
||
|
int i2 = c + 79;
|
||
|
j = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 492, View.MeasureSpec.getMode(0) + 5, (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
f(new char[]{'\r', 15, 2, '\b', 24, 21, 0, 11, 1, 20, 24, '\n', 26, 3, 29, '!', 3, 26, 29, '\"', 26, '!', 7, 18, 0, 29, 19, 23, 19, 20, 6, '\r', 16, 18, 30, 17, 11, 17, 13829, 13829, 26, '\"', 20, 23, 23, 30, '\b', '#'}, (byte) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 13), (ViewConfiguration.getTapTimeout() >> 16) + 48, objArr3);
|
||
|
String str = (String) objArr3[0];
|
||
|
Object[] objArr4 = new Object[1];
|
||
|
f(new char[]{'\b', 5, 29, 6, 26, 0, 31, 20, '\n', 23, 29, 25, 29, 25, 15, '\r', 26, 30, 16, 24, 24, 30, '\b', 30, NistHelper.SEP_FS, 25, 6, 24, 25, 22, 5, 30, 13798, 13798, 18, '\n', 23, '\"', 13873, 13873, 26, 0, '\f', 30, 18, 16, 26, 0, 11, 31, 2, 17, 23, 30, 20, 4, 30, 23, 17, 30, 26, 0, 7, 6}, (byte) (Gravity.getAbsoluteGravity(0, 0) + 57), Drawable.resolveOpacity(0, 0) + 64, objArr4);
|
||
|
String str2 = (String) objArr4[0];
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
g((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 36, ExpandableListView.getPackedPositionGroup(0L) + 64, (char) (20672 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), objArr5);
|
||
|
String str3 = (String) objArr5[0];
|
||
|
Object[] objArr6 = new Object[1];
|
||
|
g(100 - (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)), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 73, (char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 24518), objArr6);
|
||
|
String str4 = (String) objArr6[0];
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
g(174 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - TextUtils.indexOf("", ""), (char) (30677 - ExpandableListView.getPackedPositionType(0L)), objArr7);
|
||
|
String str5 = (String) objArr7[0];
|
||
|
Object[] objArr8 = new Object[1];
|
||
|
f(new char[]{6, 7, 26, '\"', '\r', 25, 30, 2, 18, 29, 5, 6, 5, 20, '\"', 26, 13863, 13863, 18, 11, 5, '\b', 19, 18, 24, 22, 24, '\n', 17, '\b', 19, 23, '\"', 20, 17, 6}, (byte) (TextUtils.indexOf((CharSequence) "", '0', 0) + 125), 36 - (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)), objArr8);
|
||
|
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
|
||
|
Object obj2 = xzZ.y.get(1656189573);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 488, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
|
||
|
xzZ.y.put(1656189573, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr9);
|
||
|
int i4 = c + 39;
|
||
|
j = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
int i6 = j + 49;
|
||
|
c = i6 % 128;
|
||
|
if (i6 % 2 != 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
}
|