Maxcredito v1.2.1版本的 MD5 值为:2605738f37f8ddb81288799ddcbfcbe8
以下内容为反编译后的 t.java 源代码,内容仅作参考
package h.a.b;
import android.content.Context;
import io.branch.referral.Branch;
import io.branch.referral.ServerRequest;
import java.net.URL;
import org.json.JSONObject;
public class t extends ServerRequest {
public f f3309i;
public Branch.d f3310j;
public boolean f3311k;
public t(String str, JSONObject jSONObject, Context context) {
super(str, jSONObject, context);
this.f3311k = true;
}
public final String N(String str) {
try {
String str2 = "";
if (Branch.d0().C0() && !str.contains("https://bnc.lt/a/")) {
str = str.replace(new URL(str).getQuery(), "");
}
StringBuilder sb = new StringBuilder();
sb.append(str);
sb.append(str.contains("?") ? "" : "?");
String sb2 = sb.toString();
StringBuilder sb3 = new StringBuilder();
sb3.append(sb2);
if (!sb2.endsWith("?")) {
str2 = "&";
}
sb3.append(str2);
str = sb3.toString();
this.f3309i.a();
throw null;
} catch (Exception unused) {
this.f3310j.a(null, new e("Trouble creating a URL.", -116));
return str;
}
}
public f O() {
return this.f3309i;
}
public String P() {
if (!this.c.Y().equals("bnc_no_value")) {
return N(this.c.Y());
}
return N("https://bnc.lt/a/" + this.c.r());
}
public void Q() {
Branch.d dVar = this.f3310j;
if (dVar != null) {
dVar.a(null, new e("Trouble creating a URL.", -105));
}
}
@Override
public void b() {
this.f3310j = null;
}
@Override
public boolean o(Context context) {
if (super.e(context)) {
return false;
}
Branch.d dVar = this.f3310j;
if (dVar == null) {
return true;
}
dVar.a(null, new e("Trouble creating a URL.", -102));
return true;
}
@Override
public void p(int i2, String str) {
if (this.f3310j != null) {
String P = this.f3311k ? P() : null;
this.f3310j.a(P, new e("Trouble creating a URL. " + str, i2));
}
}
@Override
public boolean r() {
return false;
}
@Override
public boolean t() {
return false;
}
@Override
public void x(e0 e0Var, Branch branch) {
try {
String string = e0Var.c().getString("url");
Branch.d dVar = this.f3310j;
if (dVar != null) {
dVar.a(string, null);
}
} catch (Exception e2) {
e2.printStackTrace();
}
}
@Override
public boolean z() {
return true;
}
}