77-PANÊL💉 v1.1版本的 MD5 值为:b4e23e710e3cb44c675edaedd5a1d94d

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


package com.aver.sirxxx;

import android.animation.Animator;
import android.animation.AnimatorSet;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.app.ActivityOptions;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.ContentResolver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.res.ColorStateList;
import android.graphics.Bitmap;
import android.graphics.BitmapShader;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Shader;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.GradientDrawable;
import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Environment;
import android.provider.DocumentsContract;
import android.provider.Settings;
import android.speech.RecognitionListener;
import android.speech.SpeechRecognizer;
import android.util.AttributeSet;
import android.util.SparseBooleanArray;
import android.util.TypedValue;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.view.animation.LinearInterpolator;
import android.webkit.MimeTypeMap;
import android.widget.Button;
import android.widget.CompoundButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.Switch;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.ActivityCompat;
import androidx.core.content.ContextCompat;
import androidx.core.view.ViewCompat;
import androidx.documentfile.provider.DocumentFile;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.lang.reflect.Method;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Random;
import java.util.Timer;
import java.util.TimerTask;

public class MainActivity extends AppCompatActivity {
    static final int OLD_REQUEST = 2000;
    static final int REQUEST_CODE = 333;
    private static final int new_folder = 43;
    private double PermissionNumber;
    private LinearLayout cj;
    private LinearLayout cy;
    private DocumentFile dFile;
    private AlertDialog.Builder dia_exit;
    private AlertDialog.Builder dia_injector;
    private AlertDialog.Builder dialog;
    private View displayView;
    private WindowManager.LayoutParams layoutParams;
    private LinearLayout linear;
    private LinearLayout linear1;
    private LinearLayout linear105;
    private LinearLayout linear106;
    private LinearLayout linear107;
    private LinearLayout linear11;
    private LinearLayout linear113;
    private LinearLayout linear115;
    private LinearLayout linear119;
    private LinearLayout linear120;
    private LinearLayout linear122;
    private LinearLayout linear123;
    private LinearLayout linear126;
    private LinearLayout linear127;
    private LinearLayout linear130;
    private LinearLayout linear132;
    private LinearLayout linear137;
    private LinearLayout linear138;
    private LinearLayout linear140;
    private LinearLayout linear171;
    private LinearLayout linear2;
    private LinearLayout linear3;
    private LinearLayout linear6;
    private LinearLayout linear7;
    private LinearLayout linear8;
    private LinearLayout linear9;
    private LinearLayout linearserver;
    private LinearLayout menu_fooat;
    private Uri muri;
    private ProgressDialog prog;
    private LinearLayout salir1;
    private LinearLayout salir2;
    private SharedPreferences save;
    private MediaPlayer ser;
    private SharedPreferences sha;
    private TextView textview21;
    private TextView textview23;
    private TextView textview24;
    private TextView textview25;
    private TextView textview26;
    private TextView textview27;
    private TextView textview28;
    private TextView textview29;
    private TextView textview30;
    private TextView textview31;
    private TextView textview32;
    private TextView textview33;
    private TextView textview34;
    private TextView textview35;
    private TextView textview36;
    private TimerTask timer;
    private TimerTask tt;
    private SpeechRecognizer voice_ai;
    private WindowManager windowManager;
    private Timer _timer = new Timer();
    private String dataPath = "";
    private String pathOut = "";
    private String cp = "";
    private String dst = "";
    private Intent intent = new Intent();
    private Intent YouTube = new Intent();
    private Calendar ds = Calendar.getInstance();
    private Intent by = new Intent();
    private boolean fromStorage = false;
    private Intent i = new Intent();
    private String uriFor1 = "";
    private String uriFor2 = "";

    public interface AnimationSetupCallback {
        void onSetupAnimation(TitanicTextView titanicTextView);
    }

