From e163483536ac9ba0a0a53e8dc371ae1437236836 Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 9 Aug 2020 20:04:07 +0100 Subject: [PATCH] Refactor unpackclass's Js5Index class Signed-off-by: Graham --- share/deob/map/unpackclass.yaml | 260 ++++++++++++++++---------------- 1 file changed, 130 insertions(+), 130 deletions(-) diff --git a/share/deob/map/unpackclass.yaml b/share/deob/map/unpackclass.yaml index 118040a3..eaef9af1 100644 --- a/share/deob/map/unpackclass.yaml +++ b/share/deob/map/unpackclass.yaml @@ -1,7 +1,7 @@ --- classes: unpackclass!a: "ByteArray" - unpackclass!aa: "Class199" + unpackclass!aa: "Js5Index" unpackclass!c: "BufferPool" unpackclass!e: "Buffer" unpackclass!f: "LinkedList" @@ -25,59 +25,59 @@ fields: owner: "ByteArray" name: "directBuffersUnsupported" unpackclass!aa.a I: - owner: "Class199" - name: "anInt6141" + owner: "Js5Index" + name: "size" unpackclass!aa.b [I: - owner: "Class199" - name: "anIntArray696" + owner: "Js5Index" + name: "groupIds" unpackclass!aa.c [I: - owner: "Class199" - name: "anIntArray697" + owner: "Js5Index" + name: "groupNameHashes" unpackclass!aa.d [I: - owner: "Class199" - name: "anIntArray698" + owner: "Js5Index" + name: "groupChecksums" unpackclass!aa.e [I: - owner: "Class199" - name: "anIntArray699" + owner: "Js5Index" + name: "groupVersions" unpackclass!aa.f [I: - owner: "Class199" - name: "anIntArray700" + owner: "Js5Index" + name: "groupSizes" unpackclass!aa.g [[I: - owner: "Class199" - name: "anIntArrayArray56" + owner: "Js5Index" + name: "fileIds" unpackclass!aa.h [[I: - owner: "Class199" - name: "anIntArrayArray57" + owner: "Js5Index" + name: "fileNameHashes" unpackclass!aa.i [Lunpackclass!i;: - owner: "Class199" - name: "aClass205Array2" + owner: "Js5Index" + name: "fileNameHashTables" unpackclass!aa.j [Ljava/lang/Object;: - owner: "Class199" - name: "anObjectArray34" + owner: "Js5Index" + name: "packed" unpackclass!aa.k [I: - owner: "Class199" - name: "anIntArray701" + owner: "Js5Index" + name: "groupCapacities" unpackclass!aa.l [[Ljava/lang/Object;: - owner: "Class199" - name: "anObjectArrayArray3" + owner: "Js5Index" + name: "unpacked" unpackclass!aa.m Lunpackclass!k;: - owner: "Class199" - name: "aClass207_2" + owner: "Js5Index" + name: "GZIP_DECOMPRESSOR" unpackclass!aa.n I: - owner: "Class199" - name: "anInt6142" + owner: "Js5Index" + name: "checksum" unpackclass!aa.o Z: - owner: "Class199" - name: "aBoolean433" + owner: "Js5Index" + name: "discardPacked" unpackclass!aa.p Z: - owner: "Class199" - name: "aBoolean434" + owner: "Js5Index" + name: "discardUnpacked" unpackclass!aa.q Z: - owner: "Class199" - name: "aBoolean435" + owner: "Js5Index" + name: "RAISE_EXCEPTIONS" unpackclass!aa.r I: - owner: "Class199" - name: "anInt6143" + owner: "Js5Index" + name: "MAX_LENGTH" unpackclass!c.a I: owner: "BufferPool" name: "smallBufferCount" @@ -449,127 +449,127 @@ methods: 0: "bytes" locals: {} unpackclass!aa. (ZZ)V: - owner: "Class199" + owner: "Js5Index" name: "" arguments: - 0: "arg0" - 1: "arg1" + 0: "discardPacked" + 1: "discardUnpacked" locals: {} unpackclass!aa.a (I)Z: - owner: "Class199" - name: "method4928" + owner: "Js5Index" + name: "isGroupValid" arguments: - 0: "arg0" + 0: "group" locals: {} unpackclass!aa.a (II)Z: - owner: "Class199" - name: "method4929" + owner: "Js5Index" + name: "isFileValid" arguments: - 0: "arg0" - 1: "arg1" + 0: "group" + 1: "file" locals: {} unpackclass!aa.a (II[I)[B: - owner: "Class199" - name: "method4931" + owner: "Js5Index" + name: "getFile" arguments: - 0: "arg0" - 1: "arg1" - 2: "arg2" + 0: "group" + 1: "file" + 2: "key" locals: - 23: "local23" - 33: "local33" - 46: "local46" + 23: "success" + 33: "success2" + 46: "bytes" unpackclass!aa.a (I[I)Z: - owner: "Class199" - name: "method4934" + owner: "Js5Index" + name: "unpackGroup" arguments: - 0: "arg0" - 1: "arg1" + 0: "group" + 1: "key" locals: - 19: "local19" - 24: "local24" - 43: "local43" - 45: "local45" - 47: "local47" - 53: "local53" - 100: "local100" - 105: "local105" - 124: "local124" - 126: "local126" - 191: "local191" - 198: "local198" - 211: "local211" - 214: "local214" - 219: "local219" - 223: "local223" - 225: "local225" - 250: "local250" - 252: "local252" - 274: "local274" - 276: "local276" - 280: "local280" - 282: "local282" - 320: "local320" - 326: "local326" - 361: "local361" + 19: "groupSize" + 24: "fileIds" + 43: "unpacked" + 45: "found" + 47: "i" + 53: "fileId" + 100: "compressed" + 105: "buffer" + 124: "uncompressed" + 126: "ex" + 191: "position" + 198: "stripes" + 211: "buffer" + 214: "sizes" + 219: "i" + 223: "len" + 225: "j" + 250: "extracted" + 252: "i" + 274: "off" + 276: "i" + 280: "len" + 282: "j" + 320: "i" + 326: "fileId" + 361: "fileId" unpackclass!aa.a ([B)V: - owner: "Class199" - name: "method4927" + owner: "Js5Index" + name: "read" arguments: - 0: "arg0" + 0: "bytes" locals: - 13: "local13" - 16: "local16" - 42: "local42" - 48: "local48" - 50: "local50" - 57: "local57" - 142: "local142" - 157: "local157" - 179: "local179" - 197: "local197" - 215: "local215" - 233: "local233" - 240: "local240" - 245: "local245" - 247: "local247" - 249: "local249" - 257: "local257" - 273: "local273" - 320: "local320" - 327: "local327" - 332: "local332" - 343: "local343" - 361: "local361" - 375: "local375" + 13: "buffer" + 16: "protocol" + 42: "flags" + 48: "prevGroupId" + 50: "maxGroupId" + 57: "i" + 142: "groupId" + 157: "i" + 179: "i" + 197: "i" + 215: "i" + 233: "i" + 240: "groupId" + 245: "groupSize" + 247: "prevFileId" + 249: "maxFileId" + 257: "j" + 273: "fileId" + 320: "i" + 327: "groupId" + 332: "groupSize" + 343: "fileId" + 361: "j" + 375: "fileId" unpackclass!aa.b (I)V: - owner: "Class199" - name: "method4932" + owner: "Js5Index" + name: "fetchGroup" arguments: - 0: "arg0" + 0: "group" locals: {} unpackclass!aa.b (II)[B: - owner: "Class199" - name: "method4930" + owner: "Js5Index" + name: "getFile" arguments: - 0: "arg0" - 1: "arg1" + 0: "group" + 1: "file" locals: {} unpackclass!aa.b ([B)[B: - owner: "Class199" - name: "method4935" + owner: "Js5Index" + name: "uncompress" arguments: - 0: "arg0" + 0: "in" locals: - 4: "local4" - 7: "local7" - 10: "local10" - 26: "local26" - 36: "local36" - 50: "local50" + 4: "buffer" + 7: "type" + 10: "len" + 26: "out" + 36: "uncompressedLen" + 50: "out" unpackclass!aa.c (I)I: - owner: "Class199" - name: "method4933" + owner: "Js5Index" + name: "getGroupCapacity" arguments: {} locals: {} unpackclass!c.a (I)[B: