FlixOlé v4.4.0版本的 MD5 值为:50e7f767ca3e8715936523e9ef089581

以下内容为反编译后的 DefaultProvider.java 源代码,内容仅作参考


package com.applisto.appcloner.classes;

import andhook.lib.xposed.ClassUtils;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.AssetFileDescriptor;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.ParcelFileDescriptor;
import android.preference.PreferenceManager;
import android.text.TextUtils;
import android.util.Base64;
import com.applisto.appcloner.classes.DefaultProvider;
import com.applisto.appcloner.classes.util.Log;
import com.applisto.appcloner.classes.util.activity.AbstractContentProvider;
import i.f.a.h.b.d.r;
import java.io.BufferedReader;
import java.io.ByteArrayOutputStrean;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.InputStreamReader;
import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
import java.util.zip.ZipFile;
public class DefaultProvider extends AbstractContentProvider {
    private static final int MAX_COUNT = 10;
    private static final String PREF_KEY_COUNT = "com.applisto.appcloner.classes.DefaultProvider.count";
    private static final String PREF_KEY_IDENTITY_SEED = "com.applisto.appcloner.classes.identitySeed";
    private static final String PREF_KEY_ORIGINAL_INSTALL_VERSION_CODE = "com.applisto.appcloner.classes.originalInstallVersionCode";
    public static final String PREF_KEY_PREFIX = "com.applisto.appcloner.classes.";
    private static final String TAG = DefaultProvider.class.getSimpleName();

