[Java] 纯文本查看 复制代码 invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable; //获取文本框内容
move-result-object v0
invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/example/crackme/MainActivity$1;->regcode:Ljava/lang/String;
.line 31
iget-object v0, p0, Lcom/example/crackme/MainActivity$1;->regcode:Ljava/lang/String;//获取注册码
const-string v1, "\u5199\u4e2aCM\u90fd\u5f88\u96be\u554a"//注册码为 写个CM都很难啊
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z//比较V0,V1是否相等
move-result v0 //结果给V0
if-eqz v0, :cond_0// V0等于0就跳转到 cond_0 (不相等) 删除此句即可爆破
.line 32
new-instance v0, Landroid/app/AlertDialog$Builder;
iget-object v1, p0, Lcom/example/crackme/MainActivity$1;->this$0:Lcom/example/crackme/MainActivity;
invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
.line 33
const-string v1, "\u63d0\u793a"
invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
move-result-object v0
.line 34
const-string v1, "\u6ce8\u518c\u6210\u529f\uff01"//注册成功
invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
move-result-object v0
.line 35
invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;
.line 42
:goto_0
return-void
.line 37
:cond_0
new-instance v0, Landroid/app/AlertDialog$Builder;
iget-object v1, p0, Lcom/example/crackme/MainActivity$1;->this$0:Lcom/example/crackme/MainActivity;
invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V
.line 38
const-string v1, "\u63d0\u793a"
invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setTitle(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
move-result-object v0
.line 39
const-string v1, "\u6ce8\u518c\u5931\u8d25\uff01"
invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;
move-result-object v0
.line 40
invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;
goto :goto_0
破解版
|