Americanas v1.0版本的 MD5 值为:6a2e3056bcc3046cb95ac9ee4a935d3c
以下内容为反编译后的 AjustesActivity.java 源代码,内容仅作参考
package painel.ajuste.game;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.TaskStackBuilder;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.GradientDrawable;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.util.SparseBooleanArray;
import android.util.TypedValue;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.animation.ScaleAnimation;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.PopupMenu;
import android.widget.ScrollView;
import android.widget.SeekBar;
import android.widget.Switch;
import android.widget.TextView;
import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.app.NotificationCompat;
import java.util.ArrayList;
import java.util.Random;
public class AjustesActivity extends AppCompatActivity {
private ImageView imageview1;
private ImageView imageview2;
private ImageView imageview3;
private LinearLayout linear1;
private LinearLayout linear18;
private LinearLayout linear2;
private LinearLayout linear21;
private LinearLayout linear22;
private LinearLayout linear23;
private LinearLayout linear24;
private LinearLayout linear25;
private LinearLayout linear26;
private LinearLayout linear27;
private LinearLayout linear28;
private LinearLayout linear29;
private LinearLayout linear30;
private LinearLayout linear31;
private LinearLayout linear32;
private LinearLayout linear35;
private LinearLayout linear4;
private LinearLayout linear5;
private LinearLayout linear6;
private SeekBar seekbar1;
private SeekBar seekbar2;
private SeekBar seekbar3;
private SeekBar seekbar4;
private SeekBar seekbar5;
private SeekBar seekbar6;
private SeekBar seekbar7;
private Switch switch2;
private TextView textview1;
private TextView textview10;
private TextView textview11;
private TextView textview12;
private TextView textview13;
private TextView textview14;
private TextView textview15;
private TextView textview16;
private TextView textview17;
private TextView textview18;
private TextView textview19;
private TextView textview22;
private ScrollView vscroll1;
private double on = 0.0d;
private Intent i = new Intent();
private Intent nova = new Intent();
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(R.layout.ajustes);
initialize(bundle);
initializeLogic();
}
private void initialize(Bundle bundle) {
this.linear1 = (LinearLayout) findViewById(R.id.linear1);
this.linear2 = (LinearLayout) findViewById(R.id.linear2);
this.linear4 = (LinearLayout) findViewById(R.id.linear4);
this.imageview3 = (ImageView) findViewById(R.id.imageview3);
this.imageview1 = (ImageView) findViewById(R.id.imageview1);
this.imageview2 = (ImageView) findViewById(R.id.imageview2);
this.vscroll1 = (ScrollView) findViewById(R.id.vscroll1);
this.linear5 = (LinearLayout) findViewById(R.id.linear5);
this.linear6 = (LinearLayout) findViewById(R.id.linear6);
this.linear18 = (LinearLayout) findViewById(R.id.linear18);
this.linear30 = (LinearLayout) findViewById(R.id.linear30);
this.linear31 = (LinearLayout) findViewById(R.id.linear31);
this.textview1 = (TextView) findViewById(R.id.textview1);
this.linear21 = (LinearLayout) findViewById(R.id.linear21);
this.linear22 = (LinearLayout) findViewById(R.id.linear22);
this.linear23 = (LinearLayout) findViewById(R.id.linear23);
this.linear24 = (LinearLayout) findViewById(R.id.linear24);
this.linear25 = (LinearLayout) findViewById(R.id.linear25);
this.linear26 = (LinearLayout) findViewById(R.id.linear26);
this.linear27 = (LinearLayout) findViewById(R.id.linear27);
this.textview10 = (TextView) findViewById(R.id.textview10);
this.textview11 = (TextView) findViewById(R.id.textview11);
this.seekbar1 = (SeekBar) findViewById(R.id.seekbar1);
this.textview12 = (TextView) findViewById(R.id.textview12);
this.seekbar2 = (SeekBar) findViewById(R.id.seekbar2);
this.textview13 = (TextView) findViewById(R.id.textview13);
this.seekbar3 = (SeekBar) findViewById(R.id.seekbar3);
this.textview14 = (TextView) findViewById(R.id.textview14);
this.seekbar4 = (SeekBar) findViewById(R.id.seekbar4);
this.textview15 = (TextView) findViewById(R.id.textview15);
this.seekbar5 = (SeekBar) findViewById(R.id.seekbar5);
this.textview16 = (TextView) findViewById(R.id.textview16);
this.seekbar6 = (SeekBar) findViewById(R.id.seekbar6);
this.linear28 = (LinearLayout) findViewById(R.id.linear28);
this.linear29 = (LinearLayout) findViewById(R.id.linear29);
this.textview17 = (TextView) findViewById(R.id.textview17);
this.textview22 = (TextView) findViewById(R.id.textview22);
this.switch2 = (Switch) findViewById(R.id.switch2);
this.linear32 = (LinearLayout) findViewById(R.id.linear32);
this.linear35 = (LinearLayout) findViewById(R.id.linear35);
this.textview18 = (TextView) findViewById(R.id.textview18);
this.textview19 = (TextView) findViewById(R.id.textview19);
this.seekbar7 = (SeekBar) findViewById(R.id.seekbar7);
this.imageview3.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
AjustesActivity.this._clickanimation(AjustesActivity.this.imageview3);
PopupMenu popupMenu = new PopupMenu(AjustesActivity.this, AjustesActivity.this.imageview3);
Menu menu = popupMenu.getMenu();
menu.add("Função");
menu.add("Ajustes");
menu.add("Bypass");
menu.add("Suporte");
menu.add("Servidor");
menu.add("Solução da Restrição");
popupMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
@Override
public boolean onMenuItemClick(MenuItem menuItem) {
String charSequence = menuItem.getTitle().toString();
switch (charSequence.hashCode()) {
case -190140734:
if (charSequence.equals("Suporte")) {
AjustesActivity.this.nova.setAction("android.intent.action.VIEW");
AjustesActivity.this.nova.setData(Uri.parse("https://www.instagram.com/dionesyutuber?igsh=ODA1NTc5OTg5Nw=="));
AjustesActivity.this.startActivity(AjustesActivity.this.nova);
return true;
}
break;
case 135633175:
if (charSequence.equals("Solução da Restrição")) {
AjustesActivity.this.nova.setAction("android.intent.action.VIEW");
AjustesActivity.this.nova.setData(Uri.parse("https://www.youtube.com/watch?v=I6j4BRF0FCU&ab_channel=DIIONES"));
AjustesActivity.this.startActivity(AjustesActivity.this.nova);
return true;
}
break;
case 704479771:
if (charSequence.equals("Ajustes")) {
AjustesActivity.this.nova.setClass(AjustesActivity.this.getApplicationContext(), AjustesActivity.class);
AjustesActivity.this.startActivity(AjustesActivity.this.nova);
return true;
}
break;
case 1443854708:
if (charSequence.equals("Servidor")) {
AjustesActivity.this.nova.setAction("android.intent.action.VIEW");
AjustesActivity.this.nova.setData(Uri.parse("https://discord.com/invite/3fgQPw2R3J"));
AjustesActivity.this.startActivity(AjustesActivity.this.nova);
return true;
}
break;
case 2004703496:
if (charSequence.equals("Bypass")) {
AjustesActivity.this.nova.setClass(AjustesActivity.this.getApplicationContext(), BypassActivity.class);
AjustesActivity.this.startActivity(AjustesActivity.this.nova);
return true;
}
break;
case 2115598676:
if (charSequence.equals("Função")) {
AjustesActivity.this.nova.setClass(AjustesActivity.this.getApplicationContext(), HomeActivity.class);
AjustesActivity.this.startActivity(AjustesActivity.this.nova);
return true;
}
break;
}
return false;
}
});
popupMenu.show();
}
});
this.imageview2.setOnLongClickListener(new View.OnLongClickListener() {
@Override
public boolean onLongClick(View view) {
return true;
}
});
this.imageview2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
AjustesActivity.this._clickanimation(AjustesActivity.this.imageview2);
AjustesActivity.this._notificacao("Injetor Ativado!");
}
});
}
private void initializeLogic() {
GradientDrawable gradientDrawable = new GradientDrawable();
gradientDrawable.setColor(Color.argb(255, 0, 0, 0));
gradientDrawable.setCornerRadius(30.0f);
gradientDrawable.setStroke(7, Color.argb(255, 255, 0, 84));
this.linear18.setBackground(gradientDrawable);
GradientDrawable gradientDrawable2 = new GradientDrawable();
gradientDrawable2.setColor(Color.argb(255, 0, 0, 0));
gradientDrawable2.setCornerRadius(30.0f);
gradientDrawable2.setStroke(7, Color.argb(255, 255, 0, 84));
this.linear30.setBackground(gradientDrawable2);
GradientDrawable gradientDrawable3 = new GradientDrawable();
gradientDrawable3.setColor(Color.argb(255, 0, 0, 0));
gradientDrawable3.setCornerRadius(30.0f);
gradientDrawable3.setStroke(7, Color.argb(255, 255, 0, 84));
this.linear31.setBackground(gradientDrawable3);
this.linear21.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear22.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear23.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear24.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear25.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear26.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear27.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear2.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear6.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear28.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -769226));
this.linear29.setBackground(new GradientDrawable() {
public GradientDrawable getIns(int i, int i2) {
setCornerRadius(i);
setColor(i2);
return this;
}
}.getIns(20, -1));
}
public void _clickanimation(View view) {
ScaleAnimation scaleAnimation = new ScaleAnimation(0.9f, 1.0f, 0.9f, 1.0f, 1, 0.5f, 1, 0.7f);
scaleAnimation.setDuration(300L);
scaleAnimation.setFillAfter(true);
view.startAnimation(scaleAnimation);
}
public void _notificacao(String str) {
Context applicationContext = getApplicationContext();
NotificationManager notificationManager = (NotificationManager) applicationContext.getSystemService("notification");
Intent intent = new Intent(this, MainActivity.class);
intent.setFlags(603979776);
PendingIntent activity = PendingIntent.getActivity(this, 0, intent, 0);
if (Build.VERSION.SDK_INT >= 26) {
notificationManager.createNotificationChannel(new NotificationChannel("channel-01", "Channel Name", 4));
}
NotificationCompat.Builder contentIntent = new NotificationCompat.Builder(applicationContext, "channel-01").setSmallIcon(R.drawable.icon).setContentText(str).setAutoCancel(true).setOngoing(false).setContentIntent(activity);
TaskStackBuilder create = TaskStackBuilder.create(applicationContext);
create.addNextIntent(intent);
contentIntent.setContentIntent(create.getPendingIntent(0, 134217728));
notificationManager.notify(1, contentIntent.build());
}
@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;
}
}