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

@ -48,45 +48,45 @@ public final class Environment {
@OriginalMember(owner = "client!li", name = "<init>", descriptor = "(Lclient!wa;)V")
public Environment(@OriginalArg(0) Buffer arg0) {
@Pc(7) int local7 = arg0.method2229();
@Pc(7) int local7 = arg0.g1();
if ((local7 & 0x1) == 0) {
this.anInt3526 = Static161.anInt3923;
} else {
this.anInt3526 = arg0.method2174();
this.anInt3526 = arg0.g4();
}
if ((local7 & 0x2) == 0) {
this.aFloat16 = 1.1523438F;
} else {
this.aFloat16 = (float) arg0.method2163() / 256.0F;
this.aFloat16 = (float) arg0.g2() / 256.0F;
}
if ((local7 & 0x4) == 0) {
this.aFloat18 = 0.69921875F;
} else {
this.aFloat18 = (float) arg0.method2163() / 256.0F;
this.aFloat18 = (float) arg0.g2() / 256.0F;
}
if ((local7 & 0x8) == 0) {
this.aFloat17 = 1.2F;
} else {
this.aFloat17 = (float) arg0.method2163() / 256.0F;
this.aFloat17 = (float) arg0.g2() / 256.0F;
}
if ((local7 & 0x10) == 0) {
this.anInt3527 = -50;
this.anInt3530 = -50;
this.anInt3528 = -60;
} else {
this.anInt3530 = arg0.method2213();
this.anInt3528 = arg0.method2213();
this.anInt3527 = arg0.method2213();
this.anInt3530 = arg0.g2s();
this.anInt3528 = arg0.g2s();
this.anInt3527 = arg0.g2s();
}
if ((local7 & 0x20) == 0) {
this.anInt3525 = Static161.anInt3922;
} else {
this.anInt3525 = arg0.method2174();
this.anInt3525 = arg0.g4();
}
if ((local7 & 0x40) == 0) {
this.anInt3529 = 0;
} else {
this.anInt3529 = arg0.method2163();
this.anInt3529 = arg0.g2();
}
}
}