Pinjamwinwin v2.0.7版本的 MD5 值为:254981700b50ce03309ecdaac5d16485

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


package cn.tongdun.android.p008.p016;

import a3.a;
import android.accessibilityservice.AccessibilityServiceInfo;
import android.annotation.TargetApi;
import android.app.ActivityManager;
import android.app.Instrumentation;
import android.bluetooth.BluetoothAdapter;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.content.pm.ServiceInfo;
import android.hardware.Sensor;
import android.hardware.SensorManager;
import android.hardware.display.DisplayManager;
import android.location.LocationManager;
import android.media.AudioManager;
import android.net.ConnectivityManager;
import android.net.DhcpInfo;
import android.net.NetworkCapabilities;
import android.net.NetworkInfo;
import android.net.TrafficStats;
import android.net.wifi.WifiInfo;
import android.net.wifi.WifiManager;
import android.os.Build;
import android.os.Debug;
import android.os.Environment;
import android.os.IBinder;
import android.os.Process;
import android.os.StatFs;
import android.os.SystemClock;
import android.telephony.TelephonyManager;
import android.text.TextUtils;
import android.util.DisplayMetrics;
import android.view.Display;
import android.view.WindowManager;
import android.view.accessibility.AccessibilityManager;
import android.view.inputmethod.InputMethodInfo;
import android.view.inputmethod.InputMethodManager;
import cn.tongdun.android.p005PPPP.C0053PPPPPPP;
import cn.tongdun.android.p008.p012PPPPPPP.C0066PPPP;
import cn.tongdun.android.p008.p012PPPPPPP.PP;
import cn.tongdun.android.p008.p012PPPPPPP.p013PPPPPPP.C0068PPPPPPP;
import cn.tongdun.android.p008.p014PPPPPP.PPPP;
import cn.tongdun.android.p008.p019P.C0165PPPP;
import cn.tongdun.android.p008.p019P.C0166PPPPP;
import cn.tongdun.android.p008.p019P.C0167PPPP;
import cn.tongdun.android.p008.p019P.C0169PPPP;
import cn.tongdun.android.p008.p019P.C0171PPPPPP;
import cn.tongdun.android.p008.p019P.C0172PP;
import cn.tongdun.android.p008.p019P.C0173PPPPPPP;
import cn.tongdun.android.p008.p019P.P;
import cn.tongdun.android.p008.p019P.PPP;
import cn.tongdun.android.p008.p019P.PPPPP;
import cn.tongdun.android.p020PPPPPPP.PPPPPP;
import cn.tongdun.android.p020PPPPPPP.PPPPPPP;
import cn.tongdun.android.shell.common.HelperJNI;
import com.adjust.sdk.Constants;
import com.jakewharton.timber.collection.util.HttpTip;
import dalvik.system.DexClassLoader;
import dalvik.system.PathClassLoader;
import java.io.File;
import java.lang.reflect.Field;
import java.lang.reflect.Member;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Set;
import java.util.TimeZone;
import java.util.TreeSet;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import v1.j;
import zz.ii.ll.cr.cms.Config;
public final class C0088PP {
    private static final String[] f376PPPP;
    private static final String[] f377;
    private static int f378PPPPPPP;

    static {
        m476PPPPPPP("145459", 105);
        m476PPPPPPP("1437322e253e35727f3f2229332262773a2f253e3978543b2d38292f333e24333137313a39", 8);
        m476PPPPPPP("445c", 109);
        m476PPPPPPP("056a6a2a", 90);
        m476PPPPPPP("477e", 77);
        m476PPPPPPP("443e", 10);
        m476PPPPPPP("1473766a617a71363e7f707e69617a7d3c1b795f707e69617a7d5f5073737a7e6b2a0b5b7d6b3a085e616b7d", 76);
        m476PPPPPPP("47", 85);
        m476PPPPPPP("013b21", 10);
        m476PPPPPPP("0546460629744a545e", 118);
        m476PPPPPPP("5824", 8);
        m476PPPPPPP("1d657f736e6d7b", 92);
        m476PPPPPPP("44", 35);
        m476PPPPPPP("4476", 67);
        m476PPPPPPP("016d775d5e607e74", 92);
        m476PPPPPPP("1222373419032c", 5);
        m476PPPPPPP("443c", 14);
        m476PPPPPPP("14585d414a515a1d1a5b564d465c4d0d094a14304e66555f5d51557f7b585851554001207056401123754a4056", 103);
        m476PPPPPPP("45", 43);
        m476PPPPPPP("2b61", 81);
        f378PPPPPPP = 0;
        f377 = new String[]{m476PPPPPPP("162d23626d2f34766b2e3a3d2c34", 17), m476PPPPPPP("16797736377b723e2b64666678757c7c", 69), m476PPPPPPP("16747a3b3365637e71787d7077757e3332696c75757075", 72), m476PPPPPPP("1c460118570f0b5d485f5c5641", 112), m476PPPPPPP("16242a6b6a2b23357f7037332e293c25", 24), m476PPPPPPP("160b0544581f06000746440b01090d", 55), m476PPPPPPP("1c20677e393d2027322b2b3726", 22), m476PPPPPPP("167f7130397278746f28306b6a6b6e", 67), m476PPPPPPP("0d170003091e", 47), m476PPPPPPP("16707e3f3373766a617a713634797e70746b6f", 76)};
        f376PPPP = new String[]{m476PPPPPPP("5a4412121f09105a5b1d13555b1d1319242a1415181b142423191f0f0a20360c1000434504", 40), m476PPPPPPP("5a35636335377d617143426f7a6b6f", 89), m476PPPPPPP("5a2a7c7c71677e343b7d713728627e6e2e2b746b6975", 70), m476PPPPPPP("5a642e3c7673332327213e74713b27373e", 31), m476PPPPPPP("5a6f25377d7a302c3c0e0b3d3d31", 20), m476PPPPPPP("5a004a581217574743455a100349405c56", 123), m476PPPPPPP("5a652f3d7772322226203f75632d3c38292d212415162c253933", 30), m476PPPPPPP("5a5c0a0a5c4b01131f0a06165c5c0a0a071108424c13055a4c1305451f4c1305131417145e5c10020d050709383c16072d39141714", 48), m476PPPPPPP("5a4412121f09105a55131f595617120e05210378451a0507", 40), m476PPPPPPP("5a124444495f460c0345490f0c4a445f535751554817134c5351", 126), m476PPPPPPP("5a4513131e08115b5a1c12545a1c121f0f041f1449554f4405", 41), m476PPPPPPP("5a3d6b6b667069232c6a6620397f666b777c777d60", 81), m476PPPPPPP("5a3d6b6b667069232c6a662023656b707c787e7a6771", 81), m476PPPPPPP("5a0157575a4c551f10565a1c1c5c4a08005f4042", 109), m476PPPPPPP("5a085e5e53455c16195f53150f54764f340956494b", 100), m476PPPPPPP("5a4117171a0c155f50161a5c560b001b104d5148401f0002", 45), m476PPPPPPP("5a46081818430c4103141d1b0a180f051550530f1012", 61), m476PPPPPPP("5a034d5d5d060b4b444a450b13515517135f040a4a45434d414c4e4a4352", 120), m476PPPPPPP("5a1853434657520f450c1044", 116), m476PPPPPPP("5a256e7e7b6a6f3278312d796406417e7872555e717038312d79", 73), m476PPPPPPP("5a450e1e1b0a0f5218514d19044116110013", 41), m476PPPPPPP("5a266c7e343479607a606b7b7a", 93), m476PPPPPPP("5a7e34266c6c2138222a27252332", 5), m476PPPPPPP("5a1543434e58410b04424e08014b425e524a5b5f4e4a4643", 121)};
    }

    private static JSONObject m406PPPPPP(Context context) {
        Object obj;
        try {
            Field declaredField = Class.forName(m476PPPPPPP("14202539322922656d2c232d3a32292e6f4d0c232d3a32292e0c032020292d38", 31)).getDeclaredField(m476PPPPPPP("184a4263706b7e72", 68));
            declaredField.setAccessible(true);
            obj = declaredField.get(context.getSystemService(m476PPPPPPP("190f000e19110a0d", 60)));
        } catch (Throwable unused) {
            obj = null;
        }
        Class<?> cls = obj != null ? obj.getClass() : null;
        Class<?> cls2 = obj instanceof Proxy ? Proxy.getInvocationHandler(obj).getClass() : null;
        try {
            JSONObject jSONObject = new JSONObject();
            if (cls != null && !m476PPPPPPP("145d58444f545f1810515e50474f5453123557715e50474f5453717e5d5d54504504257553451426704f4553", 98).equals(cls.getName())) {
                jSONObject.put(m476PPPPPPP("060607140f1a16", 32), cls.getName());
            }
            if (cls2 != null) {
                jSONObject.put(m476PPPPPPP("1d6f696c6e6f71", 86), cls2.getName());
            }
            if (jSONObject.length() <= 0) {
                return null;
            }
            JSONObject jSONObject2 = new JSONObject();
            jSONObject2.put(m476PPPPPPP("191b", 52), jSONObject);
            return jSONObject2;
        } catch (Exception unused2) {
            return null;
        }
    }

    public static int m407PPPPP(Context context) {
        return ((AudioManager) context.getSystemService(m476PPPPPPP("1460657972", 68))).getMode();
    }

    public static String m408PPPP() {
        JSONObject jSONObject = new JSONObject();
        try {
            String str = (String) HelperJNI.m84PPPPPPP(34, new Object[]{0});
            if (str != null && str.contains(m476PPPPPPP("16757b3a3676736f647f743334757b797576736e243a7b787c7765", 73))) {
                jSONObject.put(m476PPPPPPP("18", 75), 1);
            }
        } catch (Throwable unused) {
        }
        if (ActivityManager.isUserAMonkey()) {
            try {
                jSONObject.put(m476PPPPPPP("18", 73), 1);
            } catch (JSONException e10) {
                e10.printStackTrace();
            }
        }
        return jSONObject.toString();
    }

