Hey. So I'm trying to decompile a flash game to get a cheat code for said game, which unlocks some features, mostly because I've always wanted to know how to do stuff like this. I've decompiled it, and found the part of the code where it checks the text string you've entered. The problem I'm encountering is (and here is where my inexperience with ActionScript really hurts), it seems to be using namespaces to obscure required text. Part of the code looks like this, for example
(that's only part of it, as you can tell from the amount of brackets it's actually much longer).
Now, as far as I can tell, the namespace being used is the built in one (" http://adobe.com/AS3/2006"), but I don't actually know how to reverse engineer it from here, or if it's even possible.
Anybody who actually knows AS3 care to lend a hand? I realise the obvious point that I could just post the flash and let you have at it, but I'd rather do it by hand so I know what to do in the future, ya know?
Code:
if (inputCode.text.toLowerCase() == ((((((((((((((((a[1] + a[6]) + a[6]) + a[2]) + " ")
Now, as far as I can tell, the namespace being used is the built in one (" http://adobe.com/AS3/2006"), but I don't actually know how to reverse engineer it from here, or if it's even possible.
Anybody who actually knows AS3 care to lend a hand? I realise the obvious point that I could just post the flash and let you have at it, but I'd rather do it by hand so I know what to do in the future, ya know?