Idle Tower v2.48版本的 MD5 值为:56f20496f6a85726b376356ed2ecee23

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


package com.inmobi.media;

import android.webkit.URLUtil;
import com.google.android.gms.nearby.messages.Strategy;
import com.inmobi.commons.utils.json.Constructor;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONObject;

public class gm extends fz {
    private static final String CARRIER_NAMES = "carrierNames";
    public JSONObject ext;
    public b ice;
    public String kA;
    public c novatiqConfig;
    public d unifiedIdServiceConfig;
    public int vAK;

    public static final class c {
        public boolean isNovatiqEnabled = true;
        public List<String> carrierNames = new ArrayList();
        public String beaconUrl = "https://spadsync.com/sync";
    }

    public static class d {
        public boolean enabled = true;
        public String url = "https://unif-id.ssp.inmobi.com/fetch";
        public int maxRetries = 0;
        public int retryInterval = 0;
        public int timeout = 10;
    }

    @Override
    public String b() {
        return "signals";
    }

    public static jc<gm> a() {
        return new jc().a(new jh(CARRIER_NAMES, c.class), (jg) new je(new Constructor() {
            @Override
            public final Object construct() {
                return new ArrayList();
            }
        }, String.class));
    }

    public gm(String str) {
        super(str);
        this.ice = new b();
        this.ext = null;
        this.vAK = 1;
        this.kA = "wWFMAWbSEtvl5VxZbQGMK7";
        this.unifiedIdServiceConfig = new d();
        this.novatiqConfig = new c();
    }

    @Override
    public JSONObject c() {
        return a().a((jc<gm>) this);
    }

    @Override
    public boolean d() {
        return this.ice.sampleInterval >= 0 && this.ice.stopRequestTimeout >= 0 && this.ice.w.wf >= 0 && this.ice.c.cof >= 0 && URLUtil.isValidUrl(this.unifiedIdServiceConfig.url) && this.unifiedIdServiceConfig.maxRetries >= 0 && this.unifiedIdServiceConfig.timeout >= 0 && this.unifiedIdServiceConfig.retryInterval >= 0;
    }

    public static class b {
        public a c;
        public e w;
        public int sampleInterval = Strategy.TTL_SECONDS_DEFAULT;
        public int stopRequestTimeout = 3;
        public boolean locationEnabled = false;
        public boolean sessionEnabled = false;

        public b() {
            this.w = new e();
            this.c = new a();
        }
    }

    public static final class e {
        public boolean cwe;
        public boolean vwe;
        public int wf;

        private e() {
            this.wf = 0;
            this.vwe = false;
            this.cwe = false;
        }
    }

    public static final class a {
        public boolean cce;
        public int cof;
        public boolean oe;
        public boolean vce;

        private a() {
            this.cof = 0;
            this.oe = false;
            this.vce = false;
            this.cce = false;
        }
    }
}