0

I am trying to find the portion of code in an android game that is responsible for the main logic of the game. (e.g Calculating damage when shooting the zombie) The game is obviously using native code and the whole app consists of 2 files, a standard apk file and an obb file. After searching the smali code and to no avail, I tried disassembling the .so files in the lib folder of the apk file using IDA Pro but they seem to be libraries rather than code written by the developer.On the other file, the obb seems to contain mainly the resources and a few dlls which seem to be libraries too. Where would an android game developer using JNI place the main logic of their game at?

Update:I also noticed that the game uses the Unity engine so I see files like libunity.so

Update: In my lib folder,I have the files libAnalytics.so, libApp.so, libmain.so, libmono.so,libnat.so,libunity.so . It seems like libmain.so contains the main logic due to the presence of function names such as ANativeActivity_onCreate but it only has 6 such functions with such names so I'm not too sure.

  • "but it only has 6 such functions with such names so I'm not too sure." -> Note that only functions exposed via JNI need symbols like that. Functions internal to the .do don't need symbols. – Antimony Sep 7 '17 at 16:27
2

Unity games are scripted in C#. Check the Managed folder in the APK file, patch Assembly-CSharp.dll and enjoy your cheat until you get banned.

  • I "guess" he's asking for help to cheat in a local game. If he is asking for help to cheat in on-line games using a profile with his, supposedly, full name and picture of him... Well, in that case, he is not bright. – joxeankoret Apr 16 '18 at 9:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.