Tool Tools Decryption and Encryption LUA & LUAC Files to Modded Cocos2dlua Games

Hi and thanks for your tutorial!

I've been trying to work with the app King's Throne, available for iOS and Android.

This game has been built with cocos2d-x and uses LUA scripting instead of JS, but the process is the very same.
The lua files have been compiled and encrypted, and all of them have the signature LAKYSIGN at the beginning, so this is probably xxtea as well since the game is built with cocos2d.

However, I have not been able to find the key to decrypt the files using the common methods mentioned here and other tutorials.
For instance, if you disassemble the iOS executable you wont find the traditional method setXXTEAKeyAndSign or anything with the name "xxtea" in it.
Searching for the string "lakysign" also yields nothing, but there are some labels with the strings "laky" and also "main.lua".

I believe they changed some things around to hide the key and the signature.

Appreciate if anyone can help with this one!

I have uploaded a decrypted version of the iOS executable and one of the compiled lua files here:
24.29 MB folder on MEGA

Should be easy enough to get the libcocos2dlua.so file from the APK as well:
King's Throne: Royal Delights for Android - APK Download

Thanks!
 
I can't find the signature
Please help me
1655657439057.png
 
Tags Tags
cocos2d cocos2dlua cocos2dlua games lua file luac file mod cocos2dlua
Back
Top Bottom