求大佬帮忙看看这一段代码(新人逆向)
下个代码的破解关键点在什么地方啊?.method public a(Lcom/laosj/lsj/bean/PayResultBean;)V
.locals 4
const-string v0, "showPayResult: payResultBean=="
.line 4
invoke-static {v0}, Lc/a/a/a/a;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {p1}, Lcom/laosj/lsj/bean/PayResultBean;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "hhh"
invoke-static {v1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
.line 5
invoke-virtual {p1}, Lcom/laosj/lsj/bean/PayResultBean;->getData()Lcom/laosj/lsj/bean/PayResultBean$DataBean;
move-result-object v0
invoke-virtual {v0}, Lcom/laosj/lsj/bean/PayResultBean$DataBean;->getPayment_status()I
move-result v0
const/4 v1, 0x2
if-ne v0, v1, :cond_0
.line 6
invoke-virtual {p1}, Lcom/laosj/lsj/bean/PayResultBean;->getData()Lcom/laosj/lsj/bean/PayResultBean$DataBean;
move-result-object p1
invoke-virtual {p1}, Lcom/laosj/lsj/bean/PayResultBean$DataBean;->getAmount()I
move-result p1
int-to-float p1, p1
const/high16 v0, 0x42c80000 # 100.0f
div-float/2addr p1, v0
.line 7
new-instance v0, Ljava/text/DecimalFormat;
const-string v1, "0.##"
invoke-direct {v0, v1}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V
float-to-double v1, p1
.line 8
invoke-virtual {v0, v1, v2}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;
move-result-object p1
.line 9
iget-object v0, p0, Lcom/laosj/lsj/ui/activity/PayResultActivity;->e:Landroid/widget/TextView;
invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
.line 10
invoke-virtual {p0}, Lcom/laosj/lsj/ui/activity/PayResultActivity;->A()V
const/4 p1, 0x1
.line 11
iput-boolean p1, p0, Lcom/laosj/lsj/ui/activity/PayResultActivity;->s:Z
goto :goto_0
.line 12
:cond_0
invoke-virtual {p0}, Lcom/laosj/lsj/ui/activity/PayResultActivity;->B()V
.line 13
iget-boolean p1, p0, Lcom/laosj/lsj/ui/activity/PayResultActivity;->r:Z
const/4 v0, 0x0
if-eqz p1, :cond_1
.line 14
iput-boolean v0, p0, Lcom/laosj/lsj/ui/activity/PayResultActivity;->r:Z
.line 15
invoke-static {p0}, Lcom/laosj/lsj/ui/activity/Live800ChattingActivity;->a(Landroid/app/Activity;)V
const-string p1, "finished"
.line 16
invoke-virtual {p0, p1}, Lcom/laosj/lsj/ui/activity/PayResultActivity;->u(Ljava/lang/String;)V
return-void
.line 17
:cond_1
iget-boolean p1, p0, Lcom/laosj/lsj/ui/activity/PayResultActivity;->q:Z
if-eqz p1, :cond_2
.line 18
iput-boolean v0, p0, Lcom/laosj/lsj/ui/activity/PayResultActivity;->q:Z
const p1, 0x7f0e010b
.line 19
invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;
move-result-object p1
const v0, 0x7f0e019e
invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;
move-result-object v0
new-instance v1, Lc/c/a/y/a/U;
invoke-direct {v1, p0}, Lc/c/a/y/a/U;-><init>(Lcom/laosj/lsj/ui/activity/PayResultActivity;)V
.line 20
new-instance v2, Lc/c/a/i/b;
const v3, 0x7f0f01f8
invoke-direct {v2, p0, v3}, Lc/c/a/i/b;-><init>(Landroid/content/Context;I)V
.line 21
iput-object v1, v2, Lc/c/a/i/b;->c:Lc/c/a/i/b$a;
.line 22
iput-object p1, v2, Lc/c/a/i/b;->a:Ljava/lang/String;
.line 23
iput-object v0, v2, Lc/c/a/i/b;->b:Ljava/lang/String;
.line 24
invoke-virtual {v2}, Landroid/app/Dialog;->show()V
:cond_2
:goto_1
return-void
.end method
下一个断点啊,唉 红色长串是base64编码,先在线解码看是什么再说 转换成java就一目了然了!
页:
[1]