热汗舞蹈 v1.24.1.0版本的 MD5 值为:f1dc6ef07903515a73f51f41f372123e
以下内容为反编译后的 b.java 源代码,内容仅作参考
package cc.quicklogin.sdk.f;
import android.content.Context;
import android.text.TextUtils;
import cc.quicklogin.common.d.m;
import cc.quicklogin.common.exception.WebException;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
import com.tencent.thumbplayer.tplayer.plugins.report.TPReportParams;
import com.xiaomi.mipush.sdk.Constants;
import java.util.Map;
import java.util.UUID;
import org.json.JSONException;
import org.json.JSONObject;
public class b extends cc.quicklogin.common.a.d {
private String f2407b;
private final cc.quicklogin.sdk.h.e f2408c;
public b(Context context, JSONObject jSONObject, cc.quicklogin.common.a.h hVar) {
super(context, "https://config2.cmpassport.com/client/uniConfig", jSONObject, hVar);
this.f2408c = cc.quicklogin.sdk.h.e.a(this.f2146a);
if (jSONObject == null) {
try {
jSONObject = new JSONObject();
} catch (JSONException e10) {
e10.printStackTrace();
return;
}
}
cc.quicklogin.sdk.h.e a10 = cc.quicklogin.sdk.h.e.a(context);
String u10 = a10.u();
if (TextUtils.isEmpty(u10)) {
u10 = "%" + UUID.randomUUID().toString().replaceAll(Constants.ACCEPT_TIME_SEPARATOR_SERVER, "");
a10.o(u10);
}
cc.quicklogin.sdk.d.b b10 = cc.quicklogin.sdk.h.d.b(a10.l());
if (b10 == null) {
this.f2407b = "";
} else {
this.f2407b = b10.a();
}
jSONObject.put("version", "1.0");
jSONObject.put("apptype", "Android");
jSONObject.put("phone_ID", u10);
jSONObject.put("certflag", TPReportParams.ERROR_CODE_NO_ERROR);
String str = "1".equals(f.a(context)) ? "quick_login_android_5.8.1" : "quick_login_android_5.9.3";
jSONObject.put("sdkversion", str);
jSONObject.put(HiAnalyticsConstant.HaKey.BI_KEY_APPID, this.f2407b);
jSONObject.put("expandparams", "");
jSONObject.put("sign", cc.quicklogin.common.d.f.a("1.0" + str + this.f2407b + "iYm0HAnkxQtpvN44"));
a(jSONObject);
}
@Override
public void a(cc.quicklogin.common.a.a aVar) {
m.a("CMConfigRequest, httpClientResponse: " + aVar);
String a10 = aVar.a();
if (TextUtils.isEmpty(a10)) {
return;
}
try {
JSONObject jSONObject = new JSONObject(a10);
if ("103000".equals(jSONObject.optString("resultcode", "-1"))) {
String optString = jSONObject.optString("client_valid", "-1");
if ("-1".equals(optString)) {
return;
}
this.f2408c.p(optString);
}
} catch (JSONException unused) {
}
}
@Override
public void a(WebException webException) {
}
@Override
public boolean a() {
return false;
}
@Override
public int l() {
return 0;
}
@Override
public Map<String, String> m() {
return "1".equals(f.a(this.f2146a)) ? cc.quicklogin.sdk.a.a.a(this.f2146a, this.f2407b) : cc.quicklogin.sdk.a.a.b(this.f2146a, this.f2407b);
}
}