湘游汇 v1.0版本的 MD5 值为:85338391d88b5d57da66e240ece801c7
以下内容为反编译后的 bb.java 源代码,内容仅作参考
package com.b;
import android.util.Base64;
import java.nio.charset.StandardCharsets;
public final class bb {
public static boolean a(byte[] bArr) {
String str;
if (bArr != null) {
byte[] bArr2 = null;
try {
cj cjVar = new cj();
cjVar.b.put("Content-Type", "application/octet-stream");
cjVar.b.put("aps_c_src", Base64.encodeToString(("lc_" + ((int) cf.a())).getBytes(), 2));
cjVar.b.put("aps_c_key", Base64.encodeToString((cf.c() + "*" + cf.f()).getBytes(), 2));
cjVar.d = bArr;
if (as.f501a) {
str = "http://cgicol.amap.com/collection/collectData?src=baseCol&ver=v74&";
} else {
str = (as.b ? "https://" : "http://") + "cgicol.amap.com/collection/collectData?src=baseCol&ver=v74&";
}
cjVar.f531a = str;
ck a2 = bv.a().a(cjVar);
if (a2 != null && a2.f532a == 200) {
bArr2 = a2.c;
}
if (bArr2 != null) {
return "true".equals(new String(bArr2, StandardCharsets.UTF_8));
}
return false;
} catch (Exception e) {
ch.a(e);
return false;
}
}
return false;
}
}