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

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


package cn.tongdun.android.shell;

import android.content.Context;
import android.support.annotation.NonNull;
import android.text.TextUtils;
import cn.tongdun.android.p008.C0164PPPPPPP;
import cn.tongdun.android.p020PPPPPPP.PPPPPP;
import cn.tongdun.android.p020PPPPPPP.p021.PPPPPPP;
import cn.tongdun.android.shell.common.C0007;
import cn.tongdun.android.shell.inter.FMCallback;
import cn.tongdun.android.shell.inter.FMGetBlackBoxCodeCallback;
import com.adjust.sdk.Constants;
import com.jakewharton.timber.collection.util.HttpTip;
import java.util.HashMap;
import java.util.Map;
public class FMAgent {
    public static final String COLLECT_LEVEL_H;
    public static final String COLLECT_LEVEL_L;
    public static final String COLLECT_LEVEL_M;
    public static final String ENV_PRODUCTION;
    public static final String ENV_SANDBOX;
    @Deprecated
    public static final String OPTION_ALWAYS_DEMOTION;
    @Deprecated
    public static final String OPTION_APK_SIGNED_SHA256;
    @Deprecated
    public static final String OPTION_APPLICATION_ID_SHA256;
    @Deprecated
    public static final String OPTION_APP_KEY;
    @Deprecated
    public static final String OPTION_APP_NAME;
    @Deprecated
    public static final String OPTION_BLACKBOX_MAXSIZE;
    @Deprecated
    public static final String OPTION_CHANNEL;
    @Deprecated
    public static final String OPTION_COLLECT_LEVEL;
    @Deprecated
    public static final String OPTION_CUSTOM_MESSAGE;
    @Deprecated
    public static final String OPTION_CUSTOM_PATH;
    @Deprecated
    public static final String OPTION_CUSTOM_URL;
    @Deprecated
    public static final String OPTION_CUST_PROCESS;
    @Deprecated
    public static final String OPTION_DOMAIN;
    @Deprecated
    public static final String OPTION_FORCE_TLS_VERSION_ENABLE;
    @Deprecated
    public static final String OPTION_GOOGLE_AID_ENABLE;
    @Deprecated
    public static final String OPTION_HTTP_TIME_OUT;
    @Deprecated
    public static final String OPTION_INSTALLPACKAGES_ENABLE;
    @Deprecated
    public static final String OPTION_SKIP_GPS;
    @Deprecated
    public static final String OPTION_TASK_ENABLE;
    @Deprecated
    public static final String OPTION_USE_DEMOTION;
    @Deprecated
    public static final String OPTION_WAIT_TIME;
    @Deprecated
    public static final String OPTION_WIFIMAC_ENABLE;
    @Deprecated
    public static final String STATUS_COLLECTING;
    @Deprecated
    public static final String STATUS_FAILED;
    @Deprecated
    public static final String STATUS_PROFILING;
    @Deprecated
    public static final String STATUS_SUCCESSFUL;
    public static FMGetBlackBoxCodeCallback mFMGetBlackBoxCodeCallback;
    private static C0164PPPPPPP f38PPPPPPP;
    @Deprecated
    public static final String OPTION_READ_PHONE_ENABLE = m77PPPPPPP("582c3f3e0014233c3a3001013034383532", 120);
    @Deprecated
    public static final String OPTION_KILL_DEBUGGER = m77PPPPPPP("412d2a2f1c142e3f3d2f2d38", 108);
    @Deprecated
    public static final String OPTION_OVERRIDE_CERTI = m77PPPPPPP("450c0602150e18142f2913021308", 86);
    @Deprecated
    public static final String OPTION_SENSOR_ENABLE = m77PPPPPPP("79407d6b6a6b415d7975787f", 53);
    @Deprecated
    public static final String STATUS_UNINIT = m77PPPPPPP("5f1b0707071d", 67);
    @Deprecated
    public static final String STATUS_LOADING = m77PPPPPPP("46212c272f252b", 97);
    @Deprecated
    public static final String OPTION_PARTNER_CODE = m77PPPPPPP("5a32302532340e1f2f2822", 96);

    public static class Builder {
        private int f39PPPP = Integer.MAX_VALUE;
        private String f40PPPPP;
        private String f41PPPPP;
        private String f42PPPP;
        private String f43PPPPP;
        private String f44PPPP;
        private int f45PPPP;
        private String f46PPPP;
        private boolean f47PPPPPP;
        private String f48PPPPPPP;
        private FMCallback f49PPPPPPP;
        private String f50PP;
        private String f51PPPPPP;
        private String f52PP;
        private String f53PPP;
        private String f54PP;
        private String f55;
        private int f56PPPPPPP;
        private int f57P;