    public static String m410PPPPP() {
        try {
            Class<?> cls = Class.forName(m476PPPPPPP("1460657972696225207e6f31004d787270707262425375786b6a", 95));
            Method declaredMethod = cls.getDeclaredMethod(m476PPPPPPP("16607176617d6c4354616b69696b7b5b4a6c617273", 70), new Class[0]);
            declaredMethod.setAccessible(true);
            Object invoke = declaredMethod.invoke(null, new Object[0]);
            Field declaredField = cls.getDeclaredField(m476PPPPPPP("186063594342435c4c4f5e5151594245", 116));
            declaredField.setAccessible(true);
            Instrumentation instrumentation = (Instrumentation) declaredField.get(invoke);
            return instrumentation.toString() + m476PPPPPPP("56", 24) + instrumentation.getClass().getName();
        } catch (Exception e10) {
            e10.printStackTrace();
            return e10.getMessage();
        }
    }

    public static String m412PPPP() {
        return String.format(Locale.US, m476PPPPPPP("501e72331e72331e72331e", 111), Long.valueOf(TrafficStats.getMobileRxBytes()), Long.valueOf(TrafficStats.getMobileTxBytes()), Long.valueOf(TrafficStats.getTotalTxBytes()), Long.valueOf(TrafficStats.getTotalRxBytes()));
    }

    public static String m414PPPPP() {
        long blockSizeLong;
        long availableBlocksLong;
        long blockCountLong;
        StatFs statFs = new StatFs(Environment.getDataDirectory().getPath());
        if (PPP.m788PPPPPPP(18)) {
            blockSizeLong = statFs.getBlockSize();
            availableBlocksLong = statFs.getAvailableBlocks();
            blockCountLong = statFs.getBlockCount();
        } else {
            blockSizeLong = statFs.getBlockSizeLong();
            availableBlocksLong = statFs.getAvailableBlocksLong();
            blockCountLong = statFs.getBlockCountLong();
        }
        return m477PPPPPPP(Long.valueOf(blockCountLong * blockSizeLong), Long.valueOf(availableBlocksLong * blockSizeLong));
    }

    public static String m416PPPP() {
        return m477PPPPPPP(Long.valueOf(System.currentTimeMillis()), Long.valueOf(SystemClock.elapsedRealtime()), Long.valueOf(SystemClock.uptimeMillis()));
    }

    public static String m418PPPPP() {
        Iterator it;
        String str;
        String[] split;
        String str2;
        StringBuffer stringBuffer = new StringBuffer();
        StringBuffer stringBuffer2 = new StringBuffer();
        ArrayList arrayList = new ArrayList();
        try {
            it = C0165PPPP.m735PPPPPPP().iterator();
            str = HttpTip.defaultEmpty;
        } catch (Exception unused) {
        }
        if (it == null) {
            return HttpTip.defaultEmpty;
        }
        ApplicationInfo applicationInfo = PPPPPP.m824PPPPPPP().getApplicationInfo();
        if (applicationInfo != null) {
            str = applicationInfo.nativeLibraryDir;
            if (!TextUtils.isEmpty(str)) {
                str = str.substring(1);
                stringBuffer.append(str);
                stringBuffer.append(m476PPPPPPP("515f", 111));
            }
        }
        m476PPPPPPP("5b2362", 78);
        m476PPPPPPP("5a4e001010", 53);
        m476PPPPPPP("5f", 4);
        m476PPPPPPP("56", 13);
        m476PPPPPPP("5512", 45);
        while (it.hasNext()) {
            String str3 = (String) it.next();
            if (!TextUtils.isEmpty(str3)) {
                if (str3.contains(m476PPPPPPP("5b6425", 9)) && str3.contains(m476PPPPPPP("5a26687878", 93)) && (split = str3.split(m476PPPPPPP("550f", 48))) != null && split.length > 1 && !stringBuffer.toString().contains(split[1])) {
                    if (TextUtils.isEmpty(str) || !split[1].startsWith(str)) {
                        str2 = split[1] + m476PPPPPPP("56", 63);
                        if (!arrayList.contains(str2)) {
                            stringBuffer.append(str2);
                            arrayList.add(str2);
                        }
                    } else {
                        str2 = split[1].replaceAll(str, m476PPPPPPP("5f", 29)) + m476PPPPPPP("56", 19);
                    }
                }
                for (int i3 = 0; i3 < 10; i3++) {
                    if (str3.contains(f377[i3]) && !stringBuffer2.toString().contains(String.valueOf(i3))) {
                        stringBuffer2.append(i3);
                        stringBuffer2.append(m476PPPPPPP("56", 6));
                    }
                }
            }
        }
        if (stringBuffer.toString().endsWith(m476PPPPPPP("5165", 85))) {
            stringBuffer.delete(0, stringBuffer.length());
        }
        return m477PPPPPPP(stringBuffer2.toString(), stringBuffer.toString());
    }

    public static String m420PP() {
        return Locale.getDefault().getCountry();
    }

    public static String m422PPPPPP(Context context) {
        try {
            Display[] displays = ((DisplayManager) context.getSystemService(m476PPPPPPP("116a7d647b6a7f", 87))).getDisplays();
            if (displays != null) {
                Display display = displays.length > 1 ? displays[1] : displays.length == 1 ? displays[0] : null;
                if (display != null) {
                    return String.format(Locale.US, m476PPPPPPP("506831677f26677f266768", 14), display.getName(), Integer.valueOf(display.getFlags()), Integer.valueOf(displays.length), m474PPPPPPP(display));
                }
            }
        } catch (Throwable unused) {
        }
        return null;
    }

    public static Integer m423P(Context context) {
        return Integer.valueOf(Integer.parseInt(C0166PPPPP.m748PPPPPPP(context, m476PPPPPPP("1446457e79484c404d4a42", 115), m476PPPPPPP("45", 121))));
    }

    public static String m425PPPP(Context context) {
        JSONArray jSONArray = new JSONArray();
        JSONObject m406PPPPPP = m406PPPPPP(context);
        if (m406PPPPPP != null) {
            jSONArray.put(m406PPPPPP);
        }
        JSONObject m479PPPPP = m479PPPPP();
        if (m479PPPPP != null) {
            jSONArray.put(m479PPPPP);
        }
        return jSONArray.toString();
    }

    public static int m427PPPP(Context context) {
        return context.getResources().getConfiguration().keyboard;
    }

    public static String m429PP() {
        return PPPPPPP.f576;
    }

    public static String m431PPPP() {
        return (String) HelperJNI.m84PPPPPPP(18, null);
    }

    public static Integer m433PPPP(Context context, WifiManager wifiManager) {
        String str;
        int i3 = 6;
        if (cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f602PPPPPPP && PPP.m786(context, m476PPPPPPP("14393c202b303b7c68232129322c362c3037765934363020363a2a3a382537202c25353a34232b3037", 6), m476PPPPPPP("140b0e121902094e5a11131b001e041e0205446b0604021204081d0b030f1e1707080611190205", 52))) {
            String[] strArr = C0166PPPPP.f546PPPPPPP;
            str = (String) C0166PPPPP.m745PPPPPPP(strArr[3], new C0137PPPPPPPP((WifiInfo) C0166PPPPP.m745PPPPPPP(strArr[0], new C0152PPP(wifiManager))));
        } else {
            str = HttpTip.defaultEmpty;
        }
        PackageManager packageManager = context.getPackageManager();
        if (cn.tongdun.android.p005PPPP.PPPPPP.m139PPPPPPP(packageManager, m476PPPPPPP("1608455f14130218024542181413021802", 53)) != null) {
            i3 = 1;
        } else if (!TextUtils.isEmpty(str) && str.contains(m476PPPPPPP("1a2c2638313e30", 3))) {
            i3 = 2;
        } else if (cn.tongdun.android.p005PPPP.PPPPPP.m139PPPPPPP(packageManager, m476PPPPPPP("16747a3b226973757e736222216a69696e7f", 72)) != null || cn.tongdun.android.p005PPPP.PPPPPP.m139PPPPPPP(packageManager, m476PPPPPPP("161917564f041e18131e0f4f4c07040403124f48091c070a1b090e181b0603", 37)) != null) {
            i3 = 3;
        } else if (C0173PPPPPPP.m814PPPPPPP(packageManager, str)) {
            i3 = 4;
        } else if (C0169PPPP.m758PPPPPPP(packageManager)) {
            i3 = 5;
        } else if (!cn.tongdun.android.p008.p019P.PPPPPP.m760PPPPPPP(str)) {
            i3 = C0167PPPP.m753PPPPPPP(context, str) ? 7 : P.m816PPPPPPP() ? 8 : (cn.tongdun.android.p005PPPP.PPPPPP.m139PPPPPPP(packageManager, m476PPPPPPP("16030d4c42000c151e454d021b14020402184e", 63)) == null && cn.tongdun.android.p005PPPP.PPPPPP.m139PPPPPPP(packageManager, m476PPPPPPP("16191756571d5f42190e08120e0802", 37)) == null && cn.tongdun.android.p005PPPP.PPPPPP.m139PPPPPPP(packageManager, m476PPPPPPP("164e4001004a08154e595f5455465d4844", 114)) == null) ? -1 : 23;
        }
        return Integer.valueOf(i3);
    }

