jump to resources view from hex view

This commit is contained in:
2016-08-01 16:53:54 +02:00
parent 234ed1c915
commit 5107a644cc
63 changed files with 23142 additions and 22930 deletions
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -2095,9 +2095,9 @@ public class AVM2Code implements Cloneable {
}
// Declarations
DeclarationAVM2Item d[] = new DeclarationAVM2Item[regCount];
DeclarationAVM2Item[] d = new DeclarationAVM2Item[regCount];
int param_types[] = abc.method_info.get(body.method_info).param_types;
int[] param_types = abc.method_info.get(body.method_info).param_types;
int r = 1;
for (int i = 0; i < param_types.length; i++) {
GraphTargetItem type;
@@ -1,21 +1,21 @@
package com.jpexs.decompiler.flash.abc.types;
public class Float4 {
public float values[] = new float[4];
public Float4(float value1, float value2, float value3, float value4) {
this.values = new float[]{value1, value2, value3, value4};
}
public Float4(float[] values) {
if (values == null || values.length < 4) {
throw new IllegalArgumentException("Invalid values size");
}
this.values[0] = values[0];
this.values[1] = values[1];
this.values[2] = values[2];
this.values[3] = values[3];
}
}
package com.jpexs.decompiler.flash.abc.types;
public class Float4 {
public float[] values = new float[4];
public Float4(float value1, float value2, float value3, float value4) {
this.values = new float[]{value1, value2, value3, value4};
}
public Float4(float[] values) {
if (values == null || values.length < 4) {
throw new IllegalArgumentException("Invalid values size");
}
this.values[0] = values[0];
this.values[1] = values[1];
this.values[2] = values[2];
this.values[3] = values[3];
}
}