Refactored Js5 class

This commit is contained in:
Pazaz 2022-06-15 13:41:21 -04:00
parent c5ef44dfcb
commit bcb88470f8
49 changed files with 423 additions and 423 deletions

View file

@ -108,7 +108,7 @@ public final class VorbisSound extends Node {
@OriginalMember(owner = "client!jc", name = "a", descriptor = "(Lclient!ve;)Z")
private static boolean method2344(@OriginalArg(0) Js5 arg0) {
if (!aBoolean149) {
@Pc(7) byte[] local7 = arg0.getFile(0, 0);
@Pc(7) byte[] local7 = arg0.fetchFile(0, 0);
if (local7 == null) {
return false;
}
@ -121,7 +121,7 @@ public final class VorbisSound extends Node {
@OriginalMember(owner = "client!jc", name = "a", descriptor = "(Lclient!ve;II)Lclient!jc;")
public static VorbisSound method2345(@OriginalArg(0) Js5 arg0, @OriginalArg(1) int arg1, @OriginalArg(2) int arg2) {
if (method2344(arg0)) {
@Pc(16) byte[] local16 = arg0.getFile(arg1, arg2);
@Pc(16) byte[] local16 = arg0.fetchFile(arg1, arg2);
return local16 == null ? null : new VorbisSound(local16);
} else {
arg0.isFileReady(arg2, arg1);