    public static String m436PPPPP() {
        JSONObject jSONObject = new JSONObject();
        String[] strArr = {m476PPPPPPP("1c5a5a4007005848100549504a1d5346034b4c5c58", 109), m476PPPPPPP("1c3e3e2463643c2c74732f243f346975", 9), m476PPPPPPP("1c6b6b713631697921337864747d", 92), m476PPPPPPP("1c18180245421a0a524219352b040d0e33241a1b171d1e", 47), m476PPPPPPP("1c0b0b1156510919414c0d1b10", 60), m476PPPPPPP("1c00001a5d5a02124a5d07251c152047091c5911160602", 55), m476PPPPPPP("1c2e2e3473742c3c647f293a2f373d", 25), m476PPPPPPP("1c7b7b6126217969313f78766d616563677a6c", 76), m476PPPPPPP("070e52561d040f181a515c1c19050e151e594c071b0b02", 35), m476PPPPPPP("140f0a161d391b6358140d17273b1419", 48), m476PPPPPPP("1416130f0420027a410d140e3e210c0a08012e2b1b1218", 41), m476PPPPPPP("07722e316d72647e7978352c6360747c686d786e687878", 95), m476PPPPPPP("053230263d3d207d793f20262c6c602a", 23), m476PPPPPPP("052e2c3a21213c617d3a363a01553a3b3c3c", 11), m476PPPPPPP("051210061d1d005d41060a063d20070707", 55), m476PPPPPPP("0419051556501845450a070337310f01051a1e", 61), m476PPPPPPP("04170b1b585e164b410c04383802081e191e0e", 51), m476PPPPPPP("074d111c5d504b48535e555147", 96), m476PPPPPPP("1c56564c0b0c54441c0e455949090c534c4e52", 97)};
        for (int i3 = 0; i3 < 19; i3++) {
            try {
                Object m84PPPPPPP = HelperJNI.m84PPPPPPP(52, new Object[]{strArr[i3]});
                if (m84PPPPPPP != null) {
                    String str = (String) m84PPPPPPP;
                    if (!TextUtils.isEmpty(str)) {
                        jSONObject.put(String.valueOf(i3), str);
                    }
                }
            } catch (Exception unused) {
            }
        }
        if (jSONObject.length() > 0) {
            return jSONObject.toString();
        }
        return null;
    }

    public static Integer m438PPPPPP() {
        String str = (String) HelperJNI.m84PPPPPPP(8, new Object[]{0});
        int parseInt = !TextUtils.isEmpty(str) ? Integer.parseInt(str) : 0;
        if (Debug.isDebuggerConnected()) {
            parseInt |= 32;
        }
        if (!cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f590PPPPP && parseInt != 0) {
            HelperJNI.m84PPPPPPP(9, new Object[]{0});
            int myPid = Process.myPid();
            cn.tongdun.android.p020PPPPPPP.p021.PPPPPPP.m844PPPPPPP(m476PPPPPPP("3107213134262431170a27262d2031372762266d2423266a76243b2a2030260e", 22) + myPid + m476PPPPPPP("28", 63));
            Process.killProcess(myPid);
            System.exit(0);
        }
        return Integer.valueOf(parseInt);
    }

    public static String m440PPP() {
        String m476PPPPPPP = m476PPPPPPP("2e25", 19);
        PP pp = (PP) C0068PPPPPPP.m265PPPPPPP(m476PPPPPPP("160449531208000a1812494606031f140f0443541f0214151455c56928fa090909090909bb693ae8bb692848692848693a5a693a5a6928fabb693ae809bb692848693ae70514", 57));
        return pp != null ? pp.m255() : m476PPPPPPP;
    }

    public static String m442PPPPPPP() {
        String str = (String) HelperJNI.m84PPPPPPP(6, new Object[]{1});
        return str == null ? HttpTip.defaultEmpty : str;
    }

    public static String m444PPPPPPP() {
        String[] strArr = {m476PPPPPPP("07207c602b2c3c383a232e262e2b777e3f363c", 13), m476PPPPPPP("071b474308111a0d0f4459120e1e", 54)};
        JSONObject jSONObject = new JSONObject();
        for (int i3 = 0; i3 < 2; i3++) {
            Object m84PPPPPPP = HelperJNI.m84PPPPPPP(52, new Object[]{strArr[i3]});
            if (m84PPPPPPP != null) {
                String str = (String) m84PPPPPPP;
                if (!TextUtils.isEmpty(str)) {
                    try {
                        jSONObject.put(String.valueOf(i3), str);
                    } catch (JSONException unused) {
                    }
                }
            }
        }
        return jSONObject.length() == 0 ? HttpTip.defaultEmpty : jSONObject.toString();
    }

    private static ClassLoader m446PPPPPPPP() throws Exception {
        Field declaredField = Class.forName(m476PPPPPPP("141c19050e151e59520f4e6e2504170c19153b3f1c1c151104", 35)).getDeclaredField(m476PPPPPPP("060f1d3d3432", 15));
        declaredField.setAccessible(true);
        Map map = (Map) declaredField.get(null);
        for (String str : map.keySet()) {
            ClassLoader classLoader = ((IBinder) map.get(str)).getClass().getClassLoader();
            if (classLoader instanceof PathClassLoader) {
                return classLoader;
            }
        }
        return null;
    }

    public static String m448PP() {
        String[] strArr = {m476PPPPPPP("25221d0c0616001c1d", 48), m476PPPPPPP("3d350f0a0f0a0f0b", 44), m476PPPPPPP("18575e545c191b5a595d", (int) Config.CAMERA_ID_FRONT)};
        Map map = (Map) C0166PPPPP.m741PPPPPPP(C0166PPPPP.f542PPPPPPP[0], new PPPPPPP(strArr));
        String m733PPPPPPP = C0165PPPP.m733PPPPPPP(m476PPPPPPP("5a5402025443091b17020e1e545402020f19004a441b0d52441b0d4d17441b0d1b1c1f1c56441b0d140f0001383a04112f311c1f1c", 56));
        return (map.isEmpty() || map.size() < 2) ? m477PPPPPPP(m733PPPPPPP, null, null) : m477PPPPPPP(m733PPPPPPP, map.get(strArr[0]), map.get(strArr[1]));
    }

    public static int m450PPPPPP() {
        return m426PPPP() ? 1 : 0;
    }

    public static String m452PP() throws Throwable {
        ClassLoader classLoader;
        Class<?> cls;
        Map map;
        Field[] declaredFields;
        Field field;
        String m476PPPPPPP;
        String m476PPPPPPP2 = m476PPPPPPP("1148021554445d110646435f544f44031f4156555f48033f6156555f486f7952444a4b", 121);
        try {
            classLoader = ClassLoader.getSystemClassLoader();
            try {
                cls = classLoader.loadClass(m476PPPPPPP2);
                if (cls == null) {
                    try {
                        throw new NullPointerException(m476PPPPPPP("163b39263418331c2b28223512042f393736717d2e677a2f2d34", 4));
                    } catch (Exception unused) {
                        try {
                            classLoader = m446PPPPPPPP();
                            if (classLoader != null) {
                                DexClassLoader dexClassLoader = Build.VERSION.SDK_INT < 26 ? new DexClassLoader(HttpTip.defaultEmpty, PPPPPP.m824PPPPPPP().getCacheDir().getAbsolutePath(), HttpTip.defaultEmpty, classLoader) : new DexClassLoader(HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, classLoader);
                                m476PPPPPPP2 = m476PPPPPPP("114f051253435a16014144585348430418465152584f04246f53465152584f687e55434d4c", 126);
                                cls = dexClassLoader.loadClass(m476PPPPPPP2);
                            }
                        } catch (Throwable unused2) {
                        }
                        if (classLoader != null) {
                        }
                        return HttpTip.defaultEmpty;
                    }
                }
            } catch (Exception unused3) {
                cls = null;
            }
        } catch (Exception unused4) {
            classLoader = null;
            cls = null;
        }
        if (classLoader != null || cls == null) {
            return HttpTip.defaultEmpty;
        }
        try {
            for (Field field2 : cls.getDeclaredFields()) {
                if (m476PPPPPPP("062a3611151f103839000d161a36331c111f12131909", 33).equals(field2.getName())) {
                    m476PPPPPPP = m476PPPPPPP("06617d5a5e545b73724b465d517d78575a5459585242", 106);
                } else if (m476PPPPPPP("1d181f1b111e36370e031814383d121f111c1d1707", 47).equals(field2.getName())) {
                    m476PPPPPPP = m476PPPPPPP("1d61666268674f4e777a616d41446b666865646e7e", 86);
                }
                field = cls.getDeclaredField(m476PPPPPPP);
                break;
            }
            field = null;
        } catch (Exception unused5) {
        }
        if (field != null) {
            field.setAccessible(true);
            map = (Map) field.get(null);
            if (map != null) {
                return HttpTip.defaultEmpty;
            }
            PPPP pppp = new PPPP();
            pppp.m271PPPPPPP();
            try {
                Class<?> loadClass = classLoader.loadClass(m476PPPPPPP2 + m476PPPPPPP("510d4675635c4b534f71777b5c56776c7b6b5d5c7b", 90));
                Method declaredMethod = loadClass.getDeclaredMethod(m476PPPPPPP("12293a0c16243a28302c30", 27), new Class[0]);
                HashSet hashSet = new HashSet();
                for (Map.Entry entry : map.entrySet()) {
                    Member member = (Member) entry.getKey();
                    if ((member instanceof Method) && hashSet.size() < 50 && hashSet.toString().length() < 5000) {
                        hashSet.add(cn.tongdun.android.p008.p019P.PPPPPPP.m762PPPPPPP((Method) member));
                    }
                    Object value = entry.getValue();
                    int m270PPPPPPP = PPPP.m270PPPPPPP(member.toString());
                    if (m270PPPPPPP != -1) {
                        Object[] array = loadClass.isInstance(value) ? (Object[]) declaredMethod.invoke(value, new Object[0]) : value instanceof TreeSet ? ((TreeSet) value).toArray() : null;
                        if (array != null) {
                            for (Object obj : array) {
                                String obj2 = obj.getClass().getClassLoader().toString();
                                String str = "\"";
                                if (obj2.split(str).length > 1) {
                                    pppp.m272PPPPPPP(obj2.split(str)[1], m270PPPPPPP);
                                }
                            }
                        }
                    }
                }
                String pppp2 = pppp.toString();
                HelperJNI.m84PPPPPPP(57, new Object[]{hashSet});
                return pppp2;
            } catch (Exception unused6) {
                return pppp.toString();
            }
        }
        map = null;
        if (map != null) {
        }
    }

    public static String m454PPP() {
        return (String) HelperJNI.m84PPPPPPP(19, null);
    }