        public Builder() {
            waitTime(Constants.ONE_SECOND);
            httpTimeout(15000);
            m80PPPPPPP(1);
            m80PPPPPPP(2);
            m80PPPPPPP(8);
            m79(16);
            m80PPPPPPP(32);
            m80PPPPPPP(64);
            m80PPPPPPP(256);
            m80PPPPPPP(512);
            m79(2048);
            m80PPPPPPP(4096);
            m79(8192);
            collectLevel(m82PPPPPPP("23", 9));
            m80PPPPPPP(16384);
            this.f47PPPPPP = false;
        }

        private Builder m79(int i3) {
            this.f56PPPPPPP = (~i3) & this.f56PPPPPPP;
            return this;
        }

        private Builder m80PPPPPPP(int i3) {
            this.f56PPPPPPP = i3 | this.f56PPPPPPP;
            return this;
        }

        public Builder alwaysDemotion() {
            m80PPPPPPP(16);
            return this;
        }

        public Builder apkSignedSHA256(String str) {
            this.f44PPPP = str;
            return this;
        }

        public Builder appKey(String str) {
            this.f50PP = str;
            return this;
        }

        public Builder appName(String str) {
            this.f51PPPPPP = str;
            return this;
        }

        public Builder applicationIdSHA256(String str) {
            this.f48PPPPPPP = str;
            return this;
        }

        public Builder blackBoxMaxSize(int i3) {
            this.f39PPPP = i3;
            return this;
        }

        public TDOption build() {
            TDOption tDOption = new TDOption();
            tDOption.setMask(this.f56PPPPPPP);
            tDOption.setEnvironment(this.f55);
            tDOption.setPartnerCode(this.f46PPPP);
            tDOption.setAppName(this.f51PPPPPP);
            tDOption.setFMCallback(this.f49PPPPPPP);
            tDOption.setCustomProcessName(this.f43PPPPP);
            tDOption.setEnterpriseUrl(this.f54PP);
            tDOption.setWaitTime(this.f57P);
            tDOption.setDomain(this.f42PPPP);
            tDOption.setCustomFilePath(this.f40PPPPP);
            tDOption.setBlackBoxMaxSize(this.f39PPPP);
            tDOption.setHttpTimeout(this.f45PPPP);
            tDOption.setTDChannel(this.f53PPP);
            tDOption.setApkSignedSHA256(this.f44PPPP);
            tDOption.setApplicationIdSHA256(this.f48PPPPPPP);
            tDOption.setCollectLevel(this.f52PP);
            tDOption.m83PPPPPPP(this.f47PPPPPP);
            tDOption.setAppKey(this.f50PP);
            tDOption.setCustomMessage(this.f41PPPPP);
            return tDOption;
        }

        @Deprecated
        public Builder callback(FMCallback fMCallback) {
            this.f49PPPPPPP = fMCallback;
            throw new IllegalArgumentException(m82PPPPPPP("3b2f1209405e1b020f1418575b1a0140511413185d571206110415110602125b1f430f1a1701055641041010044147085c470f1e565a140902110600060e15125d57181f050b1b180906060e151253", 74));
        }

        public Builder collectLevel(String str) {
            this.f52PP = str;
            return this;
        }

        public Builder customFilePath(String str) {
            this.f40PPPPP = str;
            return this;
        }

        public Builder customMessage(String str) {
            this.f41PPPPP = str;
            return this;
        }

        public Builder customProcessName(String str) {
            this.f43PPPPP = str;
            return this;
        }

        public Builder disableDebugger() {
            m79(8);
            return this;
        }

        public Builder disableGPS() {
            m79(2);
            return this;
        }

        public Builder disableGoogleAid() {
            m79(16384);
            return this;
        }

        public Builder disableInstallPackageList() {
            m79(1);
            return this;
        }

        public Builder disableReadPhone() {
            m79(64);
            return this;
        }

        public Builder disableRunningTasks() {
            m79(32);
            return this;
        }

        public Builder disableSensor() {
            m79(512);
            return this;
        }

        public Builder disableVerifyCertificate() {
            m79(256);
            return this;
        }

        public Builder disableWifiMac() {
            m79(4096);
            return this;
        }

