Warkop v5.73.0版本的 MD5 值为:a4330ec2d6f5e146f59fc7622f3cdb45
以下内容为反编译后的 a.java 源代码,内容仅作参考
package zu;
import android.content.SharedPreferences;
import android.util.Log;
import com.google.firebase.perf.network.FirebasePerfUrlConnection;
import com.inappstory.sdk.network.NetworkHandler;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLConnection;
import java.util.Map;
public class a {
public static boolean f185832a = false;
private static String f185833b = "android_id";
private static String f185834c = "";
private static String f185835d = "";
private static SharedPreferences.Editor f185836e;
public static String a() {
return f185834c;
}
public static String b() {
BufferedReader bufferedReader;
Throwable th4;
?? r35;
IOException iOException;
HttpURLConnection httpURLConnection;
if (f185835d.length() == 0) {
synchronized (f185835d) {
if (f185835d.length() == 0) {
HttpURLConnection httpURLConnection2 = null;
BufferedReader bufferedReader2 = null;
httpURLConnection2 = null;
try {
httpURLConnection = (HttpURLConnection) ((URLConnection) FirebasePerfUrlConnection.instrument(new URL("https://auth.cloudmade.com/token/" + f185834c + "?userid=" + f185833b).openConnection()));
} catch (IOException e15) {
e = e15;
bufferedReader = null;
} catch (Throwable th5) {
th = th5;
bufferedReader = null;
}
try {
httpURLConnection.setDoOutput(true);
httpURLConnection.setRequestMethod(NetworkHandler.POST);
httpURLConnection.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
httpURLConnection.setRequestProperty(tu.a.a().d(), tu.a.a().A());
for (Map.Entry<String, String> entry : tu.a.a().x().entrySet()) {
httpURLConnection.setRequestProperty(entry.getKey(), entry.getValue());
}
httpURLConnection.connect();
if (f185832a) {
StringBuilder sb5 = new StringBuilder();
sb5.append("Response from Cloudmade auth: ");
sb5.append(httpURLConnection.getResponseMessage());
}
if (httpURLConnection.getResponseCode() == 200) {
r35 = new InputStreamReader(httpURLConnection.getInputStream(), "UTF-8");
try {
bufferedReader = new BufferedReader(r35, 8192);
try {
String readLine = bufferedReader.readLine();
if (f185832a) {
StringBuilder sb6 = new StringBuilder();
sb6.append("First line from Cloudmade auth: ");
sb6.append(readLine);
}
String trim = readLine.trim();
f185835d = trim;
if (trim.length() > 0) {
f185836e.putString("CLOUDMADE_TOKEN", f185835d);
f185836e.commit();
f185836e = null;
} else {
Log.e("OsmDroid", "No authorization token received from Cloudmade");
}
bufferedReader2 = bufferedReader;
r35 = r35;
} catch (IOException e16) {
httpURLConnection2 = httpURLConnection;
iOException = e16;
r35 = r35;
try {
Log.e("OsmDroid", "No authorization token received from Cloudmade: " + iOException);
if (httpURLConnection2 != null) {
}
if (bufferedReader != null) {
}
} catch (Throwable th6) {
th4 = th6;
if (httpURLConnection2 != null) {
try {
httpURLConnection2.disconnect();
} catch (Exception unused) {
}
}
if (bufferedReader != null) {
try {
bufferedReader.close();
} catch (Exception unused2) {
}
}
if (r35 != 0) {
try {
r35.close();
throw th4;
} catch (Exception unused3) {
throw th4;
}
}
throw th4;
}
} catch (Throwable th7) {
httpURLConnection2 = httpURLConnection;
th4 = th7;
if (httpURLConnection2 != null) {
}
if (bufferedReader != null) {
}
if (r35 != 0) {
}
}
} catch (IOException e17) {
httpURLConnection2 = httpURLConnection;
iOException = e17;
bufferedReader = null;
r35 = r35;
} catch (Throwable th8) {
httpURLConnection2 = httpURLConnection;
th4 = th8;
bufferedReader = null;
}
} else {
r35 = 0;
}
try {
httpURLConnection.disconnect();
} catch (Exception unused4) {
if (bufferedReader2 != null) {
try {
bufferedReader2.close();
} catch (Exception unused5) {
}
}
}
} catch (IOException e18) {
e = e18;
bufferedReader = null;
httpURLConnection2 = httpURLConnection;
iOException = e;
r35 = bufferedReader;
Log.e("OsmDroid", "No authorization token received from Cloudmade: " + iOException);
if (httpURLConnection2 != null) {
try {
httpURLConnection2.disconnect();
} catch (Exception unused6) {
}
}
if (bufferedReader != null) {
try {
bufferedReader.close();
} catch (Exception unused7) {
}
}
} catch (Throwable th9) {
th = th9;
bufferedReader = null;
httpURLConnection2 = httpURLConnection;
th4 = th;
r35 = bufferedReader;
if (httpURLConnection2 != null) {
}
if (bufferedReader != null) {
}
if (r35 != 0) {
}
}
}
}
}
return f185835d;
}
}