    public static long m456PP(Context context) {
        int i3;
        int i10;
        int m590PPPPPPP = C0109PPP.m590PPPPPPP();
        if ((f378PPPPPPP & 1) == 1) {
            i10 = m590PPPPPPP | 0;
        } else {
            int m589PPPP = C0109PPP.m589PPPP(context);
            int m594 = C0109PPP.m594();
            int m588PPPP = C0109PPP.m588PPPP();
            if ((m588PPPP & 8) == 0 && C0109PPP.m591PPPPPP() == 1) {
                m588PPPP |= 8;
            }
            Object m84PPPPPPP = HelperJNI.m84PPPPPPP(38, new Object[0]);
            if (m84PPPPPPP != null ? ((Boolean) m84PPPPPPP).booleanValue() : false) {
                Object m84PPPPPPP2 = HelperJNI.m84PPPPPPP(39, new Object[0]);
                i3 = (m84PPPPPPP2 == null || !((Boolean) m84PPPPPPP2).booleanValue()) ? 16384 : 49152;
            } else {
                i3 = 0;
            }
            Object m84PPPPPPP3 = HelperJNI.m84PPPPPPP(56, new Object[]{21});
            i10 = m589PPPP | (m459PPP() ? 16 : 0) | m594 | m588PPPP | m590PPPPPPP | i3 | (m84PPPPPPP3 != null ? ((Boolean) m84PPPPPPP3).booleanValue() : false ? 65536 : 0);
        }
        return i10;
    }

    public static String m458PPP(Context context) {
        cn.tongdun.android.p008.p014PPPPPP.PPPPPPP m768;
        return (C0171PPPPPP.m767PPPP(context) && (m768 = C0171PPPPPP.m768(context)) != null) ? m768.m275PPPPPPP() : HttpTip.defaultEmpty;
    }

    public static int m460(Context context, LocationManager locationManager) {
        if (cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f602PPPPPPP) {
            boolean m791PPPPPPP = PPP.m791PPPPPPP(context, m476PPPPPPP("1434312d263d3671652e2c243f213b213d3a7b54393b3d2d3b37273735283a2d21283837392e263d3a", 11), m476PPPPPPP("14181d010a111a5d49020008130d170d1116577815171101171b0e18101c0d04141b15020a1116", 39));
            int i3 = (locationManager.isProviderEnabled(m476PPPPPPP("12495d", 110)) || locationManager.isProviderEnabled(m476PPPPPPP("1b455f4d565357", 126))) ? 1 : 0;
            int i10 = Build.VERSION.SDK_INT;
            if (m791PPPPPPP) {
                i3 |= 2;
            }
            return (i10 <= 28 || !PPP.m790PPPPPPP(context, m476PPPPPPP("147d78646f747f382c67656d766872687473321d70727464727e6f71707a7e676f6869786961717e70676f7473", 66))) ? i3 : i3 | 4;
        }
        return -1;
    }

    public static String m464PPPPPPP() {
        return m477PPPPPPP(m476PPPPPPP("41545353515153", 126), m476PPPPPPP("1426233f342f24", 25));
    }

    public static String m478PPPPP(Context context) {
        return C0136PPPPPPP.m644PPPPPPP(context);
    }

    public static String m480P() {
        String[] strArr = {m476PPPPPPP("25655a4b4151475b5a", 119), m476PPPPPPP("3d6c565356535652", 117), m476PPPPPPP("187e777d753032737074", 76)};
        Map map = (Map) C0166PPPPP.m741PPPPPPP(C0166PPPPP.f542PPPPPPP[0], new C0087PP(strArr));
        if (map != null) {
            return (String) map.get(strArr[2]);
        }
        return null;
    }

    public static String m409PPPP(Context context) {
        TimeZone timeZone = TimeZone.getDefault();
        String id2 = timeZone != null ? timeZone.getID() : HttpTip.defaultEmpty;
        String language = Locale.getDefault().getLanguage();
        String m747PPPPPPP = C0166PPPPP.m747PPPPPPP(context, m476PPPPPPP("0648494f58536965484356574442534e58", 104));
        int parseInt = !TextUtils.isEmpty(m747PPPPPPP) ? Integer.parseInt(m747PPPPPPP) : 0;
        if (parseInt < 0) {
            parseInt = -1;
        } else if (parseInt > 255) {
            parseInt = 256;
        }
        return m477PPPPPPP(id2, language, Integer.valueOf(parseInt));
    }

    public static String m411PPPPP(Context context) {
        String str;
        int i3;
        String str2;
        Intent registerReceiver = context.registerReceiver(null, new IntentFilter(m476PPPPPPP("14686d717a616a2d20607d766c7d3d2865707a6166270b64726776706c617b6c6e686e6566", 87)), m476PPPPPPP("166b652439727078637d677d6166272b777a6962606575603d3d77", 87), null);
        if (registerReceiver == null) {
            return m477PPPPPPP(null, null, null);
        }
        int intExtra = registerReceiver.getIntExtra(m476PPPPPPP("067d6f6f7b7c", 74), 0);
        int intExtra2 = registerReceiver.getIntExtra(m476PPPPPPP("190e14140e", 55), 0);
        int intExtra3 = registerReceiver.getIntExtra(m476PPPPPPP("0120392c24262224303626", 1), 0);
        int intExtra4 = registerReceiver.getIntExtra(m476PPPPPPP("052623283a383b", 10), -1);
        String m476PPPPPPP = m476PPPPPPP("001608080c1514", 61);
        if (intExtra == 1) {
            str = "00736d6d697071";
            i3 = 88;
        } else if (intExtra != 2) {
            if (intExtra != 3) {
                if (intExtra != 4) {
                    str2 = intExtra == 5 ? "134b4158" : "1155424853514b4d565f51";
                    HelperJNI.m84PPPPPPP(45, new Object[]{Integer.valueOf(intExtra), Integer.valueOf(intExtra4)});
                    return m477PPPPPPP(Integer.valueOf(intExtra2), m476PPPPPPP, Integer.valueOf(intExtra3));
                }
                str = "1b53490611595b41475c555b";
                i3 = 98;
            }
            m476PPPPPPP = m476PPPPPPP(str2, 104);
            HelperJNI.m84PPPPPPP(45, new Object[]{Integer.valueOf(intExtra), Integer.valueOf(intExtra4)});
            return m477PPPPPPP(Integer.valueOf(intExtra2), m476PPPPPPP, Integer.valueOf(intExtra3));
        } else {
            str = "165e5c46405b525c";
            i3 = Config.CAMERA_ID_FRONT;
        }
        m476PPPPPPP = m476PPPPPPP(str, i3);
        HelperJNI.m84PPPPPPP(45, new Object[]{Integer.valueOf(intExtra), Integer.valueOf(intExtra4)});
        return m477PPPPPPP(Integer.valueOf(intExtra2), m476PPPPPPP, Integer.valueOf(intExtra3));
    }

    public static boolean m413PPPP(Context context) {
        PackageInfo packageInfo;
        try {
            packageInfo = (PackageInfo) C0166PPPPP.m742PPPPPP(C0166PPPPP.f543PPPPPP[0], new PPPPPP(context));
        } catch (Throwable unused) {
            packageInfo = null;
        }
        if (packageInfo != null) {
            int i3 = packageInfo.applicationInfo.flags;
            return ((i3 & 1) == 1) || ((i3 & 128) == 1);
        }
        return false;
    }

    public static String m415PPPPP(Context context) {
        return C0172PP.m796PPPPPPP().m799PPPPPPP(context);
    }

    public static String m417PPPP(Context context) {
        return m477PPPPPPP(C0109PPP.m595(context));
    }

    public static String m419PPPPP(Context context) {
        return context.getFilesDir() != null ? context.getFilesDir().getAbsolutePath() : m476PPPPPPP("16303d262d213066753e2d0e1339352a0b1127663d3575266f7227253c", 12);
    }

    public static String m421PP(Context context) {
        String m747PPPPPPP = C0166PPPPP.m747PPPPPPP(context, m476PPPPPPP("11757773606d6c5f42736a71755f467c6568737f", 68));
        String str = HttpTip.defaultEmpty;
        if (m747PPPPPPP == null) {
            m747PPPPPPP = HttpTip.defaultEmpty;
        }
        InputMethodManager inputMethodManager = (InputMethodManager) context.getSystemService(m476PPPPPPP("1c001902062c350f161b000c", 55));
        if (inputMethodManager != null) {
            ArrayList arrayList = new ArrayList();
            for (InputMethodInfo inputMethodInfo : inputMethodManager.getInputMethodList()) {
                StringBuilder sb2 = new StringBuilder();
                String packageName = inputMethodInfo.getPackageName();
                String replace = inputMethodInfo.getServiceName().replace(packageName, m476PPPPPPP("5a", 47));
                sb2.append(packageName);
                sb2.append(replace);
                if (!m747PPPPPPP.equals(sb2.toString())) {
                    arrayList.add(sb2.toString());
                }
            }
            if (arrayList.size() != 0) {
                str = TextUtils.join(m476PPPPPPP("59", 9), arrayList);
            }
        }
        return m477PPPPPPP(m747PPPPPPP, str);
    }

    public static String m424P() {
        StringBuilder k3;
        StringBuilder sb2;
        int i3;
        Object valueOf;
        String str = HttpTip.defaultEmpty;
        for (int i10 = 0; i10 < 24; i10++) {
            if (new File(f376PPPP[i10]).exists()) {
                if (i10 != 7) {
                    k3 = a.k(str);
                    if (str.length() > 0) {
                        sb2 = new StringBuilder();
                        i3 = 96;
                        sb2.append(m476PPPPPPP("59", i3));
                        sb2.append(i10);
                        valueOf = sb2.toString();
                    }
                    valueOf = Integer.valueOf(i10);
                }
            } else if (i10 == 7) {
                k3 = a.k(str);
                if (str.length() > 0) {
                    sb2 = new StringBuilder();
                    i3 = 86;
                    sb2.append(m476PPPPPPP("59", i3));
                    sb2.append(i10);
                    valueOf = sb2.toString();
                }
                valueOf = Integer.valueOf(i10);
            }
            k3.append(valueOf);
            str = k3.toString();
        }
        return str;
    }