        public Builder domain(String str) {
            this.f42PPPP = str;
            return this;
        }

        public Builder enableGoogleAid() {
            m80PPPPPPP(16384);
            return this;
        }

        public Builder enableWifiMac() {
            m80PPPPPPP(4096);
            return this;
        }

        public Builder forceTLSVersion() {
            m80PPPPPPP(8192);
            return this;
        }

        public Builder httpTimeout(int i3) {
            this.f45PPPP = i3;
            return this;
        }

        public Builder openLog() {
            PPPPPPP.m843PPPPPPP();
            PPPPPPP.m841(m82PPPPPPP("205e746a2f357a606862707a2f32766e2a2d6269", 56));
            return this;
        }

        public Builder partner(String str) {
            this.f46PPPP = str;
            return this;
        }

        public Builder production(boolean z8) {
            String str;
            int i3;
            if (z8) {
                str = "1f0817011b1c1d170c0b";
                i3 = 83;
            } else {
                str = "1c233e3b373c26";
                i3 = 104;
            }
            this.f55 = m82PPPPPPP(str, i3);
            return this;
        }

        public Builder tdChannel(String str) {
            this.f53PPP = str;
            return this;
        }

        public Builder url(String str) {
            this.f54PP = str;
            return this;
        }

        public Builder useDemotionData() {
            m80PPPPPPP(2048);
            return this;
        }

        public Builder waitTime(int i3) {
            this.f57P = i3;
            return this;
        }

        public static Builder m81PPPPPPP(Builder builder) {
            builder.f47PPPPPP = true;
            return builder;
        }

