APK反编译源代码展示 - 南明离火平台提供

应用版本信息
应用名称:Ghostify
版本号:4.0
包名称:com.getghostify

MD5 校验值:a9a821418db4ad35214aeeb08c2f5902

反编译源代码说明

b.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。


package f1;

import android.os.Bundle;
import android.webkit.WebResourceRequest;
import android.webkit.WebResourceResponse;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import com.ghostify.MainActivity;
import com.ghostify.ui.home.HomeFragment;
import com.google.firebase.analytics.FirebaseAnalytics;

public class b extends WebViewClient {

    public final a f4395a;

    public b(a aVar) {
        this.f4395a = aVar;
    }

    @Override
    public void onPageFinished(WebView webView, String str) {
        super.onPageFinished(webView, str);
        int i9 = 0;
        int i10 = 1;
        if (str.contains("accounts/onetap")) {
            FirebaseAnalytics.getInstance(j1.f.f5639a).a("login_success", new Bundle());
            j1.d.a().f5632a.edit().putBoolean("3", true).commit();
            HomeFragment homeFragment = (HomeFragment) this.f4395a;
            homeFragment.f2811f0.runOnUiThread(new e(homeFragment, i9));
        }
        if (str.equalsIgnoreCase("https://www.instagram.com/")) {
            HomeFragment homeFragment2 = (HomeFragment) this.f4395a;
            if (homeFragment2.l() == null) {
                return;
            }
            homeFragment2.f2811f0.runOnUiThread(new d(homeFragment2, i9));
            if (j1.d.a().f5632a.getBoolean("4", false)) {
                return;
            }
            homeFragment2.l().runOnUiThread(new e(homeFragment2, i10));
            j1.d.a().f5632a.edit().putBoolean("4", true).commit();
        }
    }

    @Override
    public WebResourceResponse shouldInterceptRequest(WebView webView, WebResourceRequest webResourceRequest) {
        String uri = webResourceRequest.getUrl().toString();
        int i9 = 1;
        if (uri.contains("login/ajax")) {
            FirebaseAnalytics.getInstance(j1.f.f5639a).a("login_attempt", new Bundle());
            HomeFragment homeFragment = (HomeFragment) this.f4395a;
            homeFragment.l().runOnUiThread(new d(homeFragment, i9));
        }
        if (uri.contains("send_two_factor_login_sms")) {
            HomeFragment homeFragment2 = (HomeFragment) this.f4395a;
            homeFragment2.l().runOnUiThread(new e(homeFragment2, 2));
        }
        if (!MainActivity.f2803x || !uri.contains("stories/reel/seen")) {
            return super.shouldInterceptRequest(webView, webResourceRequest);
        }
        HomeFragment homeFragment3 = (HomeFragment) this.f4395a;
        homeFragment3.l().runOnUiThread(new p0.c((Object) homeFragment3, "webview", i9));
        return new WebResourceResponse("text/javascript", "UTF-8", null);
    }

    @Override
    public boolean shouldOverrideUrlLoading(WebView webView, WebResourceRequest webResourceRequest) {
        return false;
    }
}