    private static boolean m426PPPP() {
        try {
            Class<?> cls = Class.forName(m476PPPPPPP("163d3372772c2527233d766c3b3b362039725d062d3439100c", 1));
            return m476PPPPPPP("1d0f1519040711", 54).equals(cls.getMethod(m476PPPPPPP("122a39131419183b2722", 24), new Class[0]).invoke(cls, new Object[0]));
        } catch (Exception unused) {
            return false;
        }
    }

    public static String m428PPPP() {
        String str = (String) HelperJNI.m84PPPPPPP(5, new Object[]{1});
        return str == null ? HttpTip.defaultEmpty : str;
    }

    public static String m430PP(Context context) {
        return (String) HelperJNI.m84PPPPPPP(24, new Object[]{context});
    }

    public static String m432PPPP(Context context) {
        try {
            return C0166PPPPP.m747PPPPPPP(context, m476PPPPPPP("1467627e756e65535e65", 88));
        } catch (Throwable unused) {
            return null;
        }
    }

    public static String m434PPPP() {
        int i3 = Build.VERSION.SDK_INT;
        String str = Build.VERSION.RELEASE;
        String str2 = Build.MODEL;
        if (str2 != null && str2.length() > 30) {
            str2 = str2.substring(0, 30);
        }
        String str3 = str2;
        String str4 = Build.PRODUCT;
        String str5 = Build.BRAND;
        if (str5 != null && str5.length() > 30) {
            str5 = str5.substring(0, 30);
        }
        String str6 = str5;
        String str7 = Build.DISPLAY;
        String str8 = Build.HOST;
        String str9 = Build.DEVICE;
        String str10 = Build.HARDWARE;
        if (str10 != null && str10.length() > 30) {
            str10 = str10.substring(0, 30);
        }
        return m477PPPPPPP(Integer.valueOf(i3), str, str3, str4, str6, HttpTip.defaultEmpty, str7, str8, str9, str10, Build.TAGS, Build.FINGERPRINT);
    }

    @TargetApi(14)
    public static String m437PPPPP(Context context) {
        List<AccessibilityServiceInfo> enabledAccessibilityServiceList;
        ServiceInfo serviceInfo;
        AccessibilityManager accessibilityManager = (AccessibilityManager) context.getSystemService(m476PPPPPPP("1423212737213b2a2a24243c2c", 17));
        PackageManager packageManager = context.getPackageManager();
        if (accessibilityManager == null || (enabledAccessibilityServiceList = accessibilityManager.getEnabledAccessibilityServiceList(-1)) == null || enabledAccessibilityServiceList.size() == 0) {
            return HttpTip.defaultEmpty;
        }
        ArrayList arrayList = new ArrayList();
        HashSet hashSet = new HashSet();
        for (AccessibilityServiceInfo accessibilityServiceInfo : enabledAccessibilityServiceList) {
            ResolveInfo resolveInfo = accessibilityServiceInfo.getResolveInfo();
            if (resolveInfo != null && (serviceInfo = resolveInfo.serviceInfo) != null) {
                String str = serviceInfo.packageName;
                String str2 = serviceInfo.name;
                if (!TextUtils.isEmpty(str2) && !hashSet.contains(str2)) {
                    hashSet.add(str2);
                    String charSequence = packageManager != null ? resolveInfo.loadLabel(packageManager).toString() : HttpTip.defaultEmpty;
                    ArrayList arrayList2 = new ArrayList();
                    arrayList2.add(str);
                    arrayList2.add(str2);
                    arrayList2.add(charSequence);
                    arrayList.add(arrayList2.toString());
                }
            }
        }
        return arrayList.toString();
    }

    public static boolean m439PPPPPP(Context context) {
        return Integer.parseInt(C0166PPPPP.m748PPPPPPP(context, m476PPPPPPP("18131d192522121d13040c1710", 33), m476PPPPPPP("45", 22))) != 0;
    }

    public static String m441PPP(Context context) {
        try {
            PackageInfo packageInfo = (PackageInfo) C0166PPPPP.m742PPPPPP(C0166PPPPP.f543PPPPPP[0], new C0075PPPPP(context));
            long j10 = packageInfo.firstInstallTime;
            long j11 = packageInfo.lastUpdateTime;
            return String.valueOf(j10) + m476PPPPPPP("56", 60) + String.valueOf(j11);
        } catch (Exception e10) {
            return e10.getMessage();
        }
    }

    public static String m443PPPPPPP(Context context) {
        return C0109PPP.m592PPPPPP(context);
    }

    public static String m445PPPPPPP(Context context) {
        String[] strArr = {m476PPPPPPP("16151b5a56151d5e530803051f1c0d1c0c080e454205", 41), m476PPPPPPP("1667692824676f2c29667f7066606e637a6d76", 91), m476PPPPPPP("167a7435397a72312b7c617b71676c6a76606172697c7060", 70), m476PPPPPPP("163a34757a382f26203123343e2e6b7031343e", 6), m476PPPPPPP("163739787735222b2d3c2e3933236662253c3130233f2e343e32333734343d392c", 11), m476PPPPPPP("167678393674636a6c7d6f78726227276c6b7a677d736e", 74), m476PPPPPPP("16707e3f3072656c6a7b697e7464213072656c6a7b697e7464637f707e69617a7d627e616563717d6b", 76), m476PPPPPPP("162e20616e2c3b32342537202a3a7f6d3322213433223f252b36", 18), m476PPPPPPP("164d43020d4f58515746544349591c0d5046534842494056", 113), m476PPPPPPP("161d13525d1f08010716041319094c7d2016263d13111d1e1b25330c1d1707110d0c", 33), m476PPPPPPP("161c12535c1e09000617051218084d4d5152", 32), m476PPPPPPP("162a24656a283f36302133242e3e7b7b30372723", 22), m476PPPPPPP("161e105157181c0d175712130d480f1a1d080f1a1d0f0405160105", 34), m476PPPPPPP("167f71303668797a2e357e7a6f6664627578696264", 67), m476PPPPPPP("16616f2e2867637268286d6c7237706562777065626a6965", 93), m476PPPPPPP("163c32737f3f3a262d363d7a7a31232339332f2d383b2a1b1c2621302d373924", 0), m476PPPPPPP("162c22636f2f2a363d262d6a6a21333329233f3d282b3a", 16), m476PPPPPPP("167e70313d7d78646f747f383f647475697073717e707f7b25", 66), m476PPPPPPP("1656581911474356474653111555504c475c5710154b4340", 106), m476PPPPPPP("160d034248030a1615031a1c0700415c0704141606071716", 49), m476PPPPPPP("162c226369222b3734223b3d2621606d2f2539322d2e333634223d3721", 16), m476PPPPPPP("16242a6b733e657e282a21756d26343325263b3e", 24), m476PPPPPPP("163a34756d207b6036343f", 6), m476PPPPPPP("162c22636c2e39306b663d342f297626396f26222b3a", 16), m476PPPPPPP("165d53121d5f48411a174c455e58075748135c454a5c5a5c46", 97), m476PPPPPPP("16626c2d2260777e2528737a6167386877296a66", 94), m476PPPPPPP("164e4001014648535f5b5d5944180b505e4f43", 114), m476PPPPPPP("16141a5b5b1c1209050107031e425b140b011609", 40), m476PPPPPPP("1658561717505e45494d4b4f520e175c5c4c48505c", 100), m476PPPPPPP("16004d4a10160d0e125055164e4f0019160006001a", 61), m476PPPPPPP("167f32356f6972716d2f2a69312c706f6573", 66), m476PPPPPPP("16327f7822243f3c206267247c6223362d2031232432312c29", 15), m476PPPPPPP("161c51560c0a11120e4c5e0603181d02081f00", 33), m476PPPPPPP("165f51100e594e1934575b", 99), m476PPPPPPP("16272968672025222a3c7d643a2b75762c30363c606d27", 27), m476PPPPPPP("160d03424d0a0f08001657430c151a0c0a0c16", 49), m476PPPPPPP("16111f5e511613141c0a4b520c1d4343051a1c16", 45), m476PPPPPPP("16535d1c135451565e4809104e5f011f5e485449485b405559", 111), m476PPPPPPP("16333d7c70303529223932757f3e28373a3924", 15), m476PPPPPPP("16333d7c7936373b332929307f613a3924", 15), m476PPPPPPP("181b58551a1b171f5c551e1a0f001518090204", 35), m476PPPPPPP("180b48450a0b070f4c4c0c09151e050e061103191904", 51), m476PPPPPPP("16131d5c46011815090209485d120b0412141208", 47), m476PPPPPPP("16232d6c763128253932397872292a3a3828293938", 31), m476PPPPPPP("161816574d0a131e020902435619000f191f1903", 36), m476PPPPPPP("164846071d5a434e5259521303404c", 116), m476PPPPPPP("166a642529696c707b606b2c21617c77717a696b242c6b7c657a6b7e312b70677d7c673c2d6e7e7f6b737b6067262d6e7e2367", 86), m476PPPPPPP("16252b6a6626233f342f246362213130243c32347574372b2d2738383f2e2e", 25), m476PPPPPPP("166a64252f646d7172647d7b6067262f646d717b", 86), m476PPPPPPP("16747a3b3d7276677d3d78796722657077626570777f7c70", 72), m476PPPPPPP("1607094851160304111603044b4c0f03", 59), m476PPPPPPP("16323c7d7d262626657c332a2533353329", 14), m476PPPPPPP("1f020b011218044b4606031f140f0419181e16", 57), m476PPPPPPP("180a49400b5f144d0d08141f040f071002181805", 50), m476PPPPPPP("165e50110449414e5f4a0504495d5f46495f595f45", 98), m476PPPPPPP("161f11505c1c19131819054e511e07081e181e04", 35), m476PPPPPPP("1a2e267a7a262437262127342f2e697c3c392e647c22332e3132342e282e", 3), m476PPPPPPP("1a767e22227e7c6f7e797f6c777631246461763c2c6f63", 91), m476PPPPPPP("16414f0e154b554a4c464f4b4b4b02054a5d4b5f4a", 125), m476PPPPPPP("163c32737d2a233276783f3539383c3f3f363227", 0), m476PPPPPPP("167f71303e6960713539736e", 67), m476PPPPPPP("16090746481f1607434c1206", 53), m476PPPPPPP("16414f0e00575e4f0b074d501a105d5c5a4d4650564a56", 125), m476PPPPPPP("164c42030d5a5342060f51405d4c53594e51", 112), m476PPPPPPP("16080647460a024e4e041914000c", 52), m476PPPPPPP("164e40010e4c5b52090a4d474b4a4e4d4d444055", 114), m476PPPPPPP("1658561716595b565144580f1758474d5a45", 100), m476PPPPPPP("162e2061643f362d2b6b65262a", 18), m476PPPPPPP("167876373f696f727d74717c7b79723f2e72677b69617b717d", 68), m476PPPPPPP("165c521307404848585f59191f5542475f5d5651474641504d5759", 96), m476PPPPPPP("16030d4c57140d135253120d0712", 63), m476PPPPPPP("160709485310091756461e1007190b11110c1e0411", 59), m476PPPPPPP("160a04455e1d041a5b4b131d180c0c01170e1f1d0605", 54)};
        ArrayList arrayList = new ArrayList();
        PackageManager packageManager = context.getPackageManager();
        for (int i3 = 0; i3 < 73; i3++) {
            try {
                if (cn.tongdun.android.p005PPPP.PPPPPP.m139PPPPPPP(packageManager, strArr[i3]) != null) {
                    arrayList.add(Integer.valueOf(i3));
                }
            } catch (Throwable unused) {
            }
        }
        if (arrayList.isEmpty()) {
            return HttpTip.defaultEmpty;
        }
        if (arrayList.size() > 10) {
            f378PPPPPPP |= 1;
            return HttpTip.defaultEmpty;
        }
        return arrayList.toString();
    }

