Amour v4.6.9版本的 MD5 值为:60db0759ce21a7c5858136dd0821206f
以下内容为反编译后的 f.java 源代码,内容仅作参考
package zd;
import android.content.Context;
import android.os.Build;
import android.os.SystemClock;
import com.bumptech.glide.load.Key;
import com.meizu.cloud.pushsdk.constants.PushConstants;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.util.HashMap;
public final class f {
public static f f16443a;
public static synchronized f a() {
f fVar;
synchronized (f.class) {
if (f16443a == null) {
f16443a = new f();
}
fVar = f16443a;
}
return fVar;
}
public static void b(int i, String str, String str2, String str3, Long l10, String str4) {
long elapsedRealtime = SystemClock.elapsedRealtime() - l10.longValue();
if (l10.longValue() == 0 || elapsedRealtime < 0) {
elapsedRealtime = 0;
}
StringBuffer stringBuffer = new StringBuffer("https://huatuocode.huatuo.qq.com?domain=mobile.opensdk.com&cgi=opensdk&type=");
stringBuffer.append(i);
stringBuffer.append("&code=0&time=");
stringBuffer.append(elapsedRealtime);
stringBuffer.append("&rate=1&uin=1000&data=");
String valueOf = String.valueOf(i);
String valueOf2 = String.valueOf(0);
String valueOf3 = String.valueOf(elapsedRealtime);
String valueOf4 = String.valueOf(1);
HashMap hashMap = new HashMap();
hashMap.put("platform", PushConstants.PUSH_TYPE_THROUGH_MESSAGE);
hashMap.put("result", valueOf);
hashMap.put(PushConstants.BASIC_PUSH_STATUS_CODE, valueOf2);
hashMap.put("tmcost", valueOf3);
hashMap.put("rate", valueOf4);
hashMap.put("cmd", str);
hashMap.put("uin", "1000");
hashMap.put("appid", str2);
hashMap.put("share_type", str3);
hashMap.put("detail", str4);
hashMap.put("os_ver", Build.VERSION.RELEASE);
Context context = be.g.f864a;
Context context2 = null;
if (context == null) {
context = null;
}
hashMap.put("network", a.a(context));
hashMap.put("apn", "");
hashMap.put("model_name", Build.MODEL);
hashMap.put("sdk_ver", "3.5.3.lite");
hashMap.put("packagename", be.g.a());
Context context3 = be.g.f864a;
if (context3 == null) {
context3 = null;
}
hashMap.put("app_ver", be.l.r(context3, be.g.a()));
try {
stringBuffer.append(URLEncoder.encode(be.b.c(hashMap), Key.STRING_CHARSET_NAME));
h b10 = h.b();
String stringBuffer2 = stringBuffer.toString();
b10.getClass();
Context context4 = be.g.f864a;
if (context4 != null) {
context2 = context4;
}
if (be.l.n(context2)) {
be.k.a(new l(stringBuffer2));
}
} catch (UnsupportedEncodingException e10) {
ae.a.d("openSDK_LOG.OpenSdkStatic", "reportHaboCgi exception.", e10);
}
}
public static void c(String str, String str2, String str3) {
h.b().c(be.l.c(str, PushConstants.PUSH_TYPE_THROUGH_MESSAGE, "7", "2", str2, str3, "", "", "", "", "", ""), str2, true);
}
public static void d(String str, String str2, String str3, String str4) {
h.b().c(be.l.c(str, PushConstants.PUSH_TYPE_THROUGH_MESSAGE, str3, "2", str2, str4, "", PushConstants.PUSH_TYPE_NOTIFY, PushConstants.PUSH_TYPE_NOTIFY, "", "", ""), str2, false);
}
public static void e(String str, String str2, String str3, String str4, String str5, String str6, String str7) {
h.b().c(be.l.c(str, str4, "3", str3, str2, str5, str6, "", "", PushConstants.PUSH_TYPE_NOTIFY, str7, PushConstants.PUSH_TYPE_NOTIFY), str2, false);
}
}