出招分析_饿狼传说特别版

分析过程

在金手指未找到相关的信息
进入出招简化rom对比

  • 找到简化出招rom对比得到出招代码位置0x38B30

  • 从0x38B30向上找到出招列表0x3884A

  • wp 3884A,4,r
    断下代码位置在0x2E894

  • 开始分析进入0x2E8C4

    image.png

    单步分析到0x2E960 对Fighter1和Fighter2输入操作
    0x100400+b8
    0x100400+b9
    这个地址测试之后是出招判定地址;
    0x100400+95
    0x100400+5c
    还有
    a0 0x1041C6 Fighter1和Fighter2输入的地方
    a1 0x10D062
    未分析

实现过程

从金手指找到使用隐藏角色坂崎良测试不行
通过上边未分析的a0 0x1041C6附近发现0x10419B和0x10419D是显示Fighter1和Fighter2的人物

switch (a1) {
            case 93:
                if (combineView == null) {
                    combineView = new CombineView(context, pluginControl);
                    combineView.addDatas(pluginEntryView.getList(100 + currentId));
                    if (floatManager == null)
                        floatManager = new FloatManager(currentActivity, Gravity.RIGHT | Gravity.BOTTOM);
                    floatManager.showFloat(combineView);
                    new Thread(new Runnable() {
                        @Override
                        public void run() {
                            while (true) {
                                final int ret = NativeUtils.readMemary(0x10419B);
                                if (currentId != ret) {
                                    currentId = ret;
                                    combineView.post(new Runnable() {
                                        @Override
                                        public void run() {
                                            combineView.addDatas(pluginEntryView.getList(currentId + 100));
                                        }
                                    });
                                }
                                try {
                                    Thread.sleep(2000);
                                } catch (InterruptedException e) {
                                    e.printStackTrace();
                                }
                            }
                        }
                    }).start();
                } else {
                    if (a3 == 1) {
                        floatManager.showFloat(combineView);
                    } else {
                        floatManager.hideFloat(combineView);
                    }
                }
                break;
            default:
                if (a1 >= 300 && a1 <= 9000) {
                    try {
                        String code = configManager.getHashMapCodes().get(a1);
                        if (code.equals("09")) {
                            NativeUtils.writeMemary(0x10049A,0x10);//4/1血量
                        }
                        NativeUtils.writeMemary(0x1004B8, Integer.parseInt(code, 16));
                        NativeUtils.writeMemary(0x1004B9, 0x04);
                    } catch (Exception e) {
                        Logger.e("e:" + e.getMessage());
                    }
                } else {
                    configManager.parseFBACheatLock(configManager.getHashMapCodes().get(a1), a3 == 1);
                }
                break;
        }
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值