diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/CallAVM2Item.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/CallAVM2Item.java index 6b9bed180..2ce71091c 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/CallAVM2Item.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/parser/script/CallAVM2Item.java @@ -174,7 +174,12 @@ public class CallAVM2Item extends AVM2Item { if (i >= arguments.size()) { break; } - TypeItem type = new TypeItem(abc.constants.getMultiname(mi.param_types[i]).getNameWithNamespace(abc.constants, true /*??*/)); + GraphTargetItem type; + if (mi.param_types[i] == 0) { + type = TypeItem.UNBOUNDED; + } else { + type = new TypeItem(abc.constants.getMultiname(mi.param_types[i]).getNameWithNamespace(abc.constants, true /*??*/)); + } arguments.set(i, AVM2SourceGenerator.handleAndOrCoerce(arguments.get(i), type)); } }