笔 趣 阁 破 解 版2023 v4.18.00版本的 MD5 值为:35c48a89f5572ff5a659afd7c5a81cad
以下内容为反编译后的 d.java 源代码,内容仅作参考
package com.uc.crashsdk.a;
import android.os.Process;
import com.umeng.analytics.pro.ai;
import com.umeng.commonsdk.framework.UMModuleRegister;
import com.umeng.commonsdk.internal.crash.UMCrashManager;
import java.util.Locale;
public class d {
public static final boolean f7922a = !d.class.desiredAssertionStatus();
public static boolean f7923b = true;
public static final Object f7924c = new Object();
public static boolean f7925d = false;
public static String e = "hsdk";
public static String f = "alid ";
public static String g = null;
public static final Object h = new Object();
public static String i = null;
public static void a() {
f.a(0, new e(500), com.uc.crashsdk.b.E() ? 900000L : 90000L);
}
public static String b() {
try {
return "inv" + f + "cras" + e;
} catch (Throwable th) {
g.b(th);
return "";
}
}
public static byte[] c() {
return new byte[]{6, 0, 23, 8};
}
public static boolean d() {
if (!com.uc.crashsdk.e.E() && !com.uc.crashsdk.b.I()) {
a(true);
return f7923b;
}
return true;
}
public static String e() {
if (g.a(i)) {
synchronized (h) {
String str = com.uc.crashsdk.g.P() ? "https://errlogos.umeng.com" : "https://errlog.umeng.com";
i = g.a(com.uc.crashsdk.b.g(), str + "/api/crashsdk/validate", true);
}
}
return i;
}
public static String f() {
byte[] bArr;
String e2;
byte[] a2;
byte[] bArr2;
StringBuilder sb = new StringBuilder();
a(sb, "platform", com.uc.crashsdk.g.e());
a(sb, "pkgname", com.uc.crashsdk.a.f7913a);
a(sb, UMModuleRegister.PROCESS, com.uc.crashsdk.e.h());
a(sb, com.anythink.expressad.foundation.g.a.h, com.uc.crashsdk.a.a());
a(sb, "cver", "3.2.0.4");
a(sb, "ctag", "release");
a(sb, "inter", com.uc.crashsdk.g.P() ? b.g.a.s0.f.q : b.g.a.s0.f.r);
a(sb, ai.x, b.c.a.n.m.e.e.f2232b);
String sb2 = sb.toString();
byte[] bArr3 = new byte[16];
c.a(bArr3, 0, h.j());
c.a(bArr3, 4, c.a());
c.a(bArr3, 8, c());
c.a(bArr3, 12, com.uc.crashsdk.a.f());
try {
bArr = c.a(sb2.getBytes(), bArr3, true);
} catch (Throwable th) {
g.a(th);
bArr = null;
}
if (bArr == null || (e2 = e()) == null || (a2 = c.a(e2, bArr)) == null) {
return null;
}
try {
bArr2 = c.a(a2, bArr3, false);
} catch (Throwable th2) {
g.a(th2);
bArr2 = null;
}
if (bArr2 != null) {
return new String(bArr2);
}
return null;
}
public static void a(int i2) {
if (i2 != 500) {
if (!f7922a) {
throw new AssertionError();
}
return;
}
synchronized (f7924c) {
g = null;
a(!com.uc.crashsdk.b.C());
if (g.b(g)) {
h.a(g);
}
}
}
public static boolean a(boolean z) {
int i2;
boolean z2;
String str;
if (f7925d) {
return false;
}
f7925d = !z;
if (!(com.uc.crashsdk.a.f7914b.equals(UMCrashManager.CM_VERSION) && com.uc.crashsdk.b.c(536870912)) && com.uc.crashsdk.b.x()) {
String k = com.uc.crashsdk.b.k();
String a2 = b.a(k);
String str2 = null;
long j = 0;
if (g.b(a2)) {
String[] split = a2.split(" ", 4);
if (split.length == 3) {
str2 = split[0];
j = g.c(split[1]);
i2 = (int) g.c(split[2]);
f7923b = true;
if (System.currentTimeMillis() - j < 259200000) {
if (!"o".equals(str2)) {
if ("2".equals(str2)) {
f7923b = false;
} else if ("1".equals(str2)) {
f7923b = false;
}
}
z2 = false;
if (z2 || z) {
return true;
}
if (i2 == Process.myPid()) {
return false;
}
g = "per";
String f2 = f();
if (f2 == null || !f2.contains("retcode=")) {
if (f2 == null) {
g = "ner";
} else {
g = "ser";
}
return false;
}
if (f2.contains("retcode=0")) {
f7923b = true;
str = "o";
g = "aus";
} else {
f7923b = false;
if ("1".equals(str2)) {
str = "2";
g = "auf2";
} else {
str = "1";
g = "auf1";
}
}
b.a(k, String.format(Locale.US, "%s %d %d", str, Long.valueOf(System.currentTimeMillis()), Integer.valueOf(Process.myPid())));
if (g.b(f2)) {
for (String str3 : f2.split("`", 30)) {
String[] split2 = str3.split("=", 2);
if (split2.length == 2) {
String trim = split2[0].trim();
String trim2 = split2[1].trim();
boolean z3 = g.b(trim2) && trim2.startsWith("http");
if ("logurl".equals(trim)) {
if (z3) {
com.uc.crashsdk.e.a(trim2, false);
}
} else if ("staturl".equals(trim)) {
if (z3) {
h.b(trim2);
}
} else if ("policyurl".equals(trim)) {
if (z3) {
synchronized (h) {
i = trim2;
b.a(com.uc.crashsdk.b.g(), i + "\n");
}
} else {
continue;
}
} else if ("logpolicy".equals(trim)) {
com.uc.crashsdk.e.b(trim2);
}
}
}
}
return true;
}
z2 = true;
if (z2) {
}
return true;
}
}
i2 = 0;
f7923b = true;
if (System.currentTimeMillis() - j < 259200000) {
}
z2 = true;
if (z2) {
}
return true;
}
return false;
}
public static StringBuilder a(StringBuilder sb, String str, String str2) {
if (sb.length() > 0) {
sb.append("`");
}
sb.append(str);
sb.append("=");
sb.append(str2);
return sb;
}
}