

Paste your code from the decompiler into the "Original codes go here" pane The code to end a function is 0x47 (returnvoid) Since the whole Hurt function is what makes the damage happen, we can just turn it off with little to no repercussions This one is a bit easier to modify, but can be harder to find Now that you have your AOB's, skip down to Step 5 In the AOB Extractor, paste your code into the "Original Codes go Here" pane.Ĭlick the buttons marked "Get AoB" and "Copy to Edit Pane".Ĭhange the 4th line up, marked //24 64 to //2d 0e and then press the second "Get AoB" button, assuming nothing else was changed, the Shorter by label should disapear Since Pushbyte (0x24) (a 2 byte operation) can only go up to 7f or 127, we'll need to use a totally different operation (Pushint, 0x2d)įor this tutorial, we'll be using the Pushint 2d 0e which has a value of 16777215 Open Kadat's AOB Extractor program and paste your AOB This can be found by switch to Source Code, seeing that's what makes get hurt, then switching to Raw Data to get the AOB'sĬopy a couple lines of that and then head over to Step 4 :)

In this particular case, we would want to use this: We would search for something along the lines of "hurt, damage, hit, etc." Since 100 is under 127, the value is stored as a pushbyte, here you can see _as3_pushbyte 100 and then the initproperty with Person::_healthĬopy a few lines above so cheat engine will return as few hits as possibleĬopy the code and then head over to Step 4 :) To edit (make an AOB hack) we need to switch over the Raw Data view (This is found by switching to Source Code view)Īs you can see, _health = 100 is in a snippet of code and not in a private var, therefore it is easier to edit/hack We would want this little section of code: In this case, Person is the class name we would want. Scroll through the search results at the bottom of the screen and find a class name that sounds like it could work. Use the search bar and type in any of the above or another variation you might be able to come up with, but those are the most commonĪfter you have it typed in, click "Search All AS" We would search for something along the lines of "health, hp, life, etc." If P-Code or Raw Data is not selected, SoThink will crash anytime you search for something (In 95% of games made around date of posting) **When searching, make sure to select P-Code ** Not able to get hurt.įirst, we would go to the file manager on the right and click the + next to the file name to expand what's inside the SWF Now lets say you'd like to find something to a). Open the newly made file with SoThink SWF DecompilerĪssuming you have just downloaded and installed the SWF Decompiler, it should look something like this:Ĭlick the tab button at the top of the program named "ActionScript".Ī different menu will come up when ActionScript is selected The game usually the file denoted by an asterisks (*). With this program, select the correct Flash Player process and scan for games.

#SOTHINK SWF DECOMPILER TUTORIAL .EXE#
EXE is located, so make sure to put it in a smart place It will dump the flash file to where-ever the. Kadat's AOB Extractor (Not essential, but speeds up the process)-Ī list of operations used for AOB hacking -ĭownload and open Kadat's Flash Dumper. EDIT: You can now use this tool to get most of the needed tools!
