吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 1785|回复: 3
收起左侧

[新手问题] 求大佬帮忙看看这一段代码(新人逆向)

[复制链接]
abchuangxun666 发表于 2020-10-9 01:14
下个代码的破解关键点在什么地方啊?
.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

感觉这个作者给了提示

感觉这个作者给了提示

这里也有提示,红色的字

这里也有提示,红色的字

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

kopko 发表于 2020-10-9 02:33
下一个断点啊,唉
无闻无问 发表于 2020-10-9 07:25
红色长串是base64编码,先在线解码看是什么再说
列明 发表于 2020-10-9 07:48
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2024-11-25 07:54

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表