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

应用版本信息
应用名称:JadiBUMN
版本号:2.1.3
包名称:id.jadibumn.app

MD5 校验值:328357c6f846d37b47ed4cc8f5415f3d

反编译源代码说明

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


package d.b.a.a.c.a;

import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import d.b.a.a.c.e;
import d.b.a.a.c.f;
import d.b.a.a.d.i;
import java.util.Collection;
import java.util.Set;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public final class b implements e {
    private static final String a = "b";

    private Intent f(String str) {
        Intent intent = new Intent(str);
        intent.setComponent(new ComponentName("com.amazon.sdktestclient", "com.amazon.sdktestclient.command.CommandBroker"));
        return intent;
    }

    private void g(String str, boolean z, boolean z2) {
        try {
            Context g2 = f.i().g();
            Bundle bundle = new Bundle();
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("requestId", str);
            jSONObject.put("packageName", g2.getPackageName());
            jSONObject.put("sdkVersion", "2.0.76.4");
            jSONObject.put("isPurchaseUpdates", z);
            jSONObject.put("reset", z2);
            bundle.putString("userInput", jSONObject.toString());
            Intent f2 = f("com.amazon.testclient.iap.appUserId");
            f2.addFlags(268435456);
            f2.putExtras(bundle);
            g2.startService(f2);
        } catch (JSONException unused) {
            d.b.a.a.c.i.c.c(a, "Error in sendGetUserDataRequest.");
        }
    }

    @Override
    public void a(i iVar, String str, d.b.a.a.d.b bVar) {
        d.b.a.a.c.i.c.a(a, "sendNotifyPurchaseFulfilled");
        try {
            Context g2 = f.i().g();
            Bundle bundle = new Bundle();
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("requestId", iVar.toString());
            jSONObject.put("packageName", g2.getPackageName());
            jSONObject.put("receiptId", str);
            jSONObject.put("fulfillmentResult", bVar);
            jSONObject.put("sdkVersion", "2.0.76.4");
            bundle.putString("purchaseFulfilledInput", jSONObject.toString());
            Intent f2 = f("com.amazon.testclient.iap.purchaseFulfilled");
            f2.addFlags(268435456);
            f2.putExtras(bundle);
            g2.startService(f2);
        } catch (JSONException unused) {
            d.b.a.a.c.i.c.c(a, "Error in sendNotifyPurchaseFulfilled.");
        }
    }

    @Override
    public void b(i iVar) {
        d.b.a.a.c.i.c.a(a, "sendGetUserDataRequest");
        g(iVar.toString(), false, false);
    }

    @Override
    public void c(i iVar, String str) {
        d.b.a.a.c.i.c.a(a, "sendPurchaseRequest");
        try {
            Context g2 = f.i().g();
            Bundle bundle = new Bundle();
            JSONObject jSONObject = new JSONObject();
            jSONObject.put("sku", str);
            jSONObject.put("requestId", iVar.toString());
            jSONObject.put("packageName", g2.getPackageName());
            jSONObject.put("sdkVersion", "2.0.76.4");
            bundle.putString("purchaseInput", jSONObject.toString());
            Intent f2 = f("com.amazon.testclient.iap.purchase");
            f2.addFlags(268435456);
            f2.putExtras(bundle);
            g2.startService(f2);
        } catch (JSONException unused) {
            d.b.a.a.c.i.c.c(a, "Error in sendPurchaseRequest.");
        }
    }

    @Override
    public void d(i iVar, boolean z) {
        if (iVar == null) {
            iVar = new i();
        }
        d.b.a.a.c.i.c.a(a, "sendPurchaseUpdatesRequest/sendGetUserData first:" + iVar);
        g(iVar.toString(), true, z);
    }

    @Override
    public void e(i iVar, Set<String> set) {
        d.b.a.a.c.i.c.a(a, "sendItemDataRequest");
        try {
            Context g2 = f.i().g();
            Bundle bundle = new Bundle();
            JSONObject jSONObject = new JSONObject();
            JSONArray jSONArray = new JSONArray((Collection) set);
            jSONObject.put("requestId", iVar.toString());
            jSONObject.put("packageName", g2.getPackageName());
            jSONObject.put("skus", jSONArray);
            jSONObject.put("sdkVersion", "2.0.76.4");
            bundle.putString("itemDataInput", jSONObject.toString());
            Intent f2 = f("com.amazon.testclient.iap.itemData");
            f2.addFlags(268435456);
            f2.putExtras(bundle);
            g2.startService(f2);
        } catch (JSONException unused) {
            d.b.a.a.c.i.c.c(a, "Error in sendItemDataRequest.");
        }
    }
}