蘑菇視頻 v1.3.4版本的 MD5 值为:b21956b74446eba74a6fe191899b35cf
以下内容为反编译后的 oo0oOOO0.java 源代码,内容仅作参考
package o00Ooo;
import android.content.Context;
import android.webkit.WebView;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class oo0oOOO0 {
public static String oo0oOO(Context context, String str) {
InputStream inputStream;
String readLine;
InputStream inputStream2 = null;
try {
inputStream = context.getAssets().open(str);
try {
try {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
StringBuilder sb = new StringBuilder();
do {
readLine = bufferedReader.readLine();
if (readLine != null && !readLine.matches("^\\s*\\/\\/.*")) {
sb.append(readLine);
continue;
}
} while (readLine != null);
bufferedReader.close();
inputStream.close();
String sb2 = sb.toString();
try {
inputStream.close();
} catch (IOException unused) {
}
return sb2;
} catch (Exception e) {
e = e;
e.printStackTrace();
if (inputStream != null) {
try {
inputStream.close();
} catch (IOException unused2) {
}
}
return null;
}
} catch (Throwable th) {
th = th;
inputStream2 = inputStream;
if (inputStream2 != null) {
try {
inputStream2.close();
} catch (IOException unused3) {
}
}
throw th;
}
} catch (Exception e2) {
e = e2;
inputStream = null;
} catch (Throwable th2) {
th = th2;
if (inputStream2 != null) {
}
throw th;
}
}
public static String oo0oOOO(String str) {
String[] split = str.replace("yy://return/", "").split("/");
if (split.length >= 1) {
return split[0];
}
return null;
}
public static String oo0oOOO0(String str) {
if (str.startsWith("yy://return/_fetchQueue/")) {
return str.replace("yy://return/_fetchQueue/", "");
}
String[] split = str.replace("yy://return/", "").split("/");
if (split.length >= 2) {
StringBuilder sb = new StringBuilder();
for (int i = 1; i < split.length; i++) {
sb.append(split[i]);
}
return sb.toString();
}
return null;
}
public static String oo0oOOOo(String str) {
return str.replace("javascript:WebViewJavascriptBridge.", "").replaceAll("\\(.*\\);", "");
}
public static void oo0oOOo0(WebView webView, String str) {
String oo0oOO2 = oo0oOO(webView.getContext(), str);
webView.loadUrl("javascript:" + oo0oOO2);
}
}