Comments (3)
Oof sorry for the late response, I do use the exact same code to get the base address so it's pretty weird you're getting null.
Here's a snippet of the code I use:
function awaitForCondition(callback) {
var i = setInterval(function () {
var addr = Module.findBaseAddress("libil2cpp.so");
console.log("Adress: ", addr);
if (addr) {
clearInterval(i);
callback(+addr);
}
}, 0);
}
var il2cpp = null;
Java.perform(function() {
awaitForCondition(function (base) {
il2cpp = ptr(base);
intercept();
})
})
function intercept() {
var inter = il2cpp.add("0x147F014");
Interceptor.attach(inter, {
onEnter: function(args) {
console.log('onEnter');
},
onLeave: function(retval) {
//
}
});
};
from sinoalice.
Thanks for the reply!
I found out that the reason I am getting null could be because I am using a rooted bluestacks instead of an actual phone. (Didn't really want to root my phone, so I went to root the emulator instead)
May I know if you are using an emulator or a rooted phone?
from sinoalice.
An old rooted phone of mine, tried using BlueStacks as well for ease of use but after multiple hours tinkering I couldn't get it working.
Although it must be said that was over half a year ago, so the situation might've changed.
As a side note, if you want a smoother communication we can talk on Discord, my id is on the README.
from sinoalice.
Related Issues (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 sinoalice.