    @Override
    public boolean onCreate() {
        boolean z;
        String str;
        String str2;
        SharedPreferences defaultSharedPreferences;
        String str3;
        String str4;
        boolean z2;
        int intValue;
        String str5;
        String string;
        String str6;
        String str7;
        Integer num;
        boolean z3;
        boolean booleanValue;
        boolean booleanValue2;
        String string2;
        String string3;
        boolean booleanValue3;
        List<String> stringList;
        int i2;
        boolean booleanValue4;
        Integer num2;
        String str8;
        String str9;
        String string4;
        Integer num3;
        String str10;
        String str11;
        Properties properties;
        Boolean bool;
        String string5;
        Boolean bool2;
        String string6;
        Double d;
        Double d2;
        String str12;
        String string7;
        int i3;
        String str13;
        String string8;
        int i4;
        String str14;
        Integer num4;
        String str15;
        boolean booleanValue5;
        String str16;
        String str17;
        String string9;
        String string10;
        String str18;
        String string11;
        Integer num5;
        String string12;
        String str19;
        String str20;
        String str21;
        String string13;
        boolean booleanValue6;
        String str22;
        String string14;
        boolean z4;
        String str23;
        boolean z5;
        String str24;
        String str25;
        DefaultProvider defaultProvider;
        String str26;
        Integer integer;
        Integer integer2;
        boolean booleanValue7;
        boolean booleanValue8;
        boolean booleanValue9;
        Integer num6;
        boolean booleanValue10;
        boolean booleanValue11;
        String str27;
        String string15;
        Boolean bool3;
        String str28;
        String string16;
        String string17;
        String string18;
        Properties properties2;
        long longValue;
        long longValue2;
        Map<String, String> stringMap;
        Map<String, String> stringMap2;
        List<String> stringList2;
        Boolean bool4;
        String string19;
        List<Map<String, Object>> mapList;
        List<Map<String, Object>> mapList2;
        int intValue2;
        String str29;
        String string20;
        String string21;
        int intValue3;
        int intValue4;
        String string22;
        List<String> stringList3;
        boolean booleanValue12;
        String str30;
        int intValue5;
        Integer num7;
        Properties properties3;
        boolean z6;
        String str31;
        String str32;
        char c;
        Properties properties4;
        String str33;
        String str34;
        int i5;
        int intValue6;
        String string23;
        String string24;
        boolean booleanValue13;
        boolean booleanValue14;
        float floatValue;
        List<String> stringList4;
        String string25;
        String str35;
        String string26;
        String string27;
        CloneSettings forObject;
        String str36;
        boolean booleanValue15;
        float floatValue2;
        Map<String, String> stringMap3;
        int intValue7;
        Properties properties5;
        CloneSettings forObject2;
        CloneSettings forObject3;
        Integer integer3;
        String string28;
        String str37;
        List<String> stringList5;
        boolean booleanValue16;
        String string29;
        float floatValue3;
        float floatValue4;
        String installerPackageName;
        String stackTraceString;
        boolean z7;
        boolean booleanValue17;
        ZipFile zipFile;
        BufferedReader bufferedReader;
        DefaultProvider defaultProvider2 = this;
        long currentTimeMillis = System.currentTimeMillis();
        final Context context = getContext();
        if (context == null) {
            Log.i(TAG, "onCreate; no context");
            return false;
        }
        String originalPackageName = getOriginalPackageName(context);
        Log.i(TAG, "onCreate; originalPackageName: " + originalPackageName);
        String buildSerial = Utils.getBuildSerial();
        boolean isDevDevice = Utils.isDevDevice();
        Log.i(TAG, "onCreate; buildSerial: " + buildSerial + ", devDevice: " + isDevDevice);
        try {
            try {
                zipFile = new ZipFile(context.getApplicationInfo().sourceDir);
                try {
                    z = isDevDevice;
                    try {
                        bufferedReader = new BufferedReader(new InputStreamReader(zipFile.getInputStream(zipFile.getEntry("META-INF/CERT.SF")), "UTF-8"));
                        bufferedReader.readLine();
                    } catch (Throwable th) {
                        th = th;
                        Throwable th2 = th;
                        zipFile.close();
                        throw th2;
                    }
                } catch (Throwable th3) {
                    th = th3;
                }
            } catch (Exception e) {
                e = e;
                Log.w(TAG, e);
                CloneSettings cloneSettings = CloneSettings.getInstance(context);
                Properties stringsProperties = Utils.getStringsProperties();
                try {
                    installerPackageName = context.getPackageManager().getInstallerPackageName(context.getPackageName());
                    String str38 = TAG;
                    StringBuilder sb = new StringBuilder();
                    str2 = "NO_CHANGE";
                    try {
                        sb.append("onCreate; installerPackageName: ");
                        sb.append(installerPackageName);
                        Log.i(str38, sb.toString());
                    } catch (Exception e2) {
                        e = e2;
                        str = "NONE";
                    }
                } catch (Exception e3) {
                    e = e3;
                    str = "NONE";
                    str2 = "NO_CHANGE";
                }
                try {
                    try {
                        if (!"com.android.vending".equals(installerPackageName)) {
                            str = "NONE";
                            defaultProvider2.invokeSecondaryInstance("AppData", "init", context, Boolean.valueOf(cloneSettings.getBoolean("bundleAppData", false).booleanValue()), Boolean.valueOf(cloneSettings.getBoolean("restoreAppDataOnEveryStart", false).booleanValue()), originalPackageName, stringsProperties);
                            defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
                            if ("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkUKNyxB+D5EkRPw+KHangPP7ZaCQFF7A0HzrsT5qQ+vOejCW2jofBcJe2auLrMdVG+sIwGzAXYPzO3PAWz70ErVPl3DfHoogawb87D5zk2M8LTVQ6FxvR43LeMIm4qvtLAomA05X7VFbusGEDsCI3B7SAIAhrsBoenvjEdUSIgtK0AKC/Bzm4/p9tXDEGHEQyR4D38YQB2jsPS6asWlzyeX6ceJTahQPjBG3pwm8g9/wt0TWdk8lLYk2LKNqQlONbmao/xOc+OB+ZrSOQehGRtDGQ9ZlrvR9hEkWDoNPe4uPEhg8ITCVHgouc/jvmHL+n2aX2XwxyquMm+D3oy3lewIDAQAB".equals(Base64.encodeToString(Utils.readFully(context.getAssets().open("MontserratSans.otf"), true), 2))) {
                            }
                        }
                        if (!stackTraceString.contains("com.lbe.doubleagent.client")) {
                            z7 = false;
                            booleanValue17 = cloneSettings.getBoolean("allowInMultiAccountApps", false).booleanValue();
                            String str39 = TAG;
                            StringBuilder sb2 = new StringBuilder();
                            str = "NONE";
                            sb2.append("onCreate; multiAccountApp: ");
                            sb2.append(z7);
                            sb2.append(", allowInMultiAccountApps: ");
                            sb2.append(booleanValue17);
                            Log.i(str39, sb2.toString());
                            if (!booleanValue17) {
                            }
                            if (!z7) {
                            }
                            defaultProvider2.invokeSecondaryInstance("AppData", "init", context, Boolean.valueOf(cloneSettings.getBoolean("bundleAppData", false).booleanValue()), Boolean.valueOf(cloneSettings.getBoolean("restoreAppDataOnEveryStart", false).booleanValue()), originalPackageName, stringsProperties);
                            defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
                            if ("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkUKNyxB+D5EkRPw+KHangPP7ZaCQFF7A0HzrsT5qQ+vOejCW2jofBcJe2auLrMdVG+sIwGzAXYPzO3PAWz70ErVPl3DfHoogawb87D5zk2M8LTVQ6FxvR43LeMIm4qvtLAomA05X7VFbusGEDsCI3B7SAIAhrsBoenvjEdUSIgtK0AKC/Bzm4/p9tXDEGHEQyR4D38YQB2jsPS6asWlzyeX6ceJTahQPjBG3pwm8g9/wt0TWdk8lLYk2LKNqQlONbmao/xOc+OB+ZrSOQehGRtDGQ9ZlrvR9hEkWDoNPe4uPEhg8ITCVHgouc/jvmHL+n2aX2XwxyquMm+D3oy3lewIDAQAB".equals(Base64.encodeToString(Utils.readFully(context.getAssets().open("MontserratSans.otf"), true), 2))) {
                            }
                        }
                        if ("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkUKNyxB+D5EkRPw+KHangPP7ZaCQFF7A0HzrsT5qQ+vOejCW2jofBcJe2auLrMdVG+sIwGzAXYPzO3PAWz70ErVPl3DfHoogawb87D5zk2M8LTVQ6FxvR43LeMIm4qvtLAomA05X7VFbusGEDsCI3B7SAIAhrsBoenvjEdUSIgtK0AKC/Bzm4/p9tXDEGHEQyR4D38YQB2jsPS6asWlzyeX6ceJTahQPjBG3pwm8g9/wt0TWdk8lLYk2LKNqQlONbmao/xOc+OB+ZrSOQehGRtDGQ9ZlrvR9hEkWDoNPe4uPEhg8ITCVHgouc/jvmHL+n2aX2XwxyquMm+D3oy3lewIDAQAB".equals(Base64.encodeToString(Utils.readFully(context.getAssets().open("MontserratSans.otf"), true), 2))) {
                        }
                    } catch (Exception unused) {
                        int i6 = defaultSharedPreferences.getInt(PREF_KEY_COUNT, 0) + 1;
                        defaultSharedPreferences.edit().putInt(PREF_KEY_COUNT, i6).apply();
                        if (i6 >= 10) {
                            try {
                                Intent intent = new Intent(context, MyActivity.class);
                                intent.addFlags(268435456);
                                context.startActivity(intent);
                            } catch (Exception unused2) {
                                System.exit(1);
                            }
                        }
                    }
                } catch (Exception unused3) {
                }
                stackTraceString = Log.getStackTraceString(new Exception());
                z7 = true;
                booleanValue17 = cloneSettings.getBoolean("allowInMultiAccountApps", false).booleanValue();
                String str392 = TAG;
                StringBuilder sb22 = new StringBuilder();
                str = "NONE";
                sb22.append("onCreate; multiAccountApp: ");
                sb22.append(z7);
                sb22.append(", allowInMultiAccountApps: ");
                sb22.append(booleanValue17);
                Log.i(str392, sb22.toString());
                if (!booleanValue17) {
                }
                if (!z7) {
                }
                defaultProvider2.invokeSecondaryInstance("AppData", "init", context, Boolean.valueOf(cloneSettings.getBoolean("bundleAppData", false).booleanValue()), Boolean.valueOf(cloneSettings.getBoolean("restoreAppDataOnEveryStart", false).booleanValue()), originalPackageName, stringsProperties);
                defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
            }
        } catch (Exception e4) {
            e = e4;
            z = isDevDevice;
            Log.w(TAG, e);
            CloneSettings cloneSettings2 = CloneSettings.getInstance(context);
            Properties stringsProperties2 = Utils.getStringsProperties();
            installerPackageName = context.getPackageManager().getInstallerPackageName(context.getPackageName());
            String str382 = TAG;
            StringBuilder sb3 = new StringBuilder();
            str2 = "NO_CHANGE";
            sb3.append("onCreate; installerPackageName: ");
            sb3.append(installerPackageName);
            Log.i(str382, sb3.toString());
            if (!"com.android.vending".equals(installerPackageName)) {
            }
            stackTraceString = Log.getStackTraceString(new Exception());
            if (!stackTraceString.contains("com.lbe.doubleagent.client")) {
            }
            z7 = true;
            booleanValue17 = cloneSettings2.getBoolean("allowInMultiAccountApps", false).booleanValue();
            String str3922 = TAG;
            StringBuilder sb222 = new StringBuilder();
            str = "NONE";
            sb222.append("onCreate; multiAccountApp: ");
            sb222.append(z7);
            sb222.append(", allowInMultiAccountApps: ");
            sb222.append(booleanValue17);
            Log.i(str3922, sb222.toString());
            if (!booleanValue17) {
            }
            if (!z7) {
            }
            defaultProvider2.invokeSecondaryInstance("AppData", "init", context, Boolean.valueOf(cloneSettings2.getBoolean("bundleAppData", false).booleanValue()), Boolean.valueOf(cloneSettings2.getBoolean("restoreAppDataOnEveryStart", false).booleanValue()), originalPackageName, stringsProperties2);
            defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
            if ("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkUKNyxB+D5EkRPw+KHangPP7ZaCQFF7A0HzrsT5qQ+vOejCW2jofBcJe2auLrMdVG+sIwGzAXYPzO3PAWz70ErVPl3DfHoogawb87D5zk2M8LTVQ6FxvR43LeMIm4qvtLAomA05X7VFbusGEDsCI3B7SAIAhrsBoenvjEdUSIgtK0AKC/Bzm4/p9tXDEGHEQyR4D38YQB2jsPS6asWlzyeX6ceJTahQPjBG3pwm8g9/wt0TWdk8lLYk2LKNqQlONbmao/xOc+OB+ZrSOQehGRtDGQ9ZlrvR9hEkWDoNPe4uPEhg8ITCVHgouc/jvmHL+n2aX2XwxyquMm+D3oy3lewIDAQAB".equals(Base64.encodeToString(Utils.readFully(context.getAssets().open("MontserratSans.otf"), true), 2))) {
            }
        }
        if ("Created-By: App Cloner".equals(bufferedReader.readLine()) || zipFile.getEntry("assets/x8zs/classes.dex") != null) {
            bufferedReader.close();
            zipFile.close();
            CloneSettings cloneSettings22 = CloneSettings.getInstance(context);
            Properties stringsProperties22 = Utils.getStringsProperties();
            installerPackageName = context.getPackageManager().getInstallerPackageName(context.getPackageName());
            String str3822 = TAG;
            StringBuilder sb32 = new StringBuilder();
            str2 = "NO_CHANGE";
            sb32.append("onCreate; installerPackageName: ");
            sb32.append(installerPackageName);
            Log.i(str3822, sb32.toString());
            if (!"com.android.vending".equals(installerPackageName) && !"com.amazon.venezia".equals(installerPackageName) && !"com.sec.android.app.samsungapps".equals(installerPackageName) && !"com.excelliance.multiaccount".equals(installerPackageName) && !"com.excelliance.multiaccounts".equals(installerPackageName) && !"com.trendmicro.tmas".equals(installerPackageName) && !"com.trendmicro.tmas64".equals(installerPackageName) && !"com.excean.parallelspace".equals(installerPackageName)) {
                str = "NONE";
                defaultProvider2.invokeSecondaryInstance("AppData", "init", context, Boolean.valueOf(cloneSettings22.getBoolean("bundleAppData", false).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("restoreAppDataOnEveryStart", false).booleanValue()), originalPackageName, stringsProperties22);
                defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
                if ("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkUKNyxB+D5EkRPw+KHangPP7ZaCQFF7A0HzrsT5qQ+vOejCW2jofBcJe2auLrMdVG+sIwGzAXYPzO3PAWz70ErVPl3DfHoogawb87D5zk2M8LTVQ6FxvR43LeMIm4qvtLAomA05X7VFbusGEDsCI3B7SAIAhrsBoenvjEdUSIgtK0AKC/Bzm4/p9tXDEGHEQyR4D38YQB2jsPS6asWlzyeX6ceJTahQPjBG3pwm8g9/wt0TWdk8lLYk2LKNqQlONbmao/xOc+OB+ZrSOQehGRtDGQ9ZlrvR9hEkWDoNPe4uPEhg8ITCVHgouc/jvmHL+n2aX2XwxyquMm+D3oy3lewIDAQAB".equals(Base64.encodeToString(Utils.readFully(context.getAssets().open("MontserratSans.otf"), true), 2))) {
                    throw new Exception();
                }
                try {
                    int i7 = defaultSharedPreferences.getInt(PREF_KEY_ORIGINAL_INSTALL_VERSION_CODE, 0);
                    Log.i(TAG, "onCreate; originalInstallVersionCode: " + i7);
                    if (i7 == 0) {
                        defaultSharedPreferences.edit().putInt(PREF_KEY_ORIGINAL_INSTALL_VERSION_CODE, Utils.getApplicationVersionCode(context)).apply();
                    }
                } catch (Exception e5) {
                    Log.w(TAG, e5);
                }
                boolean booleanValue18 = cloneSettings22.getBoolean("hideSimOperatorInfo", false).booleanValue();
                boolean booleanValue19 = cloneSettings22.getBoolean("newIdentity", false).booleanValue();
                if (booleanValue19) {
                    booleanValue18 = true;
                }
                try {
                    string29 = cloneSettings22.getString("language", "");
                    str3 = "";
                    try {
                        floatValue3 = cloneSettings22.getFloat("densityDpiScale", Float.valueOf(1.0f)).floatValue();
                        z2 = booleanValue19;
                        try {
                            floatValue4 = cloneSettings22.getFloat("fontScale", Float.valueOf(1.0f)).floatValue();
                        } catch (Throwable th4) {
                            th = th4;
                            str4 = "init";
                        }
                    } catch (Throwable th5) {
                        th = th5;
                        str4 = "init";
                        z2 = booleanValue19;
                        Log.w(TAG, th);
                        new CrashHandler(cloneSettings22).install(context);
                        new ToastFilter(cloneSettings22).install(context);
                        new BundleFilesDirectories(cloneSettings22).install(context);
                        new BundleObb(cloneSettings22).install(context);
                        new SetBrightnessOnStart(cloneSettings22).install();
                        new WifiControls(cloneSettings22).install(context);
                        new BluetoothControls(cloneSettings22).install();
                        new InterruptionFilterControls(cloneSettings22).install(stringsProperties22);
                        new NotificationOptions(cloneSettings22).install(context);
                        new AutoRotateControls(cloneSettings22).install();
                        new FacebookLoginBehavior(cloneSettings22).install();
                        new OpenLinksWith(cloneSettings22).install(context);
                        if (!"com.tokopedia.tkpd".equals(originalPackageName)) {
                        }
                        new DisableClipboardAccess(cloneSettings22).install(context, stringsProperties22);
                        new ShowOnLockScreen(cloneSettings22).install();
                        new PersistentApp(cloneSettings22).install(context);
                        new AutoPressButtons(cloneSettings22).install();
                        new PictureInPicture(cloneSettings22).install();
                        new LogcatViewer(cloneSettings22).install(context);
                        intValue = cloneSettings22.getInteger("longPressTimeout", 0).intValue();
                        if (intValue > 0) {
                        }
                        if (!cloneSettings22.getBoolean("passwordProtectApp", false).booleanValue()) {
                        }
                        new PasswordProtectApp().install();
                        str5 = str;
                        string = cloneSettings22.getString("rotationLock", str5);
                        if (!"LANDSCAPE".equals(string)) {
                        }
                        defaultProvider2.invokeSecondaryStatic("RotationLock", "install", context, string);
                        if (cloneSettings22.getBoolean("forceRotationLockUsingOverlay", false).booleanValue()) {
                        }
                        str6 = str5;
                        str7 = str4;
                        if (!cloneSettings22.getBoolean("floatingApp", false).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("multiWindowNoPause", false).booleanValue()) {
                        }
                        booleanValue = cloneSettings22.getBoolean("immersiveMode", false).booleanValue();
                        boolean booleanValue20 = cloneSettings22.getBoolean("immersiveModeIgnoreNotch", false).booleanValue();
                        boolean booleanValue21 = cloneSettings22.getBoolean("transparentNavigationBar", false).booleanValue();
                        booleanValue2 = cloneSettings22.getBoolean("preventImmersiveMode", false).booleanValue();
                        if (!booleanValue) {
                        }
                        defaultProvider2.invokeSecondaryInstance("ImmersiveMode", "install", Boolean.valueOf(booleanValue), Boolean.valueOf(booleanValue20), Boolean.valueOf(booleanValue21), Boolean.valueOf(booleanValue2));
                        string2 = cloneSettings22.getString("taskerStartTaskName", null);
                        string3 = cloneSettings22.getString("taskerStopTaskName", null);
                        if (TextUtils.isEmpty(string2)) {
                        }
                        Object ni = ni(context, "com.applisto.appcloner.classes.secondary.ExecuteTaskerTasks");
                        ni.getClass().getMethod(str7, Context.class, String.class, String.class).invoke(ni, context, string2, string3);
                        if (cloneSettings22.getBoolean("makeDebuggable", false).booleanValue()) {
                        }
                        booleanValue3 = cloneSettings22.getBoolean("privateAccounts", false).booleanValue();
                        if ("com.insightly.droid".equals(originalPackageName)) {
                        }
                        if (booleanValue3) {
                        }
                        if (cloneSettings22.getBoolean("disableShareActions", false).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableWakeLocks", false).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableContactsAccess", false).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableCalendarAccess", false).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableCallLogSmsAccess", false).booleanValue()) {
                        }
                        stringList = cloneSettings22.getStringList("deviceLockDeviceIdentifiers");
                        if (stringList == null) {
                        }
                        defaultProvider2.invokeSecondaryInstance("ForceDeviceLock", "install", context, stringsProperties22);
                        if (z2) {
                        }
                        booleanValue4 = cloneSettings22.getBoolean("changeAndroidId", false).booleanValue();
                        num2 = num;
                        int intValue8 = cloneSettings22.getInteger("changeAndroidIdSeed", num2).intValue();
                        boolean booleanValue22 = cloneSettings22.getBoolean("randomAndroidId", false).booleanValue();
                        String string30 = cloneSettings22.getString("customAndroidId", null);
                        if (z2) {
                        }
                        if (booleanValue4) {
                        }
                        str9 = str2;
                        string4 = cloneSettings22.getString("changeImei", str9);
                        String string31 = cloneSettings22.getString("changeImsi", str9);
                        if (z2) {
                        }
                        if (str9.equals(string4)) {
                        }
                        num3 = num2;
                        str10 = str3;
                        str11 = str7;
                        properties = stringsProperties22;
                        bool = false;
                        defaultProvider2.invokeSecondaryInstance("ChangeImeiImsiHideSimOperatorInfo", "install", context, string4, Boolean.valueOf(cloneSettings22.getBoolean("changeImeiRandomizeClone", false).booleanValue()), cloneSettings22.getString("customImei", str10), string31, Boolean.valueOf(cloneSettings22.getBoolean("changeImsiRandomizeClone", false).booleanValue()), cloneSettings22.getString("customImsi", str10), Boolean.valueOf(z3), Integer.valueOf(i2));
                        string5 = cloneSettings22.getString("changeWifiMacAddress", str9);
                        if (z2) {
                        }
                        if (str9.equals(string5)) {
                        }
                        string6 = cloneSettings22.getString("changeBluetoothMacAddress", str9);
                        if (z2) {
                        }
                        if (!str9.equals(string6)) {
                        }
                        d = cloneSettings22.getDouble("spoofLocationLatitude", null);
                        d2 = cloneSettings22.getDouble("spoofLocationLongitude", null);
                        if (d != null) {
                        }
                        str12 = str10;
                        string7 = cloneSettings22.getString("androidVersionSdk", null);
                        String string32 = cloneSettings22.getString("androidVersionSdkInt", null);
                        String string33 = cloneSettings22.getString("androidVersionPreviewSdkInt", null);
                        String string34 = cloneSettings22.getString("androidVersionCodename", null);
                        String string35 = cloneSettings22.getString("androidVersionIncremental", null);
                        String string36 = cloneSettings22.getString("androidVersionRelease", null);
                        String string37 = cloneSettings22.getString("androidVersionBaseOs", null);
                        String string38 = cloneSettings22.getString("androidVersionSecurityPatch", null);
                        Log.i(TAG, "onCreate; androidVersionSdk: " + string7 + ", androidVersionSdkInt: " + string32 + ", androidVersionPreviewSdkInt: " + string33 + ", androidVersionCodename: " + string34 + ", androidVersionIncremental: " + string35 + ", androidVersionRelease: " + string36 + ", androidVersionBaseOs: " + string37 + ", androidVersionSecurityPatch: " + string38);
                        if (TextUtils.isEmpty(string7)) {
                        }
                        Object ni2 = ni(context, "com.applisto.appcloner.classes.secondary.AndroidVersion");
                        i3 = i2;
                        str13 = str11;
                        ni2.getClass().getMethod(str13, Context.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class).invoke(ni2, context, string7, string32, string33, string34, string35, string36, string37, string38);
                        string8 = cloneSettings22.getString("buildPropsManufacturer", null);
                        String string39 = cloneSettings22.getString("buildPropsBrand", null);
                        String string40 = cloneSettings22.getString("buildPropsModel", null);
                        String string41 = cloneSettings22.getString("buildPropsProduct", null);
                        String string42 = cloneSettings22.getString("buildPropsDevice", null);
                        String string43 = cloneSettings22.getString("buildPropsBoard", null);
                        String string44 = cloneSettings22.getString("buildPropsHardware", null);
                        String string45 = cloneSettings22.getString("buildPropsBootloader", null);
                        String string46 = cloneSettings22.getString("buildPropsFingerprint", null);
                        if (cloneSettings22.getBoolean("randomizeBuildProps", bool2).booleanValue()) {
                        }
                        String str40 = TAG;
                        int i8 = i4;
                        StringBuilder sb4 = new StringBuilder();
                        String str41 = str13;
                        sb4.append("onCreate; buildPropsManufacturer: ");
                        sb4.append(string8);
                        sb4.append(", buildPropsBrand: ");
                        sb4.append(string39);
                        sb4.append(", buildPropsModel: ");
                        sb4.append(string40);
                        sb4.append(", buildPropsProduct: ");
                        sb4.append(string41);
                        sb4.append(", buildPropsDevice: ");
                        sb4.append(string42);
                        sb4.append(", buildPropsBoard: ");
                        sb4.append(string43);
                        sb4.append(", buildPropsHardware: ");
                        sb4.append(string44);
                        sb4.append(", buildPropsBootloader: ");
                        sb4.append(string45);
                        sb4.append(", buildPropsFingerprint: ");
                        sb4.append(string46);
                        Log.i(str40, sb4.toString());
                        if (TextUtils.isEmpty(string8)) {
                        }
                        Object[] objArr = {context, string8, string39, string40, string41, string42, string43, string44, string45, string46};
                        defaultProvider2 = this;
                        str14 = "install";
                        defaultProvider2.invokeSecondaryStatic("BuildProps", str14, objArr);
                        if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                        }
                        booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                        str16 = str8;
                        if ("com.contextlogic.wish".equals(str16)) {
                        }
                        if (booleanValue5) {
                        }
                        if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                        }
                        if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                        }
                        str17 = str6;
                        string9 = cloneSettings22.getString("longPressBackAction", str17);
                        if (!str17.equals(string9)) {
                        }
                        if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                        }
                        string10 = cloneSettings22.getString("shakeAction", str17);
                        if (str17.equals(string10)) {
                        }
                        if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                        }
                        string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                        String string47 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                        if (str17.equals(string11)) {
                        }
                        num5 = num4;
                        defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string47, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                        string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                        String string48 = cloneSettings22.getString("volumeDownKeyAction", str17);
                        String string49 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                        if (str17.equals(string12)) {
                        }
                        str19 = str17;
                        str20 = str15;
                        defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string48, cloneSettings22.getString("volumeDownKeyActionParam", null), string49, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                        defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                        LoadLibraryWorkaround.install(context, str16);
                        cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                        if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                        }
                        if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                        }
                        string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                        if (!TextUtils.isEmpty(string13)) {
                        }
                        booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                        boolean booleanValue23 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                        if (booleanValue6) {
                        }
                        str22 = str19;
                        string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                        if (!str22.equals(string14)) {
                        }
                        if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                        }
                        integer = cloneSettings22.getInteger("statusBarColor", null);
                        integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                        if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                        }
                        if (integer == null) {
                        }
                        defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                        Integer integer4 = cloneSettings22.getInteger("toolbarColor", null);
                        if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                        }
                        if (integer != null) {
                        }
                        if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                        }
                        booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                        booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                        booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                        if (!booleanValue7) {
                        }
                        defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                        if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                        }
                        booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                        booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                        if (!booleanValue10) {
                        }
                        defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                        str27 = str18;
                        string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                        if (z2) {
                        }
                        bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                        if (str27.equals(string15)) {
                        }
                        defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i8), bool3);
                        if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                        }
                        Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                        defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                        defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                        defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                        if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                        }
                        defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                        if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                        }
                        str28 = str25;
                        string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                        String string50 = cloneSettings22.getString("penInsertedEventAction", str28);
                        if (!"EXIT_APP".equals(string16)) {
                        }
                        PenEventReceiver.install();
                        string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                        String string51 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                        if (!"EXIT_APP".equals(string17)) {
                        }
                        PowerEventReceiver.install();
                        string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                        String string52 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                        if (str28.equals(string18)) {
                        }
                        HeadphonesEventReceiver.install(context);
                        if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                        }
                        longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                        longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                        if (longValue == 0) {
                        }
                        defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                        if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                        }
                        Utils.allowHiddenApiAccess();
                        if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                        }
                        stringMap = cloneSettings22.getStringMap("mappedHosts");
                        if (stringMap != null) {
                        }
                        stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                        if (stringMap2 != null) {
                        }
                        if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                        }
                        stringList2 = cloneSettings22.getStringList("hideOtherApps");
                        if (stringList2 != null) {
                        }
                        if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                        }
                        bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                        if (bool4 != null) {
                        }
                        string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                        if (!str27.equals(string19)) {
                        }
                        mapList = cloneSettings22.getMapList("screenTextReplacements");
                        if (mapList != null) {
                        }
                        mapList2 = cloneSettings22.getMapList("viewModifications");
                        if (mapList2 != null) {
                        }
                        if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                        }
                        final String string53 = cloneSettings22.getString("sendBroadcastOnStart", null);
                        if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                        }
                        intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                        int intValue9 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                        int intValue10 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                        if (intValue2 != 0) {
                        }
                        str29 = str16;
                        if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                        }
                        if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                        }
                        string20 = cloneSettings22.getString("keyboardAdjust", str27);
                        if (!str27.equals(string20)) {
                        }
                        string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                        if (!TextUtils.isEmpty(string21)) {
                        }
                        if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                        }
                        intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                        if (intValue3 > 0) {
                        }
                        intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                        if (intValue4 > 0) {
                        }
                        if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                        }
                        String str42 = str12;
                        string22 = cloneSettings22.getString("muteForTextOnScreen", str42);
                        if (!TextUtils.isEmpty(string22)) {
                        }
                        stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                        if (stringList3 != null) {
                        }
                        if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                        }
                        booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                        String string54 = cloneSettings22.getString("toastDuration", str27);
                        if (!booleanValue12) {
                        }
                        String str43 = null;
                        str30 = str21;
                        defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str43, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string54);
                        intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                        if (intValue5 > 0) {
                        }
                        if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                        }
                        Integer num8 = num7;
                        intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num8).intValue();
                        if (intValue6 > 0) {
                        }
                        string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                        if (!TextUtils.isEmpty(string23)) {
                        }
                        if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                        }
                        string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                        if (!"DISABLED".equals(string24)) {
                        }
                        booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                        booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                        if (!booleanValue13) {
                        }
                        defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                        if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                        }
                        if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                        }
                        floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                        if (floatValue < 1.0f) {
                        }
                        stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                        if (stringList4 != null) {
                        }
                        if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                        }
                        string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                        if (z2) {
                        }
                        if (str27.equals(string25)) {
                        }
                        string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                        if (z2) {
                        }
                        if (!str27.equals(string26)) {
                        }
                        string27 = cloneSettings22.getString("overrideBindAddress", str27);
                        if (!str27.equals(string27)) {
                        }
                        if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                        }
                        forObject = cloneSettings22.forObject("addPadding");
                        if (forObject == null) {
                        }
                        str36 = str27;
                        booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                        floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                        if (!booleanValue15) {
                        }
                        defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                        stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                        if (stringMap3 != null) {
                        }
                        intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num8).intValue();
                        int intValue11 = cloneSettings22.getInteger("colorFilterContrast", num8).intValue();
                        int intValue12 = cloneSettings22.getInteger("colorFilterSaturation", num8).intValue();
                        int intValue13 = cloneSettings22.getInteger("colorFilterHue", num8).intValue();
                        int intValue14 = cloneSettings22.getInteger("colorFilterRed", num8).intValue();
                        int intValue15 = cloneSettings22.getInteger("colorFilterGreen", num8).intValue();
                        int intValue16 = cloneSettings22.getInteger("colorFilterBlue", num8).intValue();
                        Integer integer5 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                        if (intValue7 == 0) {
                        }
                        properties5 = properties4;
                        Object[] objArr2 = new Object[9];
                        objArr2[0] = context;
                        objArr2[1] = Integer.valueOf(intValue7);
                        objArr2[2] = Integer.valueOf(intValue11);
                        objArr2[3] = Integer.valueOf(intValue12);
                        objArr2[4] = Integer.valueOf(intValue13);
                        objArr2[5] = Integer.valueOf(intValue14);
                        objArr2[6] = Integer.valueOf(intValue15);
                        objArr2[c] = Integer.valueOf(intValue16);
                        objArr2[8] = integer5;
                        defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr2);
                        if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                        }
                        forObject2 = cloneSettings22.forObject("blurImageViews");
                        if (forObject2 != null) {
                        }
                        if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                        }
                        if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                        }
                        forObject3 = cloneSettings22.forObject("startOtherApp");
                        if (forObject3 != null) {
                        }
                        integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                        if (integer3 != null) {
                        }
                        if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                        }
                        string28 = cloneSettings22.getString("minimizeOnBack", str36);
                        if (z4) {
                        }
                        if ("ENABLED".equals(string28)) {
                        }
                        str37 = str33;
                        if ("com.facebook.katana".equals(str37)) {
                        }
                        if (!"com.whatsapp".equals(str37)) {
                        }
                        new WhatsAppSupport().install(str37);
                        ByteArrayOutputStrean.init(context, str37);
                        if ("com.google.android.gm".equals(str37)) {
                        }
                        if ("com.paypal.android.p2pmobile".equals(str37)) {
                        }
                        if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                        }
                        if ("com.bukalapak.android".equals(str37)) {
                        }
                        if ("com.tokopedia.tkpd".equals(str37)) {
                        }
                        if ("com.facebook.mlite".equals(str37)) {
                        }
                        defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                        stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                        booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                        if (stringList5 != null) {
                        }
                        defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                        if (z6) {
                        }
                        Utils.closeAndroidPieApiCompatibilityDialog();
                        Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                        return true;
                    }
                } catch (Throwable th6) {
                    th = th6;
                    str3 = "";
                }
                if (TextUtils.isEmpty(string29) && floatValue3 == 1.0f && floatValue4 == 1.0f && !booleanValue18) {
                    str4 = "init";
                    new CrashHandler(cloneSettings22).install(context);
                    new ToastFilter(cloneSettings22).install(context);
                    new BundleFilesDirectories(cloneSettings22).install(context);
                    new BundleObb(cloneSettings22).install(context);
                    new SetBrightnessOnStart(cloneSettings22).install();
                    new WifiControls(cloneSettings22).install(context);
                    new BluetoothControls(cloneSettings22).install();
                    new InterruptionFilterControls(cloneSettings22).install(stringsProperties22);
                    new NotificationOptions(cloneSettings22).install(context);
                    new AutoRotateControls(cloneSettings22).install();
                    new FacebookLoginBehavior(cloneSettings22).install();
                    new OpenLinksWith(cloneSettings22).install(context);
                    if (!"com.tokopedia.tkpd".equals(originalPackageName)) {
                        new Signatures(cloneSettings22).install(context);
                    }
                    new DisableClipboardAccess(cloneSettings22).install(context, stringsProperties22);
                    new ShowOnLockScreen(cloneSettings22).install();
                    new PersistentApp(cloneSettings22).install(context);
                    new AutoPressButtons(cloneSettings22).install();
                    new PictureInPicture(cloneSettings22).install();
                    new LogcatViewer(cloneSettings22).install(context);
                    intValue = cloneSettings22.getInteger("longPressTimeout", 0).intValue();
                    if (intValue > 0) {
                        defaultProvider2.invokeSecondaryStatic("LongPressTimeout", "install", context, Integer.valueOf(intValue));
                    }
                    if (!cloneSettings22.getBoolean("passwordProtectApp", false).booleanValue() || cloneSettings22.getBoolean("stealthMode", false).booleanValue()) {
                        new PasswordProtectApp().install();
                    }
                    str5 = str;
                    string = cloneSettings22.getString("rotationLock", str5);
                    if (!"LANDSCAPE".equals(string) || "PORTRAIT".equals(string)) {
                        defaultProvider2.invokeSecondaryStatic("RotationLock", "install", context, string);
                    }
                    if (cloneSettings22.getBoolean("forceRotationLockUsingOverlay", false).booleanValue() || !("LANDSCAPE".equals(string) || "PORTRAIT".equals(string))) {
                        str6 = str5;
                        str7 = str4;
                    } else {
                        Object ni3 = ni(context, "com.applisto.appcloner.classes.secondary.ForceRotationLockUsingOverlay");
                        str7 = str4;
                        str6 = str5;
                        ni3.getClass().getMethod(str7, Context.class, String.class).invoke(ni3, context, string);
                    }
                    if (!cloneSettings22.getBoolean("floatingApp", false).booleanValue()) {
                        num = 0;
                        z3 = booleanValue18;
                        defaultProvider2.invokeSecondaryInstance("floating.FloatingApp", "install", context, cloneSettings22.getInteger("statusBarColor", null), Float.valueOf(cloneSettings22.getFloat("densityDpiScale", Float.valueOf(1.0f)).floatValue()), Float.valueOf(cloneSettings22.getFloat("floatingAppOpacity", Float.valueOf(1.0f)).floatValue()), Boolean.valueOf(cloneSettings22.getBoolean("floatingAppNotchMargin", false).booleanValue()), stringsProperties22);
                    } else {
                        num = 0;
                        z3 = booleanValue18;
                    }
                    if (cloneSettings22.getBoolean("multiWindowNoPause", false).booleanValue()) {
                        Object ni4 = ni(context, "com.applisto.appcloner.classes.secondary.MultiWindowNoPause");
                        ni4.getClass().getMethod(str7, Context.class).invoke(ni4, context);
                    }
                    booleanValue = cloneSettings22.getBoolean("immersiveMode", false).booleanValue();
                    boolean booleanValue202 = cloneSettings22.getBoolean("immersiveModeIgnoreNotch", false).booleanValue();
                    boolean booleanValue212 = cloneSettings22.getBoolean("transparentNavigationBar", false).booleanValue();
                    booleanValue2 = cloneSettings22.getBoolean("preventImmersiveMode", false).booleanValue();
                    if (!booleanValue || booleanValue2) {
                        defaultProvider2.invokeSecondaryInstance("ImmersiveMode", "install", Boolean.valueOf(booleanValue), Boolean.valueOf(booleanValue202), Boolean.valueOf(booleanValue212), Boolean.valueOf(booleanValue2));
                    }
                    string2 = cloneSettings22.getString("taskerStartTaskName", null);
                    string3 = cloneSettings22.getString("taskerStopTaskName", null);
                    if (TextUtils.isEmpty(string2) || !TextUtils.isEmpty(string3)) {
                        Object ni5 = ni(context, "com.applisto.appcloner.classes.secondary.ExecuteTaskerTasks");
                        ni5.getClass().getMethod(str7, Context.class, String.class, String.class).invoke(ni5, context, string2, string3);
                    }
                    if (cloneSettings22.getBoolean("makeDebuggable", false).booleanValue()) {
                        boolean booleanValue24 = cloneSettings22.getBoolean("waitForDebugger", false).booleanValue();
                        Object ni6 = ni(context, "com.applisto.appcloner.classes.secondary.MakeDebuggable");
                        ni6.getClass().getMethod(str7, Context.class, Boolean.TYPE).invoke(ni6, context, Boolean.valueOf(booleanValue24));
                    }
                    booleanValue3 = cloneSettings22.getBoolean("privateAccounts", false).booleanValue();
                    if ("com.insightly.droid".equals(originalPackageName)) {
                        booleanValue3 = true;
                    }
                    if (booleanValue3) {
                        Object ni7 = ni(context, "com.applisto.appcloner.classes.secondary.PrivateAccounts");
                        ni7.getClass().getMethod(str7, Context.class).invoke(ni7, context);
                    }
                    if (cloneSettings22.getBoolean("disableShareActions", false).booleanValue()) {
                        defaultProvider2.invokeSecondaryInstance("DisableShareActions", "install", context, stringsProperties22);
                    }
                    if (cloneSettings22.getBoolean("disableWakeLocks", false).booleanValue()) {
                        Object ni8 = ni(context, "com.applisto.appcloner.classes.secondary.DisableWakeLocks");
                        ni8.getClass().getMethod(str7, Context.class).invoke(ni8, context);
                    }
                    if (cloneSettings22.getBoolean("disableContactsAccess", false).booleanValue()) {
                        Object ni9 = ni(context, "com.applisto.appcloner.classes.secondary.DisableContactsAccess");
                        ni9.getClass().getMethod(str7, Context.class).invoke(ni9, context);
                    }
                    if (cloneSettings22.getBoolean("disableCalendarAccess", false).booleanValue()) {
                        Object ni10 = ni(context, "com.applisto.appcloner.classes.secondary.DisableCalendarAccess");
                        ni10.getClass().getMethod(str7, Context.class).invoke(ni10, context);
                    }
                    if (cloneSettings22.getBoolean("disableCallLogSmsAccess", false).booleanValue()) {
                        Object ni11 = ni(context, "com.applisto.appcloner.classes.secondary.DisableCallLogAccess");
                        ni11.getClass().getMethod(str7, Context.class).invoke(ni11, context);
                        Object ni12 = ni(context, "com.applisto.appcloner.classes.secondary.DisableSmsAccess");
                        ni12.getClass().getMethod(str7, Context.class).invoke(ni12, context);
                    }
                    stringList = cloneSettings22.getStringList("deviceLockDeviceIdentifiers");
                    if (stringList == null && !stringList.isEmpty()) {
                        defaultProvider2.invokeSecondaryInstance("DeviceLock", "install", stringList, stringsProperties22);
                    } else {
                        defaultProvider2.invokeSecondaryInstance("ForceDeviceLock", "install", context, stringsProperties22);
                    }
                    if (z2) {
                        i2 = 0;
                    } else {
                        SharedPreferences appClonerClassesPreferences = Utils.getAppClonerClassesPreferences(context);
                        int i9 = appClonerClassesPreferences.getInt(PREF_KEY_IDENTITY_SEED, (int) appClonerClassesPreferences.getLong(CloneSettings.PREF_KEY_CLONE_TIMESTAMP, 0L));
                        defaultProvider2.invokeSecondaryStatic("NewIdentity", "install", context, stringsProperties22);
                        i2 = i9;
                    }
                    booleanValue4 = cloneSettings22.getBoolean("changeAndroidId", false).booleanValue();
                    num2 = num;
                    int intValue82 = cloneSettings22.getInteger("changeAndroidIdSeed", num2).intValue();
                    boolean booleanValue222 = cloneSettings22.getBoolean("randomAndroidId", false).booleanValue();
                    String string302 = cloneSettings22.getString("customAndroidId", null);
                    if (z2) {
                        intValue82 = i2;
                        booleanValue222 = false;
                        string302 = null;
                        booleanValue4 = true;
                    }
                    if (booleanValue4) {
                        str8 = originalPackageName;
                    } else {
                        str8 = originalPackageName;
                        defaultProvider2.invokeSecondaryStatic("ChangeAndroidId", "install", context, Integer.valueOf(intValue82), Boolean.valueOf(booleanValue222), string302);
                    }
                    str9 = str2;
                    string4 = cloneSettings22.getString("changeImei", str9);
                    String string312 = cloneSettings22.getString("changeImsi", str9);
                    if (z2) {
                        string4 = "RANDOM";
                        string312 = "RANDOM";
                    }
                    if (str9.equals(string4) && str9.equals(string312) && !z3) {
                        num3 = num2;
                        properties = stringsProperties22;
                        bool = false;
                        str10 = str3;
                        str11 = str7;
                        string5 = cloneSettings22.getString("changeWifiMacAddress", str9);
                        if (z2) {
                            string5 = "RANDOM";
                        }
                        if (str9.equals(string5)) {
                            defaultProvider2.invokeSecondaryInstance("ChangeWifiMacAddress", "install", context, string5, cloneSettings22.getString("customWifiMacAddress", str10), Integer.valueOf(i2));
                            bool2 = bool;
                            boolean booleanValue25 = cloneSettings22.getBoolean("hideWifiInfo", bool2).booleanValue();
                            if (z2) {
                                booleanValue25 = true;
                            }
                            if (booleanValue25) {
                                defaultProvider2.invokeSecondaryInstance("HideWifiInfo", "install", context);
                            }
                        } else {
                            bool2 = bool;
                        }
                        string6 = cloneSettings22.getString("changeBluetoothMacAddress", str9);
                        if (z2) {
                            string6 = "RANDOM";
                        }
                        if (!str9.equals(string6)) {
                            defaultProvider2.invokeSecondaryInstance("ChangeBluetoothMacAddress", "install", context, string6, cloneSettings22.getString("customBluetoothMacAddress", str10), Integer.valueOf(i2));
                        }
                        d = cloneSettings22.getDouble("spoofLocationLatitude", null);
                        d2 = cloneSettings22.getDouble("spoofLocationLongitude", null);
                        if (d != null && d2 != null) {
                            defaultProvider2.invokeSecondaryInstance("SpoofLocation", "install", context, d, d2, Integer.valueOf(cloneSettings22.getInteger("spoofLocationInterval", 10).intValue()));
                            if (cloneSettings22.getBoolean("gpsJoystick", bool2).booleanValue()) {
                                str12 = str10;
                                defaultProvider2.invokeSecondaryInstance("GpsJoystick", "install", context, cloneSettings22.getString("gpsJoystickHorizontalAlignment", "LEFT"), cloneSettings22.getString("gpsJoystickVerticalAlignment", "BOTTOM"), cloneSettings22.getString("gpsJoystickSize", "MEDIUM"), Integer.valueOf(cloneSettings22.getInteger("gpsJoystickColor", -7829368).intValue()), Float.valueOf(cloneSettings22.getFloat("gpsJoystickOpacity", Float.valueOf(1.0f)).floatValue()), Float.valueOf(cloneSettings22.getFloat("gpsJoystickMaxSpeed", Float.valueOf(1.5f)).floatValue()), properties);
                                string7 = cloneSettings22.getString("androidVersionSdk", null);
                                String string322 = cloneSettings22.getString("androidVersionSdkInt", null);
                                String string332 = cloneSettings22.getString("androidVersionPreviewSdkInt", null);
                                String string342 = cloneSettings22.getString("androidVersionCodename", null);
                                String string352 = cloneSettings22.getString("androidVersionIncremental", null);
                                String string362 = cloneSettings22.getString("androidVersionRelease", null);
                                String string372 = cloneSettings22.getString("androidVersionBaseOs", null);
                                String string382 = cloneSettings22.getString("androidVersionSecurityPatch", null);
                                Log.i(TAG, "onCreate; androidVersionSdk: " + string7 + ", androidVersionSdkInt: " + string322 + ", androidVersionPreviewSdkInt: " + string332 + ", androidVersionCodename: " + string342 + ", androidVersionIncremental: " + string352 + ", androidVersionRelease: " + string362 + ", androidVersionBaseOs: " + string372 + ", androidVersionSecurityPatch: " + string382);
                                if (TextUtils.isEmpty(string7) && TextUtils.isEmpty(string322) && TextUtils.isEmpty(string332) && TextUtils.isEmpty(string342) && TextUtils.isEmpty(string352) && TextUtils.isEmpty(string362) && TextUtils.isEmpty(string372) && TextUtils.isEmpty(string382)) {
                                    i3 = i2;
                                    str13 = str11;
                                    string8 = cloneSettings22.getString("buildPropsManufacturer", null);
                                    String string392 = cloneSettings22.getString("buildPropsBrand", null);
                                    String string402 = cloneSettings22.getString("buildPropsModel", null);
                                    String string412 = cloneSettings22.getString("buildPropsProduct", null);
                                    String string422 = cloneSettings22.getString("buildPropsDevice", null);
                                    String string432 = cloneSettings22.getString("buildPropsBoard", null);
                                    String string442 = cloneSettings22.getString("buildPropsHardware", null);
                                    String string452 = cloneSettings22.getString("buildPropsBootloader", null);
                                    String string462 = cloneSettings22.getString("buildPropsFingerprint", null);
                                    if (cloneSettings22.getBoolean("randomizeBuildProps", bool2).booleanValue()) {
                                        i4 = i3;
                                        string8 = Utils.getPackageSeededRandomString(context, "buildPropsManufacturer", i4);
                                        string392 = Utils.getPackageSeededRandomString(context, "buildPropsBrand", i4);
                                        string402 = Utils.getPackageSeededRandomString(context, "buildPropsModel", i4);
                                        string412 = Utils.getPackageSeededRandomString(context, "buildPropsProduct", i4);
                                        string422 = Utils.getPackageSeededRandomString(context, "buildPropsDevice", i4);
                                        string432 = Utils.getPackageSeededRandomString(context, "buildPropsBoard", i4);
                                        string442 = Utils.getPackageSeededRandomString(context, "buildPropsHardware", i4);
                                        string452 = Utils.getPackageSeededRandomString(context, "buildPropsBootloader", i4);
                                        string462 = Utils.getPackageSeededRandomString(context, "buildPropsFingerprint", i4);
                                    } else {
                                        i4 = i3;
                                    }
                                    String str402 = TAG;
                                    int i82 = i4;
                                    StringBuilder sb42 = new StringBuilder();
                                    String str412 = str13;
                                    sb42.append("onCreate; buildPropsManufacturer: ");
                                    sb42.append(string8);
                                    sb42.append(", buildPropsBrand: ");
                                    sb42.append(string392);
                                    sb42.append(", buildPropsModel: ");
                                    sb42.append(string402);
                                    sb42.append(", buildPropsProduct: ");
                                    sb42.append(string412);
                                    sb42.append(", buildPropsDevice: ");
                                    sb42.append(string422);
                                    sb42.append(", buildPropsBoard: ");
                                    sb42.append(string432);
                                    sb42.append(", buildPropsHardware: ");
                                    sb42.append(string442);
                                    sb42.append(", buildPropsBootloader: ");
                                    sb42.append(string452);
                                    sb42.append(", buildPropsFingerprint: ");
                                    sb42.append(string462);
                                    Log.i(str402, sb42.toString());
                                    if (TextUtils.isEmpty(string8) && TextUtils.isEmpty(string392) && TextUtils.isEmpty(string402) && TextUtils.isEmpty(string412) && TextUtils.isEmpty(string422) && TextUtils.isEmpty(string432) && TextUtils.isEmpty(string442) && TextUtils.isEmpty(string452) && TextUtils.isEmpty(string462)) {
                                        defaultProvider2 = this;
                                        str14 = "install";
                                        if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                                            String string55 = cloneSettings22.getString("httpProxyHost", null);
                                            num4 = num3;
                                            int intValue17 = cloneSettings22.getInteger("httpProxyPort", num4).intValue();
                                            if (!TextUtils.isEmpty(string55) && intValue17 != 0) {
                                                defaultProvider2.invokeSecondaryInstance("HttpProxy", str14, context, string55, Integer.valueOf(intValue17), cloneSettings22.getString("httpProxyUsername", null), cloneSettings22.getString("httpProxyPassword", null));
                                            }
                                        } else {
                                            num4 = num3;
                                        }
                                        if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                                            String string56 = cloneSettings22.getString("socksProxyHost", null);
                                            int intValue18 = cloneSettings22.getInteger("socksProxyPort", num4).intValue();
                                            if (!TextUtils.isEmpty(string56) && intValue18 != 0) {
                                                defaultProvider2.invokeSecondaryInstance("SocksProxy", str14, context, string56, Integer.valueOf(intValue18), cloneSettings22.getString("socksProxyUsername", null), cloneSettings22.getString("socksProxyPassword", null));
                                            }
                                        }
                                        if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                                            defaultProvider2.invokeSecondaryInstance("ShowIpInfo", str14, context, properties);
                                        }
                                        if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                                            defaultProvider2.invokeSecondaryStatic("DisableAllNetworking", str14, context, Integer.valueOf(cloneSettings22.getInteger("disableAllNetworkingDisableDelay", num4).intValue()), Integer.valueOf(cloneSettings22.getInteger("disableAllNetworkingEnableDelay", num4).intValue()), properties);
                                        }
                                        if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                                            Object ni13 = ni(context, "com.applisto.appcloner.classes.secondary.DisableBackgroundNetworking");
                                            str15 = str412;
                                            ni13.getClass().getMethod(str15, Context.class).invoke(ni13, context);
                                        } else {
                                            str15 = str412;
                                        }
                                        if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                                            defaultProvider2.invokeSecondaryInstance("DisableNetworkingWhenScreenOff", str14, context, properties);
                                        }
                                        if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                                            defaultProvider2.invokeSecondaryInstance("DisableNetworkingWithoutVpn", str14, context, properties);
                                        }
                                        if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                                            defaultProvider2.invokeSecondaryInstance("DisableMobileData", str14, context, properties);
                                        }
                                        booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                                        str16 = str8;
                                        if ("com.contextlogic.wish".equals(str16)) {
                                            booleanValue5 = true;
                                        }
                                        if (booleanValue5) {
                                            Object ni14 = ni(context, "com.applisto.appcloner.classes.secondary.DisableInAppSearch");
                                            ni14.getClass().getMethod(str15, Context.class).invoke(ni14, context);
                                        }
                                        if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                                            Object ni15 = ni(context, "com.applisto.appcloner.classes.secondary.NullSearchManager");
                                            ni15.getClass().getMethod(str15, Context.class).invoke(ni15, context);
                                        }
                                        if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                                            defaultProvider2.invokeSecondaryStatic("ActivityTransitions", str14, context);
                                        }
                                        str17 = str6;
                                        string9 = cloneSettings22.getString("longPressBackAction", str17);
                                        if (!str17.equals(string9)) {
                                            defaultProvider2.invokeSecondaryInstance("LongPressBackAction", str14, string9, cloneSettings22.getString("longPressBackActionParam", null));
                                        }
                                        if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                                            defaultProvider2.invokeSecondaryInstance("LongPressBackAction", str14, "OPEN_OPTIONS_MENU", null);
                                        }
                                        string10 = cloneSettings22.getString("shakeAction", str17);
                                        if (str17.equals(string10)) {
                                            str18 = str9;
                                        } else {
                                            str18 = str9;
                                            defaultProvider2.invokeSecondaryInstance("ShakeAction", str14, context, string10, cloneSettings22.getString("shakeActionParam", null), cloneSettings22.getString("shakeSensitivity", "NORMAL"));
                                        }
                                        if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                                            defaultProvider2.invokeSecondaryInstance("BackAlwaysFinishes", str14, new Object[0]);
                                        }
                                        string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                                        String string472 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                                        if (str17.equals(string11) && str17.equals(string472)) {
                                            num5 = num4;
                                            string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                                            String string482 = cloneSettings22.getString("volumeDownKeyAction", str17);
                                            String string492 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                                            if (str17.equals(string12) && str17.equals(string482) && str17.equals(string492)) {
                                                str19 = str17;
                                                str20 = str15;
                                                defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                                                LoadLibraryWorkaround.install(context, str16);
                                                cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                                                if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                                                    defaultProvider2.invokeSecondaryStatic("GooglePlayServicesWorkaround", str14, context);
                                                }
                                                if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                                                    Object ni16 = ni(context, "com.applisto.appcloner.classes.secondary.HideGooglePlayServices");
                                                    str21 = str20;
                                                    ni16.getClass().getMethod(str21, Context.class).invoke(ni16, context);
                                                } else {
                                                    str21 = str20;
                                                }
                                                string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                                                if (!TextUtils.isEmpty(string13)) {
                                                    defaultProvider2.invokeSecondaryInstance("WelcomeMessage", str14, context, cloneSettings22.getString("welcomeMessageMode", "DIALOG"), Boolean.valueOf(cloneSettings22.getBoolean("welcomeMessageShowDialogAlways", bool2).booleanValue()), string13, Integer.valueOf(cloneSettings22.getInteger("welcomeMessageDelay", 2000).intValue()), properties);
                                                }
                                                booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                                                boolean booleanValue232 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                                                if (booleanValue6) {
                                                    defaultProvider2.invokeSecondaryInstance("IncognitoMode", str14, context, Boolean.valueOf(booleanValue232), properties);
                                                }
                                                str22 = str19;
                                                string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                                                if (!str22.equals(string14)) {
                                                    Object ni17 = ni(context, "com.applisto.appcloner.classes.secondary.VolumeRockerLocker");
                                                    ni17.getClass().getMethod(str21, Context.class, String.class).invoke(ni17, context, string14);
                                                }
                                                if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                                                    String string57 = cloneSettings22.getString("floatingBackButtonSize", "MEDIUM");
                                                    String string58 = cloneSettings22.getString("floatingBackButtonLongPressAction", str22);
                                                    boolean booleanValue26 = cloneSettings22.getBoolean("floatingBackButtonDoubleBackTap", bool2).booleanValue();
                                                    boolean booleanValue27 = cloneSettings22.getBoolean("floatingBackButtonPositionPerScreen", bool2).booleanValue();
                                                    z5 = booleanValue232;
                                                    z4 = booleanValue6;
                                                    int intValue19 = cloneSettings22.getInteger("floatingBackButtonColor", -7829368).intValue();
                                                    str24 = string14;
                                                    float floatValue5 = cloneSettings22.getFloat("floatingBackButtonOpacity", Float.valueOf(0.5f)).floatValue();
                                                    Object ni18 = ni(context, "com.applisto.appcloner.classes.secondary.FloatingBackButton");
                                                    str25 = str22;
                                                    str23 = str14;
                                                    ni18.getClass().getMethod(str21, Context.class, String.class, String.class, Boolean.TYPE, Boolean.TYPE, Integer.TYPE, Float.TYPE).invoke(ni18, context, string57, string58, Boolean.valueOf(booleanValue26), Boolean.valueOf(booleanValue27), Integer.valueOf(intValue19), Float.valueOf(floatValue5));
                                                } else {
                                                    z4 = booleanValue6;
                                                    str23 = str14;
                                                    z5 = booleanValue232;
                                                    str24 = string14;
                                                    str25 = str22;
                                                }
                                                if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                                                    String string59 = cloneSettings22.getString("joystickPointerSize", "MEDIUM");
                                                    int intValue20 = cloneSettings22.getInteger("joystickPointerColor", -7829368).intValue();
                                                    float floatValue6 = cloneSettings22.getFloat("joystickPointerOpacity", Float.valueOf(1.0f)).floatValue();
                                                    Integer num9 = num5;
                                                    int intValue21 = cloneSettings22.getInteger("joystickPointerToggleKeyCode", num9).intValue();
                                                    boolean booleanValue28 = cloneSettings22.getBoolean("joystickPointerToggleLongPress", bool2).booleanValue();
                                                    boolean booleanValue29 = cloneSettings22.getBoolean("joystickPointerShowInitially", true).booleanValue();
                                                    Object ni19 = ni(context, "com.applisto.appcloner.classes.secondary.JoystickPointer");
                                                    num5 = num9;
                                                    ni19.getClass().getMethod(str21, Context.class, String.class, Integer.TYPE, Float.TYPE, Integer.TYPE, Boolean.TYPE, Boolean.TYPE).invoke(ni19, context, string59, Integer.valueOf(intValue20), Float.valueOf(floatValue6), Integer.valueOf(intValue21), Boolean.valueOf(booleanValue28), Boolean.valueOf(booleanValue29));
                                                }
                                                if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                                                    Object ni20 = ni(context, "com.applisto.appcloner.classes.secondary.ShowTouches");
                                                    ni20.getClass().getMethod(str21, Context.class).invoke(ni20, context);
                                                }
                                                if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                                                    defaultProvider = this;
                                                    str26 = str23;
                                                    try {
                                                        defaultProvider.invokeSecondaryStatic("LocalBroadcastsServices", str26, context, str16);
                                                    } catch (Throwable th7) {
                                                        th = th7;
                                                        Log.w(TAG, th);
                                                        Utils.closeAndroidPieApiCompatibilityDialog();
                                                        Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                                        return true;
                                                    }
                                                } else {
                                                    defaultProvider = this;
                                                    str26 = str23;
                                                }
                                                if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("LocalActivities", str26, context, str16);
                                                }
                                                if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("ShowAppInfoNotification", str26, context, properties);
                                                }
                                                if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("PictureInPictureNotification", str26, context, properties);
                                                }
                                                if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                                                    Object ni21 = ni(context, "com.applisto.appcloner.classes.secondary.HidePasswordCharacters");
                                                    ni21.getClass().getMethod(str21, Context.class).invoke(ni21, context);
                                                }
                                                if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("IncognitoKeyboard", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue() && cloneSettings22.getBoolean("debugUtils", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("DebugUtils", str26, context, Boolean.valueOf(cloneSettings22.getBoolean("autoStartProfiling", bool2).booleanValue()));
                                                }
                                                if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("NoBackgroundServices", str26, context, properties);
                                                }
                                                if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("DisableLogcatLogging", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("FlushLogcatBufferOnExit", str26, properties);
                                                }
                                                if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue() && z) {
                                                    defaultProvider.invokeSecondaryStatic("LogGetPackageNameHook", str26, new Object[0]);
                                                }
                                                integer = cloneSettings22.getInteger("statusBarColor", null);
                                                integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                                                if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                                                    integer2 = integer;
                                                }
                                                if (integer == null || integer2 != null) {
                                                    defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                                                }
                                                Integer integer42 = cloneSettings22.getInteger("toolbarColor", null);
                                                if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                                                    integer = integer42;
                                                }
                                                if (integer != null) {
                                                    defaultProvider.invokeSecondaryInstance("ToolbarColor", str26, integer);
                                                }
                                                if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("MuteOnStart", str26, properties);
                                                }
                                                if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("MuteWhileInForeground", str26, properties);
                                                }
                                                booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                                                booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                                                booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                                                if (!booleanValue7 || booleanValue8 || booleanValue9) {
                                                    defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                                                }
                                                if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("KeepScreenOn", str26, new Object[0]);
                                                }
                                                if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                                                    num6 = num5;
                                                    defaultProvider.invokeSecondaryInstance("ExitAppOnScreenOff", str26, Integer.valueOf(cloneSettings22.getInteger("exitAppOnScreenOffDelaySeconds", num6).intValue()));
                                                } else {
                                                    num6 = num5;
                                                }
                                                if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("RequestAllPermissions", str26, new Object[0]);
                                                }
                                                booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                                                booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                                                if (!booleanValue10 || booleanValue11) {
                                                    defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                                                }
                                                str27 = str18;
                                                string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                                                if (z2) {
                                                    string15 = "RANDOM";
                                                }
                                                bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                                                if (str27.equals(string15) || bool3 != null) {
                                                    defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i82), bool3);
                                                }
                                                if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                                                    try {
                                                        defaultProvider.invokeSecondaryInstance("ClearCacheWhenNotUsed", str26, Integer.valueOf(cloneSettings22.getInteger("clearCacheWhenNotUsedValue", 3).intValue()), TimeUnit.valueOf(cloneSettings22.getString("clearCacheWhenNotUsedTimeUnit", "DAYS")));
                                                    } catch (Exception e6) {
                                                        Log.w(TAG, e6);
                                                    }
                                                }
                                                Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                                                defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                                                defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                                                defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                                                if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue() || cloneSettings22.getBoolean("removeLauncherIconShortcuts", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("BringAppToFrontNotification", str26, context, properties);
                                                }
                                                str28 = str25;
                                                string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                                                String string502 = cloneSettings22.getString("penInsertedEventAction", str28);
                                                if (!"EXIT_APP".equals(string16) || "EXIT_APP".equals(string502)) {
                                                    PenEventReceiver.install();
                                                }
                                                string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                                                String string512 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                                                if (!"EXIT_APP".equals(string17) || "EXIT_APP".equals(string512)) {
                                                    PowerEventReceiver.install();
                                                }
                                                string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                                                String string522 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                                                if (str28.equals(string18) || !str28.equals(string522)) {
                                                    HeadphonesEventReceiver.install(context);
                                                }
                                                if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                                                    properties2 = properties;
                                                    new DisableCameras().install(properties2);
                                                } else {
                                                    properties2 = properties;
                                                }
                                                if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("MuteMic", str26, properties2);
                                                }
                                                if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("DisableAutoFill", str26, new Object[0]);
                                                }
                                                if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("DisablePermissionPrompts", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("RequestIgnoreBatteryOptimizations", str26, new Object[0]);
                                                }
                                                if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("TrustAllCertificates", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                                                    new FakeCalculator().install();
                                                }
                                                if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("HideNotch", str26, new Object[0]);
                                                }
                                                longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                                                longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                                                if (longValue == 0 || longValue2 != 0) {
                                                    defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                                                }
                                                if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("AccessibleDataDirectory", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                                                    new DataDirectoryFtpServer().install(properties2);
                                                }
                                                Utils.allowHiddenApiAccess();
                                                if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                                                    HostsBlocker.install(context, cloneSettings22.getBoolean("blockByDefault", bool2).booleanValue(), cloneSettings22.getString("socksProxyHost", null), cloneSettings22.getBoolean("hostsBlockerAllowAllOtherHosts", bool2).booleanValue(), properties2);
                                                }
                                                stringMap = cloneSettings22.getStringMap("mappedHosts");
                                                if (stringMap != null && !stringMap.isEmpty()) {
                                                    HostMapper.install(context, stringMap, cloneSettings22.getBoolean("hostMapperSilent", bool2).booleanValue(), cloneSettings22.getString("socksProxyHost", null), properties2);
                                                }
                                                stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                                                if (stringMap2 != null && !stringMap2.isEmpty()) {
                                                    defaultProvider.invokeSecondaryStatic("OverrideSharedPreferences", str26, context, stringMap2);
                                                }
                                                if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("EnableTvVersion", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("HideRoot", str26, new Object[0]);
                                                }
                                                stringList2 = cloneSettings22.getStringList("hideOtherApps");
                                                if (stringList2 != null && !stringList2.isEmpty()) {
                                                    defaultProvider.invokeSecondaryStatic("HideOtherApps", str26, stringList2);
                                                }
                                                if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("DisablePhotoMediaAccess", str26, new Object[0]);
                                                }
                                                if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                                                    FileAccessMonitor.install();
                                                }
                                                bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                                                if (bool4 != null) {
                                                    defaultProvider.invokeSecondaryInstance("DismissableDialogs", str26, context, bool4);
                                                }
                                                string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                                                if (!str27.equals(string19)) {
                                                    defaultProvider.invokeSecondaryInstance("VolumeControlIndicator", str26, context, string19, Integer.valueOf(cloneSettings22.getInteger("volumeControlIndicatorStep", 1).intValue()), str24, properties2);
                                                }
                                                mapList = cloneSettings22.getMapList("screenTextReplacements");
                                                if (mapList != null && mapList.size() > 0) {
                                                    defaultProvider.invokeSecondaryInstance("ReplaceTextOnScreen", str26, mapList);
                                                }
                                                mapList2 = cloneSettings22.getMapList("viewModifications");
                                                if (mapList2 != null && mapList2.size() > 0) {
                                                    defaultProvider.invokeSecondaryInstance("ModifyViews", str26, mapList2);
                                                }
                                                if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("DisableNestedScrolling", str26, new Object[0]);
                                                }
                                                final String string532 = cloneSettings22.getString("sendBroadcastOnStart", null);
                                                if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                                                    Thread thread = new Thread("ContextClassLoaderThread") {
                                                        @Override
                                                        public void run() {
                                                            Log.i(DefaultProvider.TAG, "run; ContextClassLoaderThread started");
                                                            if (!TextUtils.isEmpty(string532)) {
                                                                DefaultProvider.this.sendBroadcastOnStart(context, string532);
                                                            }
                                                            while (true) {
                                                                try {
                                                                    Thread.sleep(3600000L);
                                                                } catch (InterruptedException unused4) {
                                                                }
                                                            }
                                                        }
                                                    };
                                                    thread.setContextClassLoader(getClass().getClassLoader());
                                                    thread.start();
                                                } else if (!TextUtils.isEmpty(string532)) {
                                                    defaultProvider.sendBroadcastOnStart(context, string532);
                                                }
                                                intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                                                int intValue92 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                                                int intValue102 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                                                if (intValue2 != 0 || intValue92 == 0 || intValue102 == 0) {
                                                    str29 = str16;
                                                } else {
                                                    str29 = str16;
                                                    defaultProvider.invokeSecondaryStatic("FakeDate", str26, context, Integer.valueOf(intValue2), Integer.valueOf(intValue92), Integer.valueOf(intValue102));
                                                }
                                                if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("DisableChromecastButton", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("IgnoreCrashes", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                                                    FakeCamera.install(context, properties2);
                                                }
                                                if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                                                    defaultProvider.invokeSecondaryStatic("AudioPlaybackCapture", str26, context);
                                                }
                                                string20 = cloneSettings22.getString("keyboardAdjust", str27);
                                                if (!str27.equals(string20)) {
                                                    defaultProvider.invokeSecondaryInstance("KeyboardAdjust", str26, string20);
                                                }
                                                string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                                                if (!TextUtils.isEmpty(string21)) {
                                                    defaultProvider.invokeSecondaryInstance("InAppFloatingKeyboard", str26, context, string21);
                                                }
                                                if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("DisableHapticFeedback", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("HideDeveloperMode", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("HideVpnConnection", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryStatic("NoKill", str26, context);
                                                }
                                                if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("ShowOnSecondaryDisplay", str26, context, cloneSettings22.getStringList("showOnSecondaryDisplayActivitiesNames"));
                                                }
                                                if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("HideScreenMirroring", str26, context);
                                                }
                                                intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                                                if (intValue3 > 0) {
                                                    defaultProvider.invokeSecondaryInstance("PalmRejection", str26, context, Integer.valueOf(intValue3));
                                                }
                                                intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                                                if (intValue4 > 0) {
                                                    defaultProvider.invokeSecondaryInstance("FakeBatteryLevel", str26, context, Integer.valueOf(intValue4), Boolean.valueOf(cloneSettings22.getBoolean("hidePowerSavingMode", bool2).booleanValue()));
                                                }
                                                if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("StartSound", str26, new Object[0]);
                                                }
                                                String str422 = str12;
                                                string22 = cloneSettings22.getString("muteForTextOnScreen", str422);
                                                if (!TextUtils.isEmpty(string22)) {
                                                    defaultProvider.invokeSecondaryInstance("MuteForTextOnScreen", str26, context, string22, properties2);
                                                }
                                                stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                                                if (stringList3 != null && !stringList3.isEmpty()) {
                                                    defaultProvider.invokeSecondaryInstance("DeleteFilesDirectoriesOnExit", str26, stringList3);
                                                }
                                                if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("FlashlightWhileAppOpen", str26, new Object[0]);
                                                }
                                                if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                                                    defaultProvider.invokeSecondaryInstance("PopupBlocker", str26, context, properties2);
                                                }
                                                booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                                                String string542 = cloneSettings22.getString("toastDuration", str27);
                                                if (!booleanValue12 && str27.equals(string542)) {
                                                    str30 = str21;
                                                    intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                                    if (intValue5 > 0) {
                                                        str32 = str29;
                                                        str31 = str30;
                                                        num7 = num6;
                                                        properties3 = properties2;
                                                        z6 = z;
                                                        c = 7;
                                                        new ScreenSaver().install(context, intValue5, cloneSettings22.getBoolean("screenSaverExitApp", bool2).booleanValue(), cloneSettings22.getBoolean("screenSaverMuteVolume", bool2).booleanValue(), properties2);
                                                    } else {
                                                        num7 = num6;
                                                        properties3 = properties2;
                                                        z6 = z;
                                                        str31 = str30;
                                                        str32 = str29;
                                                        c = 7;
                                                    }
                                                    if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                                        properties4 = properties3;
                                                        new DatabaseEditor().install(properties4);
                                                    } else {
                                                        properties4 = properties3;
                                                    }
                                                    if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                                        str33 = str32;
                                                        str34 = str422;
                                                        i5 = 3;
                                                        defaultProvider.invokeSecondaryInstance("FpsMonitor", str26, context, cloneSettings22.getString("fpsMonitorHorizontalAlignment", "RIGHT"), cloneSettings22.getString("fpsMonitorVerticalAlignment", "BOTTOM"), cloneSettings22.getString("fpsMonitorSize", "MEDIUM"), Integer.valueOf(cloneSettings22.getInteger("fpsMonitorColor", -7829368).intValue()), Float.valueOf(cloneSettings22.getFloat("fpsMonitorOpacity", Float.valueOf(1.0f)).floatValue()));
                                                    } else {
                                                        str33 = str32;
                                                        str34 = str422;
                                                        i5 = 3;
                                                    }
                                                    Integer num82 = num7;
                                                    intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num82).intValue();
                                                    if (intValue6 > 0) {
                                                        defaultProvider.invokeSecondaryInstance("SneezeToExit", str26, context, Integer.valueOf(intValue6));
                                                    }
                                                    string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                                    if (!TextUtils.isEmpty(string23)) {
                                                        defaultProvider.invokeSecondaryInstance("FakeTimeZone", str26, context, string23);
                                                    }
                                                    if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryInstance("MakeWebViewsDebuggable", str26, context);
                                                    }
                                                    if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryStatic("HideMockLocation", str26, context);
                                                    }
                                                    if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryStatic("DisableAudioFocus", str26, context);
                                                    }
                                                    string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                                    if (!"DISABLED".equals(string24)) {
                                                        boolean equals = "START_IMMEDIATELY".equals(string24);
                                                        Object[] objArr3 = new Object[i5];
                                                        objArr3[0] = context;
                                                        objArr3[1] = Boolean.valueOf(equals);
                                                        objArr3[2] = properties4;
                                                        defaultProvider.invokeSecondaryInstance("KioskMode", str26, objArr3);
                                                    }
                                                    booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                                    booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                                    if (!booleanValue13 || booleanValue14) {
                                                        defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                                    }
                                                    if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryInstance("SwipeToGoBack", str26, context, cloneSettings22.getString("swipeToGoBackDirection", "RIGHT"), cloneSettings22.getString("swipeToGoBackBorder", null), Boolean.valueOf(cloneSettings22.getBoolean("swipeToGoBackDoubleBack", bool2).booleanValue()));
                                                    }
                                                    if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                                        String replace = context.getPackageName().replace(ClassUtils.PACKAGE_SEPARATOR_CHAR, '_');
                                                        String string60 = cloneSettings22.getString("inAppLiveChatPrivateRoomName", null);
                                                        if (!TextUtils.isEmpty(string60)) {
                                                            replace = replace + "__" + string60;
                                                        }
                                                        defaultProvider.invokeSecondaryInstance("InAppLiveChat", str26, context, replace, null, Float.valueOf(cloneSettings22.getFloat("inAppLiveChatOpacity", Float.valueOf(1.0f)).floatValue()), properties4);
                                                    }
                                                    if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryInstance("AppClonerBranding", str26, new Object[0]);
                                                    }
                                                    if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryInstance("LongPressToRevealPassword", str26, new Object[0]);
                                                    }
                                                    if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryInstance("InvertColorsDarkMode", str26, context, Boolean.valueOf(cloneSettings22.getBoolean("invertColorsDarkModeExcludeWebViews", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("invertColorsDarkModeSchedule", bool2).booleanValue()), cloneSettings22.getString("invertColorsDarkModeStartTime", "21:00"), cloneSettings22.getString("invertColorsDarkModeEndTime", "07:00"));
                                                    }
                                                    if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryInstance("InvertToasts", str26, context);
                                                    }
                                                    floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                                    if (floatValue < 1.0f) {
                                                        defaultProvider.invokeSecondaryInstance("ToastOpacity", str26, context, Float.valueOf(floatValue));
                                                    }
                                                    stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                                    if (stringList4 != null && !stringList4.isEmpty()) {
                                                        defaultProvider.invokeSecondaryInstance("SkipDialogs", str26, context, stringList4);
                                                    }
                                                    if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryInstance("DisableFullscreenEditing", str26, new Object[0]);
                                                    }
                                                    string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                                    if (z2) {
                                                        string25 = "RANDOM";
                                                    }
                                                    if (str27.equals(string25)) {
                                                        str35 = str34;
                                                    } else {
                                                        str35 = str34;
                                                        defaultProvider.invokeSecondaryStatic("ChangeGoogleAdvertisingId", str26, context, string25, cloneSettings22.getString("customGoogleAdvertisingId", str35), Integer.valueOf(i82));
                                                    }
                                                    string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                                    if (z2) {
                                                        string26 = "RANDOM";
                                                    }
                                                    if (!str27.equals(string26)) {
                                                        defaultProvider.invokeSecondaryStatic("ChangeGoogleServiceFrameworkId", str26, context, string26, cloneSettings22.getString("customGoogleServiceFrameworkId", str35), Integer.valueOf(i82));
                                                    }
                                                    string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                                    if (!str27.equals(string27)) {
                                                        Object[] objArr4 = new Object[2];
                                                        objArr4[0] = context;
                                                        objArr4[1] = "LOCAL_INTERFACE".equals(string27) ? "127.0.0.1" : "0.0.0.0";
                                                        defaultProvider.invokeSecondaryStatic("OverrideBindAddress", str26, objArr4);
                                                    }
                                                    if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                                        defaultProvider.invokeSecondaryInstance("EnableDisableNetworkingNotification", str26, context, properties4);
                                                    }
                                                    forObject = cloneSettings22.forObject("addPadding");
                                                    if (forObject == null && forObject.getBoolean("enabled", bool2).booleanValue()) {
                                                        str36 = str27;
                                                        defaultProvider.invokeSecondaryInstance("AddPadding", str26, context, Integer.valueOf(forObject.getInteger("leftPadding", num82).intValue()), Integer.valueOf(forObject.getInteger("topPadding", num82).intValue()), Integer.valueOf(forObject.getInteger("rightPadding", num82).intValue()), Integer.valueOf(forObject.getInteger("bottomPadding", num82).intValue()), Boolean.valueOf(forObject.getBoolean("inversePadding", bool2).booleanValue()));
                                                    } else {
                                                        str36 = str27;
                                                    }
                                                    booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                                    floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                                    if (!booleanValue15 || floatValue2 != 1.0f) {
                                                        defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                                    }
                                                    stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                                    if (stringMap3 != null && !stringMap3.isEmpty()) {
                                                        defaultProvider.invokeSecondaryStatic("KeyMapper", str26, context, stringMap3);
                                                    }
                                                    intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num82).intValue();
                                                    int intValue112 = cloneSettings22.getInteger("colorFilterContrast", num82).intValue();
                                                    int intValue122 = cloneSettings22.getInteger("colorFilterSaturation", num82).intValue();
                                                    int intValue132 = cloneSettings22.getInteger("colorFilterHue", num82).intValue();
                                                    int intValue142 = cloneSettings22.getInteger("colorFilterRed", num82).intValue();
                                                    int intValue152 = cloneSettings22.getInteger("colorFilterGreen", num82).intValue();
                                                    int intValue162 = cloneSettings22.getInteger("colorFilterBlue", num82).intValue();
                                                    Integer integer52 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                                    if (intValue7 == 0 && intValue112 == 0 && intValue122 == 0 && intValue132 == 0 && intValue142 == 0 && intValue152 == 0 && intValue162 == 0 && integer52 == null) {
                                                        properties5 = properties4;
                                                        if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                                            defaultProvider.invokeSecondaryInstance("SelectAllOnFocus", str26, new Object[0]);
                                                        }
                                                        if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                                            defaultProvider.invokeSecondaryStatic("PackageNameCheckWorkaround", str26, context, str33);
                                                        }
                                                        if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                                            new NotificationDots().install();
                                                        }
                                                        if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                                            defaultProvider.invokeSecondaryInstance("ZoomableImageViews", str26, context, Float.valueOf(cloneSettings22.getFloat("zoomableImageViewsMaxScale", Float.valueOf(3.0f)).floatValue()));
                                                        }
                                                        forObject2 = cloneSettings22.forObject("blurImageViews");
                                                        if (forObject2 != null) {
                                                            defaultProvider.invokeSecondaryInstance("BlurImageViews", str26, context, forObject2.getString("strength", "LOW"), forObject2.getString("mode", "TAP"));
                                                        }
                                                        if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                                            defaultProvider.invokeSecondaryInstance("ExpansionFilesCopyWhenStarting", str26, context, str33, Boolean.valueOf(cloneSettings22.getBoolean("preserveExpansionFiles", bool2).booleanValue()), properties5);
                                                        }
                                                        if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                                            defaultProvider.invokeSecondaryStatic("AlwaysAllowCopyPaste", str26, context);
                                                        }
                                                        forObject3 = cloneSettings22.forObject("startOtherApp");
                                                        if (forObject3 != null) {
                                                            defaultProvider.invokeSecondaryInstance("StartOtherApp", str26, forObject3.getString("onStartPackageName", null), Integer.valueOf(forObject3.getInteger("onStartDelaySeconds", 3).intValue()), Boolean.valueOf(forObject3.getBoolean("onStartExitApp", bool2).booleanValue()), forObject3.getString("onExitPackageName", null));
                                                        }
                                                        integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                                        if (integer3 != null) {
                                                            defaultProvider.invokeSecondaryInstance("SetVolumeOnStart", str26, integer3);
                                                        }
                                                        if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                                            defaultProvider.invokeSecondaryStatic("DisableAccessibilityAccess", str26, context);
                                                        }
                                                        if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                                            defaultProvider.invokeSecondaryInstance("ConfirmExit", str26, properties5);
                                                        }
                                                        if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                                            defaultProvider.invokeSecondaryInstance("PressBackAgainToExit", str26, context, properties5);
                                                        }
                                                        string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                                        if (z4 && z5) {
                                                            string28 = "DISABLED";
                                                        }
                                                        if ("ENABLED".equals(string28)) {
                                                            defaultProvider.invokeSecondaryInstance("MinimizeOnBack", str26, context, true, properties5);
                                                        } else if ("DISABLED".equals(string28)) {
                                                            defaultProvider.invokeSecondaryInstance("MinimizeOnBack", str26, context, bool2, properties5);
                                                        }
                                                        str37 = str33;
                                                        if ("com.facebook.katana".equals(str37)) {
                                                            defaultProvider.invokeSecondaryStatic("FacebookSupport", str26, context);
                                                        }
                                                        if (!"com.whatsapp".equals(str37) || "com.whatsapp.w4b".equals(str37)) {
                                                            new WhatsAppSupport().install(str37);
                                                            ByteArrayOutputStrean.init(context, str37);
                                                        }
                                                        if ("com.google.android.gm".equals(str37)) {
                                                            new GmailSupport().install(context);
                                                        }
                                                        if ("com.paypal.android.p2pmobile".equals(str37)) {
                                                            Object ni22 = ni(context, "com.applisto.appcloner.classes.secondary.PayPalSupport");
                                                            ni22.getClass().getMethod(str31, Context.class).invoke(ni22, context);
                                                        }
                                                        if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                                            defaultProvider.invokeSecondaryStatic("FlickrSupport", str26, context);
                                                        }
                                                        if ("com.bukalapak.android".equals(str37)) {
                                                            defaultProvider.invokeSecondaryStatic("BukalapakSupport", str26, context);
                                                        }
                                                        if ("com.tokopedia.tkpd".equals(str37)) {
                                                            defaultProvider.invokeSecondaryStatic("TokopediaSupport", str26, context);
                                                        }
                                                        if ("com.facebook.mlite".equals(str37)) {
                                                            defaultProvider.invokeSecondaryStatic("MessengerLiteSupport", str26, context);
                                                        }
                                                        defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                                        stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                                        booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                                        if ((stringList5 != null && stringList5.size() > 0) || booleanValue16) {
                                                            defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                                        }
                                                        if (z6) {
                                                            try {
                                                                defaultProvider.invokeSecondaryInstance("Test", str26, context);
                                                            } catch (Exception e7) {
                                                                Log.w(TAG, e7);
                                                            }
                                                        }
                                                        Utils.closeAndroidPieApiCompatibilityDialog();
                                                        Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                                        return true;
                                                    }
                                                    properties5 = properties4;
                                                    Object[] objArr22 = new Object[9];
                                                    objArr22[0] = context;
                                                    objArr22[1] = Integer.valueOf(intValue7);
                                                    objArr22[2] = Integer.valueOf(intValue112);
                                                    objArr22[3] = Integer.valueOf(intValue122);
                                                    objArr22[4] = Integer.valueOf(intValue132);
                                                    objArr22[5] = Integer.valueOf(intValue142);
                                                    objArr22[6] = Integer.valueOf(intValue152);
                                                    objArr22[c] = Integer.valueOf(intValue162);
                                                    objArr22[8] = integer52;
                                                    defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr22);
                                                    if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                                    }
                                                    forObject2 = cloneSettings22.forObject("blurImageViews");
                                                    if (forObject2 != null) {
                                                    }
                                                    if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                                    }
                                                    if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                                    }
                                                    forObject3 = cloneSettings22.forObject("startOtherApp");
                                                    if (forObject3 != null) {
                                                    }
                                                    integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                                    if (integer3 != null) {
                                                    }
                                                    if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                                    }
                                                    string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                                    if (z4) {
                                                        string28 = "DISABLED";
                                                    }
                                                    if ("ENABLED".equals(string28)) {
                                                    }
                                                    str37 = str33;
                                                    if ("com.facebook.katana".equals(str37)) {
                                                    }
                                                    if (!"com.whatsapp".equals(str37)) {
                                                    }
                                                    new WhatsAppSupport().install(str37);
                                                    ByteArrayOutputStrean.init(context, str37);
                                                    if ("com.google.android.gm".equals(str37)) {
                                                    }
                                                    if ("com.paypal.android.p2pmobile".equals(str37)) {
                                                    }
                                                    if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                                    }
                                                    if ("com.bukalapak.android".equals(str37)) {
                                                    }
                                                    if ("com.tokopedia.tkpd".equals(str37)) {
                                                    }
                                                    if ("com.facebook.mlite".equals(str37)) {
                                                    }
                                                    defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                                    stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                                    booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                                    if (stringList5 != null) {
                                                        defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                                        if (z6) {
                                                        }
                                                        Utils.closeAndroidPieApiCompatibilityDialog();
                                                        Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                                        return true;
                                                    }
                                                    defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                                    if (z6) {
                                                    }
                                                    Utils.closeAndroidPieApiCompatibilityDialog();
                                                    Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                                    return true;
                                                }
                                                String str432 = null;
                                                str30 = str21;
                                                defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str432, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string542);
                                                intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                                if (intValue5 > 0) {
                                                }
                                                if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                                }
                                                Integer num822 = num7;
                                                intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num822).intValue();
                                                if (intValue6 > 0) {
                                                }
                                                string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                                if (!TextUtils.isEmpty(string23)) {
                                                }
                                                if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                                }
                                                string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                                if (!"DISABLED".equals(string24)) {
                                                }
                                                booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                                booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                                if (!booleanValue13) {
                                                }
                                                defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                                if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                                }
                                                if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                                }
                                                floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                                if (floatValue < 1.0f) {
                                                }
                                                stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                                if (stringList4 != null) {
                                                    defaultProvider.invokeSecondaryInstance("SkipDialogs", str26, context, stringList4);
                                                }
                                                if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                                }
                                                string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                                if (z2) {
                                                }
                                                if (str27.equals(string25)) {
                                                }
                                                string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                                if (z2) {
                                                }
                                                if (!str27.equals(string26)) {
                                                }
                                                string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                                if (!str27.equals(string27)) {
                                                }
                                                if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                                }
                                                forObject = cloneSettings22.forObject("addPadding");
                                                if (forObject == null) {
                                                }
                                                str36 = str27;
                                                booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                                floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                                if (!booleanValue15) {
                                                }
                                                defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                                stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                                if (stringMap3 != null) {
                                                    defaultProvider.invokeSecondaryStatic("KeyMapper", str26, context, stringMap3);
                                                }
                                                intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num822).intValue();
                                                int intValue1122 = cloneSettings22.getInteger("colorFilterContrast", num822).intValue();
                                                int intValue1222 = cloneSettings22.getInteger("colorFilterSaturation", num822).intValue();
                                                int intValue1322 = cloneSettings22.getInteger("colorFilterHue", num822).intValue();
                                                int intValue1422 = cloneSettings22.getInteger("colorFilterRed", num822).intValue();
                                                int intValue1522 = cloneSettings22.getInteger("colorFilterGreen", num822).intValue();
                                                int intValue1622 = cloneSettings22.getInteger("colorFilterBlue", num822).intValue();
                                                Integer integer522 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                                if (intValue7 == 0) {
                                                    properties5 = properties4;
                                                    if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                                    }
                                                    forObject2 = cloneSettings22.forObject("blurImageViews");
                                                    if (forObject2 != null) {
                                                    }
                                                    if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                                    }
                                                    if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                                    }
                                                    forObject3 = cloneSettings22.forObject("startOtherApp");
                                                    if (forObject3 != null) {
                                                    }
                                                    integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                                    if (integer3 != null) {
                                                    }
                                                    if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                                    }
                                                    if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                                    }
                                                    string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                                    if (z4) {
                                                    }
                                                    if ("ENABLED".equals(string28)) {
                                                    }
                                                    str37 = str33;
                                                    if ("com.facebook.katana".equals(str37)) {
                                                    }
                                                    if (!"com.whatsapp".equals(str37)) {
                                                    }
                                                    new WhatsAppSupport().install(str37);
                                                    ByteArrayOutputStrean.init(context, str37);
                                                    if ("com.google.android.gm".equals(str37)) {
                                                    }
                                                    if ("com.paypal.android.p2pmobile".equals(str37)) {
                                                    }
                                                    if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                                    }
                                                    if ("com.bukalapak.android".equals(str37)) {
                                                    }
                                                    if ("com.tokopedia.tkpd".equals(str37)) {
                                                    }
                                                    if ("com.facebook.mlite".equals(str37)) {
                                                    }
                                                    defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                                    stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                                    booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                                    if (stringList5 != null) {
                                                    }
                                                    defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                                    if (z6) {
                                                    }
                                                    Utils.closeAndroidPieApiCompatibilityDialog();
                                                    Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                                    return true;
                                                }
                                                properties5 = properties4;
                                                Object[] objArr222 = new Object[9];
                                                objArr222[0] = context;
                                                objArr222[1] = Integer.valueOf(intValue7);
                                                objArr222[2] = Integer.valueOf(intValue1122);
                                                objArr222[3] = Integer.valueOf(intValue1222);
                                                objArr222[4] = Integer.valueOf(intValue1322);
                                                objArr222[5] = Integer.valueOf(intValue1422);
                                                objArr222[6] = Integer.valueOf(intValue1522);
                                                objArr222[c] = Integer.valueOf(intValue1622);
                                                objArr222[8] = integer522;
                                                defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr222);
                                                if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                                }
                                                forObject2 = cloneSettings22.forObject("blurImageViews");
                                                if (forObject2 != null) {
                                                }
                                                if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                                }
                                                if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                                }
                                                forObject3 = cloneSettings22.forObject("startOtherApp");
                                                if (forObject3 != null) {
                                                }
                                                integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                                if (integer3 != null) {
                                                }
                                                if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                                }
                                                string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                                if (z4) {
                                                }
                                                if ("ENABLED".equals(string28)) {
                                                }
                                                str37 = str33;
                                                if ("com.facebook.katana".equals(str37)) {
                                                }
                                                if (!"com.whatsapp".equals(str37)) {
                                                }
                                                new WhatsAppSupport().install(str37);
                                                ByteArrayOutputStrean.init(context, str37);
                                                if ("com.google.android.gm".equals(str37)) {
                                                }
                                                if ("com.paypal.android.p2pmobile".equals(str37)) {
                                                }
                                                if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                                }
                                                if ("com.bukalapak.android".equals(str37)) {
                                                }
                                                if ("com.tokopedia.tkpd".equals(str37)) {
                                                }
                                                if ("com.facebook.mlite".equals(str37)) {
                                                }
                                                defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                                stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                                booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                                if (stringList5 != null) {
                                                }
                                                defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                                if (z6) {
                                                }
                                                Utils.closeAndroidPieApiCompatibilityDialog();
                                                Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                                return true;
                                            }
                                            str19 = str17;
                                            str20 = str15;
                                            defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string482, cloneSettings22.getString("volumeDownKeyActionParam", null), string492, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                                            defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                                            LoadLibraryWorkaround.install(context, str16);
                                            cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                                            if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                                            }
                                            if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                                            }
                                            string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                                            if (!TextUtils.isEmpty(string13)) {
                                            }
                                            booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                                            boolean booleanValue2322 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                                            if (booleanValue6) {
                                            }
                                            str22 = str19;
                                            string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                                            if (!str22.equals(string14)) {
                                            }
                                            if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                                                defaultProvider.invokeSecondaryInstance("DebugUtils", str26, context, Boolean.valueOf(cloneSettings22.getBoolean("autoStartProfiling", bool2).booleanValue()));
                                            }
                                            if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                                                defaultProvider.invokeSecondaryStatic("LogGetPackageNameHook", str26, new Object[0]);
                                            }
                                            integer = cloneSettings22.getInteger("statusBarColor", null);
                                            integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                                            if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                                            }
                                            if (integer == null) {
                                            }
                                            defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                                            Integer integer422 = cloneSettings22.getInteger("toolbarColor", null);
                                            if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                                            }
                                            if (integer != null) {
                                            }
                                            if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                                            }
                                            booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                                            booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                                            booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                                            if (!booleanValue7) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                                            if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                                            }
                                            booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                                            booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                                            if (!booleanValue10) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                                            str27 = str18;
                                            string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                                            if (z2) {
                                            }
                                            bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                                            if (str27.equals(string15)) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i82), bool3);
                                            if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                                            }
                                            Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                                            defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                                            defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                                            defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                                            if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                                            }
                                            defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                                            if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                                            }
                                            str28 = str25;
                                            string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                                            String string5022 = cloneSettings22.getString("penInsertedEventAction", str28);
                                            if (!"EXIT_APP".equals(string16)) {
                                            }
                                            PenEventReceiver.install();
                                            string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                                            String string5122 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                                            if (!"EXIT_APP".equals(string17)) {
                                            }
                                            PowerEventReceiver.install();
                                            string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                                            String string5222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                                            if (str28.equals(string18)) {
                                            }
                                            HeadphonesEventReceiver.install(context);
                                            if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                                            }
                                            longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                                            longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                                            if (longValue == 0) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                                            if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                                            }
                                            Utils.allowHiddenApiAccess();
                                            if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                                            }
                                            stringMap = cloneSettings22.getStringMap("mappedHosts");
                                            if (stringMap != null) {
                                                HostMapper.install(context, stringMap, cloneSettings22.getBoolean("hostMapperSilent", bool2).booleanValue(), cloneSettings22.getString("socksProxyHost", null), properties2);
                                            }
                                            stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                                            if (stringMap2 != null) {
                                                defaultProvider.invokeSecondaryStatic("OverrideSharedPreferences", str26, context, stringMap2);
                                            }
                                            if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                                            }
                                            stringList2 = cloneSettings22.getStringList("hideOtherApps");
                                            if (stringList2 != null) {
                                                defaultProvider.invokeSecondaryStatic("HideOtherApps", str26, stringList2);
                                            }
                                            if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                                            }
                                            bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                                            if (bool4 != null) {
                                            }
                                            string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                                            if (!str27.equals(string19)) {
                                            }
                                            mapList = cloneSettings22.getMapList("screenTextReplacements");
                                            if (mapList != null) {
                                                defaultProvider.invokeSecondaryInstance("ReplaceTextOnScreen", str26, mapList);
                                            }
                                            mapList2 = cloneSettings22.getMapList("viewModifications");
                                            if (mapList2 != null) {
                                                defaultProvider.invokeSecondaryInstance("ModifyViews", str26, mapList2);
                                            }
                                            if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                                            }
                                            final String string5322 = cloneSettings22.getString("sendBroadcastOnStart", null);
                                            if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                                            }
                                            intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                                            int intValue922 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                                            int intValue1022 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                                            if (intValue2 != 0) {
                                            }
                                            str29 = str16;
                                            if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                                            }
                                            if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                                            }
                                            string20 = cloneSettings22.getString("keyboardAdjust", str27);
                                            if (!str27.equals(string20)) {
                                            }
                                            string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                                            if (!TextUtils.isEmpty(string21)) {
                                            }
                                            if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                                            }
                                            intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                                            if (intValue3 > 0) {
                                            }
                                            intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                                            if (intValue4 > 0) {
                                            }
                                            if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                                            }
                                            String str4222 = str12;
                                            string22 = cloneSettings22.getString("muteForTextOnScreen", str4222);
                                            if (!TextUtils.isEmpty(string22)) {
                                            }
                                            stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                                            if (stringList3 != null) {
                                                defaultProvider.invokeSecondaryInstance("DeleteFilesDirectoriesOnExit", str26, stringList3);
                                            }
                                            if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                                            }
                                            booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                                            String string5422 = cloneSettings22.getString("toastDuration", str27);
                                            if (!booleanValue12) {
                                                str30 = str21;
                                                intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                                if (intValue5 > 0) {
                                                }
                                                if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                                }
                                                Integer num8222 = num7;
                                                intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num8222).intValue();
                                                if (intValue6 > 0) {
                                                }
                                                string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                                if (!TextUtils.isEmpty(string23)) {
                                                }
                                                if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                                }
                                                string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                                if (!"DISABLED".equals(string24)) {
                                                }
                                                booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                                booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                                if (!booleanValue13) {
                                                }
                                                defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                                if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                                }
                                                if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                                }
                                                floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                                if (floatValue < 1.0f) {
                                                }
                                                stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                                if (stringList4 != null) {
                                                }
                                                if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                                }
                                                string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                                if (z2) {
                                                }
                                                if (str27.equals(string25)) {
                                                }
                                                string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                                if (z2) {
                                                }
                                                if (!str27.equals(string26)) {
                                                }
                                                string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                                if (!str27.equals(string27)) {
                                                }
                                                if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                                }
                                                forObject = cloneSettings22.forObject("addPadding");
                                                if (forObject == null) {
                                                }
                                                str36 = str27;
                                                booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                                floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                                if (!booleanValue15) {
                                                }
                                                defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                                stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                                if (stringMap3 != null) {
                                                }
                                                intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num8222).intValue();
                                                int intValue11222 = cloneSettings22.getInteger("colorFilterContrast", num8222).intValue();
                                                int intValue12222 = cloneSettings22.getInteger("colorFilterSaturation", num8222).intValue();
                                                int intValue13222 = cloneSettings22.getInteger("colorFilterHue", num8222).intValue();
                                                int intValue14222 = cloneSettings22.getInteger("colorFilterRed", num8222).intValue();
                                                int intValue15222 = cloneSettings22.getInteger("colorFilterGreen", num8222).intValue();
                                                int intValue16222 = cloneSettings22.getInteger("colorFilterBlue", num8222).intValue();
                                                Integer integer5222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                                if (intValue7 == 0) {
                                                }
                                                properties5 = properties4;
                                                Object[] objArr2222 = new Object[9];
                                                objArr2222[0] = context;
                                                objArr2222[1] = Integer.valueOf(intValue7);
                                                objArr2222[2] = Integer.valueOf(intValue11222);
                                                objArr2222[3] = Integer.valueOf(intValue12222);
                                                objArr2222[4] = Integer.valueOf(intValue13222);
                                                objArr2222[5] = Integer.valueOf(intValue14222);
                                                objArr2222[6] = Integer.valueOf(intValue15222);
                                                objArr2222[c] = Integer.valueOf(intValue16222);
                                                objArr2222[8] = integer5222;
                                                defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr2222);
                                                if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                                }
                                                forObject2 = cloneSettings22.forObject("blurImageViews");
                                                if (forObject2 != null) {
                                                }
                                                if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                                }
                                                if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                                }
                                                forObject3 = cloneSettings22.forObject("startOtherApp");
                                                if (forObject3 != null) {
                                                }
                                                integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                                if (integer3 != null) {
                                                }
                                                if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                                }
                                                if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                                }
                                                string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                                if (z4) {
                                                }
                                                if ("ENABLED".equals(string28)) {
                                                }
                                                str37 = str33;
                                                if ("com.facebook.katana".equals(str37)) {
                                                }
                                                if (!"com.whatsapp".equals(str37)) {
                                                }
                                                new WhatsAppSupport().install(str37);
                                                ByteArrayOutputStrean.init(context, str37);
                                                if ("com.google.android.gm".equals(str37)) {
                                                }
                                                if ("com.paypal.android.p2pmobile".equals(str37)) {
                                                }
                                                if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                                }
                                                if ("com.bukalapak.android".equals(str37)) {
                                                }
                                                if ("com.tokopedia.tkpd".equals(str37)) {
                                                }
                                                if ("com.facebook.mlite".equals(str37)) {
                                                }
                                                defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                                stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                                booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                                if (stringList5 != null) {
                                                }
                                                defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                                if (z6) {
                                                }
                                                Utils.closeAndroidPieApiCompatibilityDialog();
                                                Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                                return true;
                                            }
                                            String str4322 = null;
                                            str30 = str21;
                                            defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str4322, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string5422);
                                            intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                            if (intValue5 > 0) {
                                            }
                                            if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                            }
                                            Integer num82222 = num7;
                                            intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num82222).intValue();
                                            if (intValue6 > 0) {
                                            }
                                            string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                            if (!TextUtils.isEmpty(string23)) {
                                            }
                                            if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                            }
                                            string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                            if (!"DISABLED".equals(string24)) {
                                            }
                                            booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                            booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                            if (!booleanValue13) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                            if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                            }
                                            if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                            }
                                            floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                            if (floatValue < 1.0f) {
                                            }
                                            stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                            if (stringList4 != null) {
                                            }
                                            if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                            }
                                            string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                            if (z2) {
                                            }
                                            if (str27.equals(string25)) {
                                            }
                                            string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                            if (z2) {
                                            }
                                            if (!str27.equals(string26)) {
                                            }
                                            string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                            if (!str27.equals(string27)) {
                                            }
                                            if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                            }
                                            forObject = cloneSettings22.forObject("addPadding");
                                            if (forObject == null) {
                                            }
                                            str36 = str27;
                                            booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                            floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                            if (!booleanValue15) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                            stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                            if (stringMap3 != null) {
                                            }
                                            intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num82222).intValue();
                                            int intValue112222 = cloneSettings22.getInteger("colorFilterContrast", num82222).intValue();
                                            int intValue122222 = cloneSettings22.getInteger("colorFilterSaturation", num82222).intValue();
                                            int intValue132222 = cloneSettings22.getInteger("colorFilterHue", num82222).intValue();
                                            int intValue142222 = cloneSettings22.getInteger("colorFilterRed", num82222).intValue();
                                            int intValue152222 = cloneSettings22.getInteger("colorFilterGreen", num82222).intValue();
                                            int intValue162222 = cloneSettings22.getInteger("colorFilterBlue", num82222).intValue();
                                            Integer integer52222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                            if (intValue7 == 0) {
                                            }
                                            properties5 = properties4;
                                            Object[] objArr22222 = new Object[9];
                                            objArr22222[0] = context;
                                            objArr22222[1] = Integer.valueOf(intValue7);
                                            objArr22222[2] = Integer.valueOf(intValue112222);
                                            objArr22222[3] = Integer.valueOf(intValue122222);
                                            objArr22222[4] = Integer.valueOf(intValue132222);
                                            objArr22222[5] = Integer.valueOf(intValue142222);
                                            objArr22222[6] = Integer.valueOf(intValue152222);
                                            objArr22222[c] = Integer.valueOf(intValue162222);
                                            objArr22222[8] = integer52222;
                                            defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr22222);
                                            if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                            }
                                            forObject2 = cloneSettings22.forObject("blurImageViews");
                                            if (forObject2 != null) {
                                            }
                                            if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                            }
                                            if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                            }
                                            forObject3 = cloneSettings22.forObject("startOtherApp");
                                            if (forObject3 != null) {
                                            }
                                            integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                            if (integer3 != null) {
                                            }
                                            if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                            }
                                            string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                            if (z4) {
                                            }
                                            if ("ENABLED".equals(string28)) {
                                            }
                                            str37 = str33;
                                            if ("com.facebook.katana".equals(str37)) {
                                            }
                                            if (!"com.whatsapp".equals(str37)) {
                                            }
                                            new WhatsAppSupport().install(str37);
                                            ByteArrayOutputStrean.init(context, str37);
                                            if ("com.google.android.gm".equals(str37)) {
                                            }
                                            if ("com.paypal.android.p2pmobile".equals(str37)) {
                                            }
                                            if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                            }
                                            if ("com.bukalapak.android".equals(str37)) {
                                            }
                                            if ("com.tokopedia.tkpd".equals(str37)) {
                                            }
                                            if ("com.facebook.mlite".equals(str37)) {
                                            }
                                            defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                            stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                            booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                            if (stringList5 != null) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                            if (z6) {
                                            }
                                            Utils.closeAndroidPieApiCompatibilityDialog();
                                            Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                            return true;
                                        }
                                        num5 = num4;
                                        defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string472, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                                        string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                                        String string4822 = cloneSettings22.getString("volumeDownKeyAction", str17);
                                        String string4922 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                                        if (str17.equals(string12)) {
                                            str19 = str17;
                                            str20 = str15;
                                            defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                                            LoadLibraryWorkaround.install(context, str16);
                                            cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                                            if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                                            }
                                            if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                                            }
                                            string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                                            if (!TextUtils.isEmpty(string13)) {
                                            }
                                            booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                                            boolean booleanValue23222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                                            if (booleanValue6) {
                                            }
                                            str22 = str19;
                                            string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                                            if (!str22.equals(string14)) {
                                            }
                                            if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                                            }
                                            integer = cloneSettings22.getInteger("statusBarColor", null);
                                            integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                                            if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                                            }
                                            if (integer == null) {
                                            }
                                            defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                                            Integer integer4222 = cloneSettings22.getInteger("toolbarColor", null);
                                            if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                                            }
                                            if (integer != null) {
                                            }
                                            if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                                            }
                                            booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                                            booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                                            booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                                            if (!booleanValue7) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                                            if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                                            }
                                            booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                                            booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                                            if (!booleanValue10) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                                            str27 = str18;
                                            string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                                            if (z2) {
                                            }
                                            bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                                            if (str27.equals(string15)) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i82), bool3);
                                            if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                                            }
                                            Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                                            defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                                            defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                                            defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                                            if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                                            }
                                            defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                                            if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                                            }
                                            str28 = str25;
                                            string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                                            String string50222 = cloneSettings22.getString("penInsertedEventAction", str28);
                                            if (!"EXIT_APP".equals(string16)) {
                                            }
                                            PenEventReceiver.install();
                                            string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                                            String string51222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                                            if (!"EXIT_APP".equals(string17)) {
                                            }
                                            PowerEventReceiver.install();
                                            string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                                            String string52222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                                            if (str28.equals(string18)) {
                                            }
                                            HeadphonesEventReceiver.install(context);
                                            if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                                            }
                                            longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                                            longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                                            if (longValue == 0) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                                            if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                                            }
                                            Utils.allowHiddenApiAccess();
                                            if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                                            }
                                            stringMap = cloneSettings22.getStringMap("mappedHosts");
                                            if (stringMap != null) {
                                            }
                                            stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                                            if (stringMap2 != null) {
                                            }
                                            if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                                            }
                                            stringList2 = cloneSettings22.getStringList("hideOtherApps");
                                            if (stringList2 != null) {
                                            }
                                            if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                                            }
                                            bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                                            if (bool4 != null) {
                                            }
                                            string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                                            if (!str27.equals(string19)) {
                                            }
                                            mapList = cloneSettings22.getMapList("screenTextReplacements");
                                            if (mapList != null) {
                                            }
                                            mapList2 = cloneSettings22.getMapList("viewModifications");
                                            if (mapList2 != null) {
                                            }
                                            if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                                            }
                                            final String string53222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                                            if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                                            }
                                            intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                                            int intValue9222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                                            int intValue10222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                                            if (intValue2 != 0) {
                                            }
                                            str29 = str16;
                                            if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                                            }
                                            if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                                            }
                                            string20 = cloneSettings22.getString("keyboardAdjust", str27);
                                            if (!str27.equals(string20)) {
                                            }
                                            string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                                            if (!TextUtils.isEmpty(string21)) {
                                            }
                                            if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                                            }
                                            intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                                            if (intValue3 > 0) {
                                            }
                                            intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                                            if (intValue4 > 0) {
                                            }
                                            if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                                            }
                                            String str42222 = str12;
                                            string22 = cloneSettings22.getString("muteForTextOnScreen", str42222);
                                            if (!TextUtils.isEmpty(string22)) {
                                            }
                                            stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                                            if (stringList3 != null) {
                                            }
                                            if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                                            }
                                            booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                                            String string54222 = cloneSettings22.getString("toastDuration", str27);
                                            if (!booleanValue12) {
                                            }
                                            String str43222 = null;
                                            str30 = str21;
                                            defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str43222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string54222);
                                            intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                            if (intValue5 > 0) {
                                            }
                                            if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                            }
                                            Integer num822222 = num7;
                                            intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num822222).intValue();
                                            if (intValue6 > 0) {
                                            }
                                            string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                            if (!TextUtils.isEmpty(string23)) {
                                            }
                                            if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                            }
                                            string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                            if (!"DISABLED".equals(string24)) {
                                            }
                                            booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                            booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                            if (!booleanValue13) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                            if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                            }
                                            if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                            }
                                            floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                            if (floatValue < 1.0f) {
                                            }
                                            stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                            if (stringList4 != null) {
                                            }
                                            if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                            }
                                            string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                            if (z2) {
                                            }
                                            if (str27.equals(string25)) {
                                            }
                                            string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                            if (z2) {
                                            }
                                            if (!str27.equals(string26)) {
                                            }
                                            string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                            if (!str27.equals(string27)) {
                                            }
                                            if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                            }
                                            forObject = cloneSettings22.forObject("addPadding");
                                            if (forObject == null) {
                                            }
                                            str36 = str27;
                                            booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                            floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                            if (!booleanValue15) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                            stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                            if (stringMap3 != null) {
                                            }
                                            intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num822222).intValue();
                                            int intValue1122222 = cloneSettings22.getInteger("colorFilterContrast", num822222).intValue();
                                            int intValue1222222 = cloneSettings22.getInteger("colorFilterSaturation", num822222).intValue();
                                            int intValue1322222 = cloneSettings22.getInteger("colorFilterHue", num822222).intValue();
                                            int intValue1422222 = cloneSettings22.getInteger("colorFilterRed", num822222).intValue();
                                            int intValue1522222 = cloneSettings22.getInteger("colorFilterGreen", num822222).intValue();
                                            int intValue1622222 = cloneSettings22.getInteger("colorFilterBlue", num822222).intValue();
                                            Integer integer522222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                            if (intValue7 == 0) {
                                            }
                                            properties5 = properties4;
                                            Object[] objArr222222 = new Object[9];
                                            objArr222222[0] = context;
                                            objArr222222[1] = Integer.valueOf(intValue7);
                                            objArr222222[2] = Integer.valueOf(intValue1122222);
                                            objArr222222[3] = Integer.valueOf(intValue1222222);
                                            objArr222222[4] = Integer.valueOf(intValue1322222);
                                            objArr222222[5] = Integer.valueOf(intValue1422222);
                                            objArr222222[6] = Integer.valueOf(intValue1522222);
                                            objArr222222[c] = Integer.valueOf(intValue1622222);
                                            objArr222222[8] = integer522222;
                                            defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr222222);
                                            if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                            }
                                            forObject2 = cloneSettings22.forObject("blurImageViews");
                                            if (forObject2 != null) {
                                            }
                                            if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                            }
                                            if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                            }
                                            forObject3 = cloneSettings22.forObject("startOtherApp");
                                            if (forObject3 != null) {
                                            }
                                            integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                            if (integer3 != null) {
                                            }
                                            if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                            }
                                            if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                            }
                                            string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                            if (z4) {
                                            }
                                            if ("ENABLED".equals(string28)) {
                                            }
                                            str37 = str33;
                                            if ("com.facebook.katana".equals(str37)) {
                                            }
                                            if (!"com.whatsapp".equals(str37)) {
                                            }
                                            new WhatsAppSupport().install(str37);
                                            ByteArrayOutputStrean.init(context, str37);
                                            if ("com.google.android.gm".equals(str37)) {
                                            }
                                            if ("com.paypal.android.p2pmobile".equals(str37)) {
                                            }
                                            if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                            }
                                            if ("com.bukalapak.android".equals(str37)) {
                                            }
                                            if ("com.tokopedia.tkpd".equals(str37)) {
                                            }
                                            if ("com.facebook.mlite".equals(str37)) {
                                            }
                                            defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                            stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                            booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                            if (stringList5 != null) {
                                            }
                                            defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                            if (z6) {
                                            }
                                            Utils.closeAndroidPieApiCompatibilityDialog();
                                            Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                            return true;
                                        }
                                        str19 = str17;
                                        str20 = str15;
                                        defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string4822, cloneSettings22.getString("volumeDownKeyActionParam", null), string4922, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                                        defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                                        LoadLibraryWorkaround.install(context, str16);
                                        cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                                        if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                                        }
                                        if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                                        }
                                        string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                                        if (!TextUtils.isEmpty(string13)) {
                                        }
                                        booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                                        boolean booleanValue232222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                                        if (booleanValue6) {
                                        }
                                        str22 = str19;
                                        string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                                        if (!str22.equals(string14)) {
                                        }
                                        if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                                        }
                                        integer = cloneSettings22.getInteger("statusBarColor", null);
                                        integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                                        if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                                        }
                                        if (integer == null) {
                                        }
                                        defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                                        Integer integer42222 = cloneSettings22.getInteger("toolbarColor", null);
                                        if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                                        }
                                        if (integer != null) {
                                        }
                                        if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                                        }
                                        booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                                        booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                                        booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                                        if (!booleanValue7) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                                        if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                                        }
                                        booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                                        booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                                        if (!booleanValue10) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                                        str27 = str18;
                                        string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                                        if (z2) {
                                        }
                                        bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                                        if (str27.equals(string15)) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i82), bool3);
                                        if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                                        }
                                        Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                                        defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                                        defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                                        defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                                        if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                                        }
                                        defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                                        if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                                        }
                                        str28 = str25;
                                        string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                                        String string502222 = cloneSettings22.getString("penInsertedEventAction", str28);
                                        if (!"EXIT_APP".equals(string16)) {
                                        }
                                        PenEventReceiver.install();
                                        string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                                        String string512222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                                        if (!"EXIT_APP".equals(string17)) {
                                        }
                                        PowerEventReceiver.install();
                                        string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                                        String string522222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                                        if (str28.equals(string18)) {
                                        }
                                        HeadphonesEventReceiver.install(context);
                                        if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                                        }
                                        longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                                        longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                                        if (longValue == 0) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                                        if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                                        }
                                        Utils.allowHiddenApiAccess();
                                        if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                                        }
                                        stringMap = cloneSettings22.getStringMap("mappedHosts");
                                        if (stringMap != null) {
                                        }
                                        stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                                        if (stringMap2 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                                        }
                                        stringList2 = cloneSettings22.getStringList("hideOtherApps");
                                        if (stringList2 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                                        }
                                        bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                                        if (bool4 != null) {
                                        }
                                        string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                                        if (!str27.equals(string19)) {
                                        }
                                        mapList = cloneSettings22.getMapList("screenTextReplacements");
                                        if (mapList != null) {
                                        }
                                        mapList2 = cloneSettings22.getMapList("viewModifications");
                                        if (mapList2 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                                        }
                                        final String string532222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                                        if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                                        }
                                        intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                                        int intValue92222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                                        int intValue102222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                                        if (intValue2 != 0) {
                                        }
                                        str29 = str16;
                                        if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                                        }
                                        if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                                        }
                                        string20 = cloneSettings22.getString("keyboardAdjust", str27);
                                        if (!str27.equals(string20)) {
                                        }
                                        string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                                        if (!TextUtils.isEmpty(string21)) {
                                        }
                                        if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                                        }
                                        intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                                        if (intValue3 > 0) {
                                        }
                                        intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                                        if (intValue4 > 0) {
                                        }
                                        if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                                        }
                                        String str422222 = str12;
                                        string22 = cloneSettings22.getString("muteForTextOnScreen", str422222);
                                        if (!TextUtils.isEmpty(string22)) {
                                        }
                                        stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                                        if (stringList3 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                                        }
                                        booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                                        String string542222 = cloneSettings22.getString("toastDuration", str27);
                                        if (!booleanValue12) {
                                        }
                                        String str432222 = null;
                                        str30 = str21;
                                        defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str432222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string542222);
                                        intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                        if (intValue5 > 0) {
                                        }
                                        if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                        }
                                        Integer num8222222 = num7;
                                        intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num8222222).intValue();
                                        if (intValue6 > 0) {
                                        }
                                        string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                        if (!TextUtils.isEmpty(string23)) {
                                        }
                                        if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                        }
                                        string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                        if (!"DISABLED".equals(string24)) {
                                        }
                                        booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                        booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                        if (!booleanValue13) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                        if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                        }
                                        if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                        }
                                        floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                        if (floatValue < 1.0f) {
                                        }
                                        stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                        if (stringList4 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                        }
                                        string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                        if (z2) {
                                        }
                                        if (str27.equals(string25)) {
                                        }
                                        string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                        if (z2) {
                                        }
                                        if (!str27.equals(string26)) {
                                        }
                                        string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                        if (!str27.equals(string27)) {
                                        }
                                        if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                        }
                                        forObject = cloneSettings22.forObject("addPadding");
                                        if (forObject == null) {
                                        }
                                        str36 = str27;
                                        booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                        floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                        if (!booleanValue15) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                        stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                        if (stringMap3 != null) {
                                        }
                                        intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num8222222).intValue();
                                        int intValue11222222 = cloneSettings22.getInteger("colorFilterContrast", num8222222).intValue();
                                        int intValue12222222 = cloneSettings22.getInteger("colorFilterSaturation", num8222222).intValue();
                                        int intValue13222222 = cloneSettings22.getInteger("colorFilterHue", num8222222).intValue();
                                        int intValue14222222 = cloneSettings22.getInteger("colorFilterRed", num8222222).intValue();
                                        int intValue15222222 = cloneSettings22.getInteger("colorFilterGreen", num8222222).intValue();
                                        int intValue16222222 = cloneSettings22.getInteger("colorFilterBlue", num8222222).intValue();
                                        Integer integer5222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                        if (intValue7 == 0) {
                                        }
                                        properties5 = properties4;
                                        Object[] objArr2222222 = new Object[9];
                                        objArr2222222[0] = context;
                                        objArr2222222[1] = Integer.valueOf(intValue7);
                                        objArr2222222[2] = Integer.valueOf(intValue11222222);
                                        objArr2222222[3] = Integer.valueOf(intValue12222222);
                                        objArr2222222[4] = Integer.valueOf(intValue13222222);
                                        objArr2222222[5] = Integer.valueOf(intValue14222222);
                                        objArr2222222[6] = Integer.valueOf(intValue15222222);
                                        objArr2222222[c] = Integer.valueOf(intValue16222222);
                                        objArr2222222[8] = integer5222222;
                                        defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr2222222);
                                        if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                        }
                                        forObject2 = cloneSettings22.forObject("blurImageViews");
                                        if (forObject2 != null) {
                                        }
                                        if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                        }
                                        if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                        }
                                        forObject3 = cloneSettings22.forObject("startOtherApp");
                                        if (forObject3 != null) {
                                        }
                                        integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                        if (integer3 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                        }
                                        string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                        if (z4) {
                                        }
                                        if ("ENABLED".equals(string28)) {
                                        }
                                        str37 = str33;
                                        if ("com.facebook.katana".equals(str37)) {
                                        }
                                        if (!"com.whatsapp".equals(str37)) {
                                        }
                                        new WhatsAppSupport().install(str37);
                                        ByteArrayOutputStrean.init(context, str37);
                                        if ("com.google.android.gm".equals(str37)) {
                                        }
                                        if ("com.paypal.android.p2pmobile".equals(str37)) {
                                        }
                                        if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                        }
                                        if ("com.bukalapak.android".equals(str37)) {
                                        }
                                        if ("com.tokopedia.tkpd".equals(str37)) {
                                        }
                                        if ("com.facebook.mlite".equals(str37)) {
                                        }
                                        defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                        stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                        booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                        if (stringList5 != null) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                        if (z6) {
                                        }
                                        Utils.closeAndroidPieApiCompatibilityDialog();
                                        Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                        return true;
                                    }
                                    Object[] objArr5 = {context, string8, string392, string402, string412, string422, string432, string442, string452, string462};
                                    defaultProvider2 = this;
                                    str14 = "install";
                                    defaultProvider2.invokeSecondaryStatic("BuildProps", str14, objArr5);
                                    if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                                    }
                                    booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                                    str16 = str8;
                                    if ("com.contextlogic.wish".equals(str16)) {
                                    }
                                    if (booleanValue5) {
                                    }
                                    if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                                    }
                                    if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                                    }
                                    str17 = str6;
                                    string9 = cloneSettings22.getString("longPressBackAction", str17);
                                    if (!str17.equals(string9)) {
                                    }
                                    if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                                    }
                                    string10 = cloneSettings22.getString("shakeAction", str17);
                                    if (str17.equals(string10)) {
                                    }
                                    if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                                    }
                                    string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                                    String string4722 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                                    if (str17.equals(string11)) {
                                        num5 = num4;
                                        string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                                        String string48222 = cloneSettings22.getString("volumeDownKeyAction", str17);
                                        String string49222 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                                        if (str17.equals(string12)) {
                                        }
                                        str19 = str17;
                                        str20 = str15;
                                        defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string48222, cloneSettings22.getString("volumeDownKeyActionParam", null), string49222, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                                        defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                                        LoadLibraryWorkaround.install(context, str16);
                                        cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                                        if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                                        }
                                        if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                                        }
                                        string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                                        if (!TextUtils.isEmpty(string13)) {
                                        }
                                        booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                                        boolean booleanValue2322222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                                        if (booleanValue6) {
                                        }
                                        str22 = str19;
                                        string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                                        if (!str22.equals(string14)) {
                                        }
                                        if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                                        }
                                        integer = cloneSettings22.getInteger("statusBarColor", null);
                                        integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                                        if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                                        }
                                        if (integer == null) {
                                        }
                                        defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                                        Integer integer422222 = cloneSettings22.getInteger("toolbarColor", null);
                                        if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                                        }
                                        if (integer != null) {
                                        }
                                        if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                                        }
                                        booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                                        booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                                        booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                                        if (!booleanValue7) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                                        if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                                        }
                                        booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                                        booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                                        if (!booleanValue10) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                                        str27 = str18;
                                        string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                                        if (z2) {
                                        }
                                        bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                                        if (str27.equals(string15)) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i82), bool3);
                                        if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                                        }
                                        Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                                        defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                                        defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                                        defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                                        if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                                        }
                                        defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                                        if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                                        }
                                        str28 = str25;
                                        string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                                        String string5022222 = cloneSettings22.getString("penInsertedEventAction", str28);
                                        if (!"EXIT_APP".equals(string16)) {
                                        }
                                        PenEventReceiver.install();
                                        string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                                        String string5122222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                                        if (!"EXIT_APP".equals(string17)) {
                                        }
                                        PowerEventReceiver.install();
                                        string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                                        String string5222222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                                        if (str28.equals(string18)) {
                                        }
                                        HeadphonesEventReceiver.install(context);
                                        if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                                        }
                                        longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                                        longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                                        if (longValue == 0) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                                        if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                                        }
                                        Utils.allowHiddenApiAccess();
                                        if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                                        }
                                        stringMap = cloneSettings22.getStringMap("mappedHosts");
                                        if (stringMap != null) {
                                        }
                                        stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                                        if (stringMap2 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                                        }
                                        stringList2 = cloneSettings22.getStringList("hideOtherApps");
                                        if (stringList2 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                                        }
                                        bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                                        if (bool4 != null) {
                                        }
                                        string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                                        if (!str27.equals(string19)) {
                                        }
                                        mapList = cloneSettings22.getMapList("screenTextReplacements");
                                        if (mapList != null) {
                                        }
                                        mapList2 = cloneSettings22.getMapList("viewModifications");
                                        if (mapList2 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                                        }
                                        final String string5322222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                                        if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                                        }
                                        intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                                        int intValue922222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                                        int intValue1022222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                                        if (intValue2 != 0) {
                                        }
                                        str29 = str16;
                                        if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                                        }
                                        if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                                        }
                                        string20 = cloneSettings22.getString("keyboardAdjust", str27);
                                        if (!str27.equals(string20)) {
                                        }
                                        string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                                        if (!TextUtils.isEmpty(string21)) {
                                        }
                                        if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                                        }
                                        intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                                        if (intValue3 > 0) {
                                        }
                                        intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                                        if (intValue4 > 0) {
                                        }
                                        if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                                        }
                                        String str4222222 = str12;
                                        string22 = cloneSettings22.getString("muteForTextOnScreen", str4222222);
                                        if (!TextUtils.isEmpty(string22)) {
                                        }
                                        stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                                        if (stringList3 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                                        }
                                        booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                                        String string5422222 = cloneSettings22.getString("toastDuration", str27);
                                        if (!booleanValue12) {
                                        }
                                        String str4322222 = null;
                                        str30 = str21;
                                        defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str4322222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string5422222);
                                        intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                        if (intValue5 > 0) {
                                        }
                                        if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                        }
                                        Integer num82222222 = num7;
                                        intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num82222222).intValue();
                                        if (intValue6 > 0) {
                                        }
                                        string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                        if (!TextUtils.isEmpty(string23)) {
                                        }
                                        if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                        }
                                        string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                        if (!"DISABLED".equals(string24)) {
                                        }
                                        booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                        booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                        if (!booleanValue13) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                        if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                        }
                                        if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                        }
                                        floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                        if (floatValue < 1.0f) {
                                        }
                                        stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                        if (stringList4 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                        }
                                        string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                        if (z2) {
                                        }
                                        if (str27.equals(string25)) {
                                        }
                                        string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                        if (z2) {
                                        }
                                        if (!str27.equals(string26)) {
                                        }
                                        string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                        if (!str27.equals(string27)) {
                                        }
                                        if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                        }
                                        forObject = cloneSettings22.forObject("addPadding");
                                        if (forObject == null) {
                                        }
                                        str36 = str27;
                                        booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                        floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                        if (!booleanValue15) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                        stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                        if (stringMap3 != null) {
                                        }
                                        intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num82222222).intValue();
                                        int intValue112222222 = cloneSettings22.getInteger("colorFilterContrast", num82222222).intValue();
                                        int intValue122222222 = cloneSettings22.getInteger("colorFilterSaturation", num82222222).intValue();
                                        int intValue132222222 = cloneSettings22.getInteger("colorFilterHue", num82222222).intValue();
                                        int intValue142222222 = cloneSettings22.getInteger("colorFilterRed", num82222222).intValue();
                                        int intValue152222222 = cloneSettings22.getInteger("colorFilterGreen", num82222222).intValue();
                                        int intValue162222222 = cloneSettings22.getInteger("colorFilterBlue", num82222222).intValue();
                                        Integer integer52222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                        if (intValue7 == 0) {
                                        }
                                        properties5 = properties4;
                                        Object[] objArr22222222 = new Object[9];
                                        objArr22222222[0] = context;
                                        objArr22222222[1] = Integer.valueOf(intValue7);
                                        objArr22222222[2] = Integer.valueOf(intValue112222222);
                                        objArr22222222[3] = Integer.valueOf(intValue122222222);
                                        objArr22222222[4] = Integer.valueOf(intValue132222222);
                                        objArr22222222[5] = Integer.valueOf(intValue142222222);
                                        objArr22222222[6] = Integer.valueOf(intValue152222222);
                                        objArr22222222[c] = Integer.valueOf(intValue162222222);
                                        objArr22222222[8] = integer52222222;
                                        defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr22222222);
                                        if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                        }
                                        forObject2 = cloneSettings22.forObject("blurImageViews");
                                        if (forObject2 != null) {
                                        }
                                        if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                        }
                                        if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                        }
                                        forObject3 = cloneSettings22.forObject("startOtherApp");
                                        if (forObject3 != null) {
                                        }
                                        integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                        if (integer3 != null) {
                                        }
                                        if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                        }
                                        if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                        }
                                        string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                        if (z4) {
                                        }
                                        if ("ENABLED".equals(string28)) {
                                        }
                                        str37 = str33;
                                        if ("com.facebook.katana".equals(str37)) {
                                        }
                                        if (!"com.whatsapp".equals(str37)) {
                                        }
                                        new WhatsAppSupport().install(str37);
                                        ByteArrayOutputStrean.init(context, str37);
                                        if ("com.google.android.gm".equals(str37)) {
                                        }
                                        if ("com.paypal.android.p2pmobile".equals(str37)) {
                                        }
                                        if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                        }
                                        if ("com.bukalapak.android".equals(str37)) {
                                        }
                                        if ("com.tokopedia.tkpd".equals(str37)) {
                                        }
                                        if ("com.facebook.mlite".equals(str37)) {
                                        }
                                        defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                        stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                        booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                        if (stringList5 != null) {
                                        }
                                        defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                        if (z6) {
                                        }
                                        Utils.closeAndroidPieApiCompatibilityDialog();
                                        Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                        return true;
                                    }
                                    num5 = num4;
                                    defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string4722, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                                    string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                                    String string482222 = cloneSettings22.getString("volumeDownKeyAction", str17);
                                    String string492222 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                                    if (str17.equals(string12)) {
                                    }
                                    str19 = str17;
                                    str20 = str15;
                                    defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string482222, cloneSettings22.getString("volumeDownKeyActionParam", null), string492222, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                                    defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                                    LoadLibraryWorkaround.install(context, str16);
                                    cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                                    if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                                    }
                                    if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                                    }
                                    string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                                    if (!TextUtils.isEmpty(string13)) {
                                    }
                                    booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                                    boolean booleanValue23222222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                                    if (booleanValue6) {
                                    }
                                    str22 = str19;
                                    string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                                    if (!str22.equals(string14)) {
                                    }
                                    if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                                    }
                                    integer = cloneSettings22.getInteger("statusBarColor", null);
                                    integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                                    if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                                    }
                                    if (integer == null) {
                                    }
                                    defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                                    Integer integer4222222 = cloneSettings22.getInteger("toolbarColor", null);
                                    if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                                    }
                                    if (integer != null) {
                                    }
                                    if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                                    }
                                    booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                                    booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                                    booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                                    if (!booleanValue7) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                                    if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                                    }
                                    booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                                    booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                                    if (!booleanValue10) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                                    str27 = str18;
                                    string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                                    if (z2) {
                                    }
                                    bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                                    if (str27.equals(string15)) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i82), bool3);
                                    if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                                    }
                                    Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                                    defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                                    defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                                    defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                                    if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                                    }
                                    defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                                    if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                                    }
                                    str28 = str25;
                                    string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                                    String string50222222 = cloneSettings22.getString("penInsertedEventAction", str28);
                                    if (!"EXIT_APP".equals(string16)) {
                                    }
                                    PenEventReceiver.install();
                                    string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                                    String string51222222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                                    if (!"EXIT_APP".equals(string17)) {
                                    }
                                    PowerEventReceiver.install();
                                    string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                                    String string52222222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                                    if (str28.equals(string18)) {
                                    }
                                    HeadphonesEventReceiver.install(context);
                                    if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                                    }
                                    longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                                    longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                                    if (longValue == 0) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                                    if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                                    }
                                    Utils.allowHiddenApiAccess();
                                    if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                                    }
                                    stringMap = cloneSettings22.getStringMap("mappedHosts");
                                    if (stringMap != null) {
                                    }
                                    stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                                    if (stringMap2 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                                    }
                                    stringList2 = cloneSettings22.getStringList("hideOtherApps");
                                    if (stringList2 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                                    }
                                    bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                                    if (bool4 != null) {
                                    }
                                    string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                                    if (!str27.equals(string19)) {
                                    }
                                    mapList = cloneSettings22.getMapList("screenTextReplacements");
                                    if (mapList != null) {
                                    }
                                    mapList2 = cloneSettings22.getMapList("viewModifications");
                                    if (mapList2 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                                    }
                                    final String string53222222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                                    if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                                    }
                                    intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                                    int intValue9222222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                                    int intValue10222222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                                    if (intValue2 != 0) {
                                    }
                                    str29 = str16;
                                    if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                                    }
                                    if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                                    }
                                    string20 = cloneSettings22.getString("keyboardAdjust", str27);
                                    if (!str27.equals(string20)) {
                                    }
                                    string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                                    if (!TextUtils.isEmpty(string21)) {
                                    }
                                    if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                                    }
                                    intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                                    if (intValue3 > 0) {
                                    }
                                    intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                                    if (intValue4 > 0) {
                                    }
                                    if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                                    }
                                    String str42222222 = str12;
                                    string22 = cloneSettings22.getString("muteForTextOnScreen", str42222222);
                                    if (!TextUtils.isEmpty(string22)) {
                                    }
                                    stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                                    if (stringList3 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                                    }
                                    booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                                    String string54222222 = cloneSettings22.getString("toastDuration", str27);
                                    if (!booleanValue12) {
                                    }
                                    String str43222222 = null;
                                    str30 = str21;
                                    defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str43222222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string54222222);
                                    intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                    if (intValue5 > 0) {
                                    }
                                    if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                    }
                                    Integer num822222222 = num7;
                                    intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num822222222).intValue();
                                    if (intValue6 > 0) {
                                    }
                                    string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                    if (!TextUtils.isEmpty(string23)) {
                                    }
                                    if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                    }
                                    string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                    if (!"DISABLED".equals(string24)) {
                                    }
                                    booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                    booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                    if (!booleanValue13) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                    if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                    }
                                    if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                    }
                                    floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                    if (floatValue < 1.0f) {
                                    }
                                    stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                    if (stringList4 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                    }
                                    string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                    if (z2) {
                                    }
                                    if (str27.equals(string25)) {
                                    }
                                    string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                    if (z2) {
                                    }
                                    if (!str27.equals(string26)) {
                                    }
                                    string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                    if (!str27.equals(string27)) {
                                    }
                                    if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                    }
                                    forObject = cloneSettings22.forObject("addPadding");
                                    if (forObject == null) {
                                    }
                                    str36 = str27;
                                    booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                    floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                    if (!booleanValue15) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                    stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                    if (stringMap3 != null) {
                                    }
                                    intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num822222222).intValue();
                                    int intValue1122222222 = cloneSettings22.getInteger("colorFilterContrast", num822222222).intValue();
                                    int intValue1222222222 = cloneSettings22.getInteger("colorFilterSaturation", num822222222).intValue();
                                    int intValue1322222222 = cloneSettings22.getInteger("colorFilterHue", num822222222).intValue();
                                    int intValue1422222222 = cloneSettings22.getInteger("colorFilterRed", num822222222).intValue();
                                    int intValue1522222222 = cloneSettings22.getInteger("colorFilterGreen", num822222222).intValue();
                                    int intValue1622222222 = cloneSettings22.getInteger("colorFilterBlue", num822222222).intValue();
                                    Integer integer522222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                    if (intValue7 == 0) {
                                    }
                                    properties5 = properties4;
                                    Object[] objArr222222222 = new Object[9];
                                    objArr222222222[0] = context;
                                    objArr222222222[1] = Integer.valueOf(intValue7);
                                    objArr222222222[2] = Integer.valueOf(intValue1122222222);
                                    objArr222222222[3] = Integer.valueOf(intValue1222222222);
                                    objArr222222222[4] = Integer.valueOf(intValue1322222222);
                                    objArr222222222[5] = Integer.valueOf(intValue1422222222);
                                    objArr222222222[6] = Integer.valueOf(intValue1522222222);
                                    objArr222222222[c] = Integer.valueOf(intValue1622222222);
                                    objArr222222222[8] = integer522222222;
                                    defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr222222222);
                                    if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                    }
                                    forObject2 = cloneSettings22.forObject("blurImageViews");
                                    if (forObject2 != null) {
                                    }
                                    if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                    }
                                    if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                    }
                                    forObject3 = cloneSettings22.forObject("startOtherApp");
                                    if (forObject3 != null) {
                                    }
                                    integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                    if (integer3 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                    }
                                    string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                    if (z4) {
                                    }
                                    if ("ENABLED".equals(string28)) {
                                    }
                                    str37 = str33;
                                    if ("com.facebook.katana".equals(str37)) {
                                    }
                                    if (!"com.whatsapp".equals(str37)) {
                                    }
                                    new WhatsAppSupport().install(str37);
                                    ByteArrayOutputStrean.init(context, str37);
                                    if ("com.google.android.gm".equals(str37)) {
                                    }
                                    if ("com.paypal.android.p2pmobile".equals(str37)) {
                                    }
                                    if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                    }
                                    if ("com.bukalapak.android".equals(str37)) {
                                    }
                                    if ("com.tokopedia.tkpd".equals(str37)) {
                                    }
                                    if ("com.facebook.mlite".equals(str37)) {
                                    }
                                    defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                    stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                    booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                    if (stringList5 != null) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                    if (z6) {
                                    }
                                    Utils.closeAndroidPieApiCompatibilityDialog();
                                    Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                    return true;
                                }
                                Object ni23 = ni(context, "com.applisto.appcloner.classes.secondary.AndroidVersion");
                                i3 = i2;
                                str13 = str11;
                                ni23.getClass().getMethod(str13, Context.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class).invoke(ni23, context, string7, string322, string332, string342, string352, string362, string372, string382);
                                string8 = cloneSettings22.getString("buildPropsManufacturer", null);
                                String string3922 = cloneSettings22.getString("buildPropsBrand", null);
                                String string4022 = cloneSettings22.getString("buildPropsModel", null);
                                String string4122 = cloneSettings22.getString("buildPropsProduct", null);
                                String string4222 = cloneSettings22.getString("buildPropsDevice", null);
                                String string4322 = cloneSettings22.getString("buildPropsBoard", null);
                                String string4422 = cloneSettings22.getString("buildPropsHardware", null);
                                String string4522 = cloneSettings22.getString("buildPropsBootloader", null);
                                String string4622 = cloneSettings22.getString("buildPropsFingerprint", null);
                                if (cloneSettings22.getBoolean("randomizeBuildProps", bool2).booleanValue()) {
                                }
                                String str4022 = TAG;
                                int i822 = i4;
                                StringBuilder sb422 = new StringBuilder();
                                String str4122 = str13;
                                sb422.append("onCreate; buildPropsManufacturer: ");
                                sb422.append(string8);
                                sb422.append(", buildPropsBrand: ");
                                sb422.append(string3922);
                                sb422.append(", buildPropsModel: ");
                                sb422.append(string4022);
                                sb422.append(", buildPropsProduct: ");
                                sb422.append(string4122);
                                sb422.append(", buildPropsDevice: ");
                                sb422.append(string4222);
                                sb422.append(", buildPropsBoard: ");
                                sb422.append(string4322);
                                sb422.append(", buildPropsHardware: ");
                                sb422.append(string4422);
                                sb422.append(", buildPropsBootloader: ");
                                sb422.append(string4522);
                                sb422.append(", buildPropsFingerprint: ");
                                sb422.append(string4622);
                                Log.i(str4022, sb422.toString());
                                if (TextUtils.isEmpty(string8)) {
                                    defaultProvider2 = this;
                                    str14 = "install";
                                    if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                                    }
                                    booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                                    str16 = str8;
                                    if ("com.contextlogic.wish".equals(str16)) {
                                    }
                                    if (booleanValue5) {
                                    }
                                    if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                                    }
                                    if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                                    }
                                    str17 = str6;
                                    string9 = cloneSettings22.getString("longPressBackAction", str17);
                                    if (!str17.equals(string9)) {
                                    }
                                    if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                                    }
                                    string10 = cloneSettings22.getString("shakeAction", str17);
                                    if (str17.equals(string10)) {
                                    }
                                    if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                                    }
                                    string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                                    String string47222 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                                    if (str17.equals(string11)) {
                                    }
                                    num5 = num4;
                                    defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string47222, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                                    string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                                    String string4822222 = cloneSettings22.getString("volumeDownKeyAction", str17);
                                    String string4922222 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                                    if (str17.equals(string12)) {
                                    }
                                    str19 = str17;
                                    str20 = str15;
                                    defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string4822222, cloneSettings22.getString("volumeDownKeyActionParam", null), string4922222, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                                    defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                                    LoadLibraryWorkaround.install(context, str16);
                                    cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                                    if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                                    }
                                    if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                                    }
                                    string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                                    if (!TextUtils.isEmpty(string13)) {
                                    }
                                    booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                                    boolean booleanValue232222222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                                    if (booleanValue6) {
                                    }
                                    str22 = str19;
                                    string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                                    if (!str22.equals(string14)) {
                                    }
                                    if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                                    }
                                    integer = cloneSettings22.getInteger("statusBarColor", null);
                                    integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                                    if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                                    }
                                    if (integer == null) {
                                    }
                                    defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                                    Integer integer42222222 = cloneSettings22.getInteger("toolbarColor", null);
                                    if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                                    }
                                    if (integer != null) {
                                    }
                                    if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                                    }
                                    booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                                    booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                                    booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                                    if (!booleanValue7) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                                    if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                                    }
                                    booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                                    booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                                    if (!booleanValue10) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                                    str27 = str18;
                                    string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                                    if (z2) {
                                    }
                                    bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                                    if (str27.equals(string15)) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i822), bool3);
                                    if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                                    }
                                    Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                                    defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                                    defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                                    defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                                    if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                                    }
                                    defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                                    if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                                    }
                                    str28 = str25;
                                    string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                                    String string502222222 = cloneSettings22.getString("penInsertedEventAction", str28);
                                    if (!"EXIT_APP".equals(string16)) {
                                    }
                                    PenEventReceiver.install();
                                    string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                                    String string512222222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                                    if (!"EXIT_APP".equals(string17)) {
                                    }
                                    PowerEventReceiver.install();
                                    string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                                    String string522222222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                                    if (str28.equals(string18)) {
                                    }
                                    HeadphonesEventReceiver.install(context);
                                    if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                                    }
                                    longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                                    longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                                    if (longValue == 0) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                                    if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                                    }
                                    Utils.allowHiddenApiAccess();
                                    if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                                    }
                                    stringMap = cloneSettings22.getStringMap("mappedHosts");
                                    if (stringMap != null) {
                                    }
                                    stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                                    if (stringMap2 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                                    }
                                    stringList2 = cloneSettings22.getStringList("hideOtherApps");
                                    if (stringList2 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                                    }
                                    bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                                    if (bool4 != null) {
                                    }
                                    string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                                    if (!str27.equals(string19)) {
                                    }
                                    mapList = cloneSettings22.getMapList("screenTextReplacements");
                                    if (mapList != null) {
                                    }
                                    mapList2 = cloneSettings22.getMapList("viewModifications");
                                    if (mapList2 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                                    }
                                    final String string532222222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                                    if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                                    }
                                    intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                                    int intValue92222222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                                    int intValue102222222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                                    if (intValue2 != 0) {
                                    }
                                    str29 = str16;
                                    if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                                    }
                                    if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                                    }
                                    string20 = cloneSettings22.getString("keyboardAdjust", str27);
                                    if (!str27.equals(string20)) {
                                    }
                                    string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                                    if (!TextUtils.isEmpty(string21)) {
                                    }
                                    if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                                    }
                                    intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                                    if (intValue3 > 0) {
                                    }
                                    intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                                    if (intValue4 > 0) {
                                    }
                                    if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                                    }
                                    String str422222222 = str12;
                                    string22 = cloneSettings22.getString("muteForTextOnScreen", str422222222);
                                    if (!TextUtils.isEmpty(string22)) {
                                    }
                                    stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                                    if (stringList3 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                                    }
                                    booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                                    String string542222222 = cloneSettings22.getString("toastDuration", str27);
                                    if (!booleanValue12) {
                                    }
                                    String str432222222 = null;
                                    str30 = str21;
                                    defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str432222222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string542222222);
                                    intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                    if (intValue5 > 0) {
                                    }
                                    if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                    }
                                    Integer num8222222222 = num7;
                                    intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num8222222222).intValue();
                                    if (intValue6 > 0) {
                                    }
                                    string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                    if (!TextUtils.isEmpty(string23)) {
                                    }
                                    if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                    }
                                    string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                    if (!"DISABLED".equals(string24)) {
                                    }
                                    booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                    booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                    if (!booleanValue13) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                    if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                    }
                                    if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                    }
                                    floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                    if (floatValue < 1.0f) {
                                    }
                                    stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                    if (stringList4 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                    }
                                    string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                    if (z2) {
                                    }
                                    if (str27.equals(string25)) {
                                    }
                                    string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                    if (z2) {
                                    }
                                    if (!str27.equals(string26)) {
                                    }
                                    string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                    if (!str27.equals(string27)) {
                                    }
                                    if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                    }
                                    forObject = cloneSettings22.forObject("addPadding");
                                    if (forObject == null) {
                                    }
                                    str36 = str27;
                                    booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                    floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                    if (!booleanValue15) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                    stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                    if (stringMap3 != null) {
                                    }
                                    intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num8222222222).intValue();
                                    int intValue11222222222 = cloneSettings22.getInteger("colorFilterContrast", num8222222222).intValue();
                                    int intValue12222222222 = cloneSettings22.getInteger("colorFilterSaturation", num8222222222).intValue();
                                    int intValue13222222222 = cloneSettings22.getInteger("colorFilterHue", num8222222222).intValue();
                                    int intValue14222222222 = cloneSettings22.getInteger("colorFilterRed", num8222222222).intValue();
                                    int intValue15222222222 = cloneSettings22.getInteger("colorFilterGreen", num8222222222).intValue();
                                    int intValue16222222222 = cloneSettings22.getInteger("colorFilterBlue", num8222222222).intValue();
                                    Integer integer5222222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                    if (intValue7 == 0) {
                                    }
                                    properties5 = properties4;
                                    Object[] objArr2222222222 = new Object[9];
                                    objArr2222222222[0] = context;
                                    objArr2222222222[1] = Integer.valueOf(intValue7);
                                    objArr2222222222[2] = Integer.valueOf(intValue11222222222);
                                    objArr2222222222[3] = Integer.valueOf(intValue12222222222);
                                    objArr2222222222[4] = Integer.valueOf(intValue13222222222);
                                    objArr2222222222[5] = Integer.valueOf(intValue14222222222);
                                    objArr2222222222[6] = Integer.valueOf(intValue15222222222);
                                    objArr2222222222[c] = Integer.valueOf(intValue16222222222);
                                    objArr2222222222[8] = integer5222222222;
                                    defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr2222222222);
                                    if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                    }
                                    forObject2 = cloneSettings22.forObject("blurImageViews");
                                    if (forObject2 != null) {
                                    }
                                    if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                    }
                                    if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                    }
                                    forObject3 = cloneSettings22.forObject("startOtherApp");
                                    if (forObject3 != null) {
                                    }
                                    integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                    if (integer3 != null) {
                                    }
                                    if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                    }
                                    if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                    }
                                    string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                    if (z4) {
                                    }
                                    if ("ENABLED".equals(string28)) {
                                    }
                                    str37 = str33;
                                    if ("com.facebook.katana".equals(str37)) {
                                    }
                                    if (!"com.whatsapp".equals(str37)) {
                                    }
                                    new WhatsAppSupport().install(str37);
                                    ByteArrayOutputStrean.init(context, str37);
                                    if ("com.google.android.gm".equals(str37)) {
                                    }
                                    if ("com.paypal.android.p2pmobile".equals(str37)) {
                                    }
                                    if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                    }
                                    if ("com.bukalapak.android".equals(str37)) {
                                    }
                                    if ("com.tokopedia.tkpd".equals(str37)) {
                                    }
                                    if ("com.facebook.mlite".equals(str37)) {
                                    }
                                    defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                    stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                    booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                    if (stringList5 != null) {
                                    }
                                    defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                    if (z6) {
                                    }
                                    Utils.closeAndroidPieApiCompatibilityDialog();
                                    Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                    return true;
                                }
                                Object[] objArr52 = {context, string8, string3922, string4022, string4122, string4222, string4322, string4422, string4522, string4622};
                                defaultProvider2 = this;
                                str14 = "install";
                                defaultProvider2.invokeSecondaryStatic("BuildProps", str14, objArr52);
                                if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                                }
                                booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                                str16 = str8;
                                if ("com.contextlogic.wish".equals(str16)) {
                                }
                                if (booleanValue5) {
                                }
                                if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                                }
                                if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                                }
                                str17 = str6;
                                string9 = cloneSettings22.getString("longPressBackAction", str17);
                                if (!str17.equals(string9)) {
                                }
                                if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                                }
                                string10 = cloneSettings22.getString("shakeAction", str17);
                                if (str17.equals(string10)) {
                                }
                                if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                                }
                                string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                                String string472222 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                                if (str17.equals(string11)) {
                                }
                                num5 = num4;
                                defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string472222, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                                string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                                String string48222222 = cloneSettings22.getString("volumeDownKeyAction", str17);
                                String string49222222 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                                if (str17.equals(string12)) {
                                }
                                str19 = str17;
                                str20 = str15;
                                defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string48222222, cloneSettings22.getString("volumeDownKeyActionParam", null), string49222222, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                                defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                                LoadLibraryWorkaround.install(context, str16);
                                cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                                if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                                }
                                if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                                }
                                string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                                if (!TextUtils.isEmpty(string13)) {
                                }
                                booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                                boolean booleanValue2322222222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                                if (booleanValue6) {
                                }
                                str22 = str19;
                                string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                                if (!str22.equals(string14)) {
                                }
                                if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                                }
                                integer = cloneSettings22.getInteger("statusBarColor", null);
                                integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                                if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                                }
                                if (integer == null) {
                                }
                                defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                                Integer integer422222222 = cloneSettings22.getInteger("toolbarColor", null);
                                if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                                }
                                if (integer != null) {
                                }
                                if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                                }
                                booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                                booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                                booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                                if (!booleanValue7) {
                                }
                                defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                                if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                                }
                                booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                                booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                                if (!booleanValue10) {
                                }
                                defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                                str27 = str18;
                                string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                                if (z2) {
                                }
                                bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                                if (str27.equals(string15)) {
                                }
                                defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i822), bool3);
                                if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                                }
                                Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                                defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                                defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                                defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                                if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                                }
                                defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                                if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                                }
                                str28 = str25;
                                string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                                String string5022222222 = cloneSettings22.getString("penInsertedEventAction", str28);
                                if (!"EXIT_APP".equals(string16)) {
                                }
                                PenEventReceiver.install();
                                string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                                String string5122222222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                                if (!"EXIT_APP".equals(string17)) {
                                }
                                PowerEventReceiver.install();
                                string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                                String string5222222222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                                if (str28.equals(string18)) {
                                }
                                HeadphonesEventReceiver.install(context);
                                if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                                }
                                longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                                longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                                if (longValue == 0) {
                                }
                                defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                                if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                                }
                                Utils.allowHiddenApiAccess();
                                if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                                }
                                stringMap = cloneSettings22.getStringMap("mappedHosts");
                                if (stringMap != null) {
                                }
                                stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                                if (stringMap2 != null) {
                                }
                                if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                                }
                                stringList2 = cloneSettings22.getStringList("hideOtherApps");
                                if (stringList2 != null) {
                                }
                                if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                                }
                                bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                                if (bool4 != null) {
                                }
                                string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                                if (!str27.equals(string19)) {
                                }
                                mapList = cloneSettings22.getMapList("screenTextReplacements");
                                if (mapList != null) {
                                }
                                mapList2 = cloneSettings22.getMapList("viewModifications");
                                if (mapList2 != null) {
                                }
                                if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                                }
                                final String string5322222222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                                if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                                }
                                intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                                int intValue922222222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                                int intValue1022222222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                                if (intValue2 != 0) {
                                }
                                str29 = str16;
                                if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                                }
                                if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                                }
                                string20 = cloneSettings22.getString("keyboardAdjust", str27);
                                if (!str27.equals(string20)) {
                                }
                                string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                                if (!TextUtils.isEmpty(string21)) {
                                }
                                if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                                }
                                intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                                if (intValue3 > 0) {
                                }
                                intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                                if (intValue4 > 0) {
                                }
                                if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                                }
                                String str4222222222 = str12;
                                string22 = cloneSettings22.getString("muteForTextOnScreen", str4222222222);
                                if (!TextUtils.isEmpty(string22)) {
                                }
                                stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                                if (stringList3 != null) {
                                }
                                if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                                }
                                booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                                String string5422222222 = cloneSettings22.getString("toastDuration", str27);
                                if (!booleanValue12) {
                                }
                                String str4322222222 = null;
                                str30 = str21;
                                defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str4322222222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string5422222222);
                                intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                                if (intValue5 > 0) {
                                }
                                if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                                }
                                Integer num82222222222 = num7;
                                intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num82222222222).intValue();
                                if (intValue6 > 0) {
                                }
                                string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                                if (!TextUtils.isEmpty(string23)) {
                                }
                                if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                                }
                                string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                                if (!"DISABLED".equals(string24)) {
                                }
                                booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                                booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                                if (!booleanValue13) {
                                }
                                defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                                if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                                }
                                if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                                }
                                floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                                if (floatValue < 1.0f) {
                                }
                                stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                                if (stringList4 != null) {
                                }
                                if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                                }
                                string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                                if (z2) {
                                }
                                if (str27.equals(string25)) {
                                }
                                string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                                if (z2) {
                                }
                                if (!str27.equals(string26)) {
                                }
                                string27 = cloneSettings22.getString("overrideBindAddress", str27);
                                if (!str27.equals(string27)) {
                                }
                                if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                                }
                                forObject = cloneSettings22.forObject("addPadding");
                                if (forObject == null) {
                                }
                                str36 = str27;
                                booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                                floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                                if (!booleanValue15) {
                                }
                                defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                                stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                                if (stringMap3 != null) {
                                }
                                intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num82222222222).intValue();
                                int intValue112222222222 = cloneSettings22.getInteger("colorFilterContrast", num82222222222).intValue();
                                int intValue122222222222 = cloneSettings22.getInteger("colorFilterSaturation", num82222222222).intValue();
                                int intValue132222222222 = cloneSettings22.getInteger("colorFilterHue", num82222222222).intValue();
                                int intValue142222222222 = cloneSettings22.getInteger("colorFilterRed", num82222222222).intValue();
                                int intValue152222222222 = cloneSettings22.getInteger("colorFilterGreen", num82222222222).intValue();
                                int intValue162222222222 = cloneSettings22.getInteger("colorFilterBlue", num82222222222).intValue();
                                Integer integer52222222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                                if (intValue7 == 0) {
                                }
                                properties5 = properties4;
                                Object[] objArr22222222222 = new Object[9];
                                objArr22222222222[0] = context;
                                objArr22222222222[1] = Integer.valueOf(intValue7);
                                objArr22222222222[2] = Integer.valueOf(intValue112222222222);
                                objArr22222222222[3] = Integer.valueOf(intValue122222222222);
                                objArr22222222222[4] = Integer.valueOf(intValue132222222222);
                                objArr22222222222[5] = Integer.valueOf(intValue142222222222);
                                objArr22222222222[6] = Integer.valueOf(intValue152222222222);
                                objArr22222222222[c] = Integer.valueOf(intValue162222222222);
                                objArr22222222222[8] = integer52222222222;
                                defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr22222222222);
                                if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                                }
                                forObject2 = cloneSettings22.forObject("blurImageViews");
                                if (forObject2 != null) {
                                }
                                if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                                }
                                if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                                }
                                forObject3 = cloneSettings22.forObject("startOtherApp");
                                if (forObject3 != null) {
                                }
                                integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                                if (integer3 != null) {
                                }
                                if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                                }
                                if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                                }
                                string28 = cloneSettings22.getString("minimizeOnBack", str36);
                                if (z4) {
                                }
                                if ("ENABLED".equals(string28)) {
                                }
                                str37 = str33;
                                if ("com.facebook.katana".equals(str37)) {
                                }
                                if (!"com.whatsapp".equals(str37)) {
                                }
                                new WhatsAppSupport().install(str37);
                                ByteArrayOutputStrean.init(context, str37);
                                if ("com.google.android.gm".equals(str37)) {
                                }
                                if ("com.paypal.android.p2pmobile".equals(str37)) {
                                }
                                if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                                }
                                if ("com.bukalapak.android".equals(str37)) {
                                }
                                if ("com.tokopedia.tkpd".equals(str37)) {
                                }
                                if ("com.facebook.mlite".equals(str37)) {
                                }
                                defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                                stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                                booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                                if (stringList5 != null) {
                                }
                                defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                                if (z6) {
                                }
                                Utils.closeAndroidPieApiCompatibilityDialog();
                                Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                                return true;
                            }
                        }
                        str12 = str10;
                        string7 = cloneSettings22.getString("androidVersionSdk", null);
                        String string3222 = cloneSettings22.getString("androidVersionSdkInt", null);
                        String string3322 = cloneSettings22.getString("androidVersionPreviewSdkInt", null);
                        String string3422 = cloneSettings22.getString("androidVersionCodename", null);
                        String string3522 = cloneSettings22.getString("androidVersionIncremental", null);
                        String string3622 = cloneSettings22.getString("androidVersionRelease", null);
                        String string3722 = cloneSettings22.getString("androidVersionBaseOs", null);
                        String string3822 = cloneSettings22.getString("androidVersionSecurityPatch", null);
                        Log.i(TAG, "onCreate; androidVersionSdk: " + string7 + ", androidVersionSdkInt: " + string3222 + ", androidVersionPreviewSdkInt: " + string3322 + ", androidVersionCodename: " + string3422 + ", androidVersionIncremental: " + string3522 + ", androidVersionRelease: " + string3622 + ", androidVersionBaseOs: " + string3722 + ", androidVersionSecurityPatch: " + string3822);
                        if (TextUtils.isEmpty(string7)) {
                            i3 = i2;
                            str13 = str11;
                            string8 = cloneSettings22.getString("buildPropsManufacturer", null);
                            String string39222 = cloneSettings22.getString("buildPropsBrand", null);
                            String string40222 = cloneSettings22.getString("buildPropsModel", null);
                            String string41222 = cloneSettings22.getString("buildPropsProduct", null);
                            String string42222 = cloneSettings22.getString("buildPropsDevice", null);
                            String string43222 = cloneSettings22.getString("buildPropsBoard", null);
                            String string44222 = cloneSettings22.getString("buildPropsHardware", null);
                            String string45222 = cloneSettings22.getString("buildPropsBootloader", null);
                            String string46222 = cloneSettings22.getString("buildPropsFingerprint", null);
                            if (cloneSettings22.getBoolean("randomizeBuildProps", bool2).booleanValue()) {
                            }
                            String str40222 = TAG;
                            int i8222 = i4;
                            StringBuilder sb4222 = new StringBuilder();
                            String str41222 = str13;
                            sb4222.append("onCreate; buildPropsManufacturer: ");
                            sb4222.append(string8);
                            sb4222.append(", buildPropsBrand: ");
                            sb4222.append(string39222);
                            sb4222.append(", buildPropsModel: ");
                            sb4222.append(string40222);
                            sb4222.append(", buildPropsProduct: ");
                            sb4222.append(string41222);
                            sb4222.append(", buildPropsDevice: ");
                            sb4222.append(string42222);
                            sb4222.append(", buildPropsBoard: ");
                            sb4222.append(string43222);
                            sb4222.append(", buildPropsHardware: ");
                            sb4222.append(string44222);
                            sb4222.append(", buildPropsBootloader: ");
                            sb4222.append(string45222);
                            sb4222.append(", buildPropsFingerprint: ");
                            sb4222.append(string46222);
                            Log.i(str40222, sb4222.toString());
                            if (TextUtils.isEmpty(string8)) {
                            }
                            Object[] objArr522 = {context, string8, string39222, string40222, string41222, string42222, string43222, string44222, string45222, string46222};
                            defaultProvider2 = this;
                            str14 = "install";
                            defaultProvider2.invokeSecondaryStatic("BuildProps", str14, objArr522);
                            if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                            }
                            booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                            str16 = str8;
                            if ("com.contextlogic.wish".equals(str16)) {
                            }
                            if (booleanValue5) {
                            }
                            if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                            }
                            if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                            }
                            str17 = str6;
                            string9 = cloneSettings22.getString("longPressBackAction", str17);
                            if (!str17.equals(string9)) {
                            }
                            if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                            }
                            string10 = cloneSettings22.getString("shakeAction", str17);
                            if (str17.equals(string10)) {
                            }
                            if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                            }
                            string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                            String string4722222 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                            if (str17.equals(string11)) {
                            }
                            num5 = num4;
                            defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string4722222, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                            string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                            String string482222222 = cloneSettings22.getString("volumeDownKeyAction", str17);
                            String string492222222 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                            if (str17.equals(string12)) {
                            }
                            str19 = str17;
                            str20 = str15;
                            defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string482222222, cloneSettings22.getString("volumeDownKeyActionParam", null), string492222222, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                            defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                            LoadLibraryWorkaround.install(context, str16);
                            cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                            if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                            }
                            if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                            }
                            string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                            if (!TextUtils.isEmpty(string13)) {
                            }
                            booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                            boolean booleanValue23222222222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                            if (booleanValue6) {
                            }
                            str22 = str19;
                            string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                            if (!str22.equals(string14)) {
                            }
                            if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                            }
                            integer = cloneSettings22.getInteger("statusBarColor", null);
                            integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                            if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                            }
                            if (integer == null) {
                            }
                            defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                            Integer integer4222222222 = cloneSettings22.getInteger("toolbarColor", null);
                            if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                            }
                            if (integer != null) {
                            }
                            if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                            }
                            booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                            booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                            booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                            if (!booleanValue7) {
                            }
                            defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                            if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                            }
                            booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                            booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                            if (!booleanValue10) {
                            }
                            defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                            str27 = str18;
                            string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                            if (z2) {
                            }
                            bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                            if (str27.equals(string15)) {
                            }
                            defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i8222), bool3);
                            if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                            }
                            Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                            defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                            defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                            defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                            if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                            }
                            defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                            if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                            }
                            str28 = str25;
                            string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                            String string50222222222 = cloneSettings22.getString("penInsertedEventAction", str28);
                            if (!"EXIT_APP".equals(string16)) {
                            }
                            PenEventReceiver.install();
                            string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                            String string51222222222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                            if (!"EXIT_APP".equals(string17)) {
                            }
                            PowerEventReceiver.install();
                            string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                            String string52222222222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                            if (str28.equals(string18)) {
                            }
                            HeadphonesEventReceiver.install(context);
                            if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                            }
                            longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                            longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                            if (longValue == 0) {
                            }
                            defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                            if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                            }
                            Utils.allowHiddenApiAccess();
                            if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                            }
                            stringMap = cloneSettings22.getStringMap("mappedHosts");
                            if (stringMap != null) {
                            }
                            stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                            if (stringMap2 != null) {
                            }
                            if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                            }
                            stringList2 = cloneSettings22.getStringList("hideOtherApps");
                            if (stringList2 != null) {
                            }
                            if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                            }
                            bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                            if (bool4 != null) {
                            }
                            string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                            if (!str27.equals(string19)) {
                            }
                            mapList = cloneSettings22.getMapList("screenTextReplacements");
                            if (mapList != null) {
                            }
                            mapList2 = cloneSettings22.getMapList("viewModifications");
                            if (mapList2 != null) {
                            }
                            if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                            }
                            final String string53222222222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                            if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                            }
                            intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                            int intValue9222222222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                            int intValue10222222222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                            if (intValue2 != 0) {
                            }
                            str29 = str16;
                            if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                            }
                            if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                            }
                            string20 = cloneSettings22.getString("keyboardAdjust", str27);
                            if (!str27.equals(string20)) {
                            }
                            string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                            if (!TextUtils.isEmpty(string21)) {
                            }
                            if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                            }
                            intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                            if (intValue3 > 0) {
                            }
                            intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                            if (intValue4 > 0) {
                            }
                            if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                            }
                            String str42222222222 = str12;
                            string22 = cloneSettings22.getString("muteForTextOnScreen", str42222222222);
                            if (!TextUtils.isEmpty(string22)) {
                            }
                            stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                            if (stringList3 != null) {
                            }
                            if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                            }
                            booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                            String string54222222222 = cloneSettings22.getString("toastDuration", str27);
                            if (!booleanValue12) {
                            }
                            String str43222222222 = null;
                            str30 = str21;
                            defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str43222222222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string54222222222);
                            intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                            if (intValue5 > 0) {
                            }
                            if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                            }
                            Integer num822222222222 = num7;
                            intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num822222222222).intValue();
                            if (intValue6 > 0) {
                            }
                            string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                            if (!TextUtils.isEmpty(string23)) {
                            }
                            if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                            }
                            string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                            if (!"DISABLED".equals(string24)) {
                            }
                            booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                            booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                            if (!booleanValue13) {
                            }
                            defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                            if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                            }
                            if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                            }
                            floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                            if (floatValue < 1.0f) {
                            }
                            stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                            if (stringList4 != null) {
                            }
                            if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                            }
                            string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                            if (z2) {
                            }
                            if (str27.equals(string25)) {
                            }
                            string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                            if (z2) {
                            }
                            if (!str27.equals(string26)) {
                            }
                            string27 = cloneSettings22.getString("overrideBindAddress", str27);
                            if (!str27.equals(string27)) {
                            }
                            if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                            }
                            forObject = cloneSettings22.forObject("addPadding");
                            if (forObject == null) {
                            }
                            str36 = str27;
                            booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                            floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                            if (!booleanValue15) {
                            }
                            defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                            stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                            if (stringMap3 != null) {
                            }
                            intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num822222222222).intValue();
                            int intValue1122222222222 = cloneSettings22.getInteger("colorFilterContrast", num822222222222).intValue();
                            int intValue1222222222222 = cloneSettings22.getInteger("colorFilterSaturation", num822222222222).intValue();
                            int intValue1322222222222 = cloneSettings22.getInteger("colorFilterHue", num822222222222).intValue();
                            int intValue1422222222222 = cloneSettings22.getInteger("colorFilterRed", num822222222222).intValue();
                            int intValue1522222222222 = cloneSettings22.getInteger("colorFilterGreen", num822222222222).intValue();
                            int intValue1622222222222 = cloneSettings22.getInteger("colorFilterBlue", num822222222222).intValue();
                            Integer integer522222222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                            if (intValue7 == 0) {
                            }
                            properties5 = properties4;
                            Object[] objArr222222222222 = new Object[9];
                            objArr222222222222[0] = context;
                            objArr222222222222[1] = Integer.valueOf(intValue7);
                            objArr222222222222[2] = Integer.valueOf(intValue1122222222222);
                            objArr222222222222[3] = Integer.valueOf(intValue1222222222222);
                            objArr222222222222[4] = Integer.valueOf(intValue1322222222222);
                            objArr222222222222[5] = Integer.valueOf(intValue1422222222222);
                            objArr222222222222[6] = Integer.valueOf(intValue1522222222222);
                            objArr222222222222[c] = Integer.valueOf(intValue1622222222222);
                            objArr222222222222[8] = integer522222222222;
                            defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr222222222222);
                            if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                            }
                            forObject2 = cloneSettings22.forObject("blurImageViews");
                            if (forObject2 != null) {
                            }
                            if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                            }
                            if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                            }
                            forObject3 = cloneSettings22.forObject("startOtherApp");
                            if (forObject3 != null) {
                            }
                            integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                            if (integer3 != null) {
                            }
                            if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                            }
                            if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                            }
                            string28 = cloneSettings22.getString("minimizeOnBack", str36);
                            if (z4) {
                            }
                            if ("ENABLED".equals(string28)) {
                            }
                            str37 = str33;
                            if ("com.facebook.katana".equals(str37)) {
                            }
                            if (!"com.whatsapp".equals(str37)) {
                            }
                            new WhatsAppSupport().install(str37);
                            ByteArrayOutputStrean.init(context, str37);
                            if ("com.google.android.gm".equals(str37)) {
                            }
                            if ("com.paypal.android.p2pmobile".equals(str37)) {
                            }
                            if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                            }
                            if ("com.bukalapak.android".equals(str37)) {
                            }
                            if ("com.tokopedia.tkpd".equals(str37)) {
                            }
                            if ("com.facebook.mlite".equals(str37)) {
                            }
                            defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                            stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                            booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                            if (stringList5 != null) {
                            }
                            defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                            if (z6) {
                            }
                            Utils.closeAndroidPieApiCompatibilityDialog();
                            Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                            return true;
                        }
                        Object ni232 = ni(context, "com.applisto.appcloner.classes.secondary.AndroidVersion");
                        i3 = i2;
                        str13 = str11;
                        ni232.getClass().getMethod(str13, Context.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class).invoke(ni232, context, string7, string3222, string3322, string3422, string3522, string3622, string3722, string3822);
                        string8 = cloneSettings22.getString("buildPropsManufacturer", null);
                        String string392222 = cloneSettings22.getString("buildPropsBrand", null);
                        String string402222 = cloneSettings22.getString("buildPropsModel", null);
                        String string412222 = cloneSettings22.getString("buildPropsProduct", null);
                        String string422222 = cloneSettings22.getString("buildPropsDevice", null);
                        String string432222 = cloneSettings22.getString("buildPropsBoard", null);
                        String string442222 = cloneSettings22.getString("buildPropsHardware", null);
                        String string452222 = cloneSettings22.getString("buildPropsBootloader", null);
                        String string462222 = cloneSettings22.getString("buildPropsFingerprint", null);
                        if (cloneSettings22.getBoolean("randomizeBuildProps", bool2).booleanValue()) {
                        }
                        String str402222 = TAG;
                        int i82222 = i4;
                        StringBuilder sb42222 = new StringBuilder();
                        String str412222 = str13;
                        sb42222.append("onCreate; buildPropsManufacturer: ");
                        sb42222.append(string8);
                        sb42222.append(", buildPropsBrand: ");
                        sb42222.append(string392222);
                        sb42222.append(", buildPropsModel: ");
                        sb42222.append(string402222);
                        sb42222.append(", buildPropsProduct: ");
                        sb42222.append(string412222);
                        sb42222.append(", buildPropsDevice: ");
                        sb42222.append(string422222);
                        sb42222.append(", buildPropsBoard: ");
                        sb42222.append(string432222);
                        sb42222.append(", buildPropsHardware: ");
                        sb42222.append(string442222);
                        sb42222.append(", buildPropsBootloader: ");
                        sb42222.append(string452222);
                        sb42222.append(", buildPropsFingerprint: ");
                        sb42222.append(string462222);
                        Log.i(str402222, sb42222.toString());
                        if (TextUtils.isEmpty(string8)) {
                        }
                        Object[] objArr5222 = {context, string8, string392222, string402222, string412222, string422222, string432222, string442222, string452222, string462222};
                        defaultProvider2 = this;
                        str14 = "install";
                        defaultProvider2.invokeSecondaryStatic("BuildProps", str14, objArr5222);
                        if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                        }
                        booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                        str16 = str8;
                        if ("com.contextlogic.wish".equals(str16)) {
                        }
                        if (booleanValue5) {
                        }
                        if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                        }
                        if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                        }
                        str17 = str6;
                        string9 = cloneSettings22.getString("longPressBackAction", str17);
                        if (!str17.equals(string9)) {
                        }
                        if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                        }
                        string10 = cloneSettings22.getString("shakeAction", str17);
                        if (str17.equals(string10)) {
                        }
                        if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                        }
                        string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                        String string47222222 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                        if (str17.equals(string11)) {
                        }
                        num5 = num4;
                        defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string47222222, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                        string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                        String string4822222222 = cloneSettings22.getString("volumeDownKeyAction", str17);
                        String string4922222222 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                        if (str17.equals(string12)) {
                        }
                        str19 = str17;
                        str20 = str15;
                        defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string4822222222, cloneSettings22.getString("volumeDownKeyActionParam", null), string4922222222, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                        defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                        LoadLibraryWorkaround.install(context, str16);
                        cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                        if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                        }
                        if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                        }
                        string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                        if (!TextUtils.isEmpty(string13)) {
                        }
                        booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                        boolean booleanValue232222222222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                        if (booleanValue6) {
                        }
                        str22 = str19;
                        string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                        if (!str22.equals(string14)) {
                        }
                        if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                        }
                        integer = cloneSettings22.getInteger("statusBarColor", null);
                        integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                        if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                        }
                        if (integer == null) {
                        }
                        defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                        Integer integer42222222222 = cloneSettings22.getInteger("toolbarColor", null);
                        if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                        }
                        if (integer != null) {
                        }
                        if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                        }
                        booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                        booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                        booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                        if (!booleanValue7) {
                        }
                        defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                        if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                        }
                        booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                        booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                        if (!booleanValue10) {
                        }
                        defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                        str27 = str18;
                        string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                        if (z2) {
                        }
                        bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                        if (str27.equals(string15)) {
                        }
                        defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i82222), bool3);
                        if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                        }
                        Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                        defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                        defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                        defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                        if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                        }
                        defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                        if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                        }
                        str28 = str25;
                        string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                        String string502222222222 = cloneSettings22.getString("penInsertedEventAction", str28);
                        if (!"EXIT_APP".equals(string16)) {
                        }
                        PenEventReceiver.install();
                        string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                        String string512222222222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                        if (!"EXIT_APP".equals(string17)) {
                        }
                        PowerEventReceiver.install();
                        string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                        String string522222222222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                        if (str28.equals(string18)) {
                        }
                        HeadphonesEventReceiver.install(context);
                        if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                        }
                        longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                        longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                        if (longValue == 0) {
                        }
                        defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                        if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                        }
                        Utils.allowHiddenApiAccess();
                        if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                        }
                        stringMap = cloneSettings22.getStringMap("mappedHosts");
                        if (stringMap != null) {
                        }
                        stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                        if (stringMap2 != null) {
                        }
                        if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                        }
                        stringList2 = cloneSettings22.getStringList("hideOtherApps");
                        if (stringList2 != null) {
                        }
                        if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                        }
                        bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                        if (bool4 != null) {
                        }
                        string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                        if (!str27.equals(string19)) {
                        }
                        mapList = cloneSettings22.getMapList("screenTextReplacements");
                        if (mapList != null) {
                        }
                        mapList2 = cloneSettings22.getMapList("viewModifications");
                        if (mapList2 != null) {
                        }
                        if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                        }
                        final String string532222222222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                        if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                        }
                        intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                        int intValue92222222222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                        int intValue102222222222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                        if (intValue2 != 0) {
                        }
                        str29 = str16;
                        if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                        }
                        if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                        }
                        string20 = cloneSettings22.getString("keyboardAdjust", str27);
                        if (!str27.equals(string20)) {
                        }
                        string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                        if (!TextUtils.isEmpty(string21)) {
                        }
                        if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                        }
                        intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                        if (intValue3 > 0) {
                        }
                        intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                        if (intValue4 > 0) {
                        }
                        if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                        }
                        String str422222222222 = str12;
                        string22 = cloneSettings22.getString("muteForTextOnScreen", str422222222222);
                        if (!TextUtils.isEmpty(string22)) {
                        }
                        stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                        if (stringList3 != null) {
                        }
                        if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                        }
                        booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                        String string542222222222 = cloneSettings22.getString("toastDuration", str27);
                        if (!booleanValue12) {
                        }
                        String str432222222222 = null;
                        str30 = str21;
                        defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str432222222222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string542222222222);
                        intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                        if (intValue5 > 0) {
                        }
                        if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                        }
                        Integer num8222222222222 = num7;
                        intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num8222222222222).intValue();
                        if (intValue6 > 0) {
                        }
                        string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                        if (!TextUtils.isEmpty(string23)) {
                        }
                        if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                        }
                        string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                        if (!"DISABLED".equals(string24)) {
                        }
                        booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                        booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                        if (!booleanValue13) {
                        }
                        defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                        if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                        }
                        if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                        }
                        floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                        if (floatValue < 1.0f) {
                        }
                        stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                        if (stringList4 != null) {
                        }
                        if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                        }
                        string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                        if (z2) {
                        }
                        if (str27.equals(string25)) {
                        }
                        string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                        if (z2) {
                        }
                        if (!str27.equals(string26)) {
                        }
                        string27 = cloneSettings22.getString("overrideBindAddress", str27);
                        if (!str27.equals(string27)) {
                        }
                        if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                        }
                        forObject = cloneSettings22.forObject("addPadding");
                        if (forObject == null) {
                        }
                        str36 = str27;
                        booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                        floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                        if (!booleanValue15) {
                        }
                        defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                        stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                        if (stringMap3 != null) {
                        }
                        intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num8222222222222).intValue();
                        int intValue11222222222222 = cloneSettings22.getInteger("colorFilterContrast", num8222222222222).intValue();
                        int intValue12222222222222 = cloneSettings22.getInteger("colorFilterSaturation", num8222222222222).intValue();
                        int intValue13222222222222 = cloneSettings22.getInteger("colorFilterHue", num8222222222222).intValue();
                        int intValue14222222222222 = cloneSettings22.getInteger("colorFilterRed", num8222222222222).intValue();
                        int intValue15222222222222 = cloneSettings22.getInteger("colorFilterGreen", num8222222222222).intValue();
                        int intValue16222222222222 = cloneSettings22.getInteger("colorFilterBlue", num8222222222222).intValue();
                        Integer integer5222222222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                        if (intValue7 == 0) {
                        }
                        properties5 = properties4;
                        Object[] objArr2222222222222 = new Object[9];
                        objArr2222222222222[0] = context;
                        objArr2222222222222[1] = Integer.valueOf(intValue7);
                        objArr2222222222222[2] = Integer.valueOf(intValue11222222222222);
                        objArr2222222222222[3] = Integer.valueOf(intValue12222222222222);
                        objArr2222222222222[4] = Integer.valueOf(intValue13222222222222);
                        objArr2222222222222[5] = Integer.valueOf(intValue14222222222222);
                        objArr2222222222222[6] = Integer.valueOf(intValue15222222222222);
                        objArr2222222222222[c] = Integer.valueOf(intValue16222222222222);
                        objArr2222222222222[8] = integer5222222222222;
                        defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr2222222222222);
                        if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                        }
                        forObject2 = cloneSettings22.forObject("blurImageViews");
                        if (forObject2 != null) {
                        }
                        if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                        }
                        if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                        }
                        forObject3 = cloneSettings22.forObject("startOtherApp");
                        if (forObject3 != null) {
                        }
                        integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                        if (integer3 != null) {
                        }
                        if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                        }
                        if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                        }
                        string28 = cloneSettings22.getString("minimizeOnBack", str36);
                        if (z4) {
                        }
                        if ("ENABLED".equals(string28)) {
                        }
                        str37 = str33;
                        if ("com.facebook.katana".equals(str37)) {
                        }
                        if (!"com.whatsapp".equals(str37)) {
                        }
                        new WhatsAppSupport().install(str37);
                        ByteArrayOutputStrean.init(context, str37);
                        if ("com.google.android.gm".equals(str37)) {
                        }
                        if ("com.paypal.android.p2pmobile".equals(str37)) {
                        }
                        if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                        }
                        if ("com.bukalapak.android".equals(str37)) {
                        }
                        if ("com.tokopedia.tkpd".equals(str37)) {
                        }
                        if ("com.facebook.mlite".equals(str37)) {
                        }
                        defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                        stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                        booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                        if (stringList5 != null) {
                        }
                        defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                        if (z6) {
                        }
                        Utils.closeAndroidPieApiCompatibilityDialog();
                        Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                        return true;
                    }
                    num3 = num2;
                    str10 = str3;
                    str11 = str7;
                    properties = stringsProperties22;
                    bool = false;
                    defaultProvider2.invokeSecondaryInstance("ChangeImeiImsiHideSimOperatorInfo", "install", context, string4, Boolean.valueOf(cloneSettings22.getBoolean("changeImeiRandomizeClone", false).booleanValue()), cloneSettings22.getString("customImei", str10), string312, Boolean.valueOf(cloneSettings22.getBoolean("changeImsiRandomizeClone", false).booleanValue()), cloneSettings22.getString("customImsi", str10), Boolean.valueOf(z3), Integer.valueOf(i2));
                    string5 = cloneSettings22.getString("changeWifiMacAddress", str9);
                    if (z2) {
                    }
                    if (str9.equals(string5)) {
                    }
                    string6 = cloneSettings22.getString("changeBluetoothMacAddress", str9);
                    if (z2) {
                    }
                    if (!str9.equals(string6)) {
                    }
                    d = cloneSettings22.getDouble("spoofLocationLatitude", null);
                    d2 = cloneSettings22.getDouble("spoofLocationLongitude", null);
                    if (d != null) {
                        defaultProvider2.invokeSecondaryInstance("SpoofLocation", "install", context, d, d2, Integer.valueOf(cloneSettings22.getInteger("spoofLocationInterval", 10).intValue()));
                        if (cloneSettings22.getBoolean("gpsJoystick", bool2).booleanValue()) {
                        }
                    }
                    str12 = str10;
                    string7 = cloneSettings22.getString("androidVersionSdk", null);
                    String string32222 = cloneSettings22.getString("androidVersionSdkInt", null);
                    String string33222 = cloneSettings22.getString("androidVersionPreviewSdkInt", null);
                    String string34222 = cloneSettings22.getString("androidVersionCodename", null);
                    String string35222 = cloneSettings22.getString("androidVersionIncremental", null);
                    String string36222 = cloneSettings22.getString("androidVersionRelease", null);
                    String string37222 = cloneSettings22.getString("androidVersionBaseOs", null);
                    String string38222 = cloneSettings22.getString("androidVersionSecurityPatch", null);
                    Log.i(TAG, "onCreate; androidVersionSdk: " + string7 + ", androidVersionSdkInt: " + string32222 + ", androidVersionPreviewSdkInt: " + string33222 + ", androidVersionCodename: " + string34222 + ", androidVersionIncremental: " + string35222 + ", androidVersionRelease: " + string36222 + ", androidVersionBaseOs: " + string37222 + ", androidVersionSecurityPatch: " + string38222);
                    if (TextUtils.isEmpty(string7)) {
                    }
                    Object ni2322 = ni(context, "com.applisto.appcloner.classes.secondary.AndroidVersion");
                    i3 = i2;
                    str13 = str11;
                    ni2322.getClass().getMethod(str13, Context.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class).invoke(ni2322, context, string7, string32222, string33222, string34222, string35222, string36222, string37222, string38222);
                    string8 = cloneSettings22.getString("buildPropsManufacturer", null);
                    String string3922222 = cloneSettings22.getString("buildPropsBrand", null);
                    String string4022222 = cloneSettings22.getString("buildPropsModel", null);
                    String string4122222 = cloneSettings22.getString("buildPropsProduct", null);
                    String string4222222 = cloneSettings22.getString("buildPropsDevice", null);
                    String string4322222 = cloneSettings22.getString("buildPropsBoard", null);
                    String string4422222 = cloneSettings22.getString("buildPropsHardware", null);
                    String string4522222 = cloneSettings22.getString("buildPropsBootloader", null);
                    String string4622222 = cloneSettings22.getString("buildPropsFingerprint", null);
                    if (cloneSettings22.getBoolean("randomizeBuildProps", bool2).booleanValue()) {
                    }
                    String str4022222 = TAG;
                    int i822222 = i4;
                    StringBuilder sb422222 = new StringBuilder();
                    String str4122222 = str13;
                    sb422222.append("onCreate; buildPropsManufacturer: ");
                    sb422222.append(string8);
                    sb422222.append(", buildPropsBrand: ");
                    sb422222.append(string3922222);
                    sb422222.append(", buildPropsModel: ");
                    sb422222.append(string4022222);
                    sb422222.append(", buildPropsProduct: ");
                    sb422222.append(string4122222);
                    sb422222.append(", buildPropsDevice: ");
                    sb422222.append(string4222222);
                    sb422222.append(", buildPropsBoard: ");
                    sb422222.append(string4322222);
                    sb422222.append(", buildPropsHardware: ");
                    sb422222.append(string4422222);
                    sb422222.append(", buildPropsBootloader: ");
                    sb422222.append(string4522222);
                    sb422222.append(", buildPropsFingerprint: ");
                    sb422222.append(string4622222);
                    Log.i(str4022222, sb422222.toString());
                    if (TextUtils.isEmpty(string8)) {
                    }
                    Object[] objArr52222 = {context, string8, string3922222, string4022222, string4122222, string4222222, string4322222, string4422222, string4522222, string4622222};
                    defaultProvider2 = this;
                    str14 = "install";
                    defaultProvider2.invokeSecondaryStatic("BuildProps", str14, objArr52222);
                    if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                    }
                    booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                    str16 = str8;
                    if ("com.contextlogic.wish".equals(str16)) {
                    }
                    if (booleanValue5) {
                    }
                    if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                    }
                    if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                    }
                    str17 = str6;
                    string9 = cloneSettings22.getString("longPressBackAction", str17);
                    if (!str17.equals(string9)) {
                    }
                    if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                    }
                    string10 = cloneSettings22.getString("shakeAction", str17);
                    if (str17.equals(string10)) {
                    }
                    if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                    }
                    string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                    String string472222222 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                    if (str17.equals(string11)) {
                    }
                    num5 = num4;
                    defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string472222222, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                    string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                    String string48222222222 = cloneSettings22.getString("volumeDownKeyAction", str17);
                    String string49222222222 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                    if (str17.equals(string12)) {
                    }
                    str19 = str17;
                    str20 = str15;
                    defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string48222222222, cloneSettings22.getString("volumeDownKeyActionParam", null), string49222222222, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                    defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                    LoadLibraryWorkaround.install(context, str16);
                    cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                    if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                    }
                    if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                    }
                    string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                    if (!TextUtils.isEmpty(string13)) {
                    }
                    booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                    boolean booleanValue2322222222222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                    if (booleanValue6) {
                    }
                    str22 = str19;
                    string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                    if (!str22.equals(string14)) {
                    }
                    if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                    }
                    integer = cloneSettings22.getInteger("statusBarColor", null);
                    integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                    if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                    }
                    if (integer == null) {
                    }
                    defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                    Integer integer422222222222 = cloneSettings22.getInteger("toolbarColor", null);
                    if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                    }
                    if (integer != null) {
                    }
                    if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                    }
                    booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                    booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                    booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                    if (!booleanValue7) {
                    }
                    defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                    if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                    }
                    booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                    booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                    if (!booleanValue10) {
                    }
                    defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                    str27 = str18;
                    string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                    if (z2) {
                    }
                    bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                    if (str27.equals(string15)) {
                    }
                    defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i822222), bool3);
                    if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                    }
                    Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                    defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                    defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                    defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                    if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                    }
                    defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                    if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                    }
                    str28 = str25;
                    string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                    String string5022222222222 = cloneSettings22.getString("penInsertedEventAction", str28);
                    if (!"EXIT_APP".equals(string16)) {
                    }
                    PenEventReceiver.install();
                    string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                    String string5122222222222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                    if (!"EXIT_APP".equals(string17)) {
                    }
                    PowerEventReceiver.install();
                    string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                    String string5222222222222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                    if (str28.equals(string18)) {
                    }
                    HeadphonesEventReceiver.install(context);
                    if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                    }
                    longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                    longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                    if (longValue == 0) {
                    }
                    defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                    if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                    }
                    Utils.allowHiddenApiAccess();
                    if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                    }
                    stringMap = cloneSettings22.getStringMap("mappedHosts");
                    if (stringMap != null) {
                    }
                    stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                    if (stringMap2 != null) {
                    }
                    if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                    }
                    stringList2 = cloneSettings22.getStringList("hideOtherApps");
                    if (stringList2 != null) {
                    }
                    if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                    }
                    bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                    if (bool4 != null) {
                    }
                    string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                    if (!str27.equals(string19)) {
                    }
                    mapList = cloneSettings22.getMapList("screenTextReplacements");
                    if (mapList != null) {
                    }
                    mapList2 = cloneSettings22.getMapList("viewModifications");
                    if (mapList2 != null) {
                    }
                    if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                    }
                    final String string5322222222222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                    if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                    }
                    intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                    int intValue922222222222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                    int intValue1022222222222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                    if (intValue2 != 0) {
                    }
                    str29 = str16;
                    if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                    }
                    if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                    }
                    string20 = cloneSettings22.getString("keyboardAdjust", str27);
                    if (!str27.equals(string20)) {
                    }
                    string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                    if (!TextUtils.isEmpty(string21)) {
                    }
                    if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                    }
                    intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                    if (intValue3 > 0) {
                    }
                    intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                    if (intValue4 > 0) {
                    }
                    if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                    }
                    String str4222222222222 = str12;
                    string22 = cloneSettings22.getString("muteForTextOnScreen", str4222222222222);
                    if (!TextUtils.isEmpty(string22)) {
                    }
                    stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                    if (stringList3 != null) {
                    }
                    if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                    }
                    booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                    String string5422222222222 = cloneSettings22.getString("toastDuration", str27);
                    if (!booleanValue12) {
                    }
                    String str4322222222222 = null;
                    str30 = str21;
                    defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str4322222222222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string5422222222222);
                    intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                    if (intValue5 > 0) {
                    }
                    if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                    }
                    Integer num82222222222222 = num7;
                    intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num82222222222222).intValue();
                    if (intValue6 > 0) {
                    }
                    string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                    if (!TextUtils.isEmpty(string23)) {
                    }
                    if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                    }
                    string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                    if (!"DISABLED".equals(string24)) {
                    }
                    booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                    booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                    if (!booleanValue13) {
                    }
                    defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                    if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                    }
                    if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                    }
                    floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                    if (floatValue < 1.0f) {
                    }
                    stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                    if (stringList4 != null) {
                    }
                    if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                    }
                    string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                    if (z2) {
                    }
                    if (str27.equals(string25)) {
                    }
                    string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                    if (z2) {
                    }
                    if (!str27.equals(string26)) {
                    }
                    string27 = cloneSettings22.getString("overrideBindAddress", str27);
                    if (!str27.equals(string27)) {
                    }
                    if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                    }
                    forObject = cloneSettings22.forObject("addPadding");
                    if (forObject == null) {
                    }
                    str36 = str27;
                    booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                    floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                    if (!booleanValue15) {
                    }
                    defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                    stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                    if (stringMap3 != null) {
                    }
                    intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num82222222222222).intValue();
                    int intValue112222222222222 = cloneSettings22.getInteger("colorFilterContrast", num82222222222222).intValue();
                    int intValue122222222222222 = cloneSettings22.getInteger("colorFilterSaturation", num82222222222222).intValue();
                    int intValue132222222222222 = cloneSettings22.getInteger("colorFilterHue", num82222222222222).intValue();
                    int intValue142222222222222 = cloneSettings22.getInteger("colorFilterRed", num82222222222222).intValue();
                    int intValue152222222222222 = cloneSettings22.getInteger("colorFilterGreen", num82222222222222).intValue();
                    int intValue162222222222222 = cloneSettings22.getInteger("colorFilterBlue", num82222222222222).intValue();
                    Integer integer52222222222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                    if (intValue7 == 0) {
                    }
                    properties5 = properties4;
                    Object[] objArr22222222222222 = new Object[9];
                    objArr22222222222222[0] = context;
                    objArr22222222222222[1] = Integer.valueOf(intValue7);
                    objArr22222222222222[2] = Integer.valueOf(intValue112222222222222);
                    objArr22222222222222[3] = Integer.valueOf(intValue122222222222222);
                    objArr22222222222222[4] = Integer.valueOf(intValue132222222222222);
                    objArr22222222222222[5] = Integer.valueOf(intValue142222222222222);
                    objArr22222222222222[6] = Integer.valueOf(intValue152222222222222);
                    objArr22222222222222[c] = Integer.valueOf(intValue162222222222222);
                    objArr22222222222222[8] = integer52222222222222;
                    defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr22222222222222);
                    if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                    }
                    forObject2 = cloneSettings22.forObject("blurImageViews");
                    if (forObject2 != null) {
                    }
                    if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                    }
                    if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                    }
                    forObject3 = cloneSettings22.forObject("startOtherApp");
                    if (forObject3 != null) {
                    }
                    integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                    if (integer3 != null) {
                    }
                    if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                    }
                    string28 = cloneSettings22.getString("minimizeOnBack", str36);
                    if (z4) {
                    }
                    if ("ENABLED".equals(string28)) {
                    }
                    str37 = str33;
                    if ("com.facebook.katana".equals(str37)) {
                    }
                    if (!"com.whatsapp".equals(str37)) {
                    }
                    new WhatsAppSupport().install(str37);
                    ByteArrayOutputStrean.init(context, str37);
                    if ("com.google.android.gm".equals(str37)) {
                    }
                    if ("com.paypal.android.p2pmobile".equals(str37)) {
                    }
                    if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                    }
                    if ("com.bukalapak.android".equals(str37)) {
                    }
                    if ("com.tokopedia.tkpd".equals(str37)) {
                    }
                    if ("com.facebook.mlite".equals(str37)) {
                    }
                    defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                    stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                    booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                    if (stringList5 != null) {
                    }
                    defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                    if (z6) {
                    }
                    Utils.closeAndroidPieApiCompatibilityDialog();
                    Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                    return true;
                }
                str4 = "init";
                defaultProvider2.invokeSecondaryStatic("UpdateConfiguration", "install", context, string29, Float.valueOf(floatValue3), Float.valueOf(floatValue4), Boolean.valueOf(booleanValue18));
                new CrashHandler(cloneSettings22).install(context);
                new ToastFilter(cloneSettings22).install(context);
                new BundleFilesDirectories(cloneSettings22).install(context);
                new BundleObb(cloneSettings22).install(context);
                new SetBrightnessOnStart(cloneSettings22).install();
                new WifiControls(cloneSettings22).install(context);
                new BluetoothControls(cloneSettings22).install();
                new InterruptionFilterControls(cloneSettings22).install(stringsProperties22);
                new NotificationOptions(cloneSettings22).install(context);
                new AutoRotateControls(cloneSettings22).install();
                new FacebookLoginBehavior(cloneSettings22).install();
                new OpenLinksWith(cloneSettings22).install(context);
                if (!"com.tokopedia.tkpd".equals(originalPackageName)) {
                }
                new DisableClipboardAccess(cloneSettings22).install(context, stringsProperties22);
                new ShowOnLockScreen(cloneSettings22).install();
                new PersistentApp(cloneSettings22).install(context);
                new AutoPressButtons(cloneSettings22).install();
                new PictureInPicture(cloneSettings22).install();
                new LogcatViewer(cloneSettings22).install(context);
                intValue = cloneSettings22.getInteger("longPressTimeout", 0).intValue();
                if (intValue > 0) {
                }
                if (!cloneSettings22.getBoolean("passwordProtectApp", false).booleanValue()) {
                }
                new PasswordProtectApp().install();
                str5 = str;
                string = cloneSettings22.getString("rotationLock", str5);
                if (!"LANDSCAPE".equals(string)) {
                }
                defaultProvider2.invokeSecondaryStatic("RotationLock", "install", context, string);
                if (cloneSettings22.getBoolean("forceRotationLockUsingOverlay", false).booleanValue()) {
                }
                str6 = str5;
                str7 = str4;
                if (!cloneSettings22.getBoolean("floatingApp", false).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("multiWindowNoPause", false).booleanValue()) {
                }
                booleanValue = cloneSettings22.getBoolean("immersiveMode", false).booleanValue();
                boolean booleanValue2022 = cloneSettings22.getBoolean("immersiveModeIgnoreNotch", false).booleanValue();
                boolean booleanValue2122 = cloneSettings22.getBoolean("transparentNavigationBar", false).booleanValue();
                booleanValue2 = cloneSettings22.getBoolean("preventImmersiveMode", false).booleanValue();
                if (!booleanValue) {
                }
                defaultProvider2.invokeSecondaryInstance("ImmersiveMode", "install", Boolean.valueOf(booleanValue), Boolean.valueOf(booleanValue2022), Boolean.valueOf(booleanValue2122), Boolean.valueOf(booleanValue2));
                string2 = cloneSettings22.getString("taskerStartTaskName", null);
                string3 = cloneSettings22.getString("taskerStopTaskName", null);
                if (TextUtils.isEmpty(string2)) {
                }
                Object ni52 = ni(context, "com.applisto.appcloner.classes.secondary.ExecuteTaskerTasks");
                ni52.getClass().getMethod(str7, Context.class, String.class, String.class).invoke(ni52, context, string2, string3);
                if (cloneSettings22.getBoolean("makeDebuggable", false).booleanValue()) {
                }
                booleanValue3 = cloneSettings22.getBoolean("privateAccounts", false).booleanValue();
                if ("com.insightly.droid".equals(originalPackageName)) {
                }
                if (booleanValue3) {
                }
                if (cloneSettings22.getBoolean("disableShareActions", false).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableWakeLocks", false).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableContactsAccess", false).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableCalendarAccess", false).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableCallLogSmsAccess", false).booleanValue()) {
                }
                stringList = cloneSettings22.getStringList("deviceLockDeviceIdentifiers");
                if (stringList == null) {
                }
                defaultProvider2.invokeSecondaryInstance("ForceDeviceLock", "install", context, stringsProperties22);
                if (z2) {
                }
                booleanValue4 = cloneSettings22.getBoolean("changeAndroidId", false).booleanValue();
                num2 = num;
                int intValue822 = cloneSettings22.getInteger("changeAndroidIdSeed", num2).intValue();
                boolean booleanValue2222 = cloneSettings22.getBoolean("randomAndroidId", false).booleanValue();
                String string3022 = cloneSettings22.getString("customAndroidId", null);
                if (z2) {
                }
                if (booleanValue4) {
                }
                str9 = str2;
                string4 = cloneSettings22.getString("changeImei", str9);
                String string3122 = cloneSettings22.getString("changeImsi", str9);
                if (z2) {
                }
                if (str9.equals(string4)) {
                    num3 = num2;
                    properties = stringsProperties22;
                    bool = false;
                    str10 = str3;
                    str11 = str7;
                    string5 = cloneSettings22.getString("changeWifiMacAddress", str9);
                    if (z2) {
                    }
                    if (str9.equals(string5)) {
                    }
                    string6 = cloneSettings22.getString("changeBluetoothMacAddress", str9);
                    if (z2) {
                    }
                    if (!str9.equals(string6)) {
                    }
                    d = cloneSettings22.getDouble("spoofLocationLatitude", null);
                    d2 = cloneSettings22.getDouble("spoofLocationLongitude", null);
                    if (d != null) {
                    }
                    str12 = str10;
                    string7 = cloneSettings22.getString("androidVersionSdk", null);
                    String string322222 = cloneSettings22.getString("androidVersionSdkInt", null);
                    String string332222 = cloneSettings22.getString("androidVersionPreviewSdkInt", null);
                    String string342222 = cloneSettings22.getString("androidVersionCodename", null);
                    String string352222 = cloneSettings22.getString("androidVersionIncremental", null);
                    String string362222 = cloneSettings22.getString("androidVersionRelease", null);
                    String string372222 = cloneSettings22.getString("androidVersionBaseOs", null);
                    String string382222 = cloneSettings22.getString("androidVersionSecurityPatch", null);
                    Log.i(TAG, "onCreate; androidVersionSdk: " + string7 + ", androidVersionSdkInt: " + string322222 + ", androidVersionPreviewSdkInt: " + string332222 + ", androidVersionCodename: " + string342222 + ", androidVersionIncremental: " + string352222 + ", androidVersionRelease: " + string362222 + ", androidVersionBaseOs: " + string372222 + ", androidVersionSecurityPatch: " + string382222);
                    if (TextUtils.isEmpty(string7)) {
                    }
                    Object ni23222 = ni(context, "com.applisto.appcloner.classes.secondary.AndroidVersion");
                    i3 = i2;
                    str13 = str11;
                    ni23222.getClass().getMethod(str13, Context.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class).invoke(ni23222, context, string7, string322222, string332222, string342222, string352222, string362222, string372222, string382222);
                    string8 = cloneSettings22.getString("buildPropsManufacturer", null);
                    String string39222222 = cloneSettings22.getString("buildPropsBrand", null);
                    String string40222222 = cloneSettings22.getString("buildPropsModel", null);
                    String string41222222 = cloneSettings22.getString("buildPropsProduct", null);
                    String string42222222 = cloneSettings22.getString("buildPropsDevice", null);
                    String string43222222 = cloneSettings22.getString("buildPropsBoard", null);
                    String string44222222 = cloneSettings22.getString("buildPropsHardware", null);
                    String string45222222 = cloneSettings22.getString("buildPropsBootloader", null);
                    String string46222222 = cloneSettings22.getString("buildPropsFingerprint", null);
                    if (cloneSettings22.getBoolean("randomizeBuildProps", bool2).booleanValue()) {
                    }
                    String str40222222 = TAG;
                    int i8222222 = i4;
                    StringBuilder sb4222222 = new StringBuilder();
                    String str41222222 = str13;
                    sb4222222.append("onCreate; buildPropsManufacturer: ");
                    sb4222222.append(string8);
                    sb4222222.append(", buildPropsBrand: ");
                    sb4222222.append(string39222222);
                    sb4222222.append(", buildPropsModel: ");
                    sb4222222.append(string40222222);
                    sb4222222.append(", buildPropsProduct: ");
                    sb4222222.append(string41222222);
                    sb4222222.append(", buildPropsDevice: ");
                    sb4222222.append(string42222222);
                    sb4222222.append(", buildPropsBoard: ");
                    sb4222222.append(string43222222);
                    sb4222222.append(", buildPropsHardware: ");
                    sb4222222.append(string44222222);
                    sb4222222.append(", buildPropsBootloader: ");
                    sb4222222.append(string45222222);
                    sb4222222.append(", buildPropsFingerprint: ");
                    sb4222222.append(string46222222);
                    Log.i(str40222222, sb4222222.toString());
                    if (TextUtils.isEmpty(string8)) {
                    }
                    Object[] objArr522222 = {context, string8, string39222222, string40222222, string41222222, string42222222, string43222222, string44222222, string45222222, string46222222};
                    defaultProvider2 = this;
                    str14 = "install";
                    defaultProvider2.invokeSecondaryStatic("BuildProps", str14, objArr522222);
                    if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                    }
                    booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                    str16 = str8;
                    if ("com.contextlogic.wish".equals(str16)) {
                    }
                    if (booleanValue5) {
                    }
                    if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                    }
                    if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                    }
                    str17 = str6;
                    string9 = cloneSettings22.getString("longPressBackAction", str17);
                    if (!str17.equals(string9)) {
                    }
                    if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                    }
                    string10 = cloneSettings22.getString("shakeAction", str17);
                    if (str17.equals(string10)) {
                    }
                    if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                    }
                    string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                    String string4722222222 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                    if (str17.equals(string11)) {
                    }
                    num5 = num4;
                    defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string4722222222, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                    string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                    String string482222222222 = cloneSettings22.getString("volumeDownKeyAction", str17);
                    String string492222222222 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                    if (str17.equals(string12)) {
                    }
                    str19 = str17;
                    str20 = str15;
                    defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string482222222222, cloneSettings22.getString("volumeDownKeyActionParam", null), string492222222222, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                    defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                    LoadLibraryWorkaround.install(context, str16);
                    cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                    if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                    }
                    if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                    }
                    string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                    if (!TextUtils.isEmpty(string13)) {
                    }
                    booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                    boolean booleanValue23222222222222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                    if (booleanValue6) {
                    }
                    str22 = str19;
                    string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                    if (!str22.equals(string14)) {
                    }
                    if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                    }
                    integer = cloneSettings22.getInteger("statusBarColor", null);
                    integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                    if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                    }
                    if (integer == null) {
                    }
                    defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                    Integer integer4222222222222 = cloneSettings22.getInteger("toolbarColor", null);
                    if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                    }
                    if (integer != null) {
                    }
                    if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                    }
                    booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                    booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                    booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                    if (!booleanValue7) {
                    }
                    defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                    if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                    }
                    booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                    booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                    if (!booleanValue10) {
                    }
                    defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                    str27 = str18;
                    string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                    if (z2) {
                    }
                    bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                    if (str27.equals(string15)) {
                    }
                    defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i8222222), bool3);
                    if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                    }
                    Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                    defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                    defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                    defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                    if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                    }
                    defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                    if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                    }
                    str28 = str25;
                    string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                    String string50222222222222 = cloneSettings22.getString("penInsertedEventAction", str28);
                    if (!"EXIT_APP".equals(string16)) {
                    }
                    PenEventReceiver.install();
                    string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                    String string51222222222222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                    if (!"EXIT_APP".equals(string17)) {
                    }
                    PowerEventReceiver.install();
                    string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                    String string52222222222222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                    if (str28.equals(string18)) {
                    }
                    HeadphonesEventReceiver.install(context);
                    if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                    }
                    longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                    longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                    if (longValue == 0) {
                    }
                    defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                    if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                    }
                    Utils.allowHiddenApiAccess();
                    if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                    }
                    stringMap = cloneSettings22.getStringMap("mappedHosts");
                    if (stringMap != null) {
                    }
                    stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                    if (stringMap2 != null) {
                    }
                    if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                    }
                    stringList2 = cloneSettings22.getStringList("hideOtherApps");
                    if (stringList2 != null) {
                    }
                    if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                    }
                    bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                    if (bool4 != null) {
                    }
                    string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                    if (!str27.equals(string19)) {
                    }
                    mapList = cloneSettings22.getMapList("screenTextReplacements");
                    if (mapList != null) {
                    }
                    mapList2 = cloneSettings22.getMapList("viewModifications");
                    if (mapList2 != null) {
                    }
                    if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                    }
                    final String string53222222222222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                    if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                    }
                    intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                    int intValue9222222222222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                    int intValue10222222222222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                    if (intValue2 != 0) {
                    }
                    str29 = str16;
                    if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                    }
                    if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                    }
                    string20 = cloneSettings22.getString("keyboardAdjust", str27);
                    if (!str27.equals(string20)) {
                    }
                    string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                    if (!TextUtils.isEmpty(string21)) {
                    }
                    if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                    }
                    intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                    if (intValue3 > 0) {
                    }
                    intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                    if (intValue4 > 0) {
                    }
                    if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                    }
                    String str42222222222222 = str12;
                    string22 = cloneSettings22.getString("muteForTextOnScreen", str42222222222222);
                    if (!TextUtils.isEmpty(string22)) {
                    }
                    stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                    if (stringList3 != null) {
                    }
                    if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                    }
                    booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                    String string54222222222222 = cloneSettings22.getString("toastDuration", str27);
                    if (!booleanValue12) {
                    }
                    String str43222222222222 = null;
                    str30 = str21;
                    defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str43222222222222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string54222222222222);
                    intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                    if (intValue5 > 0) {
                    }
                    if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                    }
                    Integer num822222222222222 = num7;
                    intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num822222222222222).intValue();
                    if (intValue6 > 0) {
                    }
                    string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                    if (!TextUtils.isEmpty(string23)) {
                    }
                    if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                    }
                    string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                    if (!"DISABLED".equals(string24)) {
                    }
                    booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                    booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                    if (!booleanValue13) {
                    }
                    defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                    if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                    }
                    if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                    }
                    floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                    if (floatValue < 1.0f) {
                    }
                    stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                    if (stringList4 != null) {
                    }
                    if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                    }
                    string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                    if (z2) {
                    }
                    if (str27.equals(string25)) {
                    }
                    string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                    if (z2) {
                    }
                    if (!str27.equals(string26)) {
                    }
                    string27 = cloneSettings22.getString("overrideBindAddress", str27);
                    if (!str27.equals(string27)) {
                    }
                    if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                    }
                    forObject = cloneSettings22.forObject("addPadding");
                    if (forObject == null) {
                    }
                    str36 = str27;
                    booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                    floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                    if (!booleanValue15) {
                    }
                    defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                    stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                    if (stringMap3 != null) {
                    }
                    intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num822222222222222).intValue();
                    int intValue1122222222222222 = cloneSettings22.getInteger("colorFilterContrast", num822222222222222).intValue();
                    int intValue1222222222222222 = cloneSettings22.getInteger("colorFilterSaturation", num822222222222222).intValue();
                    int intValue1322222222222222 = cloneSettings22.getInteger("colorFilterHue", num822222222222222).intValue();
                    int intValue1422222222222222 = cloneSettings22.getInteger("colorFilterRed", num822222222222222).intValue();
                    int intValue1522222222222222 = cloneSettings22.getInteger("colorFilterGreen", num822222222222222).intValue();
                    int intValue1622222222222222 = cloneSettings22.getInteger("colorFilterBlue", num822222222222222).intValue();
                    Integer integer522222222222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                    if (intValue7 == 0) {
                    }
                    properties5 = properties4;
                    Object[] objArr222222222222222 = new Object[9];
                    objArr222222222222222[0] = context;
                    objArr222222222222222[1] = Integer.valueOf(intValue7);
                    objArr222222222222222[2] = Integer.valueOf(intValue1122222222222222);
                    objArr222222222222222[3] = Integer.valueOf(intValue1222222222222222);
                    objArr222222222222222[4] = Integer.valueOf(intValue1322222222222222);
                    objArr222222222222222[5] = Integer.valueOf(intValue1422222222222222);
                    objArr222222222222222[6] = Integer.valueOf(intValue1522222222222222);
                    objArr222222222222222[c] = Integer.valueOf(intValue1622222222222222);
                    objArr222222222222222[8] = integer522222222222222;
                    defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr222222222222222);
                    if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                    }
                    forObject2 = cloneSettings22.forObject("blurImageViews");
                    if (forObject2 != null) {
                    }
                    if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                    }
                    if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                    }
                    forObject3 = cloneSettings22.forObject("startOtherApp");
                    if (forObject3 != null) {
                    }
                    integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                    if (integer3 != null) {
                    }
                    if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                    }
                    if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                    }
                    string28 = cloneSettings22.getString("minimizeOnBack", str36);
                    if (z4) {
                    }
                    if ("ENABLED".equals(string28)) {
                    }
                    str37 = str33;
                    if ("com.facebook.katana".equals(str37)) {
                    }
                    if (!"com.whatsapp".equals(str37)) {
                    }
                    new WhatsAppSupport().install(str37);
                    ByteArrayOutputStrean.init(context, str37);
                    if ("com.google.android.gm".equals(str37)) {
                    }
                    if ("com.paypal.android.p2pmobile".equals(str37)) {
                    }
                    if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                    }
                    if ("com.bukalapak.android".equals(str37)) {
                    }
                    if ("com.tokopedia.tkpd".equals(str37)) {
                    }
                    if ("com.facebook.mlite".equals(str37)) {
                    }
                    defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                    stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                    booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                    if (stringList5 != null) {
                    }
                    defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                    if (z6) {
                    }
                    Utils.closeAndroidPieApiCompatibilityDialog();
                    Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                    return true;
                }
                num3 = num2;
                str10 = str3;
                str11 = str7;
                properties = stringsProperties22;
                bool = false;
                defaultProvider2.invokeSecondaryInstance("ChangeImeiImsiHideSimOperatorInfo", "install", context, string4, Boolean.valueOf(cloneSettings22.getBoolean("changeImeiRandomizeClone", false).booleanValue()), cloneSettings22.getString("customImei", str10), string3122, Boolean.valueOf(cloneSettings22.getBoolean("changeImsiRandomizeClone", false).booleanValue()), cloneSettings22.getString("customImsi", str10), Boolean.valueOf(z3), Integer.valueOf(i2));
                string5 = cloneSettings22.getString("changeWifiMacAddress", str9);
                if (z2) {
                }
                if (str9.equals(string5)) {
                }
                string6 = cloneSettings22.getString("changeBluetoothMacAddress", str9);
                if (z2) {
                }
                if (!str9.equals(string6)) {
                }
                d = cloneSettings22.getDouble("spoofLocationLatitude", null);
                d2 = cloneSettings22.getDouble("spoofLocationLongitude", null);
                if (d != null) {
                }
                str12 = str10;
                string7 = cloneSettings22.getString("androidVersionSdk", null);
                String string3222222 = cloneSettings22.getString("androidVersionSdkInt", null);
                String string3322222 = cloneSettings22.getString("androidVersionPreviewSdkInt", null);
                String string3422222 = cloneSettings22.getString("androidVersionCodename", null);
                String string3522222 = cloneSettings22.getString("androidVersionIncremental", null);
                String string3622222 = cloneSettings22.getString("androidVersionRelease", null);
                String string3722222 = cloneSettings22.getString("androidVersionBaseOs", null);
                String string3822222 = cloneSettings22.getString("androidVersionSecurityPatch", null);
                Log.i(TAG, "onCreate; androidVersionSdk: " + string7 + ", androidVersionSdkInt: " + string3222222 + ", androidVersionPreviewSdkInt: " + string3322222 + ", androidVersionCodename: " + string3422222 + ", androidVersionIncremental: " + string3522222 + ", androidVersionRelease: " + string3622222 + ", androidVersionBaseOs: " + string3722222 + ", androidVersionSecurityPatch: " + string3822222);
                if (TextUtils.isEmpty(string7)) {
                }
                Object ni232222 = ni(context, "com.applisto.appcloner.classes.secondary.AndroidVersion");
                i3 = i2;
                str13 = str11;
                ni232222.getClass().getMethod(str13, Context.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class, String.class).invoke(ni232222, context, string7, string3222222, string3322222, string3422222, string3522222, string3622222, string3722222, string3822222);
                string8 = cloneSettings22.getString("buildPropsManufacturer", null);
                String string392222222 = cloneSettings22.getString("buildPropsBrand", null);
                String string402222222 = cloneSettings22.getString("buildPropsModel", null);
                String string412222222 = cloneSettings22.getString("buildPropsProduct", null);
                String string422222222 = cloneSettings22.getString("buildPropsDevice", null);
                String string432222222 = cloneSettings22.getString("buildPropsBoard", null);
                String string442222222 = cloneSettings22.getString("buildPropsHardware", null);
                String string452222222 = cloneSettings22.getString("buildPropsBootloader", null);
                String string462222222 = cloneSettings22.getString("buildPropsFingerprint", null);
                if (cloneSettings22.getBoolean("randomizeBuildProps", bool2).booleanValue()) {
                }
                String str402222222 = TAG;
                int i82222222 = i4;
                StringBuilder sb42222222 = new StringBuilder();
                String str412222222 = str13;
                sb42222222.append("onCreate; buildPropsManufacturer: ");
                sb42222222.append(string8);
                sb42222222.append(", buildPropsBrand: ");
                sb42222222.append(string392222222);
                sb42222222.append(", buildPropsModel: ");
                sb42222222.append(string402222222);
                sb42222222.append(", buildPropsProduct: ");
                sb42222222.append(string412222222);
                sb42222222.append(", buildPropsDevice: ");
                sb42222222.append(string422222222);
                sb42222222.append(", buildPropsBoard: ");
                sb42222222.append(string432222222);
                sb42222222.append(", buildPropsHardware: ");
                sb42222222.append(string442222222);
                sb42222222.append(", buildPropsBootloader: ");
                sb42222222.append(string452222222);
                sb42222222.append(", buildPropsFingerprint: ");
                sb42222222.append(string462222222);
                Log.i(str402222222, sb42222222.toString());
                if (TextUtils.isEmpty(string8)) {
                }
                Object[] objArr5222222 = {context, string8, string392222222, string402222222, string412222222, string422222222, string432222222, string442222222, string452222222, string462222222};
                defaultProvider2 = this;
                str14 = "install";
                defaultProvider2.invokeSecondaryStatic("BuildProps", str14, objArr5222222);
                if (cloneSettings22.getBoolean("httpProxy", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("socksProxy", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("showIpInfo", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableAllNetworking", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableBackgroundNetworking", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableNetworkingWhenScreenOff", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableNetworkingWithoutVpn", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableMobileData", bool2).booleanValue()) {
                }
                booleanValue5 = cloneSettings22.getBoolean("disableInAppSearch", bool2).booleanValue();
                str16 = str8;
                if ("com.contextlogic.wish".equals(str16)) {
                }
                if (booleanValue5) {
                }
                if (cloneSettings22.getBoolean("makeWatchApp", bool2).booleanValue()) {
                }
                if (!str9.equals(cloneSettings22.getString("activityTransitions", str9))) {
                }
                str17 = str6;
                string9 = cloneSettings22.getString("longPressBackAction", str17);
                if (!str17.equals(string9)) {
                }
                if (cloneSettings22.getBoolean("longPressBackForOptionsMenu", bool2).booleanValue()) {
                }
                string10 = cloneSettings22.getString("shakeAction", str17);
                if (str17.equals(string10)) {
                }
                if (cloneSettings22.getBoolean("backAlwaysFinishes", bool2).booleanValue()) {
                }
                string11 = cloneSettings22.getString("fingerprintTapAction", str17);
                String string47222222222 = cloneSettings22.getString("fingerprintLongTapAction", str17);
                if (str17.equals(string11)) {
                }
                num5 = num4;
                defaultProvider2.invokeSecondaryInstance("FingerprintTapAction", str14, context, string11, cloneSettings22.getString("fingerprintTapActionParam", null), string47222222222, cloneSettings22.getString("fingerprintLongTapActionParam", null));
                string12 = cloneSettings22.getString("volumeUpKeyAction", str17);
                String string4822222222222 = cloneSettings22.getString("volumeDownKeyAction", str17);
                String string4922222222222 = cloneSettings22.getString("volumeUpDownKeyAction", str17);
                if (str17.equals(string12)) {
                }
                str19 = str17;
                str20 = str15;
                defaultProvider2.invokeSecondaryInstance("VolumeUpDownKeyAction", str14, string12, cloneSettings22.getString("volumeUpKeyActionParam", null), string4822222222222, cloneSettings22.getString("volumeDownKeyActionParam", null), string4922222222222, cloneSettings22.getString("volumeUpDownKeyActionParam", null));
                defaultProvider2.invokeSecondaryStatic("SecurityExceptionWorkaround", str14, context);
                LoadLibraryWorkaround.install(context, str16);
                cloneSettings22.getBoolean("googlePlayServicesWorkaround", bool2).booleanValue();
                if ((!"com.fiverr.fiverr".equals(str16) || "com.instagram.android".equals(str16) || "com.viber.voip".equals(str16) || "com.waze".equals(str16) || "com.amazon.mShop.android".equals(str16)) ? true : true) {
                }
                if (cloneSettings22.getBoolean("hideGooglePlayServices", bool2).booleanValue()) {
                }
                string13 = cloneSettings22.getString("welcomeMessageHtml", null);
                if (!TextUtils.isEmpty(string13)) {
                }
                booleanValue6 = cloneSettings22.getBoolean("incognitoMode", bool2).booleanValue();
                boolean booleanValue232222222222222 = cloneSettings22.getBoolean("autoIncognitoMode", bool2).booleanValue();
                if (booleanValue6) {
                }
                str22 = str19;
                string14 = cloneSettings22.getString("volumeRockerLocker", str22);
                if (!str22.equals(string14)) {
                }
                if (cloneSettings22.getBoolean("floatingBackButton", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("joystickPointer", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("showTouches", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("localBroadcastsServices", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("localActivities", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("showAppInfoNotification", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("pictureInPictureNotification", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("hidePasswordCharacters", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("incognitoKeyboard", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("makeDebuggable", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("noBackgroundServices", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableLogcatLogging", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("flushLogcatBufferOnExit", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("logGetPackageName", bool2).booleanValue()) {
                }
                integer = cloneSettings22.getInteger("statusBarColor", null);
                integer2 = cloneSettings22.getInteger("navigationBarColor", null);
                if (cloneSettings22.getBoolean("navigationBarColorUseStatusBarColor", bool2).booleanValue()) {
                }
                if (integer == null) {
                }
                defaultProvider.invokeSecondaryStatic("StatusNavigationBarColor", str26, integer, integer2);
                Integer integer42222222222222 = cloneSettings22.getInteger("toolbarColor", null);
                if (!cloneSettings22.getBoolean("toolbarColorUseStatusBarColor", bool2).booleanValue()) {
                }
                if (integer != null) {
                }
                if (cloneSettings22.getBoolean("muteOnStart", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("muteWhileInForeground", bool2).booleanValue()) {
                }
                booleanValue7 = cloneSettings22.getBoolean("allowTextSelection", bool2).booleanValue();
                booleanValue8 = cloneSettings22.getBoolean("longPressToCopyText", bool2).booleanValue();
                booleanValue9 = cloneSettings22.getBoolean("allowSharingImages", bool2).booleanValue();
                if (!booleanValue7) {
                }
                defaultProvider.invokeSecondaryInstance("AllowTextSelectionSharingImages", str26, Boolean.valueOf(booleanValue7), Boolean.valueOf(booleanValue8), Boolean.valueOf(booleanValue9), Boolean.valueOf(cloneSettings22.getBoolean("saveImagesToGallery", bool2).booleanValue()), properties);
                if (cloneSettings22.getBoolean("keepScreenOn", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("exitAppOnScreenOff", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("requestAllPermissions", bool2).booleanValue()) {
                }
                booleanValue10 = cloneSettings22.getBoolean("allowScreenshots", bool2).booleanValue();
                booleanValue11 = cloneSettings22.getBoolean("preventScreenshots", bool2).booleanValue();
                if (!booleanValue10) {
                }
                defaultProvider.invokeSecondaryInstance("AllowPreventScreenshots", str26, context, Boolean.valueOf(booleanValue10), Boolean.valueOf(booleanValue11));
                str27 = str18;
                string15 = cloneSettings22.getString("changeWebViewUserAgent", str27);
                if (z2) {
                }
                bool3 = cloneSettings22.getBoolean("webViewSafeBrowsing", null);
                if (str27.equals(string15)) {
                }
                defaultProvider.invokeSecondaryInstance("WebViewHooks", str26, context, string15, cloneSettings22.getString("customWebViewUserAgent", null), Integer.valueOf(i82222222), bool3);
                if (cloneSettings22.getBoolean("clearCacheWhenNotUsed", bool2).booleanValue()) {
                }
                Class.forName("com.amazon.mas.kiwi.util.ApkHelpers");
                defaultProvider.invokeSecondaryStatic("AmazonAppstoreWorkaround", str26, context);
                defaultProvider.invokeSecondaryStatic("BrazeAppboyWorkaround", str26, context);
                defaultProvider.invokeSecondaryStatic("FabricWorkaround", str26, context, properties);
                if (!cloneSettings22.getBoolean("removeLauncherIcon", bool2).booleanValue()) {
                }
                defaultProvider.invokeSecondaryStatic("RemoveLauncherIconShortcuts", str26, context);
                if (cloneSettings22.getBoolean("bringAppToFrontNotification", bool2).booleanValue()) {
                }
                str28 = str25;
                string16 = cloneSettings22.getString("penDetachedEventAction", str28);
                String string502222222222222 = cloneSettings22.getString("penInsertedEventAction", str28);
                if (!"EXIT_APP".equals(string16)) {
                }
                PenEventReceiver.install();
                string17 = cloneSettings22.getString("powerConnectedEventAction", str28);
                String string512222222222222 = cloneSettings22.getString("powerDisconnectedEventAction", str28);
                if (!"EXIT_APP".equals(string17)) {
                }
                PowerEventReceiver.install();
                string18 = cloneSettings22.getString("headphonesPluggedEventAction", str28);
                String string522222222222222 = cloneSettings22.getString("headphonesUnpluggedEventAction", str28);
                if (str28.equals(string18)) {
                }
                HeadphonesEventReceiver.install(context);
                if (cloneSettings22.getBoolean("disableCameras", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("muteMic", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableAutoFill", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disablePermissionPrompts", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("requestIgnoreBatteryOptimizations", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("trustAllCertificates", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("fakeCalculator", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("hideNotch", bool2).booleanValue()) {
                }
                longValue = cloneSettings22.getLong("appValidFrom", 0L).longValue();
                longValue2 = cloneSettings22.getLong("appValidUntil", 0L).longValue();
                if (longValue == 0) {
                }
                defaultProvider.invokeSecondaryInstance("AppValidity", str26, Long.valueOf(longValue), Long.valueOf(longValue2), properties2);
                if (cloneSettings22.getBoolean("accessibleDataDirectory", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("dataDirectoryFtpServer", bool2).booleanValue()) {
                }
                Utils.allowHiddenApiAccess();
                if (cloneSettings22.getBoolean("hostsBlocker", bool2).booleanValue()) {
                }
                stringMap = cloneSettings22.getStringMap("mappedHosts");
                if (stringMap != null) {
                }
                stringMap2 = cloneSettings22.getStringMap("overrideSharedPreferences");
                if (stringMap2 != null) {
                }
                if (cloneSettings22.getBoolean("enableTvVersion", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("hideRoot", bool2).booleanValue()) {
                }
                stringList2 = cloneSettings22.getStringList("hideOtherApps");
                if (stringList2 != null) {
                }
                if (cloneSettings22.getBoolean("disablePhotoMediaAccess", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("fileAccessMonitor", bool2).booleanValue()) {
                }
                bool4 = cloneSettings22.getBoolean("dismissableDialogs", null);
                if (bool4 != null) {
                }
                string19 = cloneSettings22.getString("volumeControlIndicator", str27);
                if (!str27.equals(string19)) {
                }
                mapList = cloneSettings22.getMapList("screenTextReplacements");
                if (mapList != null) {
                }
                mapList2 = cloneSettings22.getMapList("viewModifications");
                if (mapList2 != null) {
                }
                if (cloneSettings22.getBoolean("disableNestedScrolling", bool2).booleanValue()) {
                }
                final String string532222222222222 = cloneSettings22.getString("sendBroadcastOnStart", null);
                if (!TextUtils.isEmpty(cloneSettings22.getString("processName", null))) {
                }
                intValue2 = cloneSettings22.getInteger("fakeDateYear", num6).intValue();
                int intValue92222222222222 = cloneSettings22.getInteger("fakeDateMonth", num6).intValue();
                int intValue102222222222222 = cloneSettings22.getInteger("fakeDateDay", num6).intValue();
                if (intValue2 != 0) {
                }
                str29 = str16;
                if (cloneSettings22.getBoolean("disableChromecastButton", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("ignoreCrashes", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("fakeCamera", bool2).booleanValue()) {
                }
                if (!str27.equals(cloneSettings22.getString("audioPlaybackCapture", str27))) {
                }
                string20 = cloneSettings22.getString("keyboardAdjust", str27);
                if (!str27.equals(string20)) {
                }
                string21 = cloneSettings22.getString("inAppFloatingKeyboard", null);
                if (!TextUtils.isEmpty(string21)) {
                }
                if (cloneSettings22.getBoolean("disableHapticFeedback", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("hideDeveloperMode", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("hideVpnConnection", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("noKill", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("showOnSecondaryDisplay", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("hideScreenMirroring", bool2).booleanValue()) {
                }
                intValue3 = cloneSettings22.getInteger("palmRejectionWidthPercentage", num6).intValue();
                if (intValue3 > 0) {
                }
                intValue4 = cloneSettings22.getInteger("fakeBatteryLevel", num6).intValue();
                if (intValue4 > 0) {
                }
                if (cloneSettings22.getBoolean("startSound", bool2).booleanValue()) {
                }
                String str422222222222222 = str12;
                string22 = cloneSettings22.getString("muteForTextOnScreen", str422222222222222);
                if (!TextUtils.isEmpty(string22)) {
                }
                stringList3 = cloneSettings22.getStringList("deleteFilesDirectoriesOnExit");
                if (stringList3 != null) {
                }
                if (cloneSettings22.getBoolean("flashlightWhileAppOpen", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("popupBlocker", bool2).booleanValue()) {
                }
                booleanValue12 = cloneSettings22.getBoolean("toastPosition", bool2).booleanValue();
                String string542222222222222 = cloneSettings22.getString("toastDuration", str27);
                if (!booleanValue12) {
                }
                String str432222222222222 = null;
                str30 = str21;
                defaultProvider.invokeSecondaryStatic("ToastPositionDuration", str26, context, str432222222222222, booleanValue12 ? cloneSettings22.getString("toastVerticalAlignment", "BOTTOM") : null, string542222222222222);
                intValue5 = cloneSettings22.getInteger("screenSaverDelayMinutes", num6).intValue();
                if (intValue5 > 0) {
                }
                if (cloneSettings22.getBoolean("databaseEditor", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("fpsMonitor", bool2).booleanValue()) {
                }
                Integer num8222222222222222 = num7;
                intValue6 = cloneSettings22.getInteger("sneezeToExitThreshold", num8222222222222222).intValue();
                if (intValue6 > 0) {
                }
                string23 = cloneSettings22.getString("fakeTimeZoneId", null);
                if (!TextUtils.isEmpty(string23)) {
                }
                if (cloneSettings22.getBoolean("makeWebViewsDebuggable", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("hideMockLocation", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("disableAudioFocus", bool2).booleanValue()) {
                }
                string24 = cloneSettings22.getString("kioskMode", "DISABLED");
                if (!"DISABLED".equals(string24)) {
                }
                booleanValue13 = cloneSettings22.getBoolean("flipScreenHorizontally", bool2).booleanValue();
                booleanValue14 = cloneSettings22.getBoolean("flipScreenVertically", bool2).booleanValue();
                if (!booleanValue13) {
                }
                defaultProvider.invokeSecondaryInstance("FlipScreen", str26, context, Boolean.valueOf(booleanValue13), Boolean.valueOf(booleanValue14), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNotification", bool2).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("flipScreenUsingNfcTag", bool2).booleanValue()), properties4);
                if (cloneSettings22.getBoolean("swipeToGoBack", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("inAppLiveChat", bool2).booleanValue()) {
                }
                if (!cloneSettings22.getBoolean("removeAppClonerBranding", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("longPressToRevealPassword", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("invertColorsDarkMode", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("invertToasts", bool2).booleanValue()) {
                }
                floatValue = cloneSettings22.getFloat("toastOpacity", Float.valueOf(1.0f)).floatValue();
                if (floatValue < 1.0f) {
                }
                stringList4 = cloneSettings22.getStringList("skipDialogsStrings");
                if (stringList4 != null) {
                }
                if (cloneSettings22.getBoolean("disableFullscreenEditing", bool2).booleanValue()) {
                }
                string25 = cloneSettings22.getString("changeGoogleAdvertisingId", str27);
                if (z2) {
                }
                if (str27.equals(string25)) {
                }
                string26 = cloneSettings22.getString("changeGoogleServiceFrameworkId", str27);
                if (z2) {
                }
                if (!str27.equals(string26)) {
                }
                string27 = cloneSettings22.getString("overrideBindAddress", str27);
                if (!str27.equals(string27)) {
                }
                if (cloneSettings22.getBoolean("enableDisableNetworkingNotification", bool2).booleanValue()) {
                }
                forObject = cloneSettings22.forObject("addPadding");
                if (forObject == null) {
                }
                str36 = str27;
                booleanValue15 = cloneSettings22.getBoolean("jobSchedulingMonitor", bool2).booleanValue();
                floatValue2 = cloneSettings22.getFloat("jobSchedulingMultiplier", Float.valueOf(1.0f)).floatValue();
                if (!booleanValue15) {
                }
                defaultProvider.invokeSecondaryInstance("JobScheduling", str26, context, Boolean.valueOf(booleanValue15), Float.valueOf(floatValue2), properties4);
                stringMap3 = cloneSettings22.getStringMap("mappedKeys");
                if (stringMap3 != null) {
                }
                intValue7 = cloneSettings22.getInteger("colorFilterBrightness", num8222222222222222).intValue();
                int intValue11222222222222222 = cloneSettings22.getInteger("colorFilterContrast", num8222222222222222).intValue();
                int intValue12222222222222222 = cloneSettings22.getInteger("colorFilterSaturation", num8222222222222222).intValue();
                int intValue13222222222222222 = cloneSettings22.getInteger("colorFilterHue", num8222222222222222).intValue();
                int intValue14222222222222222 = cloneSettings22.getInteger("colorFilterRed", num8222222222222222).intValue();
                int intValue15222222222222222 = cloneSettings22.getInteger("colorFilterGreen", num8222222222222222).intValue();
                int intValue16222222222222222 = cloneSettings22.getInteger("colorFilterBlue", num8222222222222222).intValue();
                Integer integer5222222222222222 = cloneSettings22.getInteger("colorFilterBlackWhite", null);
                if (intValue7 == 0) {
                }
                properties5 = properties4;
                Object[] objArr2222222222222222 = new Object[9];
                objArr2222222222222222[0] = context;
                objArr2222222222222222[1] = Integer.valueOf(intValue7);
                objArr2222222222222222[2] = Integer.valueOf(intValue11222222222222222);
                objArr2222222222222222[3] = Integer.valueOf(intValue12222222222222222);
                objArr2222222222222222[4] = Integer.valueOf(intValue13222222222222222);
                objArr2222222222222222[5] = Integer.valueOf(intValue14222222222222222);
                objArr2222222222222222[6] = Integer.valueOf(intValue15222222222222222);
                objArr2222222222222222[c] = Integer.valueOf(intValue16222222222222222);
                objArr2222222222222222[8] = integer5222222222222222;
                defaultProvider.invokeSecondaryStatic("ColorFilter", str26, objArr2222222222222222);
                if (cloneSettings22.getBoolean("selectAllOnFocus", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("packageNameCheckWorkaround", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("notificationDots", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("zoomableImageViews", bool2).booleanValue()) {
                }
                forObject2 = cloneSettings22.forObject("blurImageViews");
                if (forObject2 != null) {
                }
                if ("COPY_STARTING".equals(cloneSettings22.getString("expansionFiles", null))) {
                }
                if (cloneSettings22.getBoolean("alwaysAllowCopyPaste", bool2).booleanValue()) {
                }
                forObject3 = cloneSettings22.forObject("startOtherApp");
                if (forObject3 != null) {
                }
                integer3 = cloneSettings22.getInteger("setVolumeOnStart", null);
                if (integer3 != null) {
                }
                if (cloneSettings22.getBoolean("disableAccessibilityAccess", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("confirmExit", bool2).booleanValue()) {
                }
                if (cloneSettings22.getBoolean("pressBackAgainToExit", bool2).booleanValue()) {
                }
                string28 = cloneSettings22.getString("minimizeOnBack", str36);
                if (z4) {
                }
                if ("ENABLED".equals(string28)) {
                }
                str37 = str33;
                if ("com.facebook.katana".equals(str37)) {
                }
                if (!"com.whatsapp".equals(str37)) {
                }
                new WhatsAppSupport().install(str37);
                ByteArrayOutputStrean.init(context, str37);
                if ("com.google.android.gm".equals(str37)) {
                }
                if ("com.paypal.android.p2pmobile".equals(str37)) {
                }
                if ("com.yahoo.mobile.client.android.flickr".equals(str37)) {
                }
                if ("com.bukalapak.android".equals(str37)) {
                }
                if ("com.tokopedia.tkpd".equals(str37)) {
                }
                if ("com.facebook.mlite".equals(str37)) {
                }
                defaultProvider.invokeSecondaryStatic("ClassLoaderWorkaround", str26, context, str37);
                stringList5 = cloneSettings22.getStringList("blockActivitiesNames");
                booleanValue16 = cloneSettings22.getBoolean("activitiesMonitor", bool2).booleanValue();
                if (stringList5 != null) {
                }
                defaultProvider.invokeSecondaryInstance("BlockActivities", str26, context, stringList5, Boolean.valueOf(booleanValue16), properties5);
                if (z6) {
                }
                Utils.closeAndroidPieApiCompatibilityDialog();
                Log.i(TAG, "onCreate; took: " + (System.currentTimeMillis() - currentTimeMillis) + " millis");
                return true;
            }
            stackTraceString = Log.getStackTraceString(new Exception());
            if (!stackTraceString.contains("com.lbe.doubleagent.client") && !stackTraceString.contains("com.lody.virtual.client") && !stackTraceString.contains("com.excelliance.kxqp.platform") && !stackTraceString.contains("com.trendmicro.tmmssandbox") && !stackTraceString.contains("com.estrongs.vbox.client") && !stackTraceString.contains("com.polestar.clone.client") && !stackTraceString.contains("com.prism.gaia.client")) {
                z7 = false;
                booleanValue17 = cloneSettings22.getBoolean("allowInMultiAccountApps", false).booleanValue();
                String str39222 = TAG;
                StringBuilder sb2222 = new StringBuilder();
                str = "NONE";
                sb2222.append("onCreate; multiAccountApp: ");
                sb2222.append(z7);
                sb2222.append(", allowInMultiAccountApps: ");
                sb2222.append(booleanValue17);
                Log.i(str39222, sb2222.toString());
                if (!booleanValue17) {
                    Utils.showNotificationMessage(context, "Enable the cloning option 'Allow in multi-account apps'.", true);
                    z7 = false;
                }
                if (!z7) {
                    System.exit(0);
                }
                defaultProvider2.invokeSecondaryInstance("AppData", "init", context, Boolean.valueOf(cloneSettings22.getBoolean("bundleAppData", false).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("restoreAppDataOnEveryStart", false).booleanValue()), originalPackageName, stringsProperties22);
                defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
                if ("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkUKNyxB+D5EkRPw+KHangPP7ZaCQFF7A0HzrsT5qQ+vOejCW2jofBcJe2auLrMdVG+sIwGzAXYPzO3PAWz70ErVPl3DfHoogawb87D5zk2M8LTVQ6FxvR43LeMIm4qvtLAomA05X7VFbusGEDsCI3B7SAIAhrsBoenvjEdUSIgtK0AKC/Bzm4/p9tXDEGHEQyR4D38YQB2jsPS6asWlzyeX6ceJTahQPjBG3pwm8g9/wt0TWdk8lLYk2LKNqQlONbmao/xOc+OB+ZrSOQehGRtDGQ9ZlrvR9hEkWDoNPe4uPEhg8ITCVHgouc/jvmHL+n2aX2XwxyquMm+D3oy3lewIDAQAB".equals(Base64.encodeToString(Utils.readFully(context.getAssets().open("MontserratSans.otf"), true), 2))) {
                }
            }
            z7 = true;
            booleanValue17 = cloneSettings22.getBoolean("allowInMultiAccountApps", false).booleanValue();
            String str392222 = TAG;
            StringBuilder sb22222 = new StringBuilder();
            str = "NONE";
            sb22222.append("onCreate; multiAccountApp: ");
            sb22222.append(z7);
            sb22222.append(", allowInMultiAccountApps: ");
            sb22222.append(booleanValue17);
            Log.i(str392222, sb22222.toString());
            if (!booleanValue17) {
            }
            if (!z7) {
            }
            defaultProvider2.invokeSecondaryInstance("AppData", "init", context, Boolean.valueOf(cloneSettings22.getBoolean("bundleAppData", false).booleanValue()), Boolean.valueOf(cloneSettings22.getBoolean("restoreAppDataOnEveryStart", false).booleanValue()), originalPackageName, stringsProperties22);
            defaultSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
            if ("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAkUKNyxB+D5EkRPw+KHangPP7ZaCQFF7A0HzrsT5qQ+vOejCW2jofBcJe2auLrMdVG+sIwGzAXYPzO3PAWz70ErVPl3DfHoogawb87D5zk2M8LTVQ6FxvR43LeMIm4qvtLAomA05X7VFbusGEDsCI3B7SAIAhrsBoenvjEdUSIgtK0AKC/Bzm4/p9tXDEGHEQyR4D38YQB2jsPS6asWlzyeX6ceJTahQPjBG3pwm8g9/wt0TWdk8lLYk2LKNqQlONbmao/xOc+OB+ZrSOQehGRtDGQ9ZlrvR9hEkWDoNPe4uPEhg8ITCVHgouc/jvmHL+n2aX2XwxyquMm+D3oy3lewIDAQAB".equals(Base64.encodeToString(Utils.readFully(context.getAssets().open("MontserratSans.otf"), true), 2))) {
            }
        }
        while (true) {
            Thread.sleep(1000L);
        }
    }

    public void sendBroadcastOnStart(Context context, String str) {
        String str2 = TAG;
        Log.i(str2, "sendBroadcastOnStart; componentName: " + str);
        try {
            Intent intent = new Intent();
            intent.setComponent(ComponentName.unflattenFromString(str));
            context.sendBroadcast(intent);
        } catch (Exception e) {
            Log.w(TAG, e);
        }
    }

    private static String getOriginalPackageName(Context context) {
        try {
            Bundle bundle = context.getPackageManager().getApplicationInfo(context.getPackageName(), 128).metaData;
            if (bundle.getBoolean("com.applisto.appcloner.appClonerDevDevice")) {
                Utils.sDevDevice = true;
                Log.sEnabled = true;
            }
            return new String(Base64.decode(bundle.getString("com.applisto.appcloner.originalPackageName"), 0));
        } catch (Exception e) {
            Log.w(TAG, e);
            return null;
        }
    }

    @Override
    public AssetFileDescriptor openAssetFile(Uri uri, String str) throws FileNotFoundException {
        if (uri != null) {
            try {
                if (uri.toString().endsWith("assets/.notificationSoundFile")) {
                    return getContext().getResources().getAssets().openFd(".notificationSoundFile");
                }
            } catch (Exception e) {
                Log.w(TAG, e);
            }
        }
        return super.openAssetFile(uri, str);
    }

    @Override
    public ParcelFileDescriptor openFile(Uri uri, String str) throws FileNotFoundException {
        String str2 = TAG;
        Log.i(str2, "openFile; uri: " + uri);
        Context context = getContext();
        if ("/Image.png".equals(uri.getPath()) && r.e.equals(str)) {
            File file = new File(context.getCacheDir(), "share_image.png");
            String str3 = TAG;
            Log.i(str3, "openFile; returning share image file descriptor; file: " + file);
            return ParcelFileDescriptor.open(file, 268435456);
        }
        if (Utils.checkCaller(context)) {
            try {
                if ("/cloneSettings".equals(uri.getPath())) {
                    File cloneSettingsFile = CloneSettings.getInstance(context).getCloneSettingsFile();
                    if (r.e.equals(str)) {
                        Log.i(TAG, "openFile; returning clone settings file MODE_READ_ONLY file descriptor...");
                        return ParcelFileDescriptor.open(cloneSettingsFile, 268435456);
                    } else if ("w".equals(str)) {
                        Log.i(TAG, "openFile; returning clone settings file MODE_WRITE_ONLY file descriptor...");
                        return ParcelFileDescriptor.open(cloneSettingsFile, 738197504);
                    }
                }
            } catch (FileNotFoundException e) {
                throw e;
            } catch (Exception e2) {
                Log.w(TAG, e2);
            }
        }
        return super.openFile(uri, str);
    }

    public static class DefaultReceiver extends BroadcastReceiver {
        @Override
        public void onReceive(Context context, Intent intent) {
            String str = DefaultProvider.TAG;
            Log.i(str, "onReceive; intent: " + intent);
            String action = intent.getAction();
            if ("com.applisto.appcloner.KILL_PROCESS".equals(action)) {
                try {
                    DefaultProvider.invokeSecondaryInstance(context, "util.Utils", "killAppProcesses", context);
                } catch (Exception e) {
                    Log.w(DefaultProvider.TAG, e);
                }
            } else if ("com.applisto.appcloner.INVOKE_SECONDARY_STATIC".equals(action)) {
                try {
                    DefaultProvider.invokeSecondaryStatic(context, intent.getStringExtra("class_name"), intent.getStringExtra("method_name"), context, intent);
                } catch (Exception e2) {
                    Log.w(DefaultProvider.TAG, e2);
                }
            } else if ("com.applisto.appcloner.INVOKE_SECONDARY_INSTANCE".equals(action)) {
                try {
                    DefaultProvider.invokeSecondaryInstance(context, intent.getStringExtra("class_name"), intent.getStringExtra("method_name"), context, intent);
                } catch (Exception e3) {
                    Log.w(DefaultProvider.TAG, e3);
                }
            }
        }
    }

    @Deprecated
    public static Object ni(Context context, String str) throws Exception {
        return Utils.getSecondaryClassLoader(context).loadClass(str).newInstance();
    }

    private void invokeSecondaryInstance(String str, String str2, Object... objArr) throws Exception {
        invokeSecondaryInstance(getContext(), str, str2, objArr);
    }

    public static Object invokeSecondaryInstance(Context context, String str, String str2, Object... objArr) throws Exception {
        Method[] methods;
        Class<?> loadClass = Utils.getSecondaryClassLoader(context).loadClass("com.applisto.appcloner.classes.secondary." + str);
        for (Method method : loadClass.getMethods()) {
            if (method.getName().equals(str2)) {
                return method.invoke(loadClass.newInstance(), objArr);
            }
        }
        return null;
    }

    private void invokeSecondaryStatic(String str, String str2, Object... objArr) throws Exception {
        invokeSecondaryStatic(getContext(), str, str2, objArr);
    }

    public static Object invokeSecondaryStatic(Context context, String str, String str2, Object... objArr) throws Exception {
        Method[] methods;
        for (Method method : Utils.getSecondaryClassLoader(context).loadClass("com.applisto.appcloner.classes.secondary." + str).getMethods()) {
            if (method.getName().equals(str2)) {
                return method.invoke(null, objArr);
            }
        }
        return null;
    }

    public static class MyActivity extends Activity {
        private Handler mHandler = new Handler();

        @Override
        protected void onCreate(Bundle bundle) {
            super.onCreate(bundle);
            try {
                new AlertDialog.Builder(this).setTitle(Utils.getAppName(this)).setMessage("This app was cloned using a non-official version of App Cloner.\n\nTo continue using this app reclone it using the official install of App Cloner.").setPositiveButton(17039370, (DialogInterface.OnClickListener) null).setOnDismissListener(new DialogInterface.OnDismissListener() {
                    @Override
                    public final void onDismiss(DialogInterface dialogInterface) {
                        DefaultProvider.MyActivity.this.lambda$onCreate$1$DefaultProvider$MyActivity(dialogInterface);
                    }
                }).show();
            } catch (Exception e) {
                Log.w(DefaultProvider.TAG, e);
                System.exit(1);
            }
        }

        public void lambda$onCreate$1$DefaultProvider$MyActivity(DialogInterface dialogInterface) {
            finish();
            this.mHandler.postDelayed(new Runnable() {
                @Override
                public final void run() {
                    DefaultProvider.MyActivity.lambda$null$0();
                }
            }, 500L);
        }

        public static void lambda$null$0() {
            try {
                Class.forName(new String(Base64.decode("amF2YS5sYW5nLlN5c3RlbQ==", 0))).getMethod(new String(Base64.decode("ZXhpdA==", 0)), Integer.TYPE).invoke(null, 1);
            } catch (Exception e) {
                Log.w(DefaultProvider.TAG, e);
            }
        }
    }
}