吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

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

[Android 求助] 求大神帮助分析下这个smali代码,修改哪里比较合适

[复制链接]
bigbirdl 发表于 2020-4-13 22:38
新人分析代码确实不行,搞了好几次都失败了,请大神们指点下。分析修改哪里比较合适。谢谢。谢谢。
.class public final enum Lcom/alipay/sdk/app/ResultStatus;
.super Ljava/lang/Enum;

# static fields
.field public static final enum a:Lcom/alipay/sdk/app/ResultStatus;


.field public static final enum b:Lcom/alipay/sdk/app/ResultStatus;


.field public static final enum c:Lcom/alipay/sdk/app/ResultStatus;


.field public static final enum d:Lcom/alipay/sdk/app/ResultStatus;


.field public static final enum e:Lcom/alipay/sdk/app/ResultStatus;


.field public static final enum f:Lcom/alipay/sdk/app/ResultStatus;


.field private static final synthetic i:[Lcom/alipay/sdk/app/ResultStatus;


.field private g:I


.field private h:Ljava/lang/String;




# direct methods
.method static constructor <clinit>()V
    .registers 10


    new-instance v0, Lcom/alipay/sdk/app/ResultStatus;


    const-string v1, "SUCCEEDED"


    const-string v2, "支付成功"


    const/4 v3, 0x0


    const/16 v4, 0x2328


    invoke-direct {v0, v1, v3, v4, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>


(Ljava/lang/String;IILjava/lang/String;)V


    sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->a:Lcom/alipay/sdk/app/ResultStatus;


    new-instance v0, Lcom/alipay/sdk/app/ResultStatus;


    const-string v1, "FAILED"


    const-string v2, "系统繁忙,请稍后再试"
const/4 v4, 0x1


    const/16 v5, 0xfa0


    invoke-direct {v0, v1, v4, v5, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>


(Ljava/lang/String;IILjava/lang/String;)V


    sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->b:Lcom/alipay/sdk/app/ResultStatus;


    new-instance v0, Lcom/alipay/sdk/app/ResultStatus;


    const-string v1, "CANCELED"


    const-string v2, "用户取消"


    const/4 v5, 0x2


    const/16 v6, 0x1771


    invoke-direct {v0, v1, v5, v6, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>


(Ljava/lang/String;IILjava/lang/String;)V


    sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->c:Lcom/alipay/sdk/app/ResultStatus;


    new-instance v0, Lcom/alipay/sdk/app/ResultStatus;


    const-string v1, "NETWORK_ERROR"


    const-string v2, "网络连接异常"
const/4 v6, 0x3


    const/16 v7, 0x1772


    invoke-direct {v0, v1, v6, v7, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>


(Ljava/lang/String;IILjava/lang/String;)V


    sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->d:Lcom/alipay/sdk/app/ResultStatus;


    new-instance v0, Lcom/alipay/sdk/app/ResultStatus;


    const-string v1, "PARAMS_ERROR"


    const-string v2, "参数错误"


    const/4 v7, 0x4


    const/16 v8, 0xfa1


    invoke-direct {v0, v1, v7, v8, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>


(Ljava/lang/String;IILjava/lang/String;)V


    sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->e:Lcom/alipay/sdk/app/ResultStatus;


    new-instance v0, Lcom/alipay/sdk/app/ResultStatus;


    const-string v1, "PAY_WAITTING"


    const-string v2, "支付结果确认中"


const/4 v8, 0x5


    const/16 v9, 0x1f40


    invoke-direct {v0, v1, v8, v9, v2}, Lcom/alipay/sdk/app/ResultStatus;-><init>


(Ljava/lang/String;IILjava/lang/String;)V


    sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->f:Lcom/alipay/sdk/app/ResultStatus;


    const/4 v0, 0x6


    new-array v0, v0, [Lcom/alipay/sdk/app/ResultStatus;


    sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->a:Lcom/alipay/sdk/app/ResultStatus;


    aput-object v1, v0, v3


    sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->b:Lcom/alipay/sdk/app/ResultStatus;


    aput-object v1, v0, v4


    sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->c:Lcom/alipay/sdk/app/ResultStatus;


    aput-object v1, v0, v5


    sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->d:Lcom/alipay/sdk/app/ResultStatus;


    aput-object v1, v0, v6


sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->e:Lcom/alipay/sdk/app/ResultStatus;


    aput-object v1, v0, v7


    sget-object v1, Lcom/alipay/sdk/app/ResultStatus;->f:Lcom/alipay/sdk/app/ResultStatus;


    aput-object v1, v0, v8


    sput-object v0, Lcom/alipay/sdk/app/ResultStatus;->i:[Lcom/alipay/sdk/app/ResultStatus;


    return-void
.end method


.method private constructor <init>(Ljava/lang/String;IILjava/lang/String;)V
    .registers 5


    invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V


    iput p3, p0, Lcom/alipay/sdk/app/ResultStatus;->g:I


    iput-object p4, p0, Lcom/alipay/sdk/app/ResultStatus;->h:Ljava/lang/String;


    return-void
.end method
.method public static a(I)Lcom/alipay/sdk/app/ResultStatus;
    .registers 2


    const/16 v0, 0xfa1


    if-eq p0, v0, :cond_1e


    const/16 v0, 0x1f40


    if-eq p0, v0, :cond_1b


    const/16 v0, 0x2328


    if-eq p0, v0, :cond_18


    packed-switch p0, :pswitch_data_22


    sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->b:Lcom/alipay/sdk/app/ResultStatus;


    return-object p0


    :pswitch_12  #0x1772
    sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->d:Lcom/alipay/sdk/app/ResultStatus;


    return-object p0
  :pswitch_15  #0x1771
    sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->c:Lcom/alipay/sdk/app/ResultStatus;


    return-object p0


    :cond_18
    sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->a:Lcom/alipay/sdk/app/ResultStatus;


    return-object p0


    :cond_1b
    sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->f:Lcom/alipay/sdk/app/ResultStatus;


    return-object p0


    :cond_1e
    sget-object p0, Lcom/alipay/sdk/app/ResultStatus;->e:Lcom/alipay/sdk/app/ResultStatus;


    return-object p0


    nop


    :pswitch_data_22
    .packed-switch 0x1771
        :pswitch_15  #00001771
        :pswitch_12  #00001772
    .end packed-switch
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/alipay/sdk/app/ResultStatus;
    .registers 2


    const-class v0, Lcom/alipay/sdk/app/ResultStatus;


    invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)


Ljava/lang/Enum;


    move-result-object p0


    check-cast p0, Lcom/alipay/sdk/app/ResultStatus;


    return-object p0
.end method


.method public static values()[Lcom/alipay/sdk/app/ResultStatus;
    .registers 1


    sget-object v0, Lcom/alipay/sdk/app/ResultStatus;->i:[Lcom/alipay/sdk/app/ResultStatus;


    invoke-virtual {v0}, [Lcom/alipay/sdk/app/ResultStatus;->clone()Ljava/lang/Object;


    move-result-object v0


    check-cast v0, [Lcom/alipay/sdk/app/ResultStatus;


    return-object v0
.end method
.method public a()I
    .registers 2


    iget v0, p0, Lcom/alipay/sdk/app/ResultStatus;->g:I


    return v0
.end method


.method public b()Ljava/lang/String;
    .registers 2


    iget-object v0, p0, Lcom/alipay/sdk/app/ResultStatus;->h:Ljava/lang/String;


    return-object v0
.end method

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

geniusrot 发表于 2020-4-14 06:52
看不懂!!!
芽衣 发表于 2020-4-14 20:34
 楼主| bigbirdl 发表于 2020-4-14 20:56
417788939 发表于 2020-4-14 20:34
这个好像是网络验证,你改本地没用

谢谢指点,总是搞不定,想听听大家意见。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

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

GMT+8, 2024-11-15 23:20

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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