    @Override
    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.main);
        initialize(bundle);
        if (ContextCompat.checkSelfPermission(this, "android.permission.READ_EXTERNAL_STORAGE") == -1 || ContextCompat.checkSelfPermission(this, "android.permission.WRITE_EXTERNAL_STORAGE") == -1 || ContextCompat.checkSelfPermission(this, "android.permission.RECORD_AUDIO") == -1) {
            ActivityCompat.requestPermissions(this, new String[]{"android.permission.READ_EXTERNAL_STORAGE", "android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.RECORD_AUDIO"}, 1000);
        } else {
            initializeLogic();
        }
    }

    @Override
    public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
        super.onRequestPermissionsResult(i, strArr, iArr);
        if (i == 1000) {
            initializeLogic();
        }
    }

    private void initialize(Bundle bundle) {
        this.linear = (LinearLayout) findViewById(R.id.linear);
        this.linear1 = (LinearLayout) findViewById(R.id.linear1);
        this.linear6 = (LinearLayout) findViewById(R.id.linear6);
        this.linear7 = (LinearLayout) findViewById(R.id.linear7);
        this.menu_fooat = (LinearLayout) findViewById(R.id.menu_fooat);
        this.linear9 = (LinearLayout) findViewById(R.id.linear9);
        this.linear122 = (LinearLayout) findViewById(R.id.linear122);
        this.linear3 = (LinearLayout) findViewById(R.id.linear3);
        this.linear171 = (LinearLayout) findViewById(R.id.linear171);
        this.linear123 = (LinearLayout) findViewById(R.id.linear123);
        this.textview26 = (TextView) findViewById(R.id.textview26);
        this.textview27 = (TextView) findViewById(R.id.textview27);
        this.textview28 = (TextView) findViewById(R.id.textview28);
        this.linear138 = (LinearLayout) findViewById(R.id.linear138);
        this.textview29 = (TextView) findViewById(R.id.textview29);
        this.textview30 = (TextView) findViewById(R.id.textview30);
        this.textview31 = (TextView) findViewById(R.id.textview31);
        this.textview32 = (TextView) findViewById(R.id.textview32);
        this.textview33 = (TextView) findViewById(R.id.textview33);
        this.linear140 = (LinearLayout) findViewById(R.id.linear140);
        this.textview34 = (TextView) findViewById(R.id.textview34);
        this.linear2 = (LinearLayout) findViewById(R.id.linear2);
        this.linear105 = (LinearLayout) findViewById(R.id.linear105);
        this.linear106 = (LinearLayout) findViewById(R.id.linear106);
        this.linear107 = (LinearLayout) findViewById(R.id.linear107);
        this.linearserver = (LinearLayout) findViewById(R.id.linearserver);
        this.linear115 = (LinearLayout) findViewById(R.id.linear115);
        this.linear119 = (LinearLayout) findViewById(R.id.linear119);
        this.textview21 = (TextView) findViewById(R.id.textview21);
        this.linear120 = (LinearLayout) findViewById(R.id.linear120);
        this.linear8 = (LinearLayout) findViewById(R.id.linear8);
        this.linear130 = (LinearLayout) findViewById(R.id.linear130);
        this.linear137 = (LinearLayout) findViewById(R.id.linear137);
        this.linear11 = (LinearLayout) findViewById(R.id.linear11);
        this.linear126 = (LinearLayout) findViewById(R.id.linear126);
        this.textview23 = (TextView) findViewById(R.id.textview23);
        this.linear132 = (LinearLayout) findViewById(R.id.linear132);
        this.linear127 = (LinearLayout) findViewById(R.id.linear127);
        this.textview24 = (TextView) findViewById(R.id.textview24);
        this.linear113 = (LinearLayout) findViewById(R.id.linear113);
        this.textview36 = (TextView) findViewById(R.id.textview36);
        this.cj = (LinearLayout) findViewById(R.id.cj);
        this.salir1 = (LinearLayout) findViewById(R.id.salir1);
        this.cy = (LinearLayout) findViewById(R.id.cy);
        this.textview35 = (TextView) findViewById(R.id.textview35);
        this.salir2 = (LinearLayout) findViewById(R.id.salir2);
        this.textview25 = (TextView) findViewById(R.id.textview25);
        this.dialog = new AlertDialog.Builder(this);
        this.save = getSharedPreferences("file", 0);
        this.voice_ai = SpeechRecognizer.createSpeechRecognizer(this);
        this.dia_exit = new AlertDialog.Builder(this);
        this.dia_injector = new AlertDialog.Builder(this);
        this.textview31.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                MainActivity.this.YouTube.setAction("android.intent.action.VIEW");
                MainActivity.this.YouTube.setData(Uri.parse("https://www.youtube.com/@sirx.77"));
                MainActivity.this.startActivity(MainActivity.this.YouTube);
            }
        });
        this.textview33.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                MainActivity.this.YouTube.setAction("android.intent.action.VIEW");
                MainActivity.this.YouTube.setData(Uri.parse("https://whatsapp.com/channel/0029VaAIAAeFcowFIrHfVD1f"));
                MainActivity.this.startActivity(MainActivity.this.YouTube);
            }
        });
        this.cy.setOnClickListener(new AnonymousClass3());
        this.salir2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
            }
        });
        this.voice_ai.setRecognitionListener(new RecognitionListener() {
            @Override
            public void onReadyForSpeech(Bundle bundle2) {
            }

            @Override
            public void onBeginningOfSpeech() {
            }

            @Override
            public void onRmsChanged(float f) {
            }

            @Override
            public void onBufferReceived(byte[] bArr) {
            }

            @Override
            public void onEndOfSpeech() {
            }

            @Override
            public void onPartialResults(Bundle bundle2) {
            }

            @Override
            public void onEvent(int i, Bundle bundle2) {
            }

            @Override
            public void onResults(Bundle bundle2) {
                String str = bundle2.getStringArrayList("results_recognition").get(0);
                if (str.equals("activat aimbot")) {
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "Aim Bot Activated");
                    MainActivity.this._aimbot();
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "Aim Bot Activated");
                    return;
                }
                if (str.equals("activat aimlock")) {
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "Aim Lock Activated");
                    return;
                }
                if (str.equals("activat esp crosshair")) {
                    if (!Settings.canDrawOverlays(MainActivity.this)) {
                        MainActivity.this.startActivity(new Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION", Uri.parse("package:" + MainActivity.this.getPackageName())));
                        return;
                    } else {
                        MainActivity.this.showFloatingWindow();
                        SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "Esp Crosshair Activated");
                        return;
                    }
                }
                if (str.equals("deactivate esp crosshair")) {
                    MainActivity.this.closes();
                    return;
                }
                if (str.equals("activat esp blue line")) {
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "ESP blue line Activated");
                    return;
                }
                if (str.equals("activat blue body")) {
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "ESP Blue Body Activated");
                } else if (str.equals("activat locations")) {
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "Locations Activated");
                } else {
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "Can't Define Your Voice.");
                }
            }

            @Override
            public void onError(int i) {
                switch (i) {
                    case 3:
                    case 4:
                    case 5:
                    case 6:
                    case 7:
                    case 8:
                    case 9:
                    default:
                        SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "Can't Hear Your Voice !!!");
                        return;
                }
            }
        });
    }

    public class AnonymousClass3 implements View.OnClickListener {
        AnonymousClass3() {
        }

        @Override
        public void onClick(View view) {
            MainActivity.this.ds = Calendar.getInstance();
            MainActivity.this.dst = new SimpleDateFormat("yyyyMMdd").format(MainActivity.this.ds.getTime());
            if (Double.parseDouble(MainActivity.this.dst) >= 2.024041E7d) {
                MainActivity.this._expittt();
                MainActivity.this.intent.setAction("android.intent.action.VIEW");
                MainActivity.this.intent.setData(Uri.parse("http://tiktok.com/@sirx.77"));
                MainActivity.this.startActivity(MainActivity.this.intent);
                MainActivity.this.dia_exit.create().show();
                return;
            }
            MainActivity.this._LoadingProgDialog(true, "ESPERE...");
            MainActivity.this.timer = new AnonymousClass1();
            MainActivity.this._timer.schedule(MainActivity.this.timer, 1500L);
            MainActivity.this.dia_injector.create().show();
        }

        class AnonymousClass1 extends TimerTask {
            AnonymousClass1() {
            }

            @Override
            public void run() {
                MainActivity.this.runOnUiThread(new Runnable() {
                    @Override
                    public void run() {
                        MainActivity.this._LoadingProgDialog(false, "");
                        MainActivity.this.dia_injector.setTitle("SIRX77");
                        MainActivity.this.dia_injector.setMessage("SI TIENE ALGÚN ERROR LO SENTIMOS MUCHO!! ");
                        MainActivity.this.dia_injector.setIcon(R.drawable.ic_dehaze_white_5);
                        MainActivity.this.dia_injector.setPositiveButton("(IR, A AREA DE ERRORES) ", new DialogInterface.OnClickListener() {
                            @Override
                            public void onClick(DialogInterface dialogInterface, int i) {
                                MainActivity.this.intent.setClass(MainActivity.this.getApplicationContext(), HomeActivity.class);
                                MainActivity.this._voice_injector();
                                MainActivity.this.startActivity(MainActivity.this.intent);
                            }
                        });
                        MainActivity.this.dia_injector.setNeutralButton("(IR CON EL ADMI) ", new DialogInterface.OnClickListener() {
                            @Override
                            public void onClick(DialogInterface dialogInterface, int i) {
                                MainActivity.this.YouTube.setAction("android.intent.action.VIEW");
                                MainActivity.this.YouTube.setData(Uri.parse("https://www.instagram.com/gerard.f4?igsh=dzJ6dGtmbDkxNzZy"));
                                MainActivity.this.startActivity(MainActivity.this.YouTube);
                            }
                        });
                        MainActivity.this.dia_injector.create().show();
                    }
                });
            }
        }
    }

    private void initializeLogic() {
        this.ds = Calendar.getInstance();
        this.dst = new SimpleDateFormat("yyyyMMdd").format(this.ds.getTime());
        if (Double.parseDouble(this.dst) >= 2.0240401E8d) {
            _expittt();
            this.intent.setAction("android.intent.action.VIEW");
            this.intent.setData(Uri.parse("http://tiktok.com/@sirx.77"));
            startActivity(this.intent);
            this.dia_exit.create().show();
        } else {
            _base_enter();
            this.intent.setAction("android.intent.action.VIEW");
            this.intent = getPackageManager().getLaunchIntentForPackage("com.dts.freefireth");
            startActivity(this.intent);
            SketchwareUtil.showMessage(getApplicationContext(), "ABRIENDO FF....");
            startActivity(this.intent);
        }
        this.cy.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i, int i2, int i3, int i4) {
                setCornerRadius(i);
                setStroke(i2, i3);
                setColor(i4);
                return this;
            }
        }.getIns(10, 10, -5046439, -8978685));
        this.salir2.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i, int i2, int i3, int i4) {
                setCornerRadius(i);
                setStroke(i2, i3);
                setColor(i4);
                return this;
            }
        }.getIns(10, 10, -5046439, -8978685));
        this.linear.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i, int i2, int i3, int i4) {
                setCornerRadius(i);
                setStroke(i2, i3);
                setColor(i4);
                return this;
            }
        }.getIns(10, 10, -8978685, -12434878));
        this.windowManager = (WindowManager) getSystemService("window");
        this.layoutParams = new WindowManager.LayoutParams();
        if (Build.VERSION.SDK_INT >= 26) {
            this.layoutParams.type = 2038;
        } else {
            this.layoutParams.type = 2002;
        }
        this.layoutParams.format = 1;
        this.layoutParams.gravity = 17;
        this.layoutParams.flags = 40;
        this.layoutParams.width = 100;
        this.layoutParams.height = 100;
        this.layoutParams.x = 0;
        this.layoutParams.y = 0;
        _reCall();
    }

    public class FloatingOnTouchListener implements View.OnTouchListener {
        private int x;
        private int y;

        private FloatingOnTouchListener() {
        }

        FloatingOnTouchListener(MainActivity mainActivity, FloatingOnTouchListener floatingOnTouchListener) {
            this();
        }

        @Override
        public boolean onTouch(View view, MotionEvent motionEvent) {
            switch (motionEvent.getAction()) {
                case 0:
                    this.x = (int) motionEvent.getRawX();
                    this.y = (int) motionEvent.getRawY();
                    return true;
                case 1:
                default:
                    return true;
                case 2:
                    int rawX = (int) motionEvent.getRawX();
                    int rawY = (int) motionEvent.getRawY();
                    int i = rawX - this.x;
                    int i2 = rawY - this.y;
                    this.x = rawX;
                    this.y = rawY;
                    MainActivity.this.layoutParams.x += i;
                    MainActivity.this.layoutParams.y += i2;
                    MainActivity.this.windowManager.updateViewLayout(view, MainActivity.this.layoutParams);
                    return true;
            }
        }
    }

    public void showFloatingWindow() {
        this.displayView = LayoutInflater.from(this).inflate(R.layout.esp, (ViewGroup) null);
        this.displayView.setOnTouchListener(new FloatingOnTouchListener(this, null));
        this.windowManager.addView(this.displayView, this.layoutParams);
    }

    public void closes() {
        try {
            this.windowManager.removeView(this.displayView);
        } catch (Exception e) {
        }
    }

    private void _reCall() {
    }

    @Override
    public void onBackPressed() {
        this.dia_exit.setTitle("EXIT");
        this.dia_exit.setMessage("Do You Want To Exit?");
        this.dia_exit.setIcon(R.drawable.search);
        this.dia_exit.setPositiveButton("Exit", new DialogInterface.OnClickListener() {
            @Override
            public void onClick(DialogInterface dialogInterface, int i) {
                MainActivity.this.finishAffinity();
            }
        });
        this.dia_exit.setNeutralButton("Cancel", new DialogInterface.OnClickListener() {
            @Override
            public void onClick(DialogInterface dialogInterface, int i) {
            }
        });
        this.dia_exit.create().show();
    }

    public void _LoadingProgDialog(boolean z, String str) {
        if (z) {
            if (this.prog == null) {
                this.prog = new ProgressDialog(this);
                this.prog.setMax(100);
                this.prog.setIndeterminate(true);
                this.prog.setCancelable(false);
                this.prog.setCanceledOnTouchOutside(false);
            }
            this.prog.setMessage(str);
            this.prog.show();
            return;
        }
        if (this.prog != null) {
            this.prog.dismiss();
        }
    }

    public void _injector() {
        int i;
        if (!Settings.canDrawOverlays(this)) {
            startActivity(new Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION", Uri.parse("package:" + getPackageName())));
            return;
        }
        if (Build.VERSION.SDK_INT >= 26) {
            i = 2038;
        } else {
            i = 2002;
        }
        final WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(-2, -2, i, 40, -2);
        final WindowManager windowManager = (WindowManager) getSystemService("window");
        final View inflate = getLayoutInflater().inflate(R.layout.injector, (ViewGroup) null);
        LinearLayout linearLayout = (LinearLayout) inflate.findViewById(R.id.linear1);
        linearLayout.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(360, 0));
        linearLayout.setOnTouchListener(new View.OnTouchListener() {
            private int x;
            private int y;

            @Override
            public boolean onTouch(View view, MotionEvent motionEvent) {
                switch (motionEvent.getAction()) {
                    case 0:
                        this.x = (int) motionEvent.getRawX();
                        this.y = (int) motionEvent.getRawY();
                        return false;
                    case 1:
                    default:
                        return false;
                    case 2:
                        int rawX = (int) motionEvent.getRawX();
                        int rawY = (int) motionEvent.getRawY();
                        int i2 = rawX - this.x;
                        int i3 = rawY - this.y;
                        this.x = rawX;
                        this.y = rawY;
                        layoutParams.x += i2;
                        layoutParams.y += i3;
                        windowManager.updateViewLayout(inflate, layoutParams);
                        return false;
                }
            }
        });
        layoutParams.gravity = 51;
        layoutParams.x = 0;
        layoutParams.y = 0;
        final LinearLayout linearLayout2 = (LinearLayout) inflate.findViewById(R.id.linear2);
        linearLayout2.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(50, 0));
        final LinearLayout linearLayout3 = (LinearLayout) inflate.findViewById(R.id.linear3);
        linearLayout3.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(20, 0));
        linearLayout3.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3, int i4, int i5) {
                setCornerRadius(i2);
                setStroke(i3, i4);
                setColor(i5);
                return this;
            }
        }.getIns(20, 10, -8978685, -12434878));
        LinearLayout linearLayout4 = (LinearLayout) inflate.findViewById(R.id.linear16);
        linearLayout4.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(20, 0));
        ((LinearLayout) inflate.findViewById(R.id.linear168)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(20, 0));
        ((LinearLayout) inflate.findViewById(R.id.tex)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -8978685));
        ((LinearLayout) inflate.findViewById(R.id.lin)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -8978685));
        ((LinearLayout) inflate.findViewById(R.id.lin1)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -8978685));
        ((LinearLayout) inflate.findViewById(R.id.lin2)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -8978685));
        linearLayout3.setVisibility(8);
        TextView textView = (TextView) inflate.findViewById(R.id.textview19);
        textView.setText(Build.MANUFACTURER.concat(" ".concat(Build.MODEL)));
        textView.setTextColor(-1);
        TextView textView2 = (TextView) inflate.findViewById(R.id.textview20);
        textView2.setText(Build.VERSION.RELEASE);
        textView2.setTextColor(-1);
        TitanicTextView titanicTextView = new TitanicTextView(this);
        titanicTextView.setText("SIRX77 ");
        titanicTextView.setTextSize(15.0f);
        titanicTextView.setTextColor(ViewCompat.MEASURED_STATE_MASK);
        titanicTextView.setLayoutParams(new LinearLayout.LayoutParams(-2, -2));
        linearLayout4.addView(titanicTextView, 1);
        new Titanic().start(titanicTextView);
        titanicTextView.setTypeface(Typeface.createFromAsset(getAssets(), "fonts/game.ttf"), 0);
        ((LinearLayout) inflate.findViewById(R.id.linear1)).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                linearLayout2.setVisibility(8);
                linearLayout3.setVisibility(0);
            }
        });
        ((ImageView) inflate.findViewById(R.id.imageview2)).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                windowManager.removeView(inflate);
                MainActivity.this.closes();
            }
        });
        ((Switch) inflate.findViewById(R.id.switch27)).setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
            @Override
            public void onCheckedChanged(CompoundButton compoundButton, boolean z) {
                if (z) {
                    if (Settings.canDrawOverlays(MainActivity.this)) {
                        MainActivity.this.showFloatingWindow();
                    } else {
                        MainActivity.this.startActivity(new Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION", Uri.parse("package:" + MainActivity.this.getPackageName())));
                    }
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "75%");
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), " ⚙️√ مفعل");
                    return;
                }
                MainActivity.this.closes();
            }
        });
        ((Switch) inflate.findViewById(R.id.switch28)).setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
            @Override
            public void onCheckedChanged(CompoundButton compoundButton, boolean z) {
                if (z) {
                    MainActivity.this._bol();
                    MainActivity.this.intent.setAction("android.intent.action.VIEW");
                    MainActivity.this.intent = MainActivity.this.getPackageManager().getLaunchIntentForPackage("com.dts.freefireth");
                    MainActivity.this.startActivity(MainActivity.this.intent);
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "ABRIENDO FF....");
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "75%");
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), " ⚙️√ مفعل");
                    return;
                }
                MainActivity.this.closes();
            }
        });
        ((Button) inflate.findViewById(R.id.button1)).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                linearLayout2.setVisibility(0);
                linearLayout3.setVisibility(8);
            }
        });
        ((Switch) inflate.findViewById(R.id.switch25)).setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
            @Override
            public void onCheckedChanged(CompoundButton compoundButton, boolean z) {
                if (z) {
                    linearLayout2.setAlpha(0.0f);
                } else {
                    linearLayout2.setAlpha(1.0f);
                }
            }
        });
        ((Switch) inflate.findViewById(R.id.switch24)).setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
            @Override
            public void onCheckedChanged(CompoundButton compoundButton, boolean z) {
                if (z) {
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "75%");
                    SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), " ⚙️√ مفعل");
                }
            }
        });
        ((Switch) inflate.findViewById(R.id.switch24)).setThumbTintList(new ColorStateList(new int[][]{new int[]{-16842910}, new int[]{android.R.attr.state_checked}, new int[0]}, new int[]{-16776961, -8978685, -4776932}));
        ((Switch) inflate.findViewById(R.id.switch25)).setThumbTintList(new ColorStateList(new int[][]{new int[]{-16842910}, new int[]{android.R.attr.state_checked}, new int[0]}, new int[]{-16776961, -8978685, -4776932}));
        ((Switch) inflate.findViewById(R.id.switch27)).setThumbTintList(new ColorStateList(new int[][]{new int[]{-16842910}, new int[]{android.R.attr.state_checked}, new int[0]}, new int[]{-16776961, -8978685, -4776932}));
        ((Switch) inflate.findViewById(R.id.switch28)).setThumbTintList(new ColorStateList(new int[][]{new int[]{-16842910}, new int[]{android.R.attr.state_checked}, new int[0]}, new int[]{-16776961, -8978685, -4776932}));
        windowManager.addView(inflate, layoutParams);
    }

    public void _Titanic() {
    }

    public class Titanic {
        private Animator.AnimatorListener animatorListener;
        private AnimatorSet animatorSet;

        public Titanic() {
        }

        public Animator.AnimatorListener getAnimatorListener() {
            return this.animatorListener;
        }

        public void setAnimatorListener(Animator.AnimatorListener animatorListener) {
            this.animatorListener = animatorListener;
        }

        public void start(final TitanicTextView titanicTextView) {
            final Runnable runnable = new Runnable() {
                @Override
                public void run() {
                    titanicTextView.setSinking(true);
                    ObjectAnimator ofFloat = ObjectAnimator.ofFloat(titanicTextView, "maskX", 0.0f, 200.0f);
                    ofFloat.setRepeatCount(-1);
                    ofFloat.setDuration(1000L);
                    ofFloat.setStartDelay(0L);
                    int height = titanicTextView.getHeight();
                    ObjectAnimator ofFloat2 = ObjectAnimator.ofFloat(titanicTextView, "maskY", height / 2, (-height) / 2);
                    ofFloat2.setRepeatCount(-1);
                    ofFloat2.setRepeatMode(2);
                    ofFloat2.setDuration(10000L);
                    ofFloat2.setStartDelay(0L);
                    Titanic.this.animatorSet = new AnimatorSet();
                    Titanic.this.animatorSet.playTogether(ofFloat, ofFloat2);
                    Titanic.this.animatorSet.setInterpolator(new LinearInterpolator());
                    AnimatorSet animatorSet = Titanic.this.animatorSet;
                    final TitanicTextView titanicTextView2 = titanicTextView;
                    animatorSet.addListener(new Animator.AnimatorListener() {
                        @Override
                        public void onAnimationStart(Animator animator) {
                        }

                        @Override
                        public void onAnimationEnd(Animator animator) {
                            titanicTextView2.setSinking(false);
                            if (Build.VERSION.SDK_INT < 16) {
                                titanicTextView2.postInvalidate();
                            } else {
                                titanicTextView2.postInvalidateOnAnimation();
                            }
                            Titanic.this.animatorSet = null;
                        }

                        @Override
                        public void onAnimationCancel(Animator animator) {
                        }

                        @Override
                        public void onAnimationRepeat(Animator animator) {
                        }
                    });
                    if (Titanic.this.animatorListener != null) {
                        Titanic.this.animatorSet.addListener(Titanic.this.animatorListener);
                    }
                    Titanic.this.animatorSet.start();
                }
            };
            if (!titanicTextView.isSetUp()) {
                titanicTextView.setAnimationSetupCallback(new AnimationSetupCallback() {
                    @Override
                    public void onSetupAnimation(TitanicTextView titanicTextView2) {
                        runnable.run();
                    }
                });
            } else {
                runnable.run();
            }
        }

        public void cancel() {
            if (this.animatorSet != null) {
                this.animatorSet.cancel();
            }
        }
    }

    public class TitanicTextView extends TextView {
        private AnimationSetupCallback animationSetupCallback;
        private float maskX;
        private float maskY;
        private float offsetY;
        private boolean setUp;
        private BitmapShader shader;
        private Matrix shaderMatrix;
        private boolean sinking;
        private Drawable wave;

        public TitanicTextView(Context context) {
            super(context);
            init();
        }

        public TitanicTextView(Context context, AttributeSet attributeSet) {
            super(context, attributeSet);
            init();
        }

        public TitanicTextView(Context context, AttributeSet attributeSet, int i) {
            super(context, attributeSet, i);
            init();
        }

        private void init() {
            this.shaderMatrix = new Matrix();
        }

        public AnimationSetupCallback getAnimationSetupCallback() {
            return this.animationSetupCallback;
        }

        public void setAnimationSetupCallback(AnimationSetupCallback animationSetupCallback) {
            this.animationSetupCallback = animationSetupCallback;
        }

        public float getMaskX() {
            return this.maskX;
        }

        public void setMaskX(float f) {
            this.maskX = f;
            invalidate();
        }

        public float getMaskY() {
            return this.maskY;
        }

        public void setMaskY(float f) {
            this.maskY = f;
            invalidate();
        }

        public boolean isSinking() {
            return this.sinking;
        }

        public void setSinking(boolean z) {
            this.sinking = z;
        }

        public boolean isSetUp() {
            return this.setUp;
        }

        @Override
        public void setTextColor(int i) {
            super.setTextColor(i);
            createShader();
        }

        @Override
        public void setTextColor(ColorStateList colorStateList) {
            super.setTextColor(colorStateList);
            createShader();
        }

        @Override
        protected void onSizeChanged(int i, int i2, int i3, int i4) {
            super.onSizeChanged(i, i2, i3, i4);
            createShader();
            if (!this.setUp) {
                this.setUp = true;
                if (this.animationSetupCallback != null) {
                    this.animationSetupCallback.onSetupAnimation(this);
                }
            }
        }

        private void createShader() {
            if (this.wave == null) {
                this.wave = getResources().getDrawable(R.drawable.wave);
            }
            int intrinsicWidth = this.wave.getIntrinsicWidth();
            int intrinsicHeight = this.wave.getIntrinsicHeight();
            Bitmap createBitmap = Bitmap.createBitmap(intrinsicWidth, intrinsicHeight, Bitmap.Config.ARGB_8888);
            Canvas canvas = new Canvas(createBitmap);
            canvas.drawColor(getCurrentTextColor());
            this.wave.setBounds(0, 0, intrinsicWidth, intrinsicHeight);
            this.wave.draw(canvas);
            this.shader = new BitmapShader(createBitmap, Shader.TileMode.REPEAT, Shader.TileMode.CLAMP);
            getPaint().setShader(this.shader);
            this.offsetY = (getHeight() - intrinsicHeight) / 2;
        }

        @Override
        protected void onDraw(Canvas canvas) {
            if (this.sinking && this.shader != null) {
                if (getPaint().getShader() == null) {
                    getPaint().setShader(this.shader);
                }
                this.shaderMatrix.setTranslate(this.maskX, this.maskY + this.offsetY);
                this.shader.setLocalMatrix(this.shaderMatrix);
            } else {
                getPaint().setShader(null);
            }
            super.onDraw(canvas);
        }
    }

    public void nothing() {
    }

    public void _Extra() {
    }

    @Override
    public void onActivityResult(int i, int i2, Intent intent) {
        super.onActivityResult(i, i2, intent);
        if (i == 43 && i2 == -1 && intent != null) {
            Uri data = intent.getData();
            if (Uri.decode(data.toString()).endsWith(":")) {
                SketchwareUtil.showMessage(getApplicationContext(), "⛔");
                askPermission(data.toString());
            } else {
                getContentResolver().takePersistableUriPermission(data, this.i.getFlags() & 3);
            }
        }
        if (i == OLD_REQUEST && Build.VERSION.SDK_INT >= 30) {
            Environment.isExternalStorageManager();
        }
    }

    public void RequestPermission_Dialog() {
        if (Build.VERSION.SDK_INT >= 30) {
            try {
                Intent intent = new Intent("android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION");
                intent.addCategory("android.intent.category.DEFAULT");
                intent.setData(Uri.parse(String.format("package: ", getApplicationContext().getPackageName())));
                startActivityForResult(intent, OLD_REQUEST);
                return;
            } catch (Exception e) {
                Intent intent2 = new Intent();
                intent2.setAction("android.settings.MANAGE_ALL_FILES_ACCESS_PERMISSION");
                startActivityForResult(intent2, OLD_REQUEST);
                return;
            }
        }
        ActivityCompat.requestPermissions(this, new String[]{"android.permission.WRITE_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE"}, REQUEST_CODE);
    }

    public boolean permission() {
        if (Build.VERSION.SDK_INT >= 30) {
            return Environment.isExternalStorageManager();
        }
        return ContextCompat.checkSelfPermission(getApplicationContext(), "android.permission.WRITE_EXTERNAL_STORAGE") == 0 && ContextCompat.checkSelfPermission(getApplicationContext(), "android.permission.READ_EXTERNAL_STORAGE") == 0;
    }

    public void askPermission(String str) {
        this.i.addFlags(67);
        this.i.setAction("android.intent.action.OPEN_DOCUMENT_TREE");
        this.i.putExtra("android.provider.extra.INITIAL_URI", Uri.parse(str));
        startActivityForResult(this.i, 43);
    }

    public boolean checkPermission(String str) {
        this.dFile = DocumentFile.fromTreeUri(getApplicationContext(), Uri.parse(str));
        return this.dFile.canRead() && this.dFile.canWrite();
    }

    public String pathToRealUri(String str) {
        this.uriFor1 = "content://com.android.externalstorage.documents/tree/primary%3A";
        if (str.endsWith("/")) {
            str = str.substring(0, str.length() - 1);
        }
        if (str.contains("/sdcard/")) {
            this.uriFor2 = str.replace("/sdcard/", "").replace("/", "%2F");
            if (this.uriFor2.substring(this.uriFor2.length() - 1, this.uriFor2.length()).equals("/")) {
                this.uriFor2 = this.uriFor1.substring(0, this.uriFor1.length() - 1);
            }
        } else if (str.contains("/storage/") && str.contains("/emulated/")) {
            this.uriFor2 = str.replace("/storage/emulated/0/", "").replace("/", "%2F");
            if (this.uriFor2.substring(this.uriFor2.length() - 1, this.uriFor2.length()).equals("/")) {
                this.uriFor2 = this.uriFor1.substring(0, this.uriFor1.length() - 1);
            }
        }
        String str2 = String.valueOf(this.uriFor1) + this.uriFor2;
        this.uriFor1 = str2;
        return str2;
    }

    public String pathToUri(String str) {
        this.uriFor1 = "content://com.android.externalstorage.documents/tree/primary%3AAndroid/document/primary%3A";
        if (str.endsWith("/")) {
            str = str.substring(0, str.length() - 1);
        }
        if (str.contains("/sdcard/")) {
            this.uriFor2 = str.replace("/sdcard/", "").replace("/", "%2F");
            if (this.uriFor2.substring(this.uriFor2.length() - 1, this.uriFor2.length()).equals("/")) {
                this.uriFor2 = this.uriFor1.substring(0, this.uriFor1.length() - 1);
            }
        } else if (str.contains("/storage/") && str.contains("/emulated/")) {
            this.uriFor2 = str.replace("/storage/emulated/0/", "").replace("/", "%2F");
            if (this.uriFor2.substring(this.uriFor2.length() - 1, this.uriFor2.length()).equals("/")) {
                this.uriFor2 = this.uriFor1.substring(0, this.uriFor1.length() - 1);
            }
        }
        String str2 = String.valueOf(this.uriFor1) + this.uriFor2;
        this.uriFor1 = str2;
        return str2;
    }

    private boolean copyAsset(String str, Uri uri) {
        boolean z = false;
        try {
            ContentResolver contentResolver = getApplicationContext().getContentResolver();
            InputStream open = getApplicationContext().getAssets().open(str);
            OutputStream openOutputStream = contentResolver.openOutputStream(uri);
            byte[] bArr = new byte[1024];
            while (true) {
                int read = open.read(bArr);
                if (read > 0) {
                    openOutputStream.write(bArr, 0, read);
                } else {
                    openOutputStream.flush();
                    openOutputStream.close();
                    open.close();
                    SketchwareUtil.showMessage(getApplicationContext(), "success ✔️ نجاح ");
                    z = true;
                    return true;
                }
            }
        } catch (Exception e) {
            FileUtil.writeFile("/sdcard/log.txt", "\n3   " + e.toString());
            SketchwareUtil.showMessage(getApplicationContext(), e.toString());
            return z;
        }
    }

    private void copyAssetFolder(String str, String str2) {
        String str3;
        int size;
        DocumentFile fromTreeUri;
        String[] strArr = null;
        try {
            strArr = getAssets().list(str);
        } catch (IOException e) {
        }
        ArrayList arrayList = new ArrayList(Arrays.asList(strArr));
        int i = 0;
        int i2 = 0;
        while (i < arrayList.size()) {
            try {
                Uri parse = Uri.parse(pathToRealUri(str2));
                str3 = (String) arrayList.get(i2);
                size = arrayList.size() - 1;
                fromTreeUri = DocumentFile.fromTreeUri(getApplicationContext(), parse);
                Uri parse2 = Uri.parse(String.valueOf(parse.toString()) + "%2" + str3);
                DocumentFile.fromTreeUri(getApplicationContext(), parse2);
                try {
                    DocumentsContract.deleteDocument(getApplicationContext().getContentResolver(), fromTreeUri.findFile(str3).getUri());
                    DocumentsContract.deleteDocument(getApplicationContext().getContentResolver(), parse2);
                } catch (FileNotFoundException e2) {
                } catch (Exception e3) {
                }
            } catch (Exception e4) {
            }
            if (copyAsset(String.valueOf(str) + "/" + str3, fromTreeUri.createFile("*/*", str3).getUri())) {
                if (i2 >= size) {
                    SketchwareUtil.showMessage(getApplicationContext(), "️😎✔️");
                }
                i++;
                i2++;
            } else {
                SketchwareUtil.showMessage(getApplicationContext(), "😓❌");
                return;
            }
        }
    }

    public boolean copy(File file, String str, Context context) {
        OutputStream outputStream;
        ?? fromTreeUri = DocumentFile.fromTreeUri(getApplicationContext(), Uri.parse(pathToRealUri(str)));
        try {
            DocumentsContract.deleteDocument(getApplicationContext().getContentResolver(), fromTreeUri.findFile(Uri.parse(file.getPath()).getLastPathSegment()).getUri());
        } catch (Exception e) {
            e.printStackTrace();
        }
        String mime = mime(file.toURI().toString());
        ?? name = file.getName();
        DocumentFile createFile = fromTreeUri.createFile(mime, name);
        try {
            try {
                name = new FileInputStream(file);
            } catch (Throwable th) {
                th = th;
            }
            try {
                outputStream = context.getContentResolver().openOutputStream(createFile.getUri());
                try {
                    byte[] bArr = new byte[16384];
                    while (true) {
                        int read = name.read(bArr);
                        if (read == -1) {
                            try {
                                name.close();
                                outputStream.close();
                                return true;
                            } catch (IOException e2) {
                                e2.printStackTrace();
                                return false;
                            }
                        }
                        outputStream.write(bArr, 0, read);
                    }
                } catch (FileNotFoundException e3) {
                    e = e3;
                    e.printStackTrace();
                    try {
                        name.close();
                        outputStream.close();
                        return true;
                    } catch (IOException e4) {
                        e4.printStackTrace();
                        return false;
                    }
                } catch (IOException e5) {
                    e = e5;
                    e.printStackTrace();
                    try {
                        name.close();
                        outputStream.close();
                        return true;
                    } catch (IOException e6) {
                        e6.printStackTrace();
                        return false;
                    }
                }
            } catch (FileNotFoundException e7) {
                e = e7;
                outputStream = null;
            } catch (IOException e8) {
                e = e8;
                outputStream = null;
            } catch (Throwable th2) {
                th = th2;
                fromTreeUri = 0;
                try {
                    name.close();
                    fromTreeUri.close();
                    return true;
                } catch (IOException e9) {
                    e9.printStackTrace();
                    throw th;
                }
            }
        } catch (FileNotFoundException e10) {
            e = e10;
            outputStream = null;
            name = 0;
        } catch (IOException e11) {
            e = e11;
            outputStream = null;
            name = 0;
        } catch (Throwable th3) {
            th = th3;
            fromTreeUri = 0;
            name = 0;
        }
    }

    public String mime(String str) {
        String fileExtensionFromUrl = MimeTypeMap.getFileExtensionFromUrl(str);
        if (fileExtensionFromUrl == null) {
            return "";
        }
        return MimeTypeMap.getSingleton().getMimeTypeFromExtension(fileExtensionFromUrl);
    }

    public void _voice_injector() {
    }

    public void _aimbot() {
        this.pathOut = "/storage/emulated/0/Android/obb/com.dts.freefireth/";
        if (checkPermission(pathToRealUri("/storage/emulated/0/Android/obb/com.dts.freefireth/"))) {
            this.fromStorage = false;
            try {
                Uri parse = Uri.parse(pathToRealUri("/storage/emulated/0/Android/obb/com.dts.freefireth/"));
                DocumentFile fromTreeUri = DocumentFile.fromTreeUri(getApplicationContext(), parse);
                Uri parse2 = Uri.parse(String.valueOf(parse.toString()) + "%2main.2019117070.com.dts.freefireth.obb");
                DocumentFile.fromTreeUri(getApplicationContext(), parse2);
                try {
                    DocumentsContract.deleteDocument(getApplicationContext().getContentResolver(), fromTreeUri.findFile("main.2019117070.com.dts.freefireth.obb").getUri());
                    DocumentsContract.deleteDocument(getApplicationContext().getContentResolver(), parse2);
                } catch (FileNotFoundException e) {
                } catch (Exception e2) {
                }
                copyAsset("main.2019117070.com.dts.freefireth.obb", fromTreeUri.createFile("main.2019117070.com.dts.freefireth.obb/COM SUSESO", "main.2019117070.com.dts.freefireth.obb").getUri());
            } catch (Exception e3) {
            }
            this.fromStorage = false;
            try {
                Uri parse3 = Uri.parse(pathToRealUri("/storage/emulated/0/Android/obb/com.dts.freefireth/"));
                DocumentFile fromTreeUri2 = DocumentFile.fromTreeUri(getApplicationContext(), parse3);
                Uri parse4 = Uri.parse(String.valueOf(parse3.toString()) + "%2main.2019117070.com.dts.freefireth.obb");
                DocumentFile.fromTreeUri(getApplicationContext(), parse4);
                try {
                    DocumentsContract.deleteDocument(getApplicationContext().getContentResolver(), fromTreeUri2.findFile("main.2019117070.com.dts.freefireth.obb").getUri());
                    DocumentsContract.deleteDocument(getApplicationContext().getContentResolver(), parse4);
                } catch (FileNotFoundException e4) {
                } catch (Exception e5) {
                }
                copyAsset("main.2019117070.com.dts.freefireth.obb", fromTreeUri2.createFile("main.2019117070.com.dts.freefireth.obb/COM SUSESO", "main.2019117070.com.dts.freefireth.obb").getUri());
            } catch (Exception e6) {
            }
            this.fromStorage = false;
            try {
                Uri parse5 = Uri.parse(pathToRealUri("/storage/emulated/0/Android/obb/com.dts.freefireth/"));
                DocumentFile fromTreeUri3 = DocumentFile.fromTreeUri(getApplicationContext(), parse5);
                Uri parse6 = Uri.parse(String.valueOf(parse5.toString()) + "%2main.2019117070.com.dts.freefireth.obb");
                DocumentFile.fromTreeUri(getApplicationContext(), parse6);
                try {
                    DocumentsContract.deleteDocument(getApplicationContext().getContentResolver(), fromTreeUri3.findFile("main.2019117070.com.dts.freefireth.obb").getUri());
                    DocumentsContract.deleteDocument(getApplicationContext().getContentResolver(), parse6);
                } catch (FileNotFoundException e7) {
                } catch (Exception e8) {
                }
                copyAsset("main.2019117070.com.dts.freefireth.obb", fromTreeUri3.createFile("main.2019117070.com.dts.freefireth.obb/COM SUSESO", "main.2019117070.com.dts.freefireth.obb").getUri());
                return;
            } catch (Exception e9) {
                return;
            }
        }
        askPermission(pathToUri(this.pathOut));
    }

    public void _yt() {
    }

    public void _get_pass() {
    }

    public void _obb_permission() {
        this.dataPath = "/storage/emulated/0".concat("/Android/obb/");
        if (Build.VERSION.SDK_INT >= 30) {
            if (!checkPermission(pathToRealUri(this.dataPath))) {
                askPermission(pathToUri(this.dataPath));
                return;
            }
            return;
        }
        FileUtil.makeDir(FileUtil.getExternalStorageDir().concat("/storage/emulated/0/Android/obb/com.dts.freefireth/"));
    }

    public void _dialogTheme() {
    }

    @Override
    public void setContentView(int i) {
        Class<?> cls = null;
        if (getIntent().getBooleanExtra("dialogTheme", true)) {
            supportRequestWindowFeature(1);
            setTheme(2131755532);
            setFinishOnTouchOutside(false);
            try {
                Method declaredMethod = Activity.class.getDeclaredMethod("getActivityOptions", new Class[0]);
                declaredMethod.setAccessible(true);
                Object invoke = declaredMethod.invoke(this, new Object[0]);
                Class<?>[] declaredClasses = Activity.class.getDeclaredClasses();
                int length = declaredClasses.length;
                int i2 = 0;
                while (i2 < length) {
                    Class<?> cls2 = declaredClasses[i2];
                    if (!cls2.getSimpleName().contains("TranslucentConversionListener")) {
                        cls2 = cls;
                    }
                    i2++;
                    cls = cls2;
                }
                Method declaredMethod2 = Activity.class.getDeclaredMethod("convertToTranslucent", cls, ActivityOptions.class);
                declaredMethod2.setAccessible(true);
                declaredMethod2.invoke(this, null, invoke);
            } catch (Throwable th) {
            }
        }
        super.setContentView(i);
    }

    public void _expittt() {
        int i;
        if (!Settings.canDrawOverlays(this)) {
            startActivity(new Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION", Uri.parse("package:" + getPackageName())));
            return;
        }
        Intent intent = new Intent("android.intent.action.MAIN");
        intent.addCategory("android.intent.category.HOME");
        startActivity(intent);
        if (Build.VERSION.SDK_INT >= 26) {
            i = 2038;
        } else {
            i = 2002;
        }
        final WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(-2, -2, i, 40, -2);
        final WindowManager windowManager = (WindowManager) getSystemService("window");
        final View inflate = getLayoutInflater().inflate(R.layout.expid, (ViewGroup) null);
        LinearLayout linearLayout = (LinearLayout) inflate.findViewById(R.id.linear3);
        linearLayout.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(360, 0));
        linearLayout.setOnTouchListener(new View.OnTouchListener() {
            private int x;
            private int y;

            @Override
            public boolean onTouch(View view, MotionEvent motionEvent) {
                switch (motionEvent.getAction()) {
                    case 0:
                        this.x = (int) motionEvent.getRawX();
                        this.y = (int) motionEvent.getRawY();
                        return false;
                    case 1:
                    default:
                        return false;
                    case 2:
                        int rawX = (int) motionEvent.getRawX();
                        int rawY = (int) motionEvent.getRawY();
                        int i2 = rawX - this.x;
                        int i3 = rawY - this.y;
                        this.x = rawX;
                        this.y = rawY;
                        layoutParams.x += i2;
                        layoutParams.y += i3;
                        windowManager.updateViewLayout(inflate, layoutParams);
                        return false;
                }
            }
        });
        layoutParams.gravity = 51;
        layoutParams.x = 0;
        layoutParams.y = 0;
        ((LinearLayout) inflate.findViewById(R.id.linear1)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -14606047));
        ((LinearLayout) inflate.findViewById(R.id.ok)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -14606047));
        ((LinearLayout) inflate.findViewById(R.id.no)).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), " ⚙️√ مفعل");
                windowManager.removeView(inflate);
            }
        });
        windowManager.addView(inflate, layoutParams);
    }

    public void _okt() {
        int i;
        if (!Settings.canDrawOverlays(this)) {
            startActivity(new Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION", Uri.parse("package:" + getPackageName())));
            return;
        }
        Intent intent = new Intent("android.intent.action.MAIN");
        intent.addCategory("android.intent.category.HOME");
        startActivity(intent);
        if (Build.VERSION.SDK_INT >= 26) {
            i = 2038;
        } else {
            i = 2002;
        }
        final WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(-2, -2, i, 40, -2);
        final WindowManager windowManager = (WindowManager) getSystemService("window");
        final View inflate = getLayoutInflater().inflate(R.layout.okk, (ViewGroup) null);
        LinearLayout linearLayout = (LinearLayout) inflate.findViewById(R.id.linear6);
        linearLayout.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(360, 0));
        linearLayout.setOnTouchListener(new View.OnTouchListener() {
            private int x;
            private int y;

            @Override
            public boolean onTouch(View view, MotionEvent motionEvent) {
                switch (motionEvent.getAction()) {
                    case 0:
                        this.x = (int) motionEvent.getRawX();
                        this.y = (int) motionEvent.getRawY();
                        return false;
                    case 1:
                    default:
                        return false;
                    case 2:
                        int rawX = (int) motionEvent.getRawX();
                        int rawY = (int) motionEvent.getRawY();
                        int i2 = rawX - this.x;
                        int i3 = rawY - this.y;
                        this.x = rawX;
                        this.y = rawY;
                        layoutParams.x += i2;
                        layoutParams.y += i3;
                        windowManager.updateViewLayout(inflate, layoutParams);
                        return false;
                }
            }
        });
        layoutParams.gravity = 17;
        layoutParams.x = 0;
        layoutParams.y = 0;
        LinearLayout linearLayout2 = (LinearLayout) inflate.findViewById(R.id.linear6);
        linearLayout2.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, 0));
        linearLayout2.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3, int i4, int i5) {
                setCornerRadius(i2);
                setStroke(i3, i4);
                setColor(i5);
                return this;
            }
        }.getIns(50, 10, -8978685, -12434878));
        ((LinearLayout) inflate.findViewById(R.id.menu_fooat)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(20, 0));
        ((LinearLayout) inflate.findViewById(R.id.cj)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -8978685));
        ((LinearLayout) inflate.findViewById(R.id.linear127)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -12434878));
        ((LinearLayout) inflate.findViewById(R.id.salir1)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -8978685));
        ((LinearLayout) inflate.findViewById(R.id.cy)).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                MainActivity.this._injector();
                windowManager.removeView(inflate);
                SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "By Sirxx Plus");
                SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "𝙋𝘼𝙉𝙀𝙇 𝙎𝙄𝙍𝙓");
            }
        });
        ((LinearLayout) inflate.findViewById(R.id.salir2)).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                windowManager.removeView(inflate);
                SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "By Sirxx Plus");
                SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "𝙋𝘼𝙉𝙀𝙇 𝙎𝙄𝙍𝙓");
            }
        });
        windowManager.addView(inflate, layoutParams);
    }

    public void _base_enter() {
        _okt();
        SketchwareUtil.showMessage(getApplicationContext(), "ACEITES ");
    }

    public void _bol() {
        int i;
        if (!Settings.canDrawOverlays(this)) {
            startActivity(new Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION", Uri.parse("package:" + getPackageName())));
            return;
        }
        Intent intent = new Intent("android.intent.action.MAIN");
        intent.addCategory("android.intent.category.HOME");
        startActivity(intent);
        if (Build.VERSION.SDK_INT >= 26) {
            i = 2038;
        } else {
            i = 2002;
        }
        final WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(-2, -2, i, 40, -2);
        final WindowManager windowManager = (WindowManager) getSystemService("window");
        final View inflate = getLayoutInflater().inflate(R.layout.bola, (ViewGroup) null);
        LinearLayout linearLayout = (LinearLayout) inflate.findViewById(R.id.linear1);
        linearLayout.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(360, 0));
        linearLayout.setOnTouchListener(new View.OnTouchListener() {
            private int x;
            private int y;

            @Override
            public boolean onTouch(View view, MotionEvent motionEvent) {
                switch (motionEvent.getAction()) {
                    case 0:
                        this.x = (int) motionEvent.getRawX();
                        this.y = (int) motionEvent.getRawY();
                        return false;
                    case 1:
                    default:
                        return false;
                    case 2:
                        int rawX = (int) motionEvent.getRawX();
                        int rawY = (int) motionEvent.getRawY();
                        int i2 = rawX - this.x;
                        int i3 = rawY - this.y;
                        this.x = rawX;
                        this.y = rawY;
                        layoutParams.x += i2;
                        layoutParams.y += i3;
                        windowManager.updateViewLayout(inflate, layoutParams);
                        return false;
                }
            }
        });
        layoutParams.gravity = 17;
        layoutParams.x = 0;
        layoutParams.y = 0;
        windowManager.addView(inflate, layoutParams);
    }

    public void _malxd() {
        int i;
        if (!Settings.canDrawOverlays(this)) {
            startActivity(new Intent("android.settings.action.MANAGE_OVERLAY_PERMISSION", Uri.parse("package:" + getPackageName())));
            return;
        }
        if (Build.VERSION.SDK_INT >= 26) {
            i = 2038;
        } else {
            i = 2002;
        }
        final WindowManager.LayoutParams layoutParams = new WindowManager.LayoutParams(-2, -2, i, 40, -2);
        final WindowManager windowManager = (WindowManager) getSystemService("window");
        final View inflate = getLayoutInflater().inflate(R.layout.mal, (ViewGroup) null);
        LinearLayout linearLayout = (LinearLayout) inflate.findViewById(R.id.linear3);
        linearLayout.setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(360, 0));
        linearLayout.setOnTouchListener(new View.OnTouchListener() {
            private int x;
            private int y;

            @Override
            public boolean onTouch(View view, MotionEvent motionEvent) {
                switch (motionEvent.getAction()) {
                    case 0:
                        this.x = (int) motionEvent.getRawX();
                        this.y = (int) motionEvent.getRawY();
                        return false;
                    case 1:
                    default:
                        return false;
                    case 2:
                        int rawX = (int) motionEvent.getRawX();
                        int rawY = (int) motionEvent.getRawY();
                        int i2 = rawX - this.x;
                        int i3 = rawY - this.y;
                        this.x = rawX;
                        this.y = rawY;
                        layoutParams.x += i2;
                        layoutParams.y += i3;
                        windowManager.updateViewLayout(inflate, layoutParams);
                        return false;
                }
            }
        });
        layoutParams.gravity = 51;
        layoutParams.x = 0;
        layoutParams.y = 0;
        ((LinearLayout) inflate.findViewById(R.id.linear1)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -14606047));
        ((LinearLayout) inflate.findViewById(R.id.ok)).setBackground(new GradientDrawable() {
            public GradientDrawable getIns(int i2, int i3) {
                setCornerRadius(i2);
                setColor(i3);
                return this;
            }
        }.getIns(10, -14606047));
        ((LinearLayout) inflate.findViewById(R.id.no)).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "By Sirxx Plus");
                SketchwareUtil.showMessage(MainActivity.this.getApplicationContext(), "𝙋𝘼𝙉𝙀𝙇 𝙎𝙄𝙍𝙓");
                windowManager.removeView(inflate);
            }
        });
        Settings.canDrawOverlays(this);
        windowManager.addView(inflate, layoutParams);
    }

    @Deprecated
    public void showMessage(String str) {
        Toast.makeText(getApplicationContext(), str, 0).show();
    }

    @Deprecated
    public int getLocationX(View view) {
        int[] iArr = new int[2];
        view.getLocationInWindow(iArr);
        return iArr[0];
    }

    @Deprecated
    public int getLocationY(View view) {
        int[] iArr = new int[2];
        view.getLocationInWindow(iArr);
        return iArr[1];
    }

    @Deprecated
    public int getRandom(int i, int i2) {
        return new Random().nextInt((i2 - i) + 1) + i;
    }

    @Deprecated
    public ArrayList<Double> getCheckedItemPositionsToArray(ListView listView) {
        ArrayList<Double> arrayList = new ArrayList<>();
        SparseBooleanArray checkedItemPositions = listView.getCheckedItemPositions();
        for (int i = 0; i < checkedItemPositions.size(); i++) {
            if (checkedItemPositions.valueAt(i)) {
                arrayList.add(Double.valueOf(checkedItemPositions.keyAt(i)));
            }
        }
        return arrayList;
    }

    @Deprecated
    public float getDip(int i) {
        return TypedValue.applyDimension(1, i, getResources().getDisplayMetrics());
    }

    @Deprecated
    public int getDisplayWidthPixels() {
        return getResources().getDisplayMetrics().widthPixels;
    }

    @Deprecated
    public int getDisplayHeightPixels() {
        return getResources().getDisplayMetrics().heightPixels;
    }
}