吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 1613|回复: 2
收起左侧

[Android 求助] 请问这段代码改哪里才能实现破解?

[复制链接]
明天见25 发表于 2020-1-11 01:07
.class Lcom/tdvideo/alipay/AliPayTool$1;
.super Landroid/os/Handler;
.source "AliPayTool.java"




# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
   value = Lcom/tdvideo/alipay/AliPayTool;
.end annotation


.annotation system Ldalvik/annotation/InnerClass;
   accessFlags = 0x0
   name = null
.end annotation




# instance fields
.field final synthetic this$0:Lcom/tdvideo/alipay/AliPayTool;




# direct methods
.method constructor <init>(Lcom/tdvideo/alipay/AliPayTool;)V
   .registers 2


   .line 28
   iput-object p1, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;


   invoke-direct {p0}, Landroid/os/Handler;-><init>()V


   return-void
.end method




# virtual methods
.method public handleMessage(Landroid/os/Message;)V
   .registers 7


   .line 31
   iget v0, p1, Landroid/os/Message;->what:I


   const/4 v1, 0x1


   if-eq v0, v1, :cond_7


   goto/16 :goto_8c


   .line 34
   :cond_7
   new-instance v0, Lcom/tdvideo/alipay/PayResult;


   iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;


   check-cast p1, Ljava/util/Map;


   invoke-direct {v0, p1}, Lcom/tdvideo/alipay/PayResult;-><init>(Ljava/util/Map;)V


   .line 38
   invoke-virtual {v0}, Lcom/tdvideo/alipay/PayResult;->getResult()Ljava/lang/String;


   .line 39
   invoke-virtual {v0}, Lcom/tdvideo/alipay/PayResult;->getResultStatus()Ljava/lang/String;


   move-result-object p1


   const/4 v0, -0x1


   .line 42
   invoke-virtual {p1}, Ljava/lang/String;->hashCode()I


   move-result v2


   const/4 v3, 0x3


   const/4 v4, 0x2


   sparse-switch v2, :sswitch_data_8e


   goto :goto_53


   :sswitch_22
   const-string v2, "9000"


   invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z


   move-result v2


   if-eqz v2, :cond_53


   const/4 v0, 0x0


   goto :goto_53


   :sswitch_2c
   const-string v2, "8000"


   invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z


   move-result v2


   if-eqz v2, :cond_53


   const/4 v0, 0x1


   goto :goto_53


   :sswitch_36
   const-string v2, "6002"


   invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z


   move-result v2


   if-eqz v2, :cond_53


   const/4 v0, 0x3


   goto :goto_53


   :sswitch_40
   const-string v2, "6001"


   invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z


   move-result v2


   if-eqz v2, :cond_53


   const/4 v0, 0x2


   goto :goto_53


   :sswitch_4a
   const-string v2, "4000"


   invoke-virtual {p1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z


   move-result v2


   if-eqz v2, :cond_53


   const/4 v0, 0x4


   :cond_53
   :goto_53
   if-eqz v0, :cond_7b


   if-eq v0, v1, :cond_73


   if-eq v0, v4, :cond_6b


   if-eq v0, v3, :cond_63


   .line 63
   iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;


   const-string v1, "支付失败"


   invoke-static {v0, v1, p1}, Lcom/tdvideo/alipay/AliPayTool;->access$100(Lcom/tdvideo/alipay/AliPayTool;Ljava/lang/String;Ljava/lang/String;)V


   goto :goto_8c


   .line 59
   :cond_63
   iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;


   const-string v1, "网络连接出错"


   invoke-static {v0, v1, p1}, Lcom/tdvideo/alipay/AliPayTool;->access$100(Lcom/tdvideo/alipay/AliPayTool;Ljava/lang/String;Ljava/lang/String;)V


   goto :goto_8c


   .line 55
   :cond_6b
   iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;


   const-string v1, "取消了支付"


   invoke-static {v0, v1, p1}, Lcom/tdvideo/alipay/AliPayTool;->access$100(Lcom/tdvideo/alipay/AliPayTool;Ljava/lang/String;Ljava/lang/String;)V


   goto :goto_8c


   .line 51
   :cond_73
   iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;


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


   invoke-static {v0, v1, p1}, Lcom/tdvideo/alipay/AliPayTool;->access$100(Lcom/tdvideo/alipay/AliPayTool;Ljava/lang/String;Ljava/lang/String;)V


   goto :goto_8c


   .line 46
   :cond_7b
   iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;


   invoke-static {v0}, Lcom/tdvideo/alipay/AliPayTool;->access$000(Lcom/tdvideo/alipay/AliPayTool;)Lcom/tdvideo/alipay/AliPayTool$PaySuccessListener;


   move-result-object v0


   if-eqz v0, :cond_8c


   .line 47
   iget-object v0, p0, Lcom/tdvideo/alipay/AliPayTool$1;->this$0:Lcom/tdvideo/alipay/AliPayTool;


   invoke-static {v0}, Lcom/tdvideo/alipay/AliPayTool;->access$000(Lcom/tdvideo/alipay/AliPayTool;)Lcom/tdvideo/alipay/AliPayTool$PaySuccessListener;


   move-result-object v0


   invoke-interface {v0, p1}, Lcom/tdvideo/alipay/AliPayTool$PaySuccessListener;->onPaySuccess(Ljava/lang/String;)V


   :cond_8c
   :goto_8c
   return-void


   nop


   :sswitch_data_8e
   .sparse-switch
      0x185d7c -> :sswitch_4a
      0x19463b -> :sswitch_40
      0x19463c -> :sswitch_36
      0x1a2ef8 -> :sswitch_2c
      0x1aa357 -> :sswitch_22
   .end sparse-switch
.end method

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

CrazyNut 发表于 2020-1-12 15:07
这样上代码看不懂啊
风绕柳絮轻敲雪 发表于 2020-1-12 18:30
本帖最后由 风绕柳絮轻敲雪 于 2020-1-12 18:33 编辑

把  if-eqz v2, :cond_53 改成 if-nez v2, :cond_53 试试
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

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

GMT+8, 2024-11-16 00:23

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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