mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 11:44:36 +00:00
More documentation.
This commit is contained in:
@@ -19,7 +19,7 @@ package com.jpexs.decompiler.flash.abc.avm2.instructions.alchemy;
|
||||
import com.jpexs.decompiler.graph.DottedChain;
|
||||
|
||||
/**
|
||||
*
|
||||
* Alchemy instruction - for domain memory access.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public interface AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* lf32 instruction - Load 32-bit float from domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Lf32Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* lf64 instruction - Load 64-bit float from domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Lf64Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* li16 instruction - Load 16-bit integer from domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Li16Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* li32 instruction - Load 32-bit integer from domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Li32Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* li8 instruction - Load 8-bit integer from domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Li8Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* sf32 instruction - Store 32-bit float to domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Sf32Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* sf64 instruction - Store 64-bit float to domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Sf64Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* si16 instruction - Store 16-bit integer to domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Si16Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* si32 instruction - Store 32-bit integer to domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Si32Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* si8 instruction - Store 8-bit integer to domain memory.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Si8Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* sxi16 instruction - Sign extend 16-bit integer to 32-bit integer.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Sxi16Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* sxi1 instruction - Sign extend 1-bit integer to 32-bit integer.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Sxi1Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* sxi8 instruction - Sign extend 8-bit integer to 32-bit integer.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class Sxi8Ins extends InstructionDefinition implements AlchemyTypeIns {
|
||||
|
||||
@@ -26,10 +26,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.operations.AddAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* add_i instruction - Add two integers.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class AddIIns extends InstructionDefinition {
|
||||
|
||||
@@ -27,10 +27,11 @@ import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaType;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* add instruction - Add two values.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class AddIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,10 +26,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.DecrementAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* decrement_i instruction - Decrement an integer.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DecrementIIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,10 +26,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.DecrementAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* decrement instruction - Decrement a number.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DecrementIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,10 +26,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.operations.DivideAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* divide instruction - Divide two values.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DivideIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* increment_i instruction - Increment an integer.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IncrementIIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* increment instruction - Increment a number.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IncrementIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* modulo instruction - Modulo operation.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ModuloIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* multiply_i instruction - Multiply two integers.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MultiplyIIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* multiply instruction - Multiply two numbers.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class MultiplyIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* negate_i instruction - Negate an integer.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NegateIIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* negate instruction - Negate a number.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NegateIns extends InstructionDefinition {
|
||||
|
||||
@@ -28,7 +28,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* not instruction - Negate a boolean.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NotIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* subtract_i instruction - Subtract two integers.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SubtractIIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* subtract instruction - Subtract two numbers.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SubtractIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,10 +26,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.operations.BitAndAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* bitand instruction - Bitwise AND.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BitAndIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,10 +26,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.operations.BitNotAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* bitnot instruction - Bitwise NOT.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BitNotIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,10 +26,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.operations.BitOrAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* bitor instruction - Bitwise OR.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BitOrIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,10 +26,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.operations.BitXorAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* bitxor instruction - Bitwise XOR.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BitXorIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* lshift instruction - Bitwise left shift.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LShiftIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* rshift instruction - Bitwise right shift.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class RShiftIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* urshift instruction - Unsigned right bitwise shift.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class URShiftIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,10 +26,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.operations.EqAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* equals instruction - Compare two values for equality.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class EqualsIns extends InstructionDefinition {
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* greaterequals instruction - Greater or equals.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GreaterEqualsIns extends InstructionDefinition {
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* greaterthan instruction - Greater than.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GreaterThanIns extends InstructionDefinition {
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* lessequals instruction - Less or equals.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LessEqualsIns extends InstructionDefinition {
|
||||
|
||||
@@ -30,7 +30,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* lessthan instruction - Less than.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LessThanIns extends InstructionDefinition {
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* strictequals instruction - Compare two values for strict equality.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class StrictEqualsIns extends InstructionDefinition {
|
||||
|
||||
@@ -23,26 +23,18 @@ import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.ConstructAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.EscapeXAttrAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.EscapeXElemAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.FindPropertyAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.FullMultinameAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.GetLexAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.GetPropertyAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.RegExpAvm2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.StringAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.XMLAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.*;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.operations.AddAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.ObjectType;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* construct instruction - Construct a new object.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ConstructIns extends InstructionDefinition {
|
||||
|
||||
@@ -24,20 +24,16 @@ import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.GetPropertyIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.ConstructPropAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.FindPropertyAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.FullMultinameAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.RegExpAvm2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.StringAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.XMLAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.*;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import com.jpexs.helpers.Reference;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* constructprop instruction - Construct a property.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ConstructPropIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,11 +26,12 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.ConstructSuperAVM2Item;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
*´constructsuper instruction - Construct an instance of the base class.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class ConstructSuperIns extends InstructionDefinition {
|
||||
|
||||
@@ -26,7 +26,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* newactivation instruction - Create a new activation object.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewActivationIns extends InstructionDefinition {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* newarray instruction - Create a new array.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewArrayIns extends InstructionDefinition {
|
||||
|
||||
@@ -27,7 +27,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* newcatch instruction - Create a new catch object.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewCatchIns extends InstructionDefinition {
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.util.HashSet;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* newclass instruction - Create a new class.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewClassIns extends InstructionDefinition {
|
||||
|
||||
@@ -28,7 +28,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* newfunction instruction - Create a new function object.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewFunctionIns extends InstructionDefinition {
|
||||
|
||||
@@ -35,7 +35,7 @@ import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* newobject instruction - Create a new object.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class NewObjectIns extends InstructionDefinition {
|
||||
|
||||
@@ -23,7 +23,7 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
|
||||
/**
|
||||
*
|
||||
* debugfile instruction - Set the current file for debugging.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DebugFileIns extends InstructionDefinition {
|
||||
|
||||
@@ -23,7 +23,7 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
|
||||
/**
|
||||
*
|
||||
* debug instruction - Debug information.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DebugIns extends InstructionDefinition {
|
||||
|
||||
@@ -23,7 +23,7 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
|
||||
/**
|
||||
*
|
||||
* debugline instruction - Debug line number information.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DebugLineIns extends InstructionDefinition {
|
||||
|
||||
@@ -31,11 +31,12 @@ import com.jpexs.decompiler.flash.ecma.NotCompileTime;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import com.jpexs.decompiler.graph.model.DuplicateItem;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* call instruction - Call a function.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallIns extends InstructionDefinition {
|
||||
|
||||
@@ -27,11 +27,12 @@ import com.jpexs.decompiler.flash.abc.avm2.model.CallMethodAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.NotCompileTime;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* callmethod instruction - Call a method.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallMethodIns extends InstructionDefinition {
|
||||
|
||||
@@ -28,11 +28,12 @@ import com.jpexs.decompiler.flash.ecma.NotCompileTime;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import com.jpexs.helpers.Reference;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* callproplex instruction - Call a property, lexically.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallPropLexIns extends CallPropertyIns {
|
||||
|
||||
@@ -29,11 +29,12 @@ import com.jpexs.decompiler.flash.abc.avm2.model.FullMultinameAVM2Item;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import com.jpexs.helpers.Reference;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* callpropvoid instruction - Call a property, ignore return value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallPropVoidIns extends InstructionDefinition {
|
||||
|
||||
@@ -30,11 +30,12 @@ import com.jpexs.decompiler.flash.ecma.NotCompileTime;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import com.jpexs.helpers.Reference;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* callproperty instruction - Call a property.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallPropertyIns extends InstructionDefinition {
|
||||
|
||||
@@ -27,11 +27,12 @@ import com.jpexs.decompiler.flash.abc.avm2.model.CallStaticAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.NotCompileTime;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* callstatic instruction - Call a method by method index.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallStaticIns extends InstructionDefinition {
|
||||
|
||||
@@ -28,11 +28,12 @@ import com.jpexs.decompiler.flash.abc.avm2.model.FullMultinameAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.NotCompileTime;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* callsuper instruction - Call a super method.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallSuperIns extends InstructionDefinition {
|
||||
|
||||
@@ -27,11 +27,12 @@ import com.jpexs.decompiler.flash.abc.avm2.model.CallSuperAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.model.FullMultinameAVM2Item;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* callsuper instruction - Call a super method, ignoring the return value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class CallSuperVoidIns extends InstructionDefinition {
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifeq instruction - if two values are equal, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfEqIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* iffalse instruction - if value is false, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfFalseIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifge instruction - if value is greater or equal, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfGeIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifgt instruction - if value is greater, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfGtIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifle instruction - if value is less or equal, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfLeIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* iflt instruction - if value is less, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfLtIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifnge instruction - if value is greater or equal, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfNGeIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifngt instruction - if value is not greater, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfNGtIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifnle instruction - if value is not less or equal, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfNLeIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -34,7 +34,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifnlt instruction - if value is not less, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfNLtIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifne instruction - if two values are not equal, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfNeIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifstricteq instruction - if two values are strictly equal, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfStrictEqIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -33,7 +33,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* ifstrictne instruction - if two values are strictly not equal, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfStrictNeIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -31,7 +31,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* iftrue instruction - if value is true, jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IfTrueIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -29,7 +29,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* jump instruction - jump.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class JumpIns extends InstructionDefinition implements IfTypeIns {
|
||||
|
||||
@@ -26,7 +26,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* lookupswitch instruction - switch based on a key.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class LookupSwitchIns extends InstructionDefinition {
|
||||
|
||||
@@ -31,10 +31,11 @@ import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.flash.ecma.NotCompileTime;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* declocal_i instruction - Decrement local integer variable by 1.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DecLocalIIns extends InstructionDefinition {
|
||||
|
||||
@@ -31,10 +31,11 @@ import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
import com.jpexs.decompiler.flash.ecma.NotCompileTime;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* declocal instruction - Decrement local variable by 1.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DecLocalIns extends InstructionDefinition {
|
||||
|
||||
@@ -19,7 +19,7 @@ package com.jpexs.decompiler.flash.abc.avm2.instructions.localregs;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* getlocal0 instruction - get local register 0 value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetLocal0Ins extends GetLocalTypeIns {
|
||||
|
||||
@@ -19,7 +19,7 @@ package com.jpexs.decompiler.flash.abc.avm2.instructions.localregs;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* getlocal1 instruction - get local register 1 value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetLocal1Ins extends GetLocalTypeIns {
|
||||
|
||||
@@ -19,7 +19,7 @@ package com.jpexs.decompiler.flash.abc.avm2.instructions.localregs;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* getlocal2 instruction - get local register 2 value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetLocal2Ins extends GetLocalTypeIns {
|
||||
|
||||
@@ -19,7 +19,7 @@ package com.jpexs.decompiler.flash.abc.avm2.instructions.localregs;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* getlocal2 instruction - get local register 2 value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetLocal3Ins extends GetLocalTypeIns {
|
||||
|
||||
@@ -20,7 +20,7 @@ import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* getlocal instruction - get local register value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class GetLocalIns extends GetLocalTypeIns {
|
||||
|
||||
@@ -49,7 +49,7 @@ import com.jpexs.decompiler.graph.model.DuplicateItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* getlocal type instruction - get local register value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public abstract class GetLocalTypeIns extends InstructionDefinition {
|
||||
|
||||
@@ -34,7 +34,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* inclocal_i instruction - Increment local integer register by 1.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IncLocalIIns extends InstructionDefinition {
|
||||
|
||||
@@ -34,7 +34,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* inclocal instruction - Increment local register by 1.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class IncLocalIns extends InstructionDefinition {
|
||||
|
||||
@@ -25,7 +25,7 @@ import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* kill instruction - kill local register.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class KillIns extends InstructionDefinition {
|
||||
|
||||
@@ -19,7 +19,7 @@ package com.jpexs.decompiler.flash.abc.avm2.instructions.localregs;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* setlocal0 instruction - set local register 0 value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetLocal0Ins extends SetLocalTypeIns {
|
||||
|
||||
@@ -19,7 +19,7 @@ package com.jpexs.decompiler.flash.abc.avm2.instructions.localregs;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* setlocal1 instruction - set local register 1 value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetLocal1Ins extends SetLocalTypeIns {
|
||||
|
||||
@@ -19,7 +19,7 @@ package com.jpexs.decompiler.flash.abc.avm2.instructions.localregs;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* setlocal2 instruction - set local register 2 value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetLocal2Ins extends SetLocalTypeIns {
|
||||
|
||||
@@ -19,7 +19,7 @@ package com.jpexs.decompiler.flash.abc.avm2.instructions.localregs;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* setlocal3 instruction - set local register 3 value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetLocal3Ins extends SetLocalTypeIns {
|
||||
|
||||
@@ -20,7 +20,7 @@ import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
|
||||
/**
|
||||
*
|
||||
* setlocal instruction - set local register value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class SetLocalIns extends SetLocalTypeIns {
|
||||
|
||||
@@ -40,7 +40,7 @@ import com.jpexs.decompiler.graph.model.PopItem;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* setlocal type instruction - set local register value.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public abstract class SetLocalTypeIns extends InstructionDefinition implements SetTypeIns {
|
||||
|
||||
@@ -23,7 +23,7 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
|
||||
/**
|
||||
*
|
||||
* bkpt instruction - break point.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BkptIns extends InstructionDefinition {
|
||||
|
||||
@@ -24,7 +24,7 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
|
||||
/**
|
||||
*
|
||||
* bkptline instruction - break point with line number.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class BkptLineIns extends InstructionDefinition {
|
||||
|
||||
@@ -28,10 +28,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.operations.DeletePropertyAVM2It
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
import com.jpexs.helpers.Reference;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* deleteproperty instruction - delete property from object.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class DeletePropertyIns extends InstructionDefinition {
|
||||
|
||||
@@ -25,10 +25,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.FindDefAVM2Item;
|
||||
import com.jpexs.decompiler.flash.abc.types.Multiname;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* finddef instruction - find definition of multiname.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class FindDefIns extends InstructionDefinition {
|
||||
|
||||
@@ -28,10 +28,11 @@ import com.jpexs.decompiler.flash.abc.avm2.model.FullMultinameAVM2Item;
|
||||
import com.jpexs.decompiler.flash.ecma.NotCompileTime;
|
||||
import com.jpexs.decompiler.graph.GraphTargetItem;
|
||||
import com.jpexs.decompiler.graph.TranslateStack;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* findproperty instruction - find property.
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class FindPropertyIns extends InstructionDefinition {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user