Jump to content

Recommended Posts

Posted

I managed to decompile the apk using AdvancedApkTool by BDFreak. Some guy in other forum told me that I won't find anything in its lib folder. He gave me a hint that it uses lua and told me that i should decompile/decrypt it. So how do I decrpyt lua files? The one i found in the internet was decrypting .luac files not the lua files itself. I opened some of its lua files using Sublime Text 2 and it contains a somewhat memory addresses. Any help out here?

Posted

What do you mean? Lua files can be opened by any Text editor its just lua runnable text. Can you send a screenshot or the text itself?

Posted

@Skullboyq here take a look at this: http://imgur.com/hQ6VCxD

By the way, this game is called Pocket Three Kingdoms (Pocket Summoners). It is a server-sided apk which i am trying to create a modded apk. Any suggestions?

Here was the post I posted on the other forum that i was talking about:

https://www.alphagamers.net/threads/how-can-i-find-the-correct-so.164758/

You can look at circleous comment at my post. He wasn't replying to my comments so I posted a help in this forum. :)

Posted

Hmmm i don't understand much of that i think we'd need @Enyby he is the lead coder here so he can help you more than me but i will do my best too and share my results :)

Posted

Really? Thanks @Skullboyq ! Finally, a decent tutorial for apk modding... but question, is it modifiable? Apps that are server-sided? 

Posted

Most Serversided Apps are modifiable but some are 100% Serversided which are impossible to mod i think

  • Administrators
Posted

You need find point of load these lua files and look what used to decompile it.

It can be anything custom way.

  • Administrators
Posted

I think this point located in .so file. It can be some xor for each byte of file as example. Find this plsce can be hard and complicated.

Posted

@Enyby in its lib>armeabi it contains:
-libc++_shared.so

-libcocos2dlua.so

-libmp3lame.so

 

I put all of them in IDA PRO 6.8 but i found no functions like health skills etc. The guy from alphagamers.net said i wouldn't get anything from these files.

  • Administrators
Posted

This code located in someone sub_xxx function. It hard to find.

 

Guy say this about lua file, not about all info. In this files no lua file, but they contains code for work with lua.

Posted

@Enyby yup there's plenty of sub_xxx function there. I tried Shift+F12 but didn't get any results. Also tried to find in the Functions Window. Maybe i need to do a live debugging?

  • Administrators
Posted

For example gdbserver + IDA. It is not only one choice. You can do it with gdb only. Or with some other tools.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.