APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:Caller ID
版本号:1.8.3
包名称:com.callerid.block

MD5 校验值:5ef3f775189f42f146cf0788a99eebd7

反编译源代码说明

a.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package s3;

import android.os.AsyncTask;
import com.callerid.block.bean.EZBlackList;
import com.callerid.block.main.EZCallApplication;
import com.callerid.block.search.EZSearchResult;
import java.util.HashMap;
import org.json.JSONObject;
import w3.j;
import y3.a0;
import y3.m;
import y3.r1;
import y3.u;
import y3.w;
import y3.x0;

public class a {

    public static class AsyncTaskC0253a extends AsyncTask<String, Void, EZSearchResult> {

        private final j f33915a;

        private final String f33916b;

        private EZSearchResult f33917c;

        private final String f33918d;

        private final String f33919e;

        AsyncTaskC0253a(String str, String str2, String str3, j jVar) {
            this.f33915a = jVar;
            this.f33916b = str3;
            this.f33918d = str;
            this.f33919e = str2;
        }

        @Override
        public EZSearchResult doInBackground(String... strArr) {
            try {
                HashMap hashMap = new HashMap();
                hashMap.put("tel_number", u.c(this.f33916b));
                hashMap.put("device", "android");
                hashMap.put("uid", r1.H(EZCallApplication.d()));
                hashMap.put("version", r1.J(EZCallApplication.d()));
                hashMap.put("default_cc", this.f33918d);
                hashMap.put("cc", this.f33919e);
                hashMap.put("stamp", r1.D(EZCallApplication.d(), this.f33916b));
                hashMap.put("cid", "");
                String e10 = w.e("https://app.ayamote.com/api/v1/sea.php", hashMap, "utf-8");
                if (a0.f34733a) {
                    a0.a("searchNumber", "result:" + e10);
                }
                String b10 = u.b(e10);
                if (a0.f34733a) {
                    a0.a("searchNumber", "enlode_result:" + b10);
                }
                if (b10 != null && !"".equals(b10)) {
                    EZSearchResult eZSearchResult = new EZSearchResult();
                    this.f33917c = eZSearchResult;
                    eZSearchResult.setNumber(this.f33916b);
                    JSONObject jSONObject = new JSONObject(b10);
                    boolean z10 = true;
                    if (jSONObject.getInt("status") == 1) {
                        if (a0.f34733a) {
                            a0.a("searchNumber", "response:" + b10);
                        }
                        String string = jSONObject.getString("type_label");
                        this.f33917c.setType_label(r1.s(EZCallApplication.d(), string));
                        String string2 = jSONObject.getString("type");
                        if ("Mobile".equals(string2) || "Fixed line".equals(string2)) {
                            this.f33917c.setType(r1.x(EZCallApplication.d(), string2));
                        }
                        String string3 = jSONObject.getString(EZBlackList.NAME);
                        if ("".equals(string3)) {
                            this.f33917c.setName("");
                        } else {
                            this.f33917c.setName(string3);
                        }
                        if (!"".equals(string3) || !"".equals(string)) {
                            m.c().g("whatsapp_incoming_search_ok");
                            x0.b(jSONObject, this.f33916b);
                        }
                        String string4 = jSONObject.getString("old_tel_number");
                        if (!"".equals(string4)) {
                            this.f33917c.setOld_tel_number(string4);
                        }
                        String string5 = jSONObject.getString("operator");
                        if (!"".equals(string5)) {
                            this.f33917c.setOperator(string5);
                        }
                        String string6 = jSONObject.getString("format_tel_number");
                        if (!"".equals(string6)) {
                            this.f33917c.setFormat_tel_number(string6);
                        }
                        this.f33917c.setTel_number(jSONObject.getString("tel_number"));
                        this.f33917c.setT_p(jSONObject.getString("t_p"));
                        String string7 = jSONObject.getString("avatar");
                        if (!"".equals(string7)) {
                            this.f33917c.setIcon(string7);
                        }
                        String string8 = jSONObject.getString("report_count");
                        int parseInt = "".equals(string8) ? 0 : Integer.parseInt(string8);
                        EZSearchResult eZSearchResult2 = this.f33917c;
                        if (parseInt <= 0 && "".equals(string)) {
                            z10 = false;
                        }
                        eZSearchResult2.setIsSpam(z10);
                        String string9 = jSONObject.getString("belong_area");
                        if ("".equals(string9)) {
                            this.f33917c.setLocation("");
                        } else {
                            this.f33917c.setLocation(string9);
                        }
                        String string10 = jSONObject.getString("address");
                        if (!"".equals(string10)) {
                            this.f33917c.setLocation(string10);
                        }
                        this.f33917c.setComplaint_times(jSONObject.getString("report_count"));
                    }
                }
            } catch (Exception e11) {
                e11.printStackTrace();
            }
            return this.f33917c;
        }

        @Override
        public void onPostExecute(EZSearchResult eZSearchResult) {
            super.onPostExecute(eZSearchResult);
            this.f33915a.a(eZSearchResult);
        }
    }

    public static void a(String str, String str2, String str3, j jVar) {
        new AsyncTaskC0253a(str, str2, str3, jVar).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, new String[0]);
    }
}