AS3 p-code more RAbcDasm like: commas in parameters list (WARNING: Breaks backward compatibility)

This commit is contained in:
Jindra Petřík
2021-02-08 20:15:19 +01:00
parent 21068f98a7
commit 4c4d173798
4 changed files with 22 additions and 9 deletions
@@ -240,14 +240,14 @@ public class ActionScript3DeobfuscatorTest extends ActionScriptTestBase {
+ "b:pushbyte 3\r\n");
Assert.assertEquals(res, "getlocal_0\r\n"
+ "pushscope\r\n"
+ "pushbyte 3\r\n"
+ "pushbyte 4\r\n"
+ "ifeq ofs000e\r\n"
+ "jump ofs0010\r\n"
+ "pushbyte 3\r\n"
+ "pushbyte 4\r\n"
+ "ifeq ofs000e\r\n"
+ "jump ofs0010\r\n"
+ "ofs000e:\r\n"
+ "pushbyte 4\r\n"
+ "pushbyte 4\r\n"
+ "ofs0010:\r\n"
+ "pushbyte 3\r\n"
+ "pushbyte 3\r\n"
+ "returnvoid\r\n");
}