JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.

List of issuesList of issues

#1375 Decompiling fails
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

> What steps will reproduce the problem? Jpexs decompiling from Player_z.swf shows this code in CPlayer\CNetStream\Cipher_2F_var_2F_folders_2F_j7_2F_9yz9hcgs0jvdqrk4mkgnw0f40000gn_2F_T_2 F__2F_ccXwT37L_2E_lto_2E_bc_3A_F275C933_2D_7CE9_2D_4225_2D_93C3_2D_95ED136BA0BB\F_ycalc.as $loc5_ = int($loc25_ + 10); $loc5_ = int($loc25_ * 25); $loc4_ = int($loc5_ + int($loc5_ * $loc16_)); $loc20_ = int($loc25_ + 2); $loc26_ = $loc25_ << 1; $loc20_ = int($loc26_ + int($loc20_ * $loc35_)); $loc20_ = int($loc20_ + -3); $loc26_ = int(-4 - ($loc35_ << 2)); $loc20_ = int($loc26_ + int($loc25_ * (int($loc35_ + 3)))); $loc5_ = int(uint($loc5_) / 3); $loc5_ = int($loc5_ + 26); $loc4_ = int(uint($loc25_) / 9); $loc24_ = int((int(int($loc20_ + int($loc20_ * (int($loc4_ + -4)))) + int($loc5_ * $loc16_))) * (int($loc4_ + 2))) % (int($loc25_ + 4)); $loc25_ = 26; $loc33_ = $loc31_; > What is the expected output? What do you see instead? Expected is (i have simplified it but the relevant is the way calculation is made, look at loc5_1,loc5,loc4_1,loc4 and loc20_1,loc20) $loc5_1= $loc25_ +10 $loc5_ = $loc25_ * 25; $loc4_ = $loc5_ + $loc5_1 * $loc16_; $loc20_1 = ($loc25_ << 1) + (($loc25_ + 2) * $loc35_) + -3; $loc26_ = -4 - ($loc35_ << 2); $loc20_ = $loc26_ + $loc25_ * ($loc35_ + 3); $loc5_ = ($loc5_ / 3) + 26; $loc4_1 = ($loc25_ / 9); $loc24_ = (($loc20_ + $loc20_1 * ($loc4_ + -4) + $loc5_ * $loc16_) * ($loc4_1 + 2)) % ($loc25_ + 4); $loc25_ = 26; $loc33_ = $loc31_; > What version of the product are you using? Is it "nightly build"? Which operating system do you have? version 10.0.0 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. this is the related rabcdasm decompilation L1333: label getlocal 25 pushbyte 10 add convert_i dup setlocal 5 getlocal 16 multiply convert_i getlocal 25 pushbyte 25 multiply convert_i dup setlocal 5 swap add convert_i dup setlocal 4 pushbyte 252 add convert_i getlocal 25 pushbyte 2 add convert_i dup setlocal 20 getlocal 35 multiply convert_i getlocal 25 pushbyte 1 lshift dup setlocal 26 swap add convert_i dup setlocal 20 pushbyte 253 add convert_i dup setlocal 20 swap multiply convert_i getlocal 35 pushbyte 3 add convert_i getlocal 25 swap multiply convert_i getlocal 35 pushbyte 2 lshift pushbyte 252 swap subtract convert_i dup setlocal 26 swap add convert_i dup setlocal 20 swap add convert_i getlocal 5 convert_u pushbyte 3 divide convert_i dup setlocal 5 pushbyte 26 add convert_i dup setlocal 5 getlocal 16 multiply convert_i add convert_i getlocal 25 convert_u pushbyte 9 divide convert_i dup setlocal 4 pushbyte 2 add convert_i multiply convert_i getlocal 25 pushbyte 4 add convert_i modulo convert_i setlocal 24 pushbyte 26 setlocal 25 getlocal 31 setlocal 33 jump L153