百度手机卫士 v8.1.5版本的 MD5 值为:15af71eae74e2f2b5b9f845fe77a4804

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


package dxoptimizer;

import android.content.Context;
import com.baidu.hao123.internal.http.HttpPool;
import java.util.HashMap;
import org.json.JSONException;
import org.json.JSONObject;

public class wv {
    private static HashMap a() {
        HashMap hashMap = new HashMap();
        JSONObject jSONObject = new JSONObject();
        try {
            jSONObject.put("tn", "1010051a");
            hashMap.put("web_anthology_float", jSONObject);
        } catch (JSONException e) {
        }
        return hashMap;
    }

    private static HashMap a(int i) {
        JSONObject jSONObject;
        HashMap hashMap = new HashMap();
        try {
            jSONObject = new JSONObject();
        } catch (Exception e) {
            e = e;
            jSONObject = null;
        }
        try {
            jSONObject.put("withdata", com.baidu.location.c.d.ai);
            jSONObject.put("page", new StringBuilder().append(i).toString());
        } catch (Exception e2) {
            e = e2;
            e.printStackTrace();
            hashMap.put("xinwen", jSONObject);
            return hashMap;
        }
        hashMap.put("xinwen", jSONObject);
        return hashMap;
    }

    private static HashMap b(int i) {
        JSONObject jSONObject;
        HashMap hashMap = new HashMap();
        try {
            jSONObject = new JSONObject();
            try {
                jSONObject.put("page", new StringBuilder().append(i).toString());
            } catch (Exception e) {
                e = e;
                e.printStackTrace();
                hashMap.put("yule", jSONObject);
                return hashMap;
            }
        } catch (Exception e2) {
            e = e2;
            jSONObject = null;
        }
        try {
            hashMap.put("yule", jSONObject);
        } catch (Exception e3) {
            e3.printStackTrace();
        }
        return hashMap;
    }

    private static HashMap c(int i) {
        JSONObject jSONObject;
        HashMap hashMap = new HashMap();
        try {
            jSONObject = new JSONObject();
            try {
                jSONObject.put("page", new StringBuilder().append(i).toString());
            } catch (Exception e) {
                e = e;
                e.printStackTrace();
                hashMap.put("index_page_novel", jSONObject);
                return hashMap;
            }
        } catch (Exception e2) {
            e = e2;
            jSONObject = null;
        }
        try {
            hashMap.put("index_page_novel", jSONObject);
        } catch (Exception e3) {
            e3.printStackTrace();
        }
        return hashMap;
    }

    private static HashMap d(int i) {
        JSONObject jSONObject;
        HashMap hashMap = new HashMap();
        try {
            jSONObject = new JSONObject();
        } catch (Exception e) {
            e = e;
            jSONObject = null;
        }
        try {
            jSONObject.put("withdata", com.baidu.location.c.d.ai);
            jSONObject.put("pn", new StringBuilder().append(i).toString());
        } catch (Exception e2) {
            e = e2;
            e.printStackTrace();
            hashMap.put("gaoxiao", jSONObject);
            return hashMap;
        }
        hashMap.put("gaoxiao", jSONObject);
        return hashMap;
    }

    public static void a(Context context, wx wxVar) {
        HashMap hashMap = new HashMap();
        hashMap.putAll(a());
        hashMap.putAll(a(0));
        hashMap.putAll(b(0));
        hashMap.putAll(c(0));
        hashMap.putAll(d(0));
        a(context, 4864, wxVar, hashMap);
    }

    private static void a(Context context, int i, wx wxVar, HashMap hashMap) {
        if (context != null) {
            if (!wi.a(context.getApplicationContext())) {
                if (wxVar != null) {
                    wxVar.a(0);
                }
            } else {
                wf.a(context);
                HttpPool.a(context).a("http://m.hao123.com/hao123_app/integrated_interface/?", i, HttpPool.a(hashMap), new ww(wxVar));
            }
        }
    }
}