final void add(long l, byte[] is, int i) { try { anInt1464++; int i_29_ = 0; int i_30_ = 8 - ((int) l & 0x7) & 0x7; int i_31_ = anInt1463 & 0x7; long l_32_ = l; int i_33_ = 31; int i_34_ = 0; for ( /**/ ; i_33_ >= 0; i_33_--) { i_34_ += (0xff & aByteArray1465[i_33_]) - -(0xff & (int) l_32_); aByteArray1465[i_33_] = (byte) i_34_; l_32_ >>>= 8; i_34_ >>>= 8; } int i_35_ = 6 % ((i - 64) / 52); while (l > 8L) { int i_36_ = (is[i_29_] << i_30_ & 0xff | (0xff & is[1 + i_29_]) >>> 8 + -i_30_); if (i_36_ < 0 || i_36_ >= 256) throw new RuntimeException("LOGIC ERROR"); aByteArray1475[anInt1468] = (byte) Class273.method2057(aByteArray1475[anInt1468], i_36_ >>> i_31_); anInt1468++; anInt1463 += 8 - i_31_; if (anInt1463 == 512) { method827(0); anInt1463 = anInt1468 = 0; } aByteArray1475[anInt1468] = (byte) Class139.method1166(i_36_ << -i_31_ + 8, 255); i_29_++; l -= 8L; anInt1463 += i_31_; } int i_37_; if (l > 0L) { i_37_ = 0xff & is[i_29_] << i_30_; aByteArray1475[anInt1468] = (byte) Class273.method2057(aByteArray1475[anInt1468], i_37_ >>> i_31_); } else i_37_ = 0; if ((l + (long) i_31_ ^ 0xffffffffffffffffL) <= -9L) { anInt1463 += 8 - i_31_; l -= (long) (-i_31_ + 8); anInt1468++; if (anInt1463 == 512) { method827(0); anInt1463 = anInt1468 = 0; } aByteArray1475[anInt1468] = (byte) Class139.method1166(i_37_ << 8 + -i_31_, 255); anInt1463 += (int) l; } else anInt1463 += l; } catch (RuntimeException runtimeexception) { throw Class348_Sub17.method2929( runtimeexception, ("lda.B(" + l + ',' + (is != null ? "{...}" : "null") + ',' + i + ')')); } }
final void finalizeDigest(boolean bool, int i, byte[] is) { anInt1470++; aByteArray1475[anInt1468] = (byte) Class273.method2057( aByteArray1475[anInt1468], 128 >>> Class139.method1166(anInt1463, 7)); anInt1468++; if ((anInt1468 ^ 0xffffffff) < -33) { while (anInt1468 < 64) aByteArray1475[anInt1468++] = (byte) 0; method827(0); anInt1468 = 0; } while ((anInt1468 ^ 0xffffffff) > -33) aByteArray1475[anInt1468++] = (byte) 0; Class214.byteArrayCopy(aByteArray1465, 0, aByteArray1475, 32, 32); method827(0); int i_38_ = 0; if (bool != true) method830(-1, -123, (byte) 39, false, 61); int i_39_ = i; while ((i_38_ ^ 0xffffffff) > -9) { long l = aLongArray1474[i_38_]; is[i_39_] = (byte) (int) (l >>> -494522120); is[i_39_ + 1] = (byte) (int) (l >>> -1323727504); is[2 + i_39_] = (byte) (int) (l >>> -1362540312); is[i_39_ - -3] = (byte) (int) (l >>> -816276512); is[i_39_ + 4] = (byte) (int) (l >>> -1281121832); is[i_39_ + 5] = (byte) (int) (l >>> 1026016144); is[6 + i_39_] = (byte) (int) (l >>> -800909304); is[i_39_ + 7] = (byte) (int) l; i_38_++; i_39_ += 8; } }
final ConfigDefinitions getConfigDefinitions(int i) { anInt1655++; ConfigDefinitions class70; synchronized (aClass61_1656) { class70 = (ConfigDefinitions) aClass61_1656.method607((long) i, 0); } if (class70 != null) { return class70; } byte[] bs; synchronized (index22) { bs = index22.method3524( false, Class169.method1762((byte) 114, i), Class273.method3315(-989325398, i)); } class70 = new ConfigDefinitions(); if (bs != null) { class70.method737(122, new BufferedStream(bs)); } synchronized (aClass61_1656) { aClass61_1656.method601(class70, 11 + 25555, (long) i); } return class70; }
static void parsePlayerMovements(GameBuffer buffer) { anInt9247++; int amountSkip = 0; buffer.initiateBitAccess(); for (int i_1_ = 0; (Class328_Sub1.onscreenGpiOffset ^ 0xffffffff) < (i_1_ ^ 0xffffffff); i_1_++) { int id = Class286_Sub7.onscreenGpiList[i_1_]; if ((0x1 & Class348_Sub5.gpiFlags[id]) == 0) { if (amountSkip > 0) { Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr(Class348_Sub5.gpiFlags[id], 2); amountSkip--; } else { int flag = buffer.getBits(1); if (flag == 0) { amountSkip = Entity.getSkipAmount(buffer); Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr((Class348_Sub5.gpiFlags[id]), 2); } else Class286_Sub9.parseOnscreenPlayerMovement(buffer, id); } } } buffer.finalizeBitAccess(); if (amountSkip != 0) throw new RuntimeException("nsn0"); buffer.initiateBitAccess(); for (int i_4_ = 0; i_4_ < Class328_Sub1.onscreenGpiOffset; i_4_++) { int id = Class286_Sub7.onscreenGpiList[i_4_]; if ((0x1 & Class348_Sub5.gpiFlags[id]) != 0) { if (amountSkip > 0) { Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr((Class348_Sub5.gpiFlags[id]), 2); amountSkip--; } else { int flag = buffer.getBits(1); if (flag == 0) { amountSkip = Entity.getSkipAmount(buffer); Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr((Class348_Sub5.gpiFlags[id]), 2); } else Class286_Sub9.parseOnscreenPlayerMovement(buffer, id); } } } buffer.finalizeBitAccess(); if (amountSkip != 0) throw new RuntimeException("nsn1"); buffer.initiateBitAccess(); for (int i_7_ = 0; ((Class348_Sub42_Sub4.offscreenGpiOffset ^ 0xffffffff) < (i_7_ ^ 0xffffffff)); i_7_++) { int id = Class135_Sub1.offscreenGpiList[i_7_]; if ((0x1 & Class348_Sub5.gpiFlags[id]) != 0) { if ((amountSkip) > 0) { Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr((Class348_Sub5.gpiFlags[id]), 2); amountSkip--; } else { int flag = buffer.getBits(1); if (flag == 0) { amountSkip = Entity.getSkipAmount(buffer); Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr((Class348_Sub5.gpiFlags[id]), 2); } else if (Class211.parseOffscreenPlayerMovement(buffer, id)) Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr((Class348_Sub5.gpiFlags[id]), 2); } } } buffer.finalizeBitAccess(); if (amountSkip != 0) throw new RuntimeException("nsn2"); buffer.initiateBitAccess(); for (int i_10_ = 0; ((i_10_ ^ 0xffffffff) > (Class348_Sub42_Sub4.offscreenGpiOffset ^ 0xffffffff)); i_10_++) { int id = Class135_Sub1.offscreenGpiList[i_10_]; if ((Class348_Sub5.gpiFlags[id] & 0x1) == 0) { if (amountSkip > 0) { Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr((Class348_Sub5.gpiFlags[id]), 2); amountSkip--; } else { int flag = buffer.getBits(1); if (flag == 0) { amountSkip = Entity.getSkipAmount(buffer); Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr((Class348_Sub5.gpiFlags[id]), 2); } else if (Class211.parseOffscreenPlayerMovement(buffer, id)) Class348_Sub5.gpiFlags[id] = (byte) Class273.bitOr((Class348_Sub5.gpiFlags[id]), 2); } } } buffer.finalizeBitAccess(); if (amountSkip != 0) throw new RuntimeException("nsn3"); Class328_Sub1.onscreenGpiOffset = 0; Class348_Sub42_Sub4.offscreenGpiOffset = 0; for (int id = 1; id < 2048; id++) { Class348_Sub5.gpiFlags[id] >>= 1; Player player = ClassicLoadingScreen.onscreenPlayers[id]; if (player == null) Class135_Sub1.offscreenGpiList[Class348_Sub42_Sub4.offscreenGpiOffset++] = id; else Class286_Sub7.onscreenGpiList[Class328_Sub1.onscreenGpiOffset++] = id; } }