吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 12347|回复: 44
收起左侧

[Android 原创] 狂怒飞车破解版【附教程】

  [复制链接]
编草鞋的蚂蚱 发表于 2017-10-30 09:55
本帖最后由 编草鞋的蚂蚱 于 2017-10-30 10:25 编辑

上一次,在逆向、从啥都不会开始!
中讲了一个热血奥特曼的教程。
今天,我们趁热打铁,再破解一个相同类型的APP

想破解一个游戏,那么首先就要先拿过来玩一会
感觉是要搜索“支付成功”,
是的,没错,还是跟着感觉走!
那么,就搜索了:
图片1.png
之后下面框显示搜到三个:
图片2.png

点开,拿到我们想要的那个,(怎么知道那个想要???一个个查看呗!!反正就三个。)
然后就是改代码了:
下面是提取的要修改的smali代码了:
.class Lcom/ck/sdk/EGameSDK$1;
.super Ljava/lang/Object;
.source "EGameSDK.java"


# interfaces
.implements Lcn/egame/terminal/paysdk/EgamePayListener;




# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/ck/sdk/EGameSDK;->payEGame(Ljava/util/HashMap;)V
.end annotation


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




# instance fields
.field final synthetic this$0:Lcom/ck/sdk/EGameSDK;




# direct methods
.method constructor <init>(Lcom/ck/sdk/EGameSDK;)V
    .locals 0


    .prologue
    .line 1
    iput-object p1, p0, Lcom/ck/sdk/EGameSDK$1;->this$0:Lcom/ck/sdk/EGameSDK;


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


    return-void
.end method




# virtual methods
.method public payCancel(Ljava/util/Map;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation


    .prologue
    .line 348
    .local p1, "arg0":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    invoke-static {}, Lcom/ck/sdk/CKSDK;->getInstance()Lcom/ck/sdk/CKSDK;


    move-result-object v0


    invoke-virtual {v0}, Lcom/ck/sdk/CKSDK;->getContext()Landroid/app/Activity;


    move-result-object v0


    const-string v1, "\u652f\u4ed8\u88ab\u53d6\u6d88"


    invoke-static {v0, v1}, Lcn/egame/terminal/sdk/log/EgameAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V


    .line 350
    iget-object v0, p0, Lcom/ck/sdk/EGameSDK$1;->this$0:Lcom/ck/sdk/EGameSDK;


    iget-object v1, p0, Lcom/ck/sdk/EGameSDK$1;->this$0:Lcom/ck/sdk/EGameSDK;


    invoke-static {v1}, Lcom/ck/sdk/EGameSDK;->access$0(Lcom/ck/sdk/EGameSDK;)Lcom/ck/sdk/PayParams;


    move-result-object v1


    const-string v2, "-100000"


    const-string v3, "payCancel"


    invoke-static {v0, v1, v2, v3}, Lcom/ck/sdk/EGameSDK;->access$2(Lcom/ck/sdk/EGameSDK;Lcom/ck/sdk/PayParams;Ljava/lang/String;Ljava/lang/String;)V


    .line 351
    return-void
.end method


.method public payFailed(Ljava/util/Map;I)V
    .locals 5
    .param p2, "errorInt"    # I
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;I)V"
        }
    .end annotation


    .prologue
    .line 337
    .local p1, "arg0":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    new-instance v0, Ljava/util/HashMap;


    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V


    .line 338
    .local v0, "values":Ljava/util/HashMap;, "Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;"
    const-string v1, "errorInt"


    new-instance v2, Ljava/lang/StringBuilder;


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


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


    move-result-object v2


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


    move-result-object v2


    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;


    .line 339
    invoke-static {}, Lcom/ck/sdk/CKSDK;->getInstance()Lcom/ck/sdk/CKSDK;


    move-result-object v1


    invoke-virtual {v1}, Lcom/ck/sdk/CKSDK;->getContext()Landroid/app/Activity;


    move-result-object v1


    .line 340
    const-string v2, "errorInt"


    .line 339
    invoke-static {v1, v2, v0}, Lcn/egame/terminal/sdk/log/EgameAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/util/Map;)V


    .line 343
    iget-object v1, p0, Lcom/ck/sdk/EGameSDK$1;->this$0:Lcom/ck/sdk/EGameSDK;


    iget-object v2, p0, Lcom/ck/sdk/EGameSDK$1;->this$0:Lcom/ck/sdk/EGameSDK;


    invoke-static {v2}, Lcom/ck/sdk/EGameSDK;->access$0(Lcom/ck/sdk/EGameSDK;)Lcom/ck/sdk/PayParams;


    move-result-object v2


    new-instance v3, Ljava/lang/StringBuilder;


    invoke-static {p2}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;


    move-result-object v4


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


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


    move-result-object v3


    const/4 v4, 0x0


    invoke-static {v1, v2, v3, v4}, Lcom/ck/sdk/EGameSDK;->access$2(Lcom/ck/sdk/EGameSDK;Lcom/ck/sdk/PayParams;Ljava/lang/String;Ljava/lang/String;)V


    .line 344
    return-void
.end method