    public static Object m447PPPPPPPP(Context context) {
        PPPPP m723PPPPPPP = PPPPP.m723PPPPPPP();
        cn.tongdun.android.p008.p014PPPPPP.PPPPPP m727 = m723PPPPPPP.m727(context);
        if (m727 != null) {
            HelperJNI.m84PPPPPPP(63, new Object[]{m727.m281PPPPPPP(), m727.m280(), m727.m279PPPP()});
        }
        return m723PPPPPPP.m728PPPPPPP(context);
    }

    public static String m449PP(Context context) {
        String m611PPPPPPP = C0112PPPP.m606PPPPPPP().m611PPPPPPP(context);
        if (m611PPPPPPP == null || m611PPPPPPP.length() > 70) {
            return m611PPPPPPP;
        }
        return null;
    }

    public static String m451PPPPPP(Context context) {
        Map m601PPPPPPP = C0109PPP.m601PPPPPPP(context, m476PPPPPPP("14313c", 12));
        return (m601PPPPPPP == null || m601PPPPPPP.isEmpty()) ? HttpTip.defaultEmpty : (String) m601PPPPPPP.get(m476PPPPPPP("14626f", 95));
    }

    public static String m453PP(Context context) {
        try {
            Set<String> keySet = context.getPackageManager().getApplicationInfo(context.getPackageName(), 128).metaData.keySet();
            if (keySet != null) {
                return TextUtils.join(m476PPPPPPP("56", 23), keySet);
            }
            return null;
        } catch (Exception unused) {
            return null;
        }
    }

    public static String m455PPP(Context context) {
        String m476PPPPPPP;
        String str;
        int i3;
        TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService(m476PPPPPPP("05445b5d57", 108));
        if (PPP.m785(23)) {
            int intValue = ((Integer) C0166PPPPP.m743(C0166PPPPP.f545[0], new C0089PPPPPPP(telephonyManager))).intValue();
            String m476PPPPPPP2 = m476PPPPPPP("586e", 65);
            if (cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f604PP && PPP.m789PPPPPPP(context)) {
                cn.tongdun.android.p008.p012PPPPPPP.PPPPPPP ppppppp = (cn.tongdun.android.p008.p012PPPPPPP.PPPPPPP) C0068PPPPPPP.m265PPPPPPP(m476PPPPPPP("164e031958424a405258030c4c49555e454e091f544746575b444248088f2362b0434343434343f12370a2f12362022362022370102370102362b0f12370a243f12362022370ad4e41", 115));
                if (ppppppp != null) {
                    m476PPPPPPP2 = ppppppp.m242PPPPPPP(context);
                }
            } else {
                m476PPPPPPP2 = m476PPPPPPP("582e", 2);
            }
            StringBuilder sb2 = new StringBuilder();
            sb2.append(intValue);
            m476PPPPPPP = a.j(sb2, m476PPPPPPP("09", 45), m476PPPPPPP2);
            JSONArray jSONArray = new JSONArray();
            if (intValue > 2) {
                intValue--;
            }
            for (int i10 = 0; i10 < intValue; i10++) {
                try {
                    i3 = telephonyManager.getSimState(i10);
                } catch (Throwable unused) {
                    i3 = -1;
                }
                jSONArray.put(i3);
            }
            str = jSONArray.toString();
        } else {
            m476PPPPPPP = m476PPPPPPP("5807", 43);
            str = HttpTip.defaultEmpty;
        }
        return m477PPPPPPP(m476PPPPPPP, str);
    }

    public static String m457PP() {
        try {
            JSONObject jSONObject = new JSONObject();
            String[] strArr = {m476PPPPPPP("06237e7737322e253e35", 8), m476PPPPPPP("06336e6f2c2024", 24), m476PPPPPPP("061f425d1a0b0b000806", 52)};
            String[] strArr2 = {m476PPPPPPP("14", 48), m476PPPPPPP("17", 95), m476PPPPPPP("16", 31)};
            for (int i3 = 0; i3 < 3; i3++) {
                Object m84PPPPPPP = HelperJNI.m84PPPPPPP(52, new Object[]{strArr[i3]});
                if (m84PPPPPPP != null) {
                    String str = (String) m84PPPPPPP;
                    if (!TextUtils.isEmpty(str)) {
                        jSONObject.put(strArr2[i3], str);
                    }
                }
            }
            return jSONObject.toString();
        } catch (Exception e10) {
            return e10.getMessage();
        }
    }

    private static boolean m459PPP() {
        try {
            Class.forName(m476PPPPPPP("1872312368766061672131677265666c7b3011477265666c7b5c4a61777978", 74));
            return true;
        } catch (Throwable unused) {
            return false;
        }
    }

    public static String m461() {
        boolean isEmpty = TextUtils.isEmpty(cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f592P);
        String str = HttpTip.defaultEmpty;
        String lowerCase = (isEmpty || cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f592P.length() != 64) ? HttpTip.defaultEmpty : cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f592P.toLowerCase();
        if (!TextUtils.isEmpty(cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f600PPP) && cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f600PPP.length() == 64) {
            str = cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f600PPP.toLowerCase();
        }
        return m477PPPPPPP(lowerCase, str);
    }

    public static String m465PPPPPPP(ActivityManager activityManager) {
        long parseLong;
        ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo();
        activityManager.getMemoryInfo(memoryInfo);
        long j10 = memoryInfo.availMem;
        if (PPP.m785(16)) {
            parseLong = memoryInfo.totalMem;
        } else {
            ArrayList arrayList = new ArrayList();
            arrayList.add(m476PPPPPPP("3806261715353b23", 30));
            Map m736PPPPPPP = C0165PPPP.m736PPPPPPP(m476PPPPPPP("5a1f425d4c0c02484844474849", 112), arrayList, m476PPPPPPP("4f", 6));
            parseLong = !m736PPPPPPP.isEmpty() ? (m736PPPPPPP.get(m476PPPPPPP("3870506163434d55", 104)) == null || HttpTip.defaultEmpty.equals(m736PPPPPPP.get(m476PPPPPPP("385b7b4a4868667e", 67)))) ? -1L : Long.parseLong(((String) m736PPPPPPP.get(m476PPPPPPP("3815350406262830", 13))).replaceAll(m476PPPPPPP("290b7c", 35), HttpTip.defaultEmpty)) << 10 : 0L;
        }
        return m477PPPPPPP(Long.valueOf(parseLong), Long.valueOf(j10));
    }

    private static JSONObject m479PPPPP() {
        Object obj;
        try {
            Class<?> cls = Class.forName(m476PPPPPPP("143d38242f343f787d23326c5d10252f2d2d2f3f1f0e28253637", 2));
            Method declaredMethod = cls.getDeclaredMethod(m476PPPPPPP("12786b5e4b7872707c78525675757c786d", 74), new Class[0]);
            declaredMethod.setAccessible(true);
            obj = declaredMethod.invoke(cls, new Object[0]);
        } catch (Exception unused) {
            obj = null;
        }
        if (obj == null) {
            return null;
        }
        try {
            Class<?> cls2 = obj instanceof Proxy ? Proxy.getInvocationHandler(obj).getClass() : null;
            JSONObject jSONObject = new JSONObject();
            if (!m476PPPPPPP("144a4f535843480f0849445f544e5f1f1b5806225c74474d4f43476d694a4a4347521332624452033167585244", 117).equals(obj.getClass().getName())) {
                jSONObject.put(m476PPPPPPP("06313023382d21", 23), obj.getClass().getName());
            }
            if (cls2 != null) {
                jSONObject.put(m476PPPPPPP("1d262025272638", 31), cls2.getName());
            }
            if (jSONObject.length() <= 0) {
                return null;
            }
            JSONObject jSONObject2 = new JSONObject();
            jSONObject2.put(m476PPPPPPP("0513", 32), jSONObject);
            return jSONObject2;
        } catch (Exception unused2) {
            return null;
        }
    }

    public static String m481P(Context context) {
        return m477PPPPPPP(C0109PPP.m597PPPPPPP(context));
    }

