JPEXS Free Flash Decompiler Issue Tracker

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

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#1033 AS3 deobfuscation removes useful codes
Author: developer honfika
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed Help

> What steps will reproduce the problem? Open 333.swf from issue tracker. Decompile module\personalInfo\viewNew\PersonalSkillView.as > What is the expected output? What do you see instead? Current: private function var18370() : void { var _loc1_:NoBgTab = null; this.var19955 = new Vector.<NoBgTab>(); this.var19955.push(new NoBgTab("",0)); var _loc2_:int = 156 - 12; while(0 < this.var19955.length) { _loc1_ = this.var19955[0]; _loc1_.x = _loc2_; _loc1_.y = 116 - _loc1_.height; _loc1_.addEventListener(MouseEvent.CLICK,this.var19918); _loc2_ = _loc2_ + (_loc1_.width + 70 - 24); _loc3_++; } } Expected: something like this: private function var18370() : void { var _loc1_:NoBgTab = null; this.var19955 = new Vector.<NoBgTab>(); this.var19955.push(new NoBgTab("",0)); var _loc2_:int = 156 - 12; var _loc3_:* = 0; while(_loc3_ < this.var19955.length) { _loc1_ = this.var19955[_loc3_]; _loc1_.x = _loc2_; _loc1_.y = 116 - _loc1_.height; _loc1_.addEventListener(MouseEvent.CLICK,this.var19918); _loc2_ = _loc2_ + (_loc1_.width + 70 - 24); _loc3_++; } } > What version of the product are you using? Is it "nightly build"? Which operating system do you have? Latest nightly > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
admin
:-(
developer
I did some performance optimizations recently, but the result is exactly the same as in the stable version (6.0.1).. So for some reasion the deobfuscator thinks that _loc3_ is constant.
developer
Fixed
State: new→closed
admin
I fixed it too :-)