.method public paySuccess(Ljava/util/Map;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation


    .prologue
    .line 326
    .local p1, "data":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    invoke-static {}, Lcom/ck/sdk/CKSDK;->getInstance()Lcom/ck/sdk/CKSDK;


    move-result-object v0


    invoke-virtual {v0}, Lcom/ck/sdk/CKSDK;->getContext()Landroid/app/Activity;


    move-result-object v0


    const-string v1, "\u652f\u4ed8\u6210\u529f"


    invoke-static {v0, v1}, Lcn/egame/terminal/sdk/log/EgameAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V


    .line 331
    iget-object v0, p0, Lcom/ck/sdk/EGameSDK$1;->this$0:Lcom/ck/sdk/EGameSDK;


    iget-object v1, p0, Lcom/ck/sdk/EGameSDK$1;->this$0:Lcom/ck/sdk/EGameSDK;


    invoke-static {v1}, Lcom/ck/sdk/EGameSDK;->access$0(Lcom/ck/sdk/EGameSDK;)Lcom/ck/sdk/PayParams;


    move-result-object v1


    invoke-static {v0, v1}, Lcom/ck/sdk/EGameSDK;->access$1(Lcom/ck/sdk/EGameSDK;Lcom/ck/sdk/PayParams;)V


    .line 333
    return-void
.end method
.method


然后还是要把
public payFailed(Ljava/util/Map;I)V
.method public payCancel(Ljava/util/Map;)V中的内容换成
.method public paySuccess(Ljava/util/Map;)V中的内容。
从这儿
.locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map",
            "<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation


    .prologue
    .line 326
    .local p1, "data":Ljava/util/Map;, "Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;"
    invoke-static {}, Lcom/ck/sdk/CKSDK;->getInstance()Lcom/ck/sdk/CKSDK;


    move-result-object v0


    invoke-virtual {v0}, Lcom/ck/sdk/CKSDK;->getContext()Landroid/app/Activity;


    move-result-object v0


    const-string v1, "\u652f\u4ed8\u6210\u529f"


    invoke-static {v0, v1}, Lcn/egame/terminal/sdk/log/EgameAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V


    .line 331
    iget-object v0, p0, Lcom/ck/sdk/EGameSDK$1;->this$0:Lcom/ck/sdk/EGameSDK;


    iget-object v1, p0, Lcom/ck/sdk/EGameSDK$1;->this$0:Lcom/ck/sdk/EGameSDK;


    invoke-static {v1}, Lcom/ck/sdk/EGameSDK;->access$0(Lcom/ck/sdk/EGameSDK;)Lcom/ck/sdk/PayParams;


    move-result-object v1


    invoke-static {v0, v1}, Lcom/ck/sdk/EGameSDK;->access$1(Lcom/ck/sdk/EGameSDK;Lcom/ck/sdk/PayParams;)V


    .line 333
    return-void
到这儿!
然后就先编译,看看能用不。
果然,各种跑车随便买咯。
至于“请求太频繁”的窗口,日后再改。

QQ图片20171030093837.jpg
新手就要多做、多练!别说会不会!!多做几个,就会了。
小伙伴们,为狂吧!

原版 链接:http://pan.baidu.com/s/1nvaaf81 密码:mshz
破解版 链接:http://pan.baidu.com/s/1qYMCYBE 密码:39qh







免费评分

参与人数 15吾爱币 +21 热心值 +15 收起 理由
BubblePig + 1 + 1 我很赞同!
Czkusers + 1 + 1 不能用
胡椒粉 + 1 感谢分享。但是新手根本看不懂。谢谢。。。。
kkpljat + 1 + 1 谢谢@Thanks!
Three_fish + 1 + 1 谢谢@Thanks!
吾爱丶小灰 + 1 + 1 谢谢@Thanks!
qtfreet00 + 9 + 1 感谢发布原创作品,吾爱破解论坛因你更精彩!
weilu325 + 1 + 1 测试后 豪车无法购买 购买后出现微信支付 点击后提示发生错误
勤奋的刘小朵 + 1 + 1 感谢发布原创作品,吾爱破解论坛因你更精彩!
www.52pojie.cn + 1 + 1 谢谢@Thanks!
Rock_L + 1 + 1 我很赞同!
lbccc99 + 1 热心回复!
SomnusXZY + 1 + 1 热心回复!
会飞的丑小鸭 + 1 + 1 感谢发布原创作品,吾爱破解论坛因你更精彩!
huang370660 + 1 + 1 热心回复!

查看全部评分

本帖被以下淘专辑推荐:

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

 楼主| 编草鞋的蚂蚱 发表于 2017-11-28 18:07
小浪神 发表于 2017-11-2 09:46
不能用然后广告超级多,点一下一个广告

你好,可能是你更新了,在本机上不能用的话我也不会发上去。测试好的。
mali00000000 发表于 2017-10-30 10:09
dongdongzei 发表于 2017-10-30 10:11
eye2071 发表于 2017-10-30 10:14
谢谢分享
lrz 发表于 2017-10-30 10:24
这个是国产的?看模型不咋地啊
Aquariuss 发表于 2017-10-30 10:46
厉害了呀
Cyntec 发表于 2017-10-30 10:48
这种直接贴代码的形式很low,估计这个样子贴的代码你自己都不会去看。
pan3363 发表于 2017-10-30 10:51
顶你个肺啊~~~
lbccc99 发表于 2017-10-30 10:55
我进来支持一下
安卓iphone 发表于 2017-10-30 10:56
完全懵逼!看不懂!
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

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

GMT+8, 2024-11-24 18:54

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

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