Comments (5)
抽空我在这个还得研究一下,静态变量好像不属于 class
// list fields from methodinfo
function lffm(methodInfo, instance) {
listFieldsFromMethodInfo(methodInfo, instance)
}
// list fields from class
function lffc(klass, instance) {
//对于枚举类型也可以使用,枚举类型也是fields
listFieldsFromCls(klass, instance)
}
可以用这个简写一点
from il2cpphookscripts.
我写出来了
利用il2cpp_field_static_get_value实现
function readStatic(namespace,className,fieldName){
const field =findField(namespace, className, fieldName);
if (field.isNull()) {
return field;
}
const addrOut = Memory.alloc(Process.pointerSize);
il2cpp_field_static_get_value(field, addrOut);
return addrOut.readPointer();
}
from il2cpphookscripts.
public string asdas
{
get
{
return null;
}
private set
{
}
}
对于这类有什么好的方法吗?这类一般如何读取
from il2cpphookscripts.
如果参数是byte[] 一般如何读取和转换
from il2cpphookscripts.
我写出来了
利用il2cpp_field_static_get_value实现
function readStatic(namespace,className,fieldName){ const field =findField(namespace, className, fieldName); if (field.isNull()) { return field; } const addrOut = Memory.alloc(Process.pointerSize); il2cpp_field_static_get_value(field, addrOut); return addrOut.readPointer(); }
已更新 感谢分享
from il2cpphookscripts.
Related Issues (20)
- IOS可以支持吗 HOT 4
- 运行之后使用快捷指令提示not a function HOT 2
- 请问一下,listFieldsFromCls(klass, instance)这里的instance是啥意思呢 HOT 1
- byte[]参数如何获取和修改 HOT 7
- 请问下 find_method要查找 Dictionary 实例化的函数地址 该如何写 HOT 1
- 如何查找 struct 类型的 接口 HOT 2
- 1
- 建议把namespace搜索且断点也加上 HOT 3
- 大佬有群吗
- 你好,我用模拟器找不到libil2cpp.so,用非root真机修改smali的方式,加载frida so成功,也监听端口了,就是一附加就崩溃 HOT 23
- Frida-Gadget with error Java API not available HOT 2
- 有指定 Unity 版本的方法吗? HOT 4
- Add for termux or jshook HOT 1
- 每次调用函数都会出现 "KeyError: 'message'" 报错信息 HOT 3
- Inquiry about file save function and dump function HOT 7
- 使用showComponents的时候,参数是对象地址,怎么查看当前场景中所有对象呢 HOT 3
- 大哥求助!找不到libil2cpp.so HOT 5
- 返回类型为Vector3的时候类和对象地址是同一个,且不能正确获取到值 HOT 1
- list_Methods之后就卡死了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from il2cpphookscripts.