mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-23 00:05:55 +00:00
Fixed: AS3 search slot name Index out of bounds
This commit is contained in:
@@ -36,6 +36,7 @@ All notable changes to this project will be documented in this file.
|
||||
- [#2486] AS ifs with direct breaks (in obfuscated code)
|
||||
- [#2486] AS3 skipping label instruction
|
||||
- Highlighter nullpointer
|
||||
- AS3 search slot name Index out of bounds
|
||||
|
||||
### Changed
|
||||
- Icon of "Deobfuscation options" menu from pile of pills to medkit
|
||||
|
||||
@@ -506,9 +506,9 @@ public abstract class InstructionDefinition implements Serializable {
|
||||
Traits traits = null;
|
||||
if (obj instanceof NewActivationAVM2Item) {
|
||||
traits = localData.methodBody.traits;
|
||||
} else if (obj instanceof ThisAVM2Item) {
|
||||
} else if (obj instanceof ThisAVM2Item && localData.classIndex > -1) {
|
||||
traits = localData.abc.instance_info.get(localData.classIndex).instance_traits;
|
||||
} else if (obj instanceof ClassAVM2Item) {
|
||||
} else if (obj instanceof ClassAVM2Item && localData.classIndex > -1) {
|
||||
traits = localData.abc.class_info.get(localData.classIndex).static_traits;
|
||||
} else if (obj instanceof GlobalAVM2Item) {
|
||||
traits = localData.abc.script_info.get(localData.scriptIndex).traits;
|
||||
|
||||
Reference in New Issue
Block a user