rendered paste body stream.caret = i;
anInt3688++;
int i_84_ = -1;
int sex = stream.readByte_U((byte) 125);
int[] clothing = new int[12];
pkIcon = stream.readByte(80);
prayerIcon = stream.readByte(105);
teamcape = 0;
for (int i_86_ = 0; i_86_ < 12; i_86_++) {
int i_87_ = stream.readByte_U((byte) 78);
if (i_87_ == 0)
clothing[i_86_] = 0;
else {
int i_88_ = stream.readByte_U((byte) 85);
clothing[i_86_] = (i_87_ << 1211433832) - -i_88_;
if (i_86_ == 0 && clothing[0] == 65535) {
i_84_ = stream.writeWord_U(-2);
break;
}
if (clothing[i_86_] >= 512) {
int i_89_ = (Class8.method80(i ^ 0x1e, -512 + clothing[i_86_])
.anInt2695);
if ((i_89_ ^ 0xffffffff) != -1)
teamcape = i_89_;
}
}
}
int[] bareBodyColors = new int[5];
for (int i_91_ = 0; (i_91_ ^ 0xffffffff) > -6; i_91_++) {
int i_92_ = stream.readByte_U((byte) 123);
if (i_92_ < 0 || (PlayerDefinition.bareBodyColors[i_91_].length
^ 0xffffffff) >= (i_92_ ^ 0xffffffff))
i_92_ = 0;
bareBodyColors[i_91_] = i_92_;
}
animationStand = stream.writeWord_U(-2);
if ((animationStand ^ 0xffffffff) == -65536)
animationStand = -1;
animationStandTurn = stream.writeWord_U(-2);
if ((animationStandTurn ^ 0xffffffff) == -65536)
animationStandTurn = -1;
anInt3641 = animationStandTurn;
animationWalk = stream.writeWord_U(-2);
if (animationWalk == 65535)
animationWalk = -1;
animationTurn180 = stream.writeWord_U(-2);
if ((animationTurn180 ^ 0xffffffff) == -65536)
animationTurn180 = -1;
animationTurn90CC = stream.writeWord_U(-2);
if ((animationTurn90CC ^ 0xffffffff) == -65536)
animationTurn90CC = -1;
animationTurn90CCW = stream.writeWord_U(-2);
if ((animationTurn90CCW ^ 0xffffffff) == -65536)
animationTurn90CCW = -1;
animationRun = stream.writeWord_U(i + -2);
if ((animationRun ^ 0xffffffff) == -65536)
animationRun = -1;
name = Class66_Sub1_Sub2.method616(-30, stream.writeQWord_S(i ^ ~0x2fee)).getCapitalisedName(10);
combat = stream.readByte_U((byte) 103);
gamesRoomScore = stream.writeWord_U(-2);
if (definition == null)
definition = new PlayerDefinition();
definition.method295(clothing, 5790, bareBodyColors, i_84_, sex == 1);