Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How to find the source code of cocos2dx game and analyze how to translate jsc into js

Shulou Source: shulou.com Published: 2022-05-31 22:16:47 10月03日 Update

How to find the source code of the cocos2dx game and analyze the jsc solution to js, I believe that many inexperienced people are at a loss about this. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.

Next, I'll show you how to quickly get the game source code of cocos2dx.

After you get the APK, the first step is to extract it.

After unzipping, find the jsc file in the src folder in the assets folder.

If what you want is a js file, the point is to crack it.

I found the words of the official website, by reading a number of boss's articles, combined with their own understanding, wrote a section of code, can find the encrypted password, thus successfully cracked the jsc.

However, after seeing the source code, I found that there were bigger problems to be solved.

Prepare these tools: adb,xxtea,zip,apktool,jarsigner, bytecode analysis tool (write your own code to analyze the binary stream)

Step: apktool unpack-> bytecode analysis tool find password-> xxtea decryption file-> zip decompression-> [get js source code]-> zip compression-> xxtea encrypted file-> apktool package-> jarsigner signature-> [get new apk]-> adb push to Android-> [finish]

After reading the above, have you mastered how to find the source code of the cocos2dx game and analyze the method of solving jsc into js? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Tags: Files source code analysis tools problems code content bytes passwords folders methods more encryption success helplessness for this next binary reasons multiple Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Xiaomi MariaDB Linux Redmi