Bahamuuut Posted May 18, 2016 Share Posted May 18, 2016 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? Link to comment Share on other sites More sharing options...
Skullboyq Posted May 18, 2016 Share Posted May 18, 2016 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? Link to comment Share on other sites More sharing options...
Bahamuuut Posted May 18, 2016 Author Share Posted May 18, 2016 @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. Link to comment Share on other sites More sharing options...
Skullboyq Posted May 18, 2016 Share Posted May 18, 2016 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 Link to comment Share on other sites More sharing options...
Bahamuuut Posted May 18, 2016 Author Share Posted May 18, 2016 Really? Thanks @Skullboyq ! Finally, a decent tutorial for apk modding... but question, is it modifiable? Apps that are server-sided? -1 Link to comment Share on other sites More sharing options...
Skullboyq Posted May 18, 2016 Share Posted May 18, 2016 Most Serversided Apps are modifiable but some are 100% Serversided which are impossible to mod i think Link to comment Share on other sites More sharing options...
Administrators Enyby Posted May 18, 2016 Administrators Share Posted May 18, 2016 You need find point of load these lua files and look what used to decompile it. It can be anything custom way. Link to comment Share on other sites More sharing options...
Bahamuuut Posted May 19, 2016 Author Share Posted May 19, 2016 @Enyby hmmmm like what? Sorry guys i really tried to google things... Link to comment Share on other sites More sharing options...
Administrators Enyby Posted May 19, 2016 Administrators Share Posted May 19, 2016 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. Link to comment Share on other sites More sharing options...
Bahamuuut Posted May 19, 2016 Author Share Posted May 19, 2016 @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. 1 Link to comment Share on other sites More sharing options...
Administrators Enyby Posted May 19, 2016 Administrators Share Posted May 19, 2016 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. 1 Link to comment Share on other sites More sharing options...
Bahamuuut Posted May 19, 2016 Author Share Posted May 19, 2016 @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? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted May 19, 2016 Administrators Share Posted May 19, 2016 May be. But it complicated stuff. I can not help with it. You must do it yourself. 1 Link to comment Share on other sites More sharing options...
Bahamuuut Posted May 19, 2016 Author Share Posted May 19, 2016 What programs do i need to use when live debugging? Link to comment Share on other sites More sharing options...
Administrators Enyby Posted May 19, 2016 Administrators Share Posted May 19, 2016 For example gdbserver + IDA. It is not only one choice. You can do it with gdb only. Or with some other tools. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now