Simple Prehack: Decompiler + Hex Editor
-migrated-
Simple Prehack: Decompiler + Hex Editor Posted on: 07/15/2009 7:53pm
Quote Post
First of all, download Sothink SWF Decompiler, a hex editor (I use UltraEdit) and swfdecomp.


1. Download the game.
viewtopic.php?f=18&t=660

2. Right click on the SWF and select 'Sothink SWF Decompiler'.


3. Find 'MainMovie'.


4. Find some useful variables (health, hp, money, cash, strength, dexterity etc.)


5. Select 'Raw Data'.


6. Find the variables again.


7. Copy the hex of the variables you want to change. Let's keep this simple and change strength.


8. Drag the SWF over 'swfdecomp.exe' and drop it.


9. Open the SWF in a hex editor


10. Replace '96 0a 00 00 73 74 72 00 07 0a 00 00 00 30 96 05 00 07 01 00 00 00'
(strength = random(10) + 1) with '96 0a 00 00 73 74 72 00 07 0a 00 00 00 30 96 05 00 07 FF FF 00 00' (strength = random(10) + 65535)



We will have to remove the protection first.

11. Find the protection




12. Remove the protection
(broken image removed)



(broken image removed)