        private static String m82PPPPPPP(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 ^ 89);
                byte b11 = (byte) (bArr[0] ^ 111);
                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;
            }
        }
    }

    static {
        m77PPPPPPP("43002623090d1a01171b363d1d07", 89);
        OPTION_SKIP_GPS = m77PPPPPPP("592a302b1d0a2531", 113);
        OPTION_WAIT_TIME = m77PPPPPPP("5d7c62774141776e62", 41);
        OPTION_GOOGLE_AID_ENABLE = m77PPPPPPP("4d2b232b282a191d2b2e1819282c202d2a", 96);
        ENV_PRODUCTION = m77PPPPPPP("5a736c7a6067666c7770", 50);
        OPTION_ALWAYS_DEMOTION = m77PPPPPPP("4b736568667452457f767c6563787f", 61);
        OPTION_DOMAIN = m77PPPPPPP("4e101917131c", 88);
        OPTION_HTTP_TIME_OUT = m77PPPPPPP("4264787c5753657c7042486279", 59);
        OPTION_FORCE_TLS_VERSION_ENABLE = m77PPPPPPP("4c0a1e120539281b1c2f2a1014021905023239080c000d0a", 64);
        STATUS_SUCCESSFUL = m77PPPPPPP("594f5f494f5f495c5a50", 10);
        OPTION_APP_NAME = m77PPPPPPP("6b3c2d223c222125", 110);
        OPTION_CHANNEL = m77PPPPPPP("494745434c4745", 15);
        OPTION_CUSTOM_PATH = m77PPPPPPP("492d3d3c203909142a2e27", 120);
        STATUS_PROFILING = m77PPPPPPP("5a647b6f696363616f", 37);
        OPTION_APPLICATION_ID_SHA256 = m77PPPPPPP("4b5a4b574e41495e564d4a7a7d46", 8);
        OPTION_APK_SIGNED_SHA256 = m77PPPPPPP("4b171d322a1c080f0d073d2a1d0f550105", 69);
        OPTION_WIFIMAC_ENABLE = m77PPPPPPP("5d7c6d6d464e6044496d616c6b", 33);
        OPTION_CUSTOM_MESSAGE = m77PPPPPPP("490313120e1727271d0315071317", 86);
        STATUS_COLLECTING = m77PPPPPPP("49606f6c656a7b716b65", 47);
        OPTION_USE_DEMOTION = m77PPPPPPP("5f24341819232a20393f2423", 97);
        OPTION_CUSTOM_URL = m77PPPPPPP("494b5b5a465f6f775a43", 30);
        STATUS_FAILED = m77PPPPPPP("4c6c636e626a", 40);
        COLLECT_LEVEL_L = m77PPPPPPP("66", 37);
        COLLECT_LEVEL_M = m77PPPPPPP("67", 63);
        COLLECT_LEVEL_H = m77PPPPPPP("62", 27);
        OPTION_CUST_PROCESS = m77PPPPPPP("491707062a2e031c0d071701", 66);
        OPTION_INSTALLPACKAGES_ENABLE = m77PPPPPPP("431a001a08101d212c1f15171b1f0b2b36121e1314", 94);
        OPTION_TASK_ENABLE = m77PPPPPPP("586f73686f6f6150437d7a705c5263676b6661", 43);
        OPTION_APP_KEY = m77PPPPPPP("4b40517e655f4d", 18);
        OPTION_COLLECT_LEVEL = m77PPPPPPP("49151a19101f0e322a100a0a10", 90);
        m77PPPPPPP("47353a272c2d2f031e2420362d3136", 116);
        OPTION_BLACKBOX_MAXSIZE = m77PPPPPPP("48383b343e3f3b2111043a2f3d2c2529", 117);
        ENV_SANDBOX = m77PPPPPPP("596c7174787369", 61);
    }

    @Deprecated
    public static void collectAndReportInNeeded(Context context, Builder builder) {
        if (builder == null) {
            builder = new Builder();
        }
        Builder.m81PPPPPPP(builder);
        init(context, builder);
    }

    @Deprecated
    public static String getInitStatus() {
        C0164PPPPPPP c0164ppppppp = f38PPPPPPP;
        return c0164ppppppp == null ? m77PPPPPPP("5f1c0000001a", 68) : c0164ppppppp.f528;
    }

    public static String getVersion() {
        return m77PPPPPPP("1e232424262624", 122);
    }

    public static void init(Context context, Builder builder) {
        if (builder == null) {
            builder = new Builder();
        }
        init(context, builder.build());
    }

    @Deprecated
    public static void initWithCallback(Context context, String str, FMCallback fMCallback) {
        initWithCallback(context, str, null, fMCallback);
    }

    @Deprecated
    public static void initWithDomain(Context context, String str) {
        HashMap hashMap = new HashMap();
        hashMap.put(m77PPPPPPP("4e101917131c", 88), str);
        m78PPPPPPP(context, m77PPPPPPP("5a5f40564c4b4a405b5c", 30), hashMap, null);
    }

    @Deprecated
    public static void initWithOptions(Context context, String str, Map map) {
        m78PPPPPPP(context, str, map, null);
    }

    public static String onEvent(Context context) {
        PPPPPP.m828PPPPPPP(context);
        if (f38PPPPPPP == null) {
            f38PPPPPPP = C0164PPPPPPP.m693PPPPPPP();
        }
        return f38PPPPPPP.m710PPPPPPP(PPPPPP.m824PPPPPPP());
    }

    @Deprecated
    public static void openLog() {
        PPPPPPP.m843PPPPPPP();
        PPPPPPP.m841(m77PPPPPPP("65755f41041e514b43495b5104195d4501064942", 9));
    }

    public static void setOnErrorCodeListener(FMGetBlackBoxCodeCallback fMGetBlackBoxCodeCallback) {
        if (fMGetBlackBoxCodeCallback != null) {
            mFMGetBlackBoxCodeCallback = fMGetBlackBoxCodeCallback;
        }
    }

    private static String m77PPPPPPP(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 ^ 67);
            byte b11 = (byte) (bArr[0] ^ 42);
            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;
        }
    }

    @Deprecated
    public static void collectAndReportInNeeded(Context context, TDOption tDOption) {
        if (tDOption == null) {
            tDOption = new TDOption();
        }
        tDOption.m83PPPPPPP(true);
        init(context, tDOption);
    }

    @Deprecated
    public static void init(Context context, @NonNull TDOption tDOption) {
        PPPPPP.m828PPPPPPP(context);
        if (f38PPPPPPP == null) {
            f38PPPPPPP = C0164PPPPPPP.m693PPPPPPP();
        }
        f38PPPPPPP.m712PPPPPPP(tDOption);
    }

    @Deprecated
    public static void initWithCallback(Context context, String str, Map map, FMCallback fMCallback) {
        PPPPPP.m828PPPPPPP(context);
        m78PPPPPPP(context, str, map, fMCallback);
    }

    public static void onEvent(Context context, FMCallback fMCallback) {
        PPPPPP.m828PPPPPPP(context);
        if (f38PPPPPPP == null) {
            f38PPPPPPP = C0164PPPPPPP.m693PPPPPPP();
        }
        f38PPPPPPP.m711PPPPPPP(PPPPPP.m824PPPPPPP(), fMCallback);
    }

    private static void m78PPPPPPP(Context context, String str, Map map, FMCallback fMCallback) {
        boolean z8;
        Builder builder = new Builder();
        if (fMCallback != null) {
            builder.callback(fMCallback);
        }
        if (!m77PPPPPPP("590914111d160c", 88).equals(str)) {
            z8 = m77PPPPPPP("5a130c1a0007060c1710", 82).equals(str) ? true : true;
            if (map != null) {
                builder.partner(C0007.m97PPPPPPP(context));
                builder.appName(C0007.m96(context));
            } else {
                builder.partner(map.containsKey(m77PPPPPPP("5a56544156506a7b4b4c46", 4)) ? (String) map.get(m77PPPPPPP("5a1e1c091e18223303040e", 76)) : C0007.m97PPPPPPP(context));
                if (map.containsKey(m77PPPPPPP("5d3c22370101372e22", 105))) {
                    builder.waitTime(((Integer) map.get(m77PPPPPPP("5d4d53467070465f53", 24))).intValue());
                }
                if (map.containsKey(m77PPPPPPP("481516191312160c3c29170210010804", 88))) {
                    builder.blackBoxMaxSize(Math.max(((Integer) map.get(m77PPPPPPP("481d1e111b1a1e0434211f0a1809000c", 80))).intValue(), 5120));
                }
                if (map.containsKey(m77PPPPPPP("592933281e092632", 114)) && ((Boolean) map.get(m77PPPPPPP("59415b4076614e5a", 26))).booleanValue()) {
                    builder.disableGPS();
                }
                if (map.containsKey(m77PPPPPPP("412126231018223331232134", 96)) && ((Boolean) map.get(m77PPPPPPP("41292e2b18102a3b392b293c", 104))).booleanValue()) {
                    builder.disableDebugger();
                }
                if (map.containsKey(m77PPPPPPP("4b45535e5042647349404a53554e49", 11)) && ((Boolean) map.get(m77PPPPPPP("4b7f69646a785e49737a70696f7473", 49))).booleanValue()) {
                    builder.alwaysDemotion();
                }
                if (map.containsKey(m77PPPPPPP("4e7b727c7877", 51))) {
                    builder.domain((String) map.get(m77PPPPPPP("4e606967636c", 40)));
                }
                if (map.containsKey(m77PPPPPPP("58071b00070709382b151218343a0b0f030e09", 67)) && !((Boolean) map.get(m77PPPPPPP("58021e0502020c3d2e10171d313f0e0a060b0c", 70))).booleanValue()) {
                    builder.disableRunningTasks();
                }
                if (map.containsKey(m77PPPPPPP("492232331f1b362938322234", 119))) {
                    builder.customProcessName((String) map.get(m77PPPPPPP("490d1d1c30341906171d0d1b", 88)));
                }
                if (map.containsKey(m77PPPPPPP("491202031f06362e031a", 71))) {
                    builder.url((String) map.get(m77PPPPPPP("492f3f3e223b0b133e27", 122)));
                }
                builder.appName(map.containsKey(m77PPPPPPP("6b1a0b041a040703", 72)) ? (String) map.get(m77PPPPPPP("6b7a6b647a646763", 40)) : C0007.m96(context));
                if (map.containsKey(m77PPPPPPP("45202a2e3922343803053f2e3f24", 122)) && ((Boolean) map.get(m77PPPPPPP("45606a6e7962747843457f6e7f64", 58))).booleanValue()) {
                    builder.disableVerifyCertificate();
                }
                if (map.containsKey(m77PPPPPPP("43617b61736b665a57646e6c606470504d6965686f", 37)) && !((Boolean) map.get(m77PPPPPPP("437c667c6e767b474a7973717d796d4d5074787572", 56))).booleanValue()) {
                    builder.disableInstallPackageList();
                }
                if (map.containsKey(m77PPPPPPP("7935081e1f1e34280c000d0a", 64)) && !((Boolean) map.get(m77PPPPPPP("797e435554557f63474b4641", 11))).booleanValue()) {
                    builder.disableSensor();
                }
                if (map.containsKey(m77PPPPPPP("5d6c7d7d565e7054597d717c7b", 49))) {
                    if (((Boolean) map.get(m77PPPPPPP("5d1f0e0e252d03272a0e020f08", 66))).booleanValue()) {
                        builder.enableWifiMac();
                    } else {
                        builder.disableWifiMac();
                    }
                }
                if (map.containsKey(m77PPPPPPP("495f4f4e524b7b66585c55", 10))) {
                    builder.customFilePath((String) map.get(m77PPPPPPP("496b7b7a667f4f526c6861", 62)));
                }
                if (map.containsKey(m77PPPPPPP("424a5652797d4b525e6c664c57", 21))) {
                    builder.httpTimeout(((Integer) map.get(m77PPPPPPP("425a4642696d5b424e7c765c47", 5))).intValue());
                }
                if (map.containsKey(m77PPPPPPP("586271704e5a6d72747e4f4f7e7a767b7c", 54)) && !((Boolean) map.get(m77PPPPPPP("582734350b1f2837313b0a0a3b3f333e39", 115))).booleanValue()) {
                    builder.disableReadPhone();
                }
                if (map.containsKey(m77PPPPPPP("495d5f59565d5f", 21))) {
                    builder.tdChannel((String) map.get(m77PPPPPPP("496062646b6062", 40)));
                }
                if (map.containsKey(m77PPPPPPP("5f0e1e323309000a13150e09", 75)) && ((Boolean) map.get(m77PPPPPPP("5f584864655f565c4543585f", 29))).booleanValue()) {
                    builder.useDemotionData();
                }
                if (map.containsKey(m77PPPPPPP("4b3f351a02342027252f150235277d292d", 109))) {
                    builder.apkSignedSHA256((String) map.get(m77PPPPPPP("4b78725d457367606268524572603a6e6a", 42)));
                }
                if (map.containsKey(m77PPPPPPP("4b7a6b776e61697e766d6a5a5d66", 40))) {
                    builder.applicationIdSHA256((String) map.get(m77PPPPPPP("4b5a4b574e41495e564d4a7a7d46", 8)));
                }
                if (map.containsKey(m77PPPPPPP("4c3b2f233408192a2d1e1b2125332834330308393d313c3b", 113)) && ((Boolean) map.get(m77PPPPPPP("4c5b4f435468794a4d7e7b4145534854536368595d515c5b", 17))).booleanValue()) {
                    builder.forceTLSVersion();
                }
                if (map.containsKey(m77PPPPPPP("49151a19101f0e322a100a0a10", 90))) {
                    builder.collectLevel((String) map.get(m77PPPPPPP("49232c2f262938041c263c3c26", 108)));
                }
                if (map.containsKey(m77PPPPPPP("436d4b4e6460776c7a765b50706a", 52)) && ((Boolean) map.get(m77PPPPPPP("437b5d587276617a6c604d46667c", 34))).booleanValue()) {
                    Builder.m81PPPPPPP(builder);
                }
                if (map.containsKey(m77PPPPPPP("4b24351a013b29", 118))) {
                    builder.appKey((String) map.get(m77PPPPPPP("4b66775843796b", 52)));
                }
                if (map.containsKey(m77PPPPPPP("4759564b4041436f72484c5a415d5a", 24))) {
                    String str2 = (String) map.get(m77PPPPPPP("472728353e3f3d110c3632243f2324", 102));
                    if (!TextUtils.isEmpty(str2)) {
                        cn.tongdun.android.p020PPPPPPP.p022PPPPPPP.PPPPPPP.f593PPPP = str2;
                    }
                }
                if (map.containsKey(m77PPPPPPP("4d6e666e6d6f5c586e6b5d5c6d6965686f", 37))) {
                    if (((Boolean) map.get(m77PPPPPPP("4d7870787b794a4e787d4b4a7b7f737e79", 51))).booleanValue()) {
                        builder.enableGoogleAid();
                    } else {
                        builder.disableGoogleAid();
                    }
                }
                if (map.containsKey(m77PPPPPPP("493727263a231313293721332723", 98))) {
                    builder.customMessage((String) map.get(m77PPPPPPP("492737362a330303392731233733", 114)));
                }
            }
            init(context, builder);
        }
        z8 = false;
        builder.production(z8);
        if (map != null) {
        }
        init(context, builder);
    }

    @Deprecated
    public static void collectAndReportInNeeded(Context context, String str, Map map, FMCallback fMCallback) {
        if (map == null) {
            map = new HashMap();
        }
        map.put(m77PPPPPPP("43486e6b414552495f537e75554f", 17), Boolean.TRUE);
        m78PPPPPPP(context, str, map, fMCallback);
    }

    @Deprecated
    public static void init(Context context, String str) {
        m78PPPPPPP(context, str, null, null);
    }
}