Hello everybody.
For a while I studied and tried to understand how this worked, I learned a lot, but I don't have time to focus more and more.
Some people have problems decrypting files, understand that libcocos is an engine, xxtea is an outside library, for encoding and decoding, the way it behaves varies from game to game, because its developers seek to better protect their files, and as time goes by and it changes.
be it simply hiding your keys, changing their formats, or having them generated.
There are also cases where the DELTA value is modified.
If you are facing problems, try to learn more, search for more knowledge, once you get it, the rest will be easy.
I leave here the source of the decoding code in C#, and a simple project in VB.NET for testing.
I tried to leave as many comments as possible so you can understand how it works
Thank you all, have a new year, and new possibilities
libcocos,cocos2d,engine,xxtea
For a while I studied and tried to understand how this worked, I learned a lot, but I don't have time to focus more and more.
Some people have problems decrypting files, understand that libcocos is an engine, xxtea is an outside library, for encoding and decoding, the way it behaves varies from game to game, because its developers seek to better protect their files, and as time goes by and it changes.
be it simply hiding your keys, changing their formats, or having them generated.
There are also cases where the DELTA value is modified.
If you are facing problems, try to learn more, search for more knowledge, once you get it, the rest will be easy.
I leave here the source of the decoding code in C#, and a simple project in VB.NET for testing.
I tried to leave as many comments as possible so you can understand how it works
Hidden content
libcocos,cocos2d,engine,xxtea
Last edited: