mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-02 10:34:18 +00:00
Correct body index for script initializer in P-code debugging
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc;
|
||||
|
||||
import com.jpexs.decompiler.flash.SWF;
|
||||
@@ -576,7 +577,7 @@ public class ScriptPack extends AS3ClassTreeItem {
|
||||
int scriptInitBody = abc.findBodyIndex(abc.script_info.get(scriptIndex).init_index);
|
||||
|
||||
if (!bodyToIdentifier.containsKey(scriptInitBody)) {
|
||||
if (!bodyToIdentifier.containsKey(scriptInitBody)) {
|
||||
bodyToIdentifier.put(scriptInitBody, "abc:" + abcIndex + ",script:" + scriptIndex + ",class:-1,trait:-3,method:" + abc.script_info.get(scriptIndex).init_index + ",body:" + scriptInitBody);
|
||||
}
|
||||
|
||||
String pkg = path.packageStr.toString();
|
||||
|
||||
Reference in New Issue
Block a user