iKredit v1.2.0.3版本的 MD5 值为:2c00c5c79eecbd6be4c3c546c28d778d

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


package com.sdk.plus.g.a;

import com.android.sdklibrary.utils.RSAUtilForAndroid;
import com.facebook.internal.NativeProtocol;
import com.sdk.plus.b.e;
import com.sdk.plus.h.d;
import java.util.List;
import java.util.Map;
import org.json.JSONObject;

public final class c extends com.sdk.plus.g.c {
    int k;
    List<e> l;

    public c(byte[] bArr, int i, List<e> list) {
        super("http://ps-w.applk.cn/api.php?format=json&t=1");
        this.l = list;
        this.k = i;
        JSONObject jSONObject = new JSONObject();
        try {
            jSONObject.put(NativeProtocol.WEB_DIALOG_ACTION, "upload_BI");
            jSONObject.put("BIType", String.valueOf(i));
            jSONObject.put("cid", com.sdk.plus.c.b.j);
            jSONObject.put("BIData", new String(com.sdk.plus.j.a.b.c(bArr), RSAUtilForAndroid.CHARSET));
            this.b = jSONObject.toString().getBytes();
        } catch (Exception unused) {
        }
        d.a("WUS_UBLP", "wusReportReq|".concat(String.valueOf(i)));
    }

    @Override
    public final void a() {
        try {
            com.sdk.plus.b.a aVar = new com.sdk.plus.b.a();
            aVar.b = false;
            aVar.a = this.l;
            this.c.a(aVar);
            d.a("WUS_UBLP", "type = " + this.k + " rp fail");
        } catch (Throwable unused) {
        }
    }

    @Override
    public final void a(Throwable th) {
        try {
            if (this.c != null) {
                com.sdk.plus.b.a aVar = new com.sdk.plus.b.a();
                aVar.b = false;
                aVar.a = this.l;
                this.c.a(aVar);
            }
            d.a("WUS_UBLP", "type = " + this.k + ",e = " + th.toString());
        } catch (Throwable unused) {
        }
    }

    @Override
    public final void a(Map<String, List<String>> map, byte[] bArr) {
        try {
            JSONObject jSONObject = new JSONObject(new String(bArr));
            if (jSONObject.has("result")) {
                String string = jSONObject.getString("result");
                if (this.l == null || this.c == null) {
                    d.a("WUS_UBLP", "send list = null type = " + this.k);
                    return;
                }
                com.sdk.plus.b.a aVar = new com.sdk.plus.b.a();
                aVar.a = this.l;
                if (!string.equals("ok")) {
                    aVar.b = false;
                    this.c.a(aVar);
                    return;
                }
                aVar.b = true;
                this.c.a(aVar);
                d.a("WUS_UBLP", "rpRsp = " + this.k);
            }
        } catch (Throwable unused) {
        }
    }
}