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

应用版本信息
应用名称:IntelliInvest
版本号:3.0.40
包名称:com.intelli.intelliinvest

MD5 校验值:8d01bad3385dcb060a6dcda2da0f8dbf

反编译源代码说明

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


package com.razorpay;

import android.app.Activity;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.pm.PackageManager;
import android.os.Build;
import android.webkit.JavascriptInterface;
import android.webkit.WebView;
import java.util.HashMap;
import org.json.JSONObject;

public final class v1 {

    private WebView f10971a;

    private boolean f10972b;

    private String f10973c;

    private String f10974d;

    private long f10975e;

    private boolean f10976f;

    private boolean f10977g;

    private Activity f10978h;

    private String f10979i;

    private JSONObject f10980j;

    private JSONObject f10981k;

    private String f10982l;

    private boolean f10983m;

    private boolean f10984n;

    private String f10985o;

    private String f10986p;

    private boolean f10987q;

    private void g() {
        int intValue;
        try {
            JSONObject q10 = p3.H().q();
            q10.put("merchant_key", this.f10979i);
            q10.put("otp_permission", this.f10972b);
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("type", this.f10985o);
            jSONObject.put("version", this.f10986p);
            jSONObject.put("platform", "android");
            jSONObject.put("framework", "native");
            jSONObject.put("name", this.f10985o + "_android_native");
            q10.put("sdk", jSONObject);
            JSONObject jSONObject2 = new JSONObject();
            if (this.f10976f) {
                jSONObject2.put("type", "magic");
                intValue = c1.f10740c.intValue();
            } else {
                jSONObject2.put("type", "rzpassist");
                intValue = c1.f10739b.intValue();
            }
            jSONObject2.put("version_code", intValue);
            q10.put("plugin", jSONObject2);
            q10.put("payment_data", this.f10981k);
            q10.put("preferences", this.f10980j);
            JSONObject jSONObject3 = new JSONObject();
            jSONObject3.put("package_name", this.f10978h.getApplicationContext().getPackageName());
            PackageManager packageManager = this.f10978h.getPackageManager();
            jSONObject3.put("app_name", d.y(packageManager.getPackageInfo(this.f10978h.getPackageName(), 0).applicationInfo.loadLabel(packageManager)));
            jSONObject3.put("platform", "mobile_sdk");
            jSONObject3.put("os", "android");
            jSONObject3.put("os_version", Build.VERSION.RELEASE);
            jSONObject3.put("data_network_type", l.q(this.f10978h).e());
            jSONObject3.put("framework", d.f());
            jSONObject3.put("library", "standard");
            jSONObject3.put("sdk", jSONObject);
            q10.put("metadata", jSONObject3);
            h("window.__rzp_options = " + q10.toString());
        } catch (Exception e10) {
            t2.a("Unable to load otpelf settings", e10);
        }
        throw null;
    }

    private void h(String str) {
    }

    private void n() {
        try {
            String e10 = l.e(this.f10979i);
            HashMap hashMap = new HashMap();
            hashMap.put("Authorization", "Basic " + e10);
            hashMap.put("Content-Type", "application/json");
            if (this.f10982l == null) {
                return;
            }
            m0.a("https://api.razorpay.com/v1/payments/" + this.f10982l + "/metadata", c0.a(this.f10984n).toString(), hashMap, new e3(this));
        } catch (Exception e11) {
            d.v("RzpAssist", "S0", e11.getMessage());
        }
    }

    @JavascriptInterface
    public final void copyToClipboard(String str) {
        ((ClipboardManager) this.f10978h.getSystemService("clipboard")).setPrimaryClip(ClipData.newPlainText("rzp_clip_data", str));
    }

    public final String e() {
        return this.f10974d;
    }

    public final String f() {
        return this.f10973c;
    }

    public final boolean i() {
        return this.f10977g;
    }

    public final void j(WebView webView, String str) {
        d.F(str, System.nanoTime() - this.f10975e);
        this.f10973c = str;
        this.f10974d = "";
        if (p3.H().u().booleanValue() && !this.f10987q) {
            g();
            this.f10987q = true;
        }
    }

    public final void k(WebView webView, String str) {
        d.G(str);
        this.f10975e = System.nanoTime();
        this.f10974d = str;
        this.f10987q = false;
    }

    public final void l(int i10) {
        p3.H().u().booleanValue();
    }

    public final void m(int i10, String[] strArr, int[] iArr) {
        if (i10 != 1) {
            return;
        }
        if (iArr.length > 0 && iArr[0] == 0) {
            throw null;
        }
        d.D(a.SMS_PERMISSION_NOW_DENIED);
    }

    public final void o() {
        n();
        this.f10973c = "";
        this.f10974d = "";
        this.f10984n = false;
    }

    @JavascriptInterface
    public final void onOtpParsed(String str) {
        this.f10978h.runOnUiThread(new k3(this, str));
    }

    @JavascriptInterface
    public final void openKeyboard() {
        this.f10978h.runOnUiThread(new g3(this));
    }

    public final void p(JSONObject jSONObject) {
        this.f10981k = jSONObject;
    }

    public final void q(String str) {
        this.f10982l = str;
    }

    public final void r(boolean z10) {
        this.f10983m = z10;
    }

    @JavascriptInterface
    public final void setUseWideViewPort(boolean z10) {
        this.f10978h.runOnUiThread(new f3(this, z10));
    }

    @JavascriptInterface
    public final void toast(String str) {
        this.f10978h.runOnUiThread(new i3(this, str));
    }

    @JavascriptInterface
    public final void trackEvent(String str) {
        a aVar = a.JS_EVENT;
        aVar.g(str);
        d.D(aVar);
    }

    @JavascriptInterface
    public final void trackEvent(String str, String str2) {
        try {
            a aVar = a.JS_EVENT;
            aVar.g(str);
            d.E(aVar, new JSONObject(str2));
        } catch (Exception e10) {
            t2.a("Error in tracking JS Event", e10);
        }
    }
}