好友
阅读权限10
听众
最后登录1970-1-1
|
本帖最后由 hikarugl 于 2019-8-30 00:00 编辑
破解一款APP 直接将if-nez改为if-eqz 提示注册成功,但是重启后仍需注册。 这样不行么?
下为dex片段:
if-nez v0, :cond_1
iget-object p1, p0, Lcn/CC/ca/Ra;->a:Landroid/content/Context;
const v0, "注册码错误,请重新输入"
invoke-virtual {p1, v0}, Landroid/content/Context;->getString(I)Ljava/lang/String;
move-result-object v0
invoke-static {p1, v0}, Lcn/CC/utils/b;->a(Landroid/content/Context;Ljava/lang/String;)Landroid/app/AlertDialog;
return-void
:cond_1
iget-object v0, p0, Lcn/CC/ca/Ra;->a:Landroid/content/Context;
invoke-static {v0, p1}, Lcn/CC/ca/Wa;->b(Landroid/content/Context;Ljava/lang/String;)V
iget-object p1, p0, Lcn/CC/ca/Ra;->c:Landroid/app/AlertDialog;
invoke-virtual {p1}, Landroid/app/AlertDialog;->dismiss()V
iget-object p1, p0, Lcn/CC/ca/Ra;->a:Landroid/content/Context;
const v0, "提示"
const v1, "注册成功"
invoke-static {p1, v0, v1}, Lcn/CC/utils/b;->a(Landroid/content/Context;II)Landroid/app/AlertDialog$Builder;
move-result-object p1
const v0, 0x104000a
const/4 v1, 0x0
invoke-virtual {p1, v0, v1}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;
move-result-object p1
new-instance v0, Lcn/CC/ca/Qa;
invoke-direct {v0, p0}, Lcn/CC/ca/Qa;-><init>(Lcn/CC/ca/Ra;)V
invoke-virtual {p1, v0}, Landroid/app/AlertDialog$Builder;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)Landroid/app/AlertDialog$Builder;
move-result-object p1
invoke-virtual {p1}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;
return-void
.end method
|
免费评分
-
查看全部评分
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|