星辰影院解锁vip v1.0.4版本的 MD5 值为:3d99bbcbb0d5d5e568b9f6134424c24e
以下内容为反编译后的 a.java 源代码,内容仅作参考
package f.d.a.a.e.d;
import android.os.SystemClock;
import f.d.a.a.c.e;
import f.d.a.a.e.c.a;
import f.d.a.a.e.c.e;
import f.d.a.a.e.c.f;
import f.d.a.a.g.i;
import f.d.a.a.g.j;
import f.d.a.a.g.k;
import f.d.a.a.g.m;
import f.d.a.a.g.n;
import f.d.a.a.g.p;
import f.d.a.a.g.q;
import f.d.a.a.g.r;
import f.d.a.a.g.s;
import org.json.JSONObject;
public class a {
private static a a;
public class C0397a implements f.d.a.a.e.e.c {
final c a;
final f.d.a.a.b f11542b;
final d f11543c;
C0397a(c cVar, f.d.a.a.b bVar, d dVar) {
this.a = cVar;
this.f11542b = bVar;
this.f11543c = dVar;
}
private void c() {
if (this.a.a().contains("uniConfig")) {
return;
}
s.g(this.f11542b, String.valueOf(SystemClock.elapsedRealtime() - this.a.m()));
}
@Override
public void a(f.d.a.a.e.e.a aVar) {
if (this.a.k()) {
c();
s.e(this.f11542b, String.valueOf(aVar.a()));
this.f11543c.a(String.valueOf(aVar.a()), aVar.c(), e.c(String.valueOf(aVar.a()), aVar.c()));
}
}
@Override
public void b(f.d.a.a.e.e.b bVar) {
String string;
if (this.a.k()) {
try {
c();
JSONObject jSONObject = new JSONObject(bVar.c());
if (jSONObject.has("resultcode")) {
string = jSONObject.getString("resultcode");
} else {
string = jSONObject.getString("resultCode");
}
s.e(this.f11542b, string);
this.f11543c.a(string, jSONObject.optString("desc"), jSONObject);
} catch (Exception unused) {
a(f.d.a.a.e.e.a.b(102223));
}
}
}
}
private a() {
}
public static a a() {
if (a == null) {
synchronized (a.class) {
if (a == null) {
a = new a();
}
}
}
return a;
}
private void c(c cVar, d dVar, f.d.a.a.b bVar) {
f.d.a.a.e.a.d dVar2 = new f.d.a.a.e.a.d();
f.d.a.a.e.a.c cVar2 = new f.d.a.a.e.a.c();
f.d.a.a.e.a.a aVar = new f.d.a.a.e.a.a();
dVar2.b(cVar2);
cVar2.c(aVar);
cVar.b(SystemClock.elapsedRealtime());
dVar2.a(cVar, new C0397a(cVar, bVar, dVar), bVar);
}
public void b(f.d.a.a.b bVar, d dVar) {
String b2;
int l2 = bVar.l("networktype");
String j2 = bVar.j("authtype", "");
f.d.a.a.e.c.e eVar = new f.d.a.a.e.c.e();
e.a aVar = new e.a();
aVar.g("1.0");
aVar.h("quick_login_android_9.2.0.2");
aVar.i(bVar.i("appid"));
aVar.j(j2);
aVar.k(bVar.j("smskey", ""));
aVar.l(bVar.i("imsi"));
aVar.m(bVar.i("imei"));
aVar.e(j.a().g());
aVar.f(j.a().h());
aVar.n(bVar.i("operatortype"));
aVar.o(l2 + "");
aVar.p(n.b());
aVar.q(n.e());
aVar.r(n.f());
aVar.s("0");
aVar.t(s.a());
aVar.b(SystemClock.elapsedRealtime());
aVar.u(p.a());
aVar.v(bVar.i("apppackage"));
aVar.w(bVar.i("appsign"));
eVar.g(bVar.f(f.d.a.a.d.a));
if (bVar.k("use2048PublicKey", false)) {
f.d.a.a.g.c.a("BaseRequest", "使用2对应的编码");
eVar.e("2");
b2 = i.a().c(bVar.f(f.d.a.a.d.a));
} else {
b2 = i.a().b(bVar.f(f.d.a.a.d.a));
}
eVar.h(b2);
eVar.d(aVar);
bVar.c("interfaceVersion", "6.0");
bVar.c("interfaceType", "getPrePhonescrip");
bVar.d("isCloseIpv4", q.h());
bVar.d("isCloseIpv6", q.i());
b bVar2 = new b(q.k() + "/rs/getPrePhonescrip", eVar, "POST", bVar.i("traceId"));
bVar2.d("defendEOF", "1");
bVar2.d("appid", bVar.j("appid", ""));
if (l2 == 3 && j2.equals("3")) {
bVar2.e(true);
bVar.d("doNetworkSwitch", true);
} else {
bVar2.e(false);
bVar.d("doNetworkSwitch", false);
}
c(bVar2, dVar, bVar);
}
public void d(JSONObject jSONObject, f.d.a.a.b bVar, d dVar) {
f fVar = new f();
f.a aVar = new f.a();
f.b bVar2 = new f.b();
bVar2.i(s.a());
bVar2.k(p.a());
bVar2.c("2.0");
bVar2.e(bVar.j("appid", ""));
bVar2.g(bVar2.l());
aVar.b(jSONObject);
fVar.d(aVar);
fVar.e(bVar2);
c(new c(q.m(), fVar, "POST", bVar.i("traceId")), dVar, bVar);
}
public void e(boolean z, f.d.a.a.b bVar, d dVar) {
f.d.a.a.e.c.b bVar2 = new f.d.a.a.e.c.b();
bVar2.d("1.0");
bVar2.e("Android");
bVar2.g(k.f("AID", ""));
bVar2.h(z ? "1" : "0");
bVar2.i("quick_login_android_9.2.0.2");
bVar2.j(bVar.i("appid"));
bVar2.k(bVar2.f());
c(new c("https://config.cmpassport.com/client/uniConfig", bVar2, "POST", bVar.i("traceId")), dVar, bVar);
}
public void f(f.d.a.a.b bVar, d dVar) {
int l2 = bVar.l("networktype");
f.d.a.a.e.c.a aVar = new f.d.a.a.e.c.a();
a.C0396a c0396a = new a.C0396a();
aVar.k("0.1");
aVar.n(bVar.i("phonescrip"));
aVar.m(bVar.i("appid"));
aVar.l(s.a());
aVar.d(SystemClock.elapsedRealtime());
aVar.h(p.a());
aVar.i("6.0");
aVar.j(bVar.j("userCapaid", "50"));
aVar.e("0");
aVar.g(bVar.i("sourceid"));
aVar.p(bVar.i("authenticated_appid"));
aVar.q(bVar.i("genTokenByAppid"));
aVar.o(aVar.r(bVar.i("appkey")));
c0396a.c(n.f());
c0396a.b(k.f("AID", ""));
c0396a.d(n.e());
c0396a.e(n.b());
c0396a.f(bVar.j("operatortype", ""));
c0396a.g("0");
c0396a.h(l2 + "");
c0396a.i(r.a(false));
c0396a.j(r.b(false, false));
c0396a.k(bVar.k("CLOSE_CERT_VERIFY", true) ? "0" : "1");
String l3 = q.l();
if (m.b()) {
c0396a.l("1");
} else {
c0396a.l("0");
}
aVar.f(c0396a.a());
s.c(bVar, "getAuthToken");
bVar.c("interfaceVersion", "6.0");
c(new c(l3 + "/api/getAuthToken", aVar, "POST", bVar.i("traceId")), dVar, bVar);
}
}