标题:游戏支付问题请指点迷津
只看楼主
zi1218
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2022-3-18
 问题点数:0 回复次数:0 
游戏支付问题请指点迷津
.class Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;
.super Landroid/os/Handler;
.source ""


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;
.end annotation

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


# instance fields
.field final synthetic a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;


# direct methods
.method constructor <init>(Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;)V
    .registers 2

    iput-object p1, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

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

    return-void
.end method


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

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

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

    const/4 v1, 0x1

    packed-switch v0, :pswitch_data_7e

    :pswitch_9  #0x24
    goto :goto_77

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

    check-cast p1, Ljava/lang/String;

    iget-object v0, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    invoke-static {v0, p1}, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->a(Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;Ljava/lang/String;)V

    iget-object p1, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V

    goto :goto_77

    :pswitch_19  #0x25
    iget-object v0, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

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

    invoke-virtual {v0, p1}, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->a(Ljava/lang/Object;)V

    goto :goto_77

    :pswitch_21  #0x23
    iget-object v0, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    invoke-static {v0}, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->a(Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;)V

    iget-object v0, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "支付失败:"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

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

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {v0, p1}, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->a(Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;Ljava/lang/String;)V

    sput-boolean v1, Lcom/mchsdk/open/FlagControl;->flag:Z

    goto :goto_77

    :pswitch_41  #0x22
    iget-object v0, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    invoke-static {v0}, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->a(Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;)V

    iget-object v0, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    iget-object v0, v0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->d:Landroid/content/Context;

    invoke-static {v0}, Lcom/mchsdk/paysdk/utils/e;->b(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_5c

    iget-object p1, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    iget-object p1, p1, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->d:Landroid/content/Context;

    const-string v0, "没有安装微信"

    invoke-static {p1, v0}, Lcom/mchsdk/open/ToastUtil;->show(Landroid/content/Context;Ljava/lang/String;)V

    sput-boolean v1, Lcom/mchsdk/open/FlagControl;->flag:Z

    return-void

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

    check-cast p1, Lcom/mchsdk/paysdk/f/s;

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    iget-object v1, v1, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->d:Landroid/content/Context;

    const-class v2, Lcom/mchsdk/paysdk/activity/MCWapPayActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "WXOrderInfo"

    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object p1, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    iget-object p1, p1, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->d:Landroid/content/Context;

    invoke-virtual {p1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    :goto_77
    iget-object p1, p0, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity$b;->a:Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;

    invoke-static {p1}, Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;->a(Lcom/mchsdk/paysdk/activity/MCAddPtbMoneyActivity;)V

    return-void

    nop

    :pswitch_data_7e
    .packed-switch 0x22
        :pswitch_41  #00000022
        :pswitch_21  #00000023
        :pswitch_9  #00000024
        :pswitch_19  #00000025
        :pswitch_a  #00000026
    .end packed-switch
.end method
求怎么跳过支付直接购买
搜索更多相关主题的帖子: content activity lang Context StringBuilder 
2022-03-18 22:45



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-508591-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.442147 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved