导航菜单

页面标题

页面副标题

JADUGAR VIP LOADER v3.0 - AbstractC0383v0.java 源代码

正在查看: JADUGAR VIP LOADER v3.0 应用的 AbstractC0383v0.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package k0;

import android.accounts.Account;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.Parcelable;
import cn.typedef.zhcn.manifest.TypedefActivity$Companion$STUB;
import cn.typedef.zhcn.manifest.TypedefIntermediary;
import cn.typedef.zhcn.manifest.TypedefReceiver;
import cn.typedef.zhcn.manifest.TypedefService$Companion$STUB;
import cn.typedef.zhcn.objio.MNative;
import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;
import java.lang.reflect.Proxy;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public abstract class AbstractC0383v0 {

    public static boolean f3271c = false;

    public static f1.c f3277k = null;

    public static volatile boolean f3278l = false;

    public static volatile String f3279m = "";

    public static String f3280n = "";

    public static String f3281o = "";

    public static String f3282p = "";

    public static boolean f3283q;

    public static int f3284r;

    public static v0.d f3285s;

    public static final C0348p0 f3270a = new C0348p0();
    public static final String[] b = {"com.rekoo.pubgm", "com.pubg.krmobile", "com.vng.pubgmobile", "com.pubg.imobile", "com.tencent.ig"};

    public static final int[] f3272d = {325967443, 325967270, -1046965711};

    public static final int[] f3273e = new int[0];
    public static final Class[] f = new Class[0];
    public static final Object[] g = new Object[0];

    public static final String[] f3274h = new String[0];

    public static final C0285e3 f3275i = new C0285e3(18);

    public static final C0285e3 f3276j = new C0285e3(27);

    public static int a(int i2, int i3, int[] iArr) {
        int i4 = i2 - 1;
        int i5 = 0;
        while (i5 <= i4) {
            int i6 = (i5 + i4) >>> 1;
            int i7 = iArr[i6];
            if (i7 < i3) {
                i5 = i6 + 1;
            } else {
                if (i7 <= i3) {
                    return i6;
                }
                i4 = i6 - 1;
            }
        }
        return ~i5;
    }

    public static Intent b(int i2, Intent intent) {
        return new Intent().setComponent(new ComponentName(AbstractC0321k3.b, TypedefService$Companion$STUB.class.getName() + i2)).putExtra(Intent.class.getName(), intent);
    }

    public static Intent c(Intent intent, int i2, BinderC0270c0 binderC0270c0, boolean z2, String str) {
        String str2 = TypedefActivity$Companion$STUB.class.getName() + i2;
        Intent intent2 = new Intent();
        String str3 = AbstractC0321k3.b;
        if (z2) {
            str2 = B.j.e(str2, "H");
        }
        Intent component = intent2.setComponent(new ComponentName(str3, str2));
        Bundle bundle = new Bundle();
        bundle.putParcelable(Intent.class.getName(), intent);
        bundle.putBinder(BinderC0270c0.class.getName(), binderC0270c0);
        if (str != null) {
            bundle.putString(String.class.getName(), str);
        }
        bundle.putString("user", binderC0270c0.f3143c.f3290c);
        return component.putExtras(bundle);
    }

    public static Intent d(Intent intent, String str) {
        if (intent.getComponent() == null && intent.getPackage() == null) {
            return null;
        }
        String str2 = AbstractC0321k3.b;
        return new Intent(B.j.e(str2, ".mundo.receiver.stub")).setComponent(new ComponentName(str2, TypedefReceiver.class.getName())).putExtra(Intent.class.getName(), intent).putExtra(String.class.getName(), str);
    }

    public static Intent e(Intent intent, C0388w c0388w) {
        try {
            Intent intent2 = new Intent(AbstractC0321k3.f3200a, (Class<?>) TypedefIntermediary.class);
            Bundle bundle = new Bundle();
            bundle.putParcelable(Intent.class.getName(), intent);
            if (c0388w != null) {
                bundle.putString(String.class.getName(), c0388w.f3290c);
            }
            return intent2.putExtras(bundle);
        } catch (Exception unused) {
            return null;
        }
    }

    public static Object f(Parcel parcel) {
        Parcelable.Creator creator = Account.CREATOR;
        if (parcel.readInt() != 0) {
            return creator.createFromParcel(parcel);
        }
        return null;
    }

    public static Object g(Parcel parcel, Parcelable.Creator creator) {
        if (parcel.readInt() != 0) {
            return creator.createFromParcel(parcel);
        }
        return null;
    }

    public static Object h(final C0318k0 c0318k0, final Object obj) {
        ClassLoader classLoader = obj.getClass().getClassLoader();
        Class<?> cls = obj.getClass();
        C0326l2 c0326l2 = new C0326l2(0);
        n(cls, c0326l2);
        return Proxy.newProxyInstance(classLoader, (Class[]) c0326l2.toArray(f), new InvocationHandler() {
            @Override
            public final Object invoke(Object obj2, Method method, Object[] objArr) {
                if (objArr == null) {
                    objArr = AbstractC0383v0.g;
                }
                return C0318k0.this.a(obj, method, objArr);
            }
        });
    }

    public static String i(String str) {
        if (str == null) {
            return null;
        }
        int i2 = 0;
        char c2 = 0;
        for (int i3 = 0; i3 < str.length(); i3++) {
            char charAt = str.charAt(i3);
            if (charAt == '\'' || charAt == '\"') {
                if (c2 == 0) {
                    c2 = charAt;
                } else if (c2 == charAt) {
                    c2 = 0;
                }
            }
            if (c2 == 0) {
                if (charAt == '(') {
                    i2++;
                } else if (charAt == ')') {
                    i2--;
                }
            }
        }
        while (i2 > 0) {
            str = B.j.e(str, ")");
            i2--;
        }
        while (i2 < 0) {
            str = "(" + str;
            i2++;
        }
        return str;
    }

    public static void j(int i2, C0388w c0388w) {
        try {
            f1.c cVar = f3277k;
            f3277k = null;
            if (cVar != null) {
                Object obj = cVar.g;
                if (((Number) cVar.f).intValue() == i2) {
                    IBinder asBinder = ((P3) obj).asBinder();
                    if (asBinder.isBinderAlive() && asBinder.pingBinder()) {
                        c0388w.f3294i = ((Number) cVar.f2449h).intValue();
                        c0388w.f3293h = (P3) obj;
                        E4.b.execute(new F(i2, c0388w));
                        return;
                    }
                }
            }
            E4.b.execute(new A.p(i2, c0388w));
        } catch (Exception unused) {
        }
    }

    public static void k(int i2, boolean z2, n1.p pVar) {
        P3 p3;
        try {
            Context context = AbstractC0321k3.f3200a;
            ContentResolver contentResolver = context.getContentResolver();
            String str = AbstractC0321k3.b;
            Uri parse = Uri.parse("content://" + (str + ".provider.stub" + i2));
            String valueOf = String.valueOf(i2);
            Bundle bundle = D1.f2960a;
            BinderC0364s.b.getClass();
            bundle.putBoolean("mundo_base_bundle", BinderC0364s.N0("com.google.android.gms"));
            Bundle call = contentResolver.call(parse, valueOf, (String) null, bundle);
            if (call == null) {
                pVar.d(null, 0);
                return;
            }
            IBinder binder = call.getBinder("user_handler");
            int i3 = call.getInt("user_pid", 0);
            boolean z3 = call.getBoolean("mundo_am_service", false);
            if (binder != null) {
                int i4 = L3.f3032a;
                IInterface queryLocalInterface = binder.queryLocalInterface("top.bienvenido.mundo.IApplicationThread");
                p3 = (queryLocalInterface == null || !(queryLocalInterface instanceof P3)) ? new F3(binder) : (P3) queryLocalInterface;
            } else {
                p3 = null;
            }
            if (p3 == null) {
                pVar.d(null, Integer.valueOf(i3));
                return;
            }
            if (z3) {
                if (!z2) {
                    pVar.d(null, Integer.valueOf(i3));
                    return;
                } else {
                    try {
                        p3.v();
                    } catch (Exception unused) {
                    }
                    k(i2, true, pVar);
                    return;
                }
            }
            pVar.d(p3, Integer.valueOf(i3));
            context.startService(new Intent().setComponent(new ComponentName(str, TypedefService$Companion$STUB.class.getName() + i2)));
        } catch (Exception unused2) {
        }
    }

    public static void l(Bundle bundle) {
        try {
            ArrayList arrayList = AbstractC0355q1.b;
            int size = arrayList.size();
            int i2 = 0;
            while (i2 < size) {
                Object obj = arrayList.get(i2);
                i2++;
                ((n1.l) obj).e(bundle);
            }
        } catch (Exception unused) {
        }
        try {
            IBinder binder = bundle.getBinder("mundo_uid_binder");
            if (binder != null) {
                ?? r5 = {binder, String.valueOf(bundle.getInt(Integer.TYPE.getName(), 0))};
                synchronized (AbstractC0355q1.b) {
                    MNative.a(1001, r5);
                }
            }
        } catch (Throwable unused2) {
        }
    }

    public static void m(Parcel parcel, List list, int i2) {
        if (list == null) {
            parcel.writeInt(-1);
            return;
        }
        int size = list.size();
        parcel.writeInt(size);
        for (int i3 = 0; i3 < size; i3++) {
            Parcelable parcelable = (Parcelable) list.get(i3);
            if (parcelable != null) {
                parcel.writeInt(1);
                parcelable.writeToParcel(parcel, i2);
            } else {
                parcel.writeInt(0);
            }
        }
    }

    public static void n(Class cls, C0326l2 c0326l2) {
        Class<?>[] interfaces = cls.getInterfaces();
        if (interfaces.length != 0) {
            List asList = Arrays.asList(interfaces);
            o1.h.d(asList, "asList(this)");
            c0326l2.addAll(asList);
        }
        Class superclass = cls.getSuperclass();
        if (superclass == null || superclass.equals(Object.class)) {
            return;
        }
        n(superclass, c0326l2);
    }

    public static void o(C0388w c0388w) {
        int i2 = 0;
        try {
            try {
                P3 p3 = c0388w.f3293h;
                if (p3 == null) {
                    S.f(c0388w);
                    c0388w.g = false;
                    c0388w.f3295j.open();
                    return;
                }
                C0290f2 c0290f2 = S.f3061a;
                try {
                    int i3 = c0388w.f3294i;
                    if (i3 != 0) {
                        C0290f2 c0290f22 = S.b;
                        synchronized (c0290f22) {
                            c0290f22.f3170t.v(i3, c0388w);
                        }
                    }
                } catch (Exception unused) {
                }
                C0290f2 c0290f23 = S.f3061a;
                IBinder asBinder = p3.asBinder();
                asBinder.linkToDeath(new L(asBinder, c0388w, i2), 0);
                p3.C(c0388w.f3289a, c0388w.b, c0388w.f3290c, c0388w.f3291d);
                c0388w.f3295j.open();
            } catch (Exception unused2) {
            }
        } catch (Exception unused3) {
            S.f(c0388w);
            c0388w.g = false;
            c0388w.f3295j.open();
        }
    }

    public static boolean p() {
        try {
            Object a2 = MNative.a(7846, null);
            if (a2 == null) {
                return false;
            }
            return Boolean.parseBoolean(a2.toString());
        } catch (Throwable unused) {
            return false;
        }
    }

    public static boolean q(int i2, String str) {
        String str2;
        if (i2 <= 2) {
            try {
                if (str.length() != 0) {
                    int i3 = MNative.f1763a;
                    Object b2 = C0357q3.b(C0357q3.f3230a, AbstractC0321k3.f3200a);
                    if (b2 instanceof Proxy) {
                        str2 = "";
                    } else {
                        if (b2 == null) {
                            return true;
                        }
                        str2 = str;
                    }
                    MNative.a(7845, str2);
                    if (p()) {
                        return true;
                    }
                    return q(i2 + 1, str);
                }
            } catch (Throwable unused) {
            }
        }
        return false;
    }

    public static int[] r(int[] iArr, int i2, int i3, int i4) {
        if (i2 + 1 <= iArr.length) {
            System.arraycopy(iArr, i3, iArr, i3 + 1, i2 - i3);
            iArr[i3] = i4;
            return iArr;
        }
        int[] iArr2 = new int[i2 >= 1 ? 2 * i2 : 2];
        System.arraycopy(iArr, 0, iArr2, 0, i3);
        iArr2[i3] = i4;
        System.arraycopy(iArr, i3, iArr2, i3 + 1, iArr.length - i3);
        return iArr2;
    }

    public static f1.c s(Intent intent) {
        Intent intent2;
        try {
            Bundle extras = intent.getExtras();
            if (extras == null || (intent2 = (Intent) extras.getParcelable(Intent.class.getName())) == null) {
                return null;
            }
            return new f1.c(intent2, extras.getBinder(BinderC0270c0.class.getName()), extras.getString(String.class.getName()));
        } catch (Exception unused) {
            return null;
        }
    }
}