当前位置:网站首页>逆向理论知识3【UI修改篇】
逆向理论知识3【UI修改篇】
2022-07-30 03:50:00 【小鸡岛~】
游戏小常识:2D游戏里,我们看到的人物,帐篷,技能栏都是通过贴图技术在显卡上得以显示的
实战:修改游戏中技能栏图片在屏幕上的位置
一.修改思路
1.游戏的绘图技术→绘图函数→用到坐标→修改它→方案不可行!
原因:A.屏幕上需要用到坐标的地方太多了,很难确定技能栏的坐标,需要一个个的排除
B.游戏一定会对绘图函数这些底层函数进行再次封装,就算拿到数据了也不好分析
2.Ctrl+F9可以显示/隐藏图标,显示代表用到了绘图技术→绘图函数→用到坐标→修改它→可行
猜测:显示/隐藏功能是通过一个bool变量去控制要不要进行绘图
实证:通过CE的数据搜索功能进行实证
当开关为1时,游戏会去调用绘图函数,那它一定会用到坐标。
3.面向对象技术
猜测:猜想游戏中使用到了面向对象技术
实证:当技能栏显示的时候,利用CE的找出是什么访问了这个地址进行取证
如果游戏使用了面向对象的技术,那么UI坐标这个数据一定会在类的成员属性中
观察,修改数据进行测试

怎么生成补丁呢?
- 通过CE的数据观察得知,绿色的代表全局变量;有两种可能,要么是先天赋予的值,要么是后期赋予的值
- 因此我们可以跟随入口点去跟踪他,然后把值给锁定,然后生成补丁
二.使用解决方案2来实现UI的修正功能
边栏推荐
- Drools(7):WorkBench
- Mini Program Graduation Works WeChat Points Mall Mini Program Graduation Design Finished Work (5) Task Book
- 淘宝/天猫获取卖出的商品订单列表 API
- (6) "Digital Electricity" - Diodes and CMOS Gate Circuits (Introduction)
- Has been empty, a straightforward, continue to copy the top off!
- OA Project Pending Meeting & History Meeting & All Meetings
- When the EasyNVR platform is cascaded to the EasyCVR, why can't the video be played after a while?
- After 5 years of Ali internship interview~
- 微服务进阶 Cloud Alibaba
- vscode debugging and remote
猜你喜欢

Process priority nice

Mini Program Graduation Works WeChat Second-hand Trading Mini Program Graduation Design Finished Works (6) Question Opening Reply PPT

对均匀采样信号进行重采样

小程序毕设作品之微信积分商城小程序毕业设计成品(6)开题答辩PPT

ospf 导图

Forum management system

Summary of Rpc and gRpc Introduction

(6) "Digital Electricity" - Diodes and CMOS Gate Circuits (Introduction)

EasyCVR启动时报错“no such file or directory”,该如何解决?

Starlight does not ask passers-by!The young lady on the Wuhan campus successfully switched to software testing in three months and received a salary of 9k+13!
随机推荐
spicy (1) basic definition
(6) "Digital Electricity" - Diodes and CMOS Gate Circuits (Introduction)
Rpc 和 gRpc 简介汇总
淘宝/天猫获取卖出的商品订单列表 API
day10--在Linux上安装mysql
2022-07-29 Group 4 Self-cultivation class study notes (every day)
Process priority nice
Advanced Microservices Cloud Alibaba
基于全志D1-H和XR806的名贵植物监控装置
Nacos 安装与部署
List获取差集产生的问题
解决编译安装gdb-10.1 unistd.h:663:3: error: #error “Please include config.h first.“ 问题
Nacos集群分区
小程序毕设作品之微信积分商城小程序毕业设计成品(8)毕业设计论文模板
FreeRTOS个人笔记-内存管理
CMake installation and testing
OA Project Pending Meeting & History Meeting & All Meetings
sublime text 3 设置
Taobao/Tmall get the list of sold product orders API
对均匀采样信号进行重采样