How to extract all assets in a cocos2d Android app using Frida
Note: all codes of this project is in my repository at Github . Introduction Cocos2D is a popular game engine, people can make mobile games using it. You can find more information in its official website, https://www.cocos.com/en . And it's open source, you can find its source code easily at Github . Frankly, I should say open source has its own dark side, people can gain many hints and inspiration form source code to reverse engineering a built binary. Frida is a powerful dynamic instrument toolkit, all code is here . Now, I will try to extract all assets in a cococ2d Android app using Frida. I select a card game developed by a Chinese company. It's fknsg(放开那三国). You can download it in here . I select this game because it's using Cocos2D engine, and it has arm7 and arm8-64 version of built binary, so I can test in many architecture. Lots of Cocos2D Android games only have arm7 version binary. And also this game's art is very...