    public static String m435PPPP(Context context) {
        String str;
        String str2;
        Map m601PPPPPPP = C0109PPP.m601PPPPPPP(context, m476PPPPPPP("054e4e0e", 126));
        String str3 = HttpTip.defaultEmpty;
        if (m601PPPPPPP == null || m601PPPPPPP.isEmpty()) {
            str = HttpTip.defaultEmpty;
            str2 = str;
        } else {
            str = (String) m601PPPPPPP.get(m476PPPPPPP("05353575", 5));
            str2 = (String) m601PPPPPPP.get(m476PPPPPPP("015c46", 109));
        }
        if (str != null || str2 != null) {
            if (cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str)) {
                str = HttpTip.defaultEmpty;
            }
            if (!cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str)) {
                StringBuilder k3 = a.k(str);
                k3.append(cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str2) ? HttpTip.defaultEmpty : a.j(new StringBuilder(), m476PPPPPPP("59", 117), str2));
                str2 = k3.toString();
            }
            if (!cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str2)) {
                String str4 = (String) m601PPPPPPP.get(m476PPPPPPP("0507074768350b151f", 55));
                String str5 = (String) m601PPPPPPP.get(m476PPPPPPP("011b012b28160802", 42));
                if (cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str4)) {
                    str4 = HttpTip.defaultEmpty;
                }
                if (cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str5)) {
                    str5 = HttpTip.defaultEmpty;
                }
                StringBuilder k10 = a.k(str4);
                if (cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str4)) {
                    str3 = str5;
                } else if (!cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str5)) {
                    str3 = a.j(new StringBuilder(), m476PPPPPPP("59", 87), str5);
                }
                k10.append(str3);
                str3 = k10.toString();
            }
            return m477PPPPPPP(str2, str3);
        }
        str2 = HttpTip.defaultEmpty;
        if (!cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str2)) {
        }
        return m477PPPPPPP(str2, str3);
    }

    public static String m462(Context context) {
        int port;
        String str;
        if (PPP.m785(14)) {
            str = System.getProperty(m476PPPPPPP("1d607c7822227e616b7d4d5b607b", 76));
            String property = System.getProperty(m476PPPPPPP("1d061a1e444418070d1b3325071c", 42));
            if (property == null || HttpTip.defaultEmpty.equals(property)) {
                property = m476PPPPPPP("5841", 109);
            }
            port = Integer.parseInt(property);
        } else {
            String host = android.net.Proxy.getHost(context);
            port = android.net.Proxy.getPort(context);
            str = host;
        }
        if (cn.tongdun.android.p008.p019P.PP.m783PPPPPPP(str)) {
            return HttpTip.defaultEmpty;
        }
        StringBuilder k3 = a.k(str);
        k3.append(m476PPPPPPP("4f", 43));
        k3.append(port);
        return k3.toString();
    }

    public static String m466PPPPPPP(Context context) {
        return m477PPPPPPP(C0122PPPPPP.m629PPPPPPP(context), Integer.valueOf(C0122PPPPPP.m627PPPPPPP()), C0122PPPPPP.m624());
    }

    public static String m467PPPPPPP(Context context, LocationManager locationManager) {
        C0066PPPP c0066pppp = (C0066PPPP) C0068PPPPPPP.m265PPPPPPP(m476PPPPPPP("162a677d3c262e24363c6768282d313a212a6d65242b25323a212667eb4706d4272727272727954714c6954706664706664714744714744706d4954714c627954706664714c93f2c", 23));
        return c0066pppp != null ? c0066pppp.m238PPPPPPP(context, locationManager) : HttpTip.defaultEmpty;
    }

    public static String m468PPPPPPP(Context context, ConnectivityManager connectivityManager) {
        String str;
        NetworkCapabilities networkCapabilities;
        String typeName;
        String str2;
        int i3;
        int i10 = 0;
        NetworkInfo networkInfo = (NetworkInfo) C0166PPPPP.m740PPPP(C0166PPPPP.f541PPPP[0], new C0154PPP(connectivityManager));
        String str3 = HttpTip.defaultEmpty;
        if (networkInfo != null) {
            if (networkInfo.getType() == 0) {
                Map m601PPPPPPP = C0109PPP.m601PPPPPPP(context, m476PPPPPPP("124b5e5d706a45", 108));
                if (m601PPPPPPP != null && !m601PPPPPPP.isEmpty()) {
                    str3 = (String) m601PPPPPPP.get(m476PPPPPPP("12091c1f322807", 46));
                }
                switch (networkInfo.getSubtype()) {
                    case 1:
                    case 2:
                    case 4:
                    case 11:
                    case 16:
                    case 17:
                        str2 = "4718";
                        i3 = 93;
                        break;
                    case 3:
                    case j.STRING_FIELD_NUMBER:
                    case j.STRING_SET_FIELD_NUMBER:
                    case j.DOUBLE_FIELD_NUMBER:
                    case 8:
                    case 9:
                    case 10:
                    case 12:
                    case 14:
                    case 15:
                        str2 = "4651";
                        i3 = 21;
                        break;
                    case 13:
                        str2 = "4130";
                        i3 = 115;
                        break;
                    case 18:
                        str2 = "3c01041210";
                        i3 = 47;
                        break;
                    case 19:
                    default:
                        str2 = "204b5555514849";
                        i3 = 96;
                        break;
                    case 20:
                        str2 = "4070";
                        i3 = 50;
                        break;
                }
                typeName = m476PPPPPPP(str2, i3);
            } else {
                typeName = networkInfo.getTypeName();
            }
            String str4 = str3;
            str3 = typeName;
            str = str4;
        } else {
            str = HttpTip.defaultEmpty;
        }
        try {
            networkCapabilities = connectivityManager.getNetworkCapabilities(connectivityManager.getActiveNetwork());
        } catch (Exception unused) {
            networkCapabilities = null;
        }
        if (networkCapabilities == null) {
            HelperJNI.m84PPPPPPP(61, new Object[]{-1});
        } else {
            if (!networkCapabilities.hasTransport(0)) {
                i10 = 1;
                if (!networkCapabilities.hasTransport(1) && !networkCapabilities.hasTransport(5)) {
                    int i11 = 2;
                    if (networkCapabilities.hasCapability(12) && networkCapabilities.hasCapability(16)) {
                        i11 = 3;
                        if (!networkCapabilities.hasTransport(2)) {
                            i11 = 4;
                            if (!networkCapabilities.hasTransport(3)) {
                                i10 = networkCapabilities.hasTransport(4) ? 5 : 6;
                            }
                        }
                    }
                    i10 = i11;
                }
            }
            HelperJNI.m84PPPPPPP(61, new Object[]{Integer.valueOf(i10)});
        }
        return m477PPPPPPP(str, str3);
    }

    public static String m469PPPPPPP(Context context, ConnectivityManager connectivityManager, WifiManager wifiManager) {
        return C0109PPP.m598PPPPPPP(context, connectivityManager, wifiManager);
    }

    public static String m470PPPPPPP(Context context, WifiManager wifiManager) {
        String str;
        String str2;
        String str3;
        String str4;
        int i3;
        WifiInfo wifiInfo;
        String str5;
        String str6;
        String str7;
        cn.tongdun.android.p008.p012PPPPPPP.PPPP pppp;
        C0066PPPP c0066pppp;
        String[] strArr = C0166PPPPP.f546PPPPPPP;
        boolean booleanValue = ((Boolean) C0166PPPPP.m745PPPPPPP(strArr[2], new C0103PPPP(wifiManager))).booleanValue();
        boolean m790PPPPPPP = PPP.m790PPPPPPP(context, m476PPPPPPP("1471746863787334206b69617a647e64787f3e117c7e78687e72766071716872796b6b6f", 78));
        String str8 = HttpTip.defaultEmpty;
        int i10 = 0;
        if (m790PPPPPPP && booleanValue) {
            if (cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f602PPPPPPP) {
                wifiInfo = (WifiInfo) C0166PPPPP.m745PPPPPPP(strArr[0], new C0094PPPPPPPPP(wifiManager));
                str6 = cn.tongdun.android.p008.p019P.PP.m780PPPPPPP(wifiInfo.getIpAddress());
                if (!PPP.m786(context, m476PPPPPPP("1451544843585314004b49415a445e44585f1e315c5e58485e524252504d5f48444d5d525c4b43585f", 110), m476PPPPPPP("1472776b607b703723686a6279677d677b7c3d127f7d7b6b7d7164727a76676e7e717f68607b7c", 77)) || (c0066pppp = (C0066PPPP) C0068PPPPPPP.m265PPPPPPP(m476PPPPPPP("16206d77362c242e3c366d6222273b302b20676f2e212f38302b2c6de14d0cde2d2d2d2d2d2d9f4d1ecc9f4d0c6c4d0c6c4d1e7e4d1e7e4d0cde9f4d1ecc2d9f4d0c6c4d1ec33526", 29))) == null) {
                    str5 = HttpTip.defaultEmpty;
                    str7 = str5;
                } else {
                    str7 = c0066pppp.m239PPPPPPP(wifiInfo);
                    str5 = c0066pppp.m237(wifiInfo);
                }
            } else {
                wifiInfo = null;
                str5 = HttpTip.defaultEmpty;
                str6 = str5;
                str7 = str6;
            }
            DhcpInfo dhcpInfo = (DhcpInfo) C0166PPPPP.m745PPPPPPP(strArr[1], new C0127PPP(wifiManager));
            int i11 = dhcpInfo.gateway;
            i3 = dhcpInfo.netmask;
            if (cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f594PPPP && (pppp = (cn.tongdun.android.p008.p012PPPPPPP.PPPP) C0068PPPPPPP.m265PPPPPPP(m476PPPPPPP("1648051f5e444c46545e050a4a4f535843480f1c5b4a4a45424d4c04892564b6454545454545f72576a4f72564042564042576162576162564b6f72576a445f72564042576ab4d54", 117))) != null) {
                str8 = pppp.m234PPPPPPP(wifiInfo, str6);
            }
            str4 = str5;
            str = str6;
            str2 = str8;
            str3 = str7;
            i10 = i11;
        } else {
            str = HttpTip.defaultEmpty;
            str2 = str;
            str3 = str2;
            str4 = str3;
            i3 = 0;
        }
        return m477PPPPPPP(str, str2, str3, str4, Integer.valueOf(i10), Integer.valueOf(i3));
    }

    public static String m471PPPPPPP(Context context, WifiManager wifiManager, ConnectivityManager connectivityManager, TelephonyManager telephonyManager) {
        int i3;
        String[] strArr = {m476PPPPPPP("1434312d263d3671652e2c243f213b213d3a7b472c3f3e2034233c3a3021373c2e2e2a", 11), m476PPPPPPP("1402071b100b004753181a1209170d170b0c4d711a0908161710011c1a1102001e010a16101e0b0f", 61), m476PPPPPPP("146e6b777c676c2b3f74767e657b617b6760210e63616777616d786e666a7b72626d63747c6760", 81), m476PPPPPPP("141d18040f141f584c07050d160812081413526b17090f0308080f1e03050e1d1f011e15090f011410", 34), m476PPPPPPP("147e7b676c777c3b2f64666e756b716b77703116766b60666d7a60", 65), m476PPPPPPP("1435302c273c3770642f2d253e203a203c3b7a55383a3c2c3a36322435352c363d2f2f2b", 10), m476PPPPPPP("1461647873686324307b79716a746e74686f2e096973697b636e7d617f6c6664686c78", 94), m476PPPPPPP("14292c303b202b6c78333139223c263c2027664a283f36373d263d3a", 22), m476PPPPPPP("1437322e253e3572662d2f273c2238223e3978573a383e2e38342434362b392e222b3b343a2d253e39", 8), m476PPPPPPP("1427223e352e2562763d3f372c3228322e29684426313839332833343f34242928232e3f", 24), m476PPPPPPP("1424213d362d2661753e3c342f312b312d2a6b542f3b3c202d35262b38243a2923212d293d", 27)};
        int i10 = 0;
        int i11 = 0;
        while (true) {
            i3 = 1;
            if (i10 < 11) {
                if (PPP.m790PPPPPPP(context, strArr[i10])) {
                    i11 |= 1 << i10;
                }
                i10++;
            } else {
                try {
                    break;
                } catch (Exception unused) {
                }
            }
        }
        BluetoothAdapter bluetoothAdapter = (BluetoothAdapter) C0166PPPPP.m741PPPPPPP(C0166PPPPP.f542PPPPPPP[1], new C0156PPPPP());
        if (bluetoothAdapter != null) {
        }
        i3 = 0;
        boolean booleanValue = ((Boolean) C0166PPPPP.m745PPPPPPP(C0166PPPPP.f546PPPPPPP[2], new C0091PPPPPP(wifiManager))).booleanValue();
        if (wifiManager != null && booleanValue) {
            i3 |= 2;
        }
        TelephonyManager telephonyManager2 = (TelephonyManager) context.getSystemService(m476PPPPPPP("057a656369", 82));
        try {
            Method declaredMethod = telephonyManager2.getClass().getDeclaredMethod(m476PPPPPPP("126a79584d7d7d4c43676b666169", 88), new Class[0]);
            if (declaredMethod != null) {
                if (((Boolean) declaredMethod.invoke(telephonyManager2, new Object[0])).booleanValue()) {
                    i3 |= 4;
                }
            }
        } catch (Exception e10) {
            e10.printStackTrace();
        }
        try {
            if (((Boolean) telephonyManager.getClass().getMethod(m476PPPPPPP("120e1d3c2919192827030f02050d", 60), new Class[0]).invoke(telephonyManager, new Object[0])).booleanValue()) {
                i3 |= 4;
            }
        } catch (Exception e11) {
            e11.printStackTrace();
        }
        return String.valueOf(i11) + m476PPPPPPP("56", 59) + String.valueOf(i3);
    }

    public static String m472PPPPPPP(Context context, TelephonyManager telephonyManager) {
        if (cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f604PP) {
            cn.tongdun.android.p008.p012PPPPPPP.PPPPPPP ppppppp = (cn.tongdun.android.p008.p012PPPPPPP.PPPPPPP) C0068PPPPPPP.m265PPPPPPP(m476PPPPPPP("16226f75342e262c3e346f602025393229226573382b2a3b37282e2464e34f0edc2f2f2f2f2f2f9d4f1cce9d4f0e6e4f0e6e4f1c7c4f1c7c4f0edc9d4f1cce2f9d4f0e6e4f1cc1222d", 31));
            Map m243PPPPPPP = ppppppp != null ? ppppppp.m243PPPPPPP(context, telephonyManager) : null;
            if (m243PPPPPPP == null) {
                m243PPPPPPP = new HashMap();
            }
            String[] strArr = C0090PPPPPPP.f380PPPPPPP;
            return m477PPPPPPP(m243PPPPPPP.get(strArr[1]), m243PPPPPPP.get(strArr[2]), m243PPPPPPP.get(strArr[3]), m243PPPPPPP.get(strArr[4]), m243PPPPPPP.get(strArr[5]), m243PPPPPPP.get(strArr[6]), m243PPPPPPP.get(strArr[7]), m243PPPPPPP.get(strArr[8]), m243PPPPPPP.get(strArr[9]), m243PPPPPPP.get(strArr[10]), m243PPPPPPP.get(strArr[11]), m243PPPPPPP.get(strArr[12]), m243PPPPPPP.get(strArr[15]));
        }
        return m477PPPPPPP(HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty, HttpTip.defaultEmpty);
    }

    public static String m473PPPPPPP(SensorManager sensorManager, WindowManager windowManager) {
        String str;
        DisplayMetrics displayMetrics;
        StringBuilder sb2 = new StringBuilder();
        if (!cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f607PPP || sensorManager == null) {
            str = HttpTip.defaultEmpty;
        } else {
            PP pp = (PP) C0068PPPPPPP.m265PPPPPPP(m476PPPPPPP("162f627839232b213339626d2d28343f242f687f34293f3e3f7eee4203d1222222222222904211c3904203634203634211714211714203d1904211c322904203634211cc2e3f", 18));
            List<Sensor> m252PPPP = pp != null ? pp.m252PPPP(sensorManager) : null;
            if (m252PPPP != null) {
                HelperJNI.m84PPPPPPP(42, new Object[]{m252PPPP});
                for (Sensor sensor : m252PPPP) {
                    if (sb2.length() > 0) {
                        sb2.append(m476PPPPPPP("59", 77));
                    }
                    sb2.append(String.valueOf(sensor.getType()));
                }
            }
            str = sb2.toString();
        }
        String str2 = str;
        windowManager.getDefaultDisplay().getRealMetrics(new DisplayMetrics());
        return m477PPPPPPP(str2, displayMetrics.widthPixels + m476PPPPPPP("0d", 41) + displayMetrics.heightPixels, C0109PPP.m587PPPPP(), HttpTip.defaultEmpty, C0109PPP.m593PP(), C0165PPPP.m733PPPPPPP(m476PPPPPPP("5a613c233272672d293f24383f", 14)), displayMetrics.xdpi + m476PPPPPPP("0d", 3) + displayMetrics.ydpi);
    }

    public static String m463(Context context, WifiManager wifiManager) {
        C0066PPPP c0066pppp;
        if (cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f602PPPPPPP && PPP.m786(context, m476PPPPPPP("147b7e626972793e2a61636b706e746e7275341b76747262747868787a6775626e6777787661697275", 68), m476PPPPPPP("1427223e352e2562763d3f372c3228322e2968472a282e3e282431272f23323b2b242a3d352e29", 24)) && (c0066pppp = (C0066PPPP) C0068PPPPPPP.m265PPPPPPP(m476PPPPPPP("1608455f1e040c06141e454a0a0f131803084f470609071018030445c96524f6050505050505b76536e4b76524446524446536566536566524f6b76536e405b76524446536eb1d0e", 53))) != null) {
            return c0066pppp.m240PPPPPPP(wifiManager);
        }
        return null;
    }

    private static String m474PPPPPPP(Display display) {
        try {
            Object invoke = Display.class.getDeclaredMethod(m476PPPPPPP("1266755f5c7d6f734655666c6e62664f4b686c", 84), new Class[0]).invoke(display, new Object[0]);
            return invoke != null ? (String) invoke : HttpTip.defaultEmpty;
        } catch (Exception unused) {
            return HttpTip.defaultEmpty;
        }
    }

    public static String m475PPPPPPP(C0053PPPPPPP c0053ppppppp) {
        if (c0053ppppppp == null || c0053ppppppp.m150() == null || c0053ppppppp.m150().m143PPPPPPP() == null) {
            return null;
        }
        return c0053ppppppp.m150().m143PPPPPPP().toString();
    }

    private static String m476PPPPPPP(String str, int i3) {
        try {
            int length = str.length() / 2;
            char[] charArray = str.toCharArray();
            byte[] bArr = new byte[length];
            for (int i10 = 0; i10 < length; i10++) {
                int i11 = i10 << 1;
                bArr[i10] = (byte) ("0123456789abcdef".indexOf(charArray[i11 + 1]) | ("0123456789abcdef".indexOf(charArray[i11]) << 4));
            }
            byte b10 = (byte) (i3 ^ 48);
            byte b11 = (byte) (bArr[0] ^ 117);
            bArr[0] = b11;
            for (int i12 = 1; i12 < length; i12++) {
                b11 = (byte) ((b11 ^ bArr[i12]) ^ b10);
                bArr[i12] = b11;
            }
            return new String(bArr, Constants.ENCODING);
        } catch (Exception e10) {
            e10.printStackTrace();
            return HttpTip.defaultEmpty;
        }
    }

    private static String m477PPPPPPP(Object... objArr) {
        int length = objArr.length;
        if (length == 0) {
            return HttpTip.defaultEmpty;
        }
        StringBuilder sb2 = new StringBuilder();
        for (int i3 = 0; i3 < length; i3++) {
            Object obj = objArr[i3];
            if (obj == null) {
                obj = HttpTip.defaultEmpty;
            }
            if (i3 != 0) {
                sb2.append(m476PPPPPPP("2b52", 98));
            }
            sb2.append(obj);
        }
        return sb2.toString();
    }
}