: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.
State: new new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
right code should be:
for each(_loc5_ in param1)
_loc4_[_loc5_[param2]] = _loc5_;
after decompiler, the code become:
for each(_loc4_[_loc5_[param2]] in param1)
this is wrong!!
attached the example SWF file.
original code below:
public static function array2Map(_arg1:Object, _arg2:String, _arg3:Class):Object
var _local4:Object = new _arg3();
for each (_local5 in _arg1)
_local4[_local5[_arg2]] = _local5;