Cyber Surfer v5.2.5版本的 MD5 值为:db13c5fce988de393e52d2679f934b22

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


package com.pgl.ssdk;

import android.content.Context;
import android.text.TextUtils;
import android.util.Base64;
import com.amazon.aps.shared.APSAnalytics;
import org.json.JSONObject;
public class y {
    static int f9155a = 504;
    static String f9156b = null;
    static String c = "";
    private static Context d;

    public static String a() {
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("os", APSAnalytics.OS_NAME);
            jSONObject.put("version", "1.0.0.1-rc.5");
            String str = c;
            if (str == null || str.length() <= 0) {
                jSONObject.put("token_id", com.pgl.ssdk.ces.a.meta(303, d, null));
            } else {
                jSONObject.put("token_id", c);
            }
            jSONObject.put(b.a.f.b.f70a, f9155a);
            return Base64.encodeToString(jSONObject.toString().getBytes(), 2);
        } catch (Throwable unused) {
            return "";
        }
    }

    public static void a(Context context, String str, D d2) {
        if (d == null) {
            d = context;
        }
        int i = f9155a;
        if (i == 102 || i == 202 || i == 200) {
            return;
        }
        System.currentTimeMillis();
        f9156b = str;
        f9155a = 102;
        r b2 = u.a().b();
        if (b2 != null) {
            b2.post(new B(context, d2));
        }
    }

    public static String b() {
        if (TextUtils.isEmpty(c)) {
            c = (String) com.pgl.ssdk.ces.a.meta(303, d, null);
        }
        return c;
    }

    public static void c() {
        if (d != null) {
            f9155a = 102;
            u.a().b().post(new B(d, null));
        }
    }
}