发新帖

如何跳过“第一关后开启功能”到购买环节

[复制链接]
8983 1
原软件地址:http://www.play.cn/game/gamedetail/5010556.htm
安装游戏后需要,通过第1关,才能进入购买环节,论坛大神教,如何跳过,这个验证,进入购买环节
.class Lorg/cocos2dx/swfc/ApplicationDemo$1;
.super Ljava/lang/Object;
.source "ApplicationDemo.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lorg/cocos2dx/swfc/ApplicationDemo;->exitGame()V
.end annotation

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


# direct methods
.method constructor <init>()V
    .locals 0

    .prologue
    .line 88
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 1
    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 91
    new-instance v0, Landroid/app/AlertDialog$Builder;

    sget-object v1, Lorg/cocos2dx/swfc/ApplicationDemo;->context:Lorg/cocos2dx/swfc/ApplicationDemo;

    invoke-direct {v0, v1}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 94
    const-string v1, "\u7b2c\u4e00\u5173\u540e\u5f00\u542f\u6b64\u529f\u80fd"

    invoke-virtual {v0, v1}, Landroid/app/AlertDialog$Builder;->setMessage(Ljava/lang/CharSequence;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 95
    const-string v1, "\u8fd4\u56de"

    new-instance v2, Lorg/cocos2dx/swfc/ApplicationDemo$1$1;

    invoke-direct {v2, p0}, Lorg/cocos2dx/swfc/ApplicationDemo$1$1;-><init>(Lorg/cocos2dx/swfc/ApplicationDemo$1;)V

    invoke-virtual {v0, v1, v2}, Landroid/app/AlertDialog$Builder;->setNegativeButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v0

    .line 101
    invoke-virtual {v0}, Landroid/app/AlertDialog$Builder;->show()Landroid/app/AlertDialog;

    .line 102
    return-void
.end method



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

举报 使用道具

回复

精彩评论1

737672679    发表于 2014-11-28 21:46:14 | 显示全部楼层
如果smali代码里找得到这个代码;
就改它的跳转。

例子:
if-eqz v8 v9 label_992
代码=====
const-string v8”第一关后开启此功能“

label_992
const v9

if   跳转语法。

举报 使用道具

回复 支持 1 反对 0
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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