Refactored Buffer class

This commit is contained in:
Pazaz 2022-04-19 22:02:27 -04:00
parent 65965ea3a2
commit 6d9afcdc29
165 changed files with 2763 additions and 2728 deletions

View file

@ -16,15 +16,15 @@ public final class Js5NetRequest extends Js5Request {
@OriginalMember(owner = "client!pm", name = "a", descriptor = "(Z)I")
@Override
public final int method3553() {
return this.aClass3_Sub15_7 == null ? 0 : this.aClass3_Sub15_7.anInt2792 * 100 / (this.aClass3_Sub15_7.aByteArray40.length - this.aByte16);
return this.aClass3_Sub15_7 == null ? 0 : this.aClass3_Sub15_7.offset * 100 / (this.aClass3_Sub15_7.data.length - this.aByte16);
}
@OriginalMember(owner = "client!pm", name = "b", descriptor = "(Z)[B")
@Override
public final byte[] method3554() {
if (this.aBoolean226 || this.aClass3_Sub15_7.anInt2792 < this.aClass3_Sub15_7.aByteArray40.length - this.aByte16) {
if (this.aBoolean226 || this.aClass3_Sub15_7.offset < this.aClass3_Sub15_7.data.length - this.aByte16) {
throw new RuntimeException();
}
return this.aClass3_Sub15_7.aByteArray40;
return this.aClass3_Sub15_7.data;
}
}