[Asm] 纯文本查看 复制代码
.class Lcom/wuaipojie/crack01/b;
.super Ljava/lang/Object;
# interfaces
.implements Landroid/view/View$OnClickListener;
# instance fields
.field final synthetic a:I
.field final synthetic b:Lcom/wuaipojie/crack01/MainActivity;
# direct methods
.method constructor <init>(Lcom/wuaipojie/crack01/MainActivity;I)V
.locals 0
iput-object p1, p0, Lcom/wuaipojie/crack01/b;->b:Lcom/wuaipojie/crack01/MainActivity;
iput p2, p0, Lcom/wuaipojie/crack01/b;->a:I
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onClick(Landroid/view/View;)V
.locals 3
iget-object v0, p0, Lcom/wuaipojie/crack01/b;->b:Lcom/wuaipojie/crack01/MainActivity;
invoke-static {v0}, Lcom/wuaipojie/crack01/MainActivity;->a(Lcom/wuaipojie/crack01/MainActivity;)Landroid/widget/EditText;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z
move-result v1
if-eqz v1, :cond_0
iget-object v0, p0, Lcom/wuaipojie/crack01/b;->b:Lcom/wuaipojie/crack01/MainActivity;
const-string v1, "\u4e0d\u80fd\u4e3a\u7a7a\u7684\u54e6"
const/4 v2, 0x0
invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/Toast;->show()V
:goto_0
return-void
:cond_0
iget v1, p0, Lcom/wuaipojie/crack01/b;->a:I
invoke-static {v0, v1}, Lcom/wuaipojie/crack01/a;->a(Ljava/lang/String;I)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/wuaipojie/crack01/check;->mcheck(Ljava/lang/String;)Z
move-result v0
iget-object v0, p0, Lcom/wuaipojie/crack01/b;->b:Lcom/wuaipojie/crack01/MainActivity;
invoke-static {v0}, Lcom/wuaipojie/crack01/MainActivity;->b(Lcom/wuaipojie/crack01/MainActivity;)Landroid/widget/TextView;
move-result-object v0
const-string v1, "\u606d\u559c\uff0c\u4f60\u7adf\u7136\u731c\u4e2d\u7684\u5c0f\u660e\u7684\u5fc3\u601d"
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
iget-object v0, p0, Lcom/wuaipojie/crack01/b;->b:Lcom/wuaipojie/crack01/MainActivity;
invoke-static {v0}, Lcom/wuaipojie/crack01/MainActivity;->b(Lcom/wuaipojie/crack01/MainActivity;)Landroid/widget/TextView;
move-result-object v0
const v1, -0xff0100
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
goto :goto_0
:cond_1
iget-object v0, p0, Lcom/wuaipojie/crack01/b;->b:Lcom/wuaipojie/crack01/MainActivity;
invoke-static {v0}, Lcom/wuaipojie/crack01/MainActivity;->b(Lcom/wuaipojie/crack01/MainActivity;)Landroid/widget/TextView;
move-result-object v0
const-string v1, "\u6ca1\u6709\u8fd9\u4e48\u7b80\u5355\u5427"
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
iget-object v0, p0, Lcom/wuaipojie/crack01/b;->b:Lcom/wuaipojie/crack01/MainActivity;
invoke-static {v0}, Lcom/wuaipojie/crack01/MainActivity;->b(Lcom/wuaipojie/crack01/MainActivity;)Landroid/widget/TextView;
move-result-object v0
const/high16 v1, -0x10000
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V
goto :goto_0
.end method