Recover Files v1.3.9版本的 MD5 值为:27a8b2c239c6cb7111d74d6bb07d21b2
以下内容为反编译后的 a.java 源代码,内容仅作参考
package r5;
import a9.x;
import android.content.Context;
import android.util.Base64;
import androidx.exifinterface.media.ExifInterface;
import com.blankj.utilcode.util.g0;
import com.game.humpbackwhale.recover.files.App;
import com.game.humpbackwhale.recover.files.model.ApiLanguageModel;
import com.game.humpbackwhale.recover.files.model.WeatherBean;
import com.game.humpbackwhale.recover.files.utils.o;
import com.google.android.exoplayer2.text.ttml.TtmlNode;
import com.zhy.http.okhttp.OkHttpUtils;
import com.zhy.http.okhttp.builder.GetBuilder;
import com.zhy.http.okhttp.callback.StringCallback;
import com.zhy.http.okhttp.request.RequestCall;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Iterator;
import java.util.List;
import java.util.Locale;
import okhttp3.v;
import q5.b;
public class a {
public static final String f38061a = "HttpLink";
public static final String f38062b = "http://www.bluewhalemobi.com/";
public static final String f38063c = "http://www.bluewhalemobi.com/app/getrate/curr";
public static final String f38064d = "aHR0cHM6Ly9hZG1pbmFwaS53ZWF0aGVycGx1c2FwcC5jb20vcGlwbC9sYi8=";
public static final String f38065e = "http://www.bluewhalemobi.com/appAdList?";
public static final String f38066f = "http://www.bluewhalemobi.com/common/shieldcountry?";
public static final String f38067g = "http://www.bluewhalemobi.com/rfive/wea/location?";
public class C0607a extends com.google.gson.reflect.a<List<ApiLanguageModel>> {
}
public static String a(Context context, String str) {
try {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(context.getAssets().open(str)));
StringBuilder sb2 = new StringBuilder();
while (true) {
String readLine = bufferedReader.readLine();
if (readLine != null) {
sb2.append(readLine);
} else {
return sb2.toString();
}
}
} catch (IOException e10) {
e10.printStackTrace();
return null;
}
}
public static void b(String str, StringCallback stringCallback) {
OkHttpUtils.get().url(f38063c).addParams("currency", str).build().execute(stringCallback);
}
public static void c(StringCallback stringCallback) {
OkHttpUtils.get().url(new String(Base64.decode(f38064d.getBytes(), 0))).build().execute(stringCallback);
}
public static String d(Context context) {
List list = (List) g0.i(a(context, "language.json"), new C0607a().getType());
String language = Locale.getDefault().getLanguage();
if (list != null && list.size() != 0) {
Iterator it = list.iterator();
while (it.hasNext()) {
if (language.equals(((ApiLanguageModel) it.next()).getISO())) {
return language;
}
}
}
return "en";
}
public static void e(double d10, double d11, StringCallback stringCallback) {
GetBuilder addParams = OkHttpUtils.get().url(f38067g).addParams(x.b.f202l, b.f37697b).addParams("channel", "G_RecoverFiles").addParams("keyName", "AccWeather").addParams("lat", String.valueOf(d10)).addParams("lon", String.valueOf(d11)).addParams("lang", d(App.c().getApplicationContext()));
WeatherBean c10 = o.i().c();
if (c10 != null && c10.getData() != null && c10.getData().getCityKey() != null) {
addParams.addParams("cityKey", c10.getData().getCityKey());
}
RequestCall build = addParams.build();
build.execute(stringCallback);
v vVar = build.getRequest().f36253a;
}
public static void f(String str, StringCallback stringCallback) {
OkHttpUtils.get().url(f38065e).addParams("applicationId", TtmlNode.COMBINE_ALL).addParams("channel", "G_RecoverFiles").addParams("type", ExifInterface.GPS_MEASUREMENT_3D).tag(str).build().execute(stringCallback);
}
public static void g(String str, String str2, StringCallback stringCallback) {
OkHttpUtils.get().url(f38066f).addParams("applicationId", str).addParams("channel", str2).build().execute(stringCallback);
}
}