chrisli-03 / cocos2dx-game-reverse-engineer

Decrypting encrypted lua files and assets from cocos2dx game
19 stars 10 forks source link

Trying to do this using emulator #4

Open ozuromo opened 8 months ago

ozuromo commented 8 months ago

I'm trying to follow your tutorial to dump some images for the game Idle Heroes, but I don't have a rooted device, so I'm using an emulator. I managed to get frida working but I only get console.log("luaL_loadbuffer cannot be found!");. Can you help?

chrisli-03 commented 7 months ago

Hello, the function name may be different for other games, this article only apply to this specific apk

ozuromo commented 7 months ago

The libcocos2dlua.so file is there at the same folder you said, but when I use Module.findBaseAddress("libcocos2dlua.so") it returns null.

chrisli-03 commented 7 months ago

I tried it and was able to hook to luaL_loadbuffer, might be an issue with the emulator? Im not sure. I wasn't able to get the decrypted files tho, probably need another method for that.

ozuromo commented 7 months ago

So as I suspected it is a problem with the emulator, that's sad. Thank you for your help.

quochuynh67 commented 1 month ago

Hi, Can i have your contact to learn more about it? I want to discuss something.

Thanks you

chrisli-03 commented 1 month ago

Hi, Can i have your contact to learn more about it? I want to discuss something.

Thanks you

My discord is Xiao.Yy#8146, it's been a long time since I did this, not sure how much I remember