Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions #440

Open
Laranjo1 opened this issue Nov 20, 2023 · 2 comments
Open

Questions #440

Laranjo1 opened this issue Nov 20, 2023 · 2 comments
Labels
question A question about anything

Comments

@Laranjo1
Copy link

Laranjo1 commented Nov 20, 2023

I have some questions to ask, I'm new to the subject so I might end up asking stupid and meaningless things.

First of all, is there any tutorial on how to configure it for Windows? I had managed to compile and assemble a build, but when it spawned, the bridge was not allocated, only the console outside the bridge structure.

Another issue I have is that when I use frida-ps -U
I get "The Game Arena" as my game's process name. Can I run the spawn for it? If so, why does it recognize this process name and not com.gamedragonball in frida-ps -U?

Third is the least related to this repository but I was curious to know what it could be, I apologize. Well, my doubt is, because when I allocated the intreceptor in a method of the class it recognized that the function was executed, but when I tried to see the parameters I couldn't get the values ​​that came in the parameters that were int. What could I be doing wrong?

Can I use an emulator to debug il2cpp game? If so, how could I configure it for this purpose? I know there is a parameter for this, is that enough?

Sorry for my english prob is bad but max i can write mb

@leonitousconforti
Copy link

First of all, is there any tutorial on how to configure it for Windows? I had managed to compile and assemble a build, but when it spawned, the bridge was not allocated, only the console outside the bridge structure.

I don't think so, but frida-il2cpp-bridge doesn't really have anything to configure as it is just an npm package you install. Are you trying to setup/configure frida for windows?

Another issue I have is that when I use frida-ps -U I get "The Game Arena" as my game's process name. Can I run the spawn for it? If so, why does it recognize this process name and not com.gamedragonball in frida-ps -U?

What platform are you on when you see that? If it is an android/ios app you should be able to spawn it with frida -U -f com.gamedragonball but not sure if you can do that on windows/mac

Third is the least related to this repository but I was curious to know what it could be, I apologize. Well, my doubt is, because when I allocated the intreceptor in a method of the class it recognized that the function was executed, but when I tried to see the parameters I couldn't get the values ​​that came in the parameters that were int. What could I be doing wrong?

Not sure, can you share your code with us?

Can I use an emulator to debug il2cpp game? If so, how could I configure it for this purpose? I know there is a parameter for this, is that enough?

If you mean an android emulator? Yes, I use frida-il2cpp-bridge with the android emulator that comes with android studio all the time. I install frida-server on the device and then install the apk I want to debug. I haven't done an ios app in a while but the process is similar

@vfsfitvnm vfsfitvnm added the question A question about anything label Nov 20, 2023
@Laranjo1
Copy link
Author

Laranjo1 commented Nov 21, 2023

I don't think so, but frida-il2cpp-bridge doesn't really have anything to configure as it is just an npm package you install. Are you trying to setup/configure frida for windows?

Yes, could you send the necessary commands for the correct installation on Windows to debug an Android game on the emulator?

What platform are you on when you see that? If it is an android/ios app you should be able to spawn it with frida -U -f com.gamedragonball but not sure if you can do that on windows/mac

Im using android, it spawned but the script didn't load in the game i really idk why

code

function awaitForCondition(callback) {
    var i = setInterval(function () {
        var addr = Module.findBaseAddress('libil2cpp.so');
        //// console.log("Address found:", addr);
        if (addr) {
            clearInterval(i);
            callback(+addr);
        }
    }, 0);
}
Java.perform(function () {
    awaitForCondition(function (base) {
        il2cpp = ptr(base);
        PlayerID()
    })
})

function playerID() {
    Interceptor.attach(il2cpp.add("0x828171"), {
        onEnter: function (args) {
            Console.log(agrs[0]);
        }
    })
}

If you mean an android emulator? Yes, I use frida-il2cpp-bridge with the android emulator that comes with android studio all the time. I install frida-server on the device and then install the apk I want to debug. I haven't done an ios app in a while but the process is similar

Ok ty i go try install that emulator.
Its better if using emulator.

Edit: need emulate arm64 processor?

Edit2:
imagem

am I missing something?

Edit again: Im a stupid guy, Im trying Run Frida server on android 9 emulated XD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question A question about anything
Projects
None yet
Development

No branches or pull requests

3 participants