How does Cocos2d-x keep code (C++ file) safe from decompilation?

2.2k views Asked by At

I just decompiled APK using dex2jar and JD-GUI to access the source code, but I could not find any .h or .cpp files in classes.dex folder. I want to know how does Cocos2d-x take care of that issue and where are all these files stored?

1

There are 1 answers

1
yangguang1029 On

the c++ files are compiled into a dynamic library, in lib/armeabi/, like libxxx.so