4399游戏盒 v7.2.1.31版本的 MD5 值为:951717f45e3fda95c8a358caf4ca93e1
以下内容为反编译后的 c1.java 源代码,内容仅作参考
package com.zx.a.I8b7;
import android.util.Base64;
import com.huawei.hms.push.constant.RemoteMessageConst;
import com.umeng.analytics.pro.am;
import com.zx.a.I8b7.w0;
import javax.crypto.SecretKey;
import org.json.JSONObject;
public class c1 {
public static SecretKey f2800a;
public static String a(String str) throws Exception {
w0.a aVar = new w0.a();
byte[] bArr = new byte[16];
f2800a = i.b(bArr, j2.b(j2.h));
a0.a(aVar, Base64.encodeToString(bArr, 2));
w0.a a2 = aVar.a("https://zxid-m.mobileservice.cn/sdk/uaid/get");
a2.b = com.tencent.connect.common.b.HTTP_POST;
m0 b = m0.b("application/json; charset=utf-8");
JSONObject jSONObject = new JSONObject();
JSONObject jSONObject2 = new JSONObject();
jSONObject2.put("lid", j2.b(j2.h));
jSONObject2.put(am.al, j2.i);
jSONObject.put("ctx", jSONObject2);
JSONObject jSONObject3 = new JSONObject();
jSONObject3.put("type", "unicom");
jSONObject3.put("code", str);
jSONObject3.put("timestamp", (System.currentTimeMillis() / 1000) + "");
jSONObject.put("getUAIDData", jSONObject3);
a2.d = y0.a(b, Base64.encodeToString(i.a(jSONObject.toString(), f2800a, "UDID_ENC_AUTHTAG"), 2));
a2.e = "uaid get api";
n1 n1Var = a0.f2794a;
w0 w0Var = new w0(aVar);
n1Var.getClass();
z0 a3 = new s0(n1Var, w0Var).a();
if (a3.b == 200) {
return new JSONObject(i.a(Base64.decode(new JSONObject(a3.e.c()).getString(RemoteMessageConst.DATA), 2), f2800a, "UDID_ENC_AUTHTAG")).getString("uaid");
}
throw new RuntimeException("response errCode: " + a3.a("Udid-Error-Code") + ", errMsg: " + a3.a("Udid-Error-Message"));
}
}