Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 34.29 KB | None | 0 0
  1. public static final void method5012(InterfaceComponentDefinition[] class119s, int i, int i_128_, int i_129_, int canvasWidth, int canvasHeight, int i_132_, int i_133_,
  2.             int i_134_, boolean bool, byte i_135_) {
  3.         IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  4.         for (int i_136_ = 0; i_136_ < class119s.length; i_136_++) {
  5.             InterfaceComponentDefinition componentDefinition = class119s[i_136_];
  6.             if (componentDefinition != null && (i == componentDefinition.anInt1383 * -1001074229 || (i == -1412584499 && client.aClass119_7494 == componentDefinition))) {
  7.                 int i_137_;
  8.                 if (i_134_ == -1) {
  9.                     client.aRectangleArray7648[client.anInt7644 * 532198585].setBounds(i_132_ + 498818945 * componentDefinition.renderX, i_133_
  10.                             + componentDefinition.renderY * 1543254155, 1967249471 * componentDefinition.renderWidth, -1112022365 * componentDefinition.renderHeight);
  11.                     i_137_ = (client.anInt7644 += 2111771017) * 532198585 - 1;
  12.                 } else
  13.                     i_137_ = i_134_;
  14.                 componentDefinition.anInt1483 = 522622373 * i_137_;
  15.                 componentDefinition.anInt1418 = -1577606799 * client.anInt7411;
  16.                 if (!client.method12550(componentDefinition)) {
  17.                     if (componentDefinition.anInt1465 * 1386120869 != 0)
  18.                         Class182.method3277(componentDefinition, (short) -15282);
  19.                     int renderX = componentDefinition.renderX * 498818945 + i_132_;
  20.                     int renderY = i_133_ + 1543254155 * componentDefinition.renderY;
  21.                     int alpha = 2075525433 * componentDefinition.alpha;
  22.                     if (client.aBool7592 && ((client.method12456(componentDefinition).anInt8619 * -2004137457) != 0 || 0 == -505187837 * componentDefinition.type)
  23.                             && alpha > 127)
  24.                         alpha = 127;
  25.                     if (componentDefinition == client.aClass119_7494) {
  26.                         if (-1412584499 != i
  27.                                 && ((-2077139959 * InterfaceComponentDefinition.anInt1298 == 1818510979 * componentDefinition.anInt1416)
  28.                                         || (componentDefinition.anInt1416 * 1818510979 == 858436803 * InterfaceComponentDefinition.anInt1339) || client.method12456(componentDefinition)
  29.                                         .method14049(-1219094817))) {
  30.                             Class482.aClass119Array5606 = class119s;
  31.                             Class536_Sub1_Sub4_Sub6.anInt10543 = 192659307 * i_132_;
  32.                             RouteFinder.anInt3306 = 1427174833 * i_133_;
  33.                             continue;
  34.                         }
  35.                         if (client.aBool7609 && client.aBool7505) {
  36.                             int i_141_ = Class390_Sub3.aClass228_7825.method4051((byte) 36);
  37.                             int i_142_ = Class390_Sub3.aClass228_7825.method4052(1952497201);
  38.                             i_141_ -= 167675493 * client.anInt7598;
  39.                             i_142_ -= -1544250759 * client.anInt7599;
  40.                             if (i_141_ < -56165289 * client.anInt7563)
  41.                                 i_141_ = client.anInt7563 * -56165289;
  42.                             if (i_141_ + componentDefinition.renderWidth * 1967249471 > (client.anInt7565 * 806778457 + -56165289 * client.anInt7563))
  43.                                 i_141_ = (806778457 * client.anInt7565 + client.anInt7563 * -56165289 - componentDefinition.renderWidth * 1967249471);
  44.                             if (i_142_ < client.anInt7603 * 907742645)
  45.                                 i_142_ = 907742645 * client.anInt7603;
  46.                             if (componentDefinition.renderHeight * -1112022365 + i_142_ > (client.anInt7603 * 907742645 + client.anInt7602 * 704182035))
  47.                                 i_142_ = (907742645 * client.anInt7603 + client.anInt7602 * 704182035 - -1112022365 * componentDefinition.renderHeight);
  48.                             if (client.method12456(componentDefinition).method14049(693629880))
  49.                                 Class246.method4439(i_141_, i_142_, (componentDefinition.renderWidth * 1967249471), (-1112022365 * componentDefinition.renderHeight));
  50.                             renderX = i_141_;
  51.                             renderY = i_142_;
  52.                         }
  53.                         if (InterfaceComponentDefinition.anInt1339 * 858436803 == componentDefinition.anInt1416 * 1818510979)
  54.                             alpha = 128;
  55.                     }
  56.                     int i_143_;
  57.                     int i_144_;
  58.                     int i_145_;
  59.                     int i_146_;
  60.                     if (2 == -505187837 * componentDefinition.type) {
  61.                         i_143_ = i_128_;
  62.                         i_144_ = i_129_;
  63.                         i_145_ = canvasWidth;
  64.                         i_146_ = canvasHeight;
  65.                     } else {
  66.                         int i_147_ = 1967249471 * componentDefinition.renderWidth + renderX;
  67.                         int i_148_ = componentDefinition.renderHeight * -1112022365 + renderY;
  68.                         if (componentDefinition.type * -505187837 == 9) {
  69.                             i_147_++;
  70.                             i_148_++;
  71.                         }
  72.                         i_143_ = renderX > i_128_ ? renderX : i_128_;
  73.                         i_144_ = renderY > i_129_ ? renderY : i_129_;
  74.                         i_145_ = i_147_ < canvasWidth ? i_147_ : canvasWidth;
  75.                         i_146_ = i_148_ < canvasHeight ? i_148_ : canvasHeight;
  76.                     }
  77.                     if (i_143_ < i_145_ && i_144_ < i_146_) {
  78.                         if (componentDefinition.anInt1465 * 1386120869 != 0) {
  79.                             if ((905428307 * InterfaceComponentDefinition.anInt1300 == 1386120869 * componentDefinition.anInt1465)
  80.                                     || (1386120869 * componentDefinition.anInt1465 == InterfaceComponentDefinition.anInt1301 * 1297732223)) {
  81.                                 IsaacCipher.currentToolkit.method11184();
  82.                                 Signlink.method5363(renderX, renderY, componentDefinition.renderWidth * 1967249471, componentDefinition.renderHeight * -1112022365,
  83.                                         (1297732223 * InterfaceComponentDefinition.anInt1301 == componentDefinition.anInt1465 * 1386120869), (byte) -57);
  84.                                 Class52.method1223(i_137_, i_143_, i_144_, i_145_, i_146_, renderX, renderY, (byte) 65);
  85.                                 IsaacCipher.currentToolkit.method11153();
  86.                                 IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  87.                                 client.aBoolArray7551[i_137_] = true;
  88.                                 continue;
  89.                             }
  90.                             if ((InterfaceComponentDefinition.anInt1302 * -2141197573 == 1386120869 * componentDefinition.anInt1465) && 2 == 1530968027 * client.anInt7469) {
  91.                                 if (componentDefinition.method2366((IsaacCipher.currentToolkit), -1922564773) != null) {
  92.                                     Class268.method4794((short) 1314);
  93.                                     Class547.method11597((IsaacCipher.currentToolkit), componentDefinition, renderX, renderY, (byte) 11);
  94.                                     IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  95.                                 }
  96.                                 continue;
  97.                             }
  98.                             if (InterfaceComponentDefinition.anInt1325 * -1726753251 == 1386120869 * componentDefinition.anInt1465) {
  99.                                 Class236_Sub6.method13644((IsaacCipher.currentToolkit), renderX, renderY, componentDefinition, 1743157696);
  100.                                 continue;
  101.                             }
  102.                             if (1386120869 * componentDefinition.anInt1465 == -559679773 * InterfaceComponentDefinition.anInt1310) {
  103.                                 Class82.method1753(IsaacCipher.currentToolkit, renderX, renderY, componentDefinition, (componentDefinition.textColour * -1468931995 % 64),
  104.                                         1302847113);
  105.                                 continue;
  106.                             }
  107.                             if (1386120869 * componentDefinition.anInt1465 == -2064277879 * InterfaceComponentDefinition.anInt1303) {
  108.                                 if (componentDefinition.method2366((IsaacCipher.currentToolkit), -1930971714) != null) {
  109.                                     IsaacCipher.currentToolkit.method11184();
  110.                                     Class551.method11672(componentDefinition, renderX, renderY, -552850260);
  111.                                     IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  112.                                 }
  113.                                 continue;
  114.                             }
  115.                             if (InterfaceComponentDefinition.anInt1304 * -1387126751 == 1386120869 * componentDefinition.anInt1465) {
  116.                                 Class528.method10962(IsaacCipher.currentToolkit, Class230.anTextureManager_2800, renderX, renderY,
  117.                                         componentDefinition.renderWidth * 1967249471, -1112022365 * componentDefinition.renderHeight, -568325388);
  118.                                 client.aBoolArray7551[i_137_] = true;
  119.                                 IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  120.                                 continue;
  121.                             }
  122.                             if (componentDefinition.anInt1465 * 1386120869 == 322150519 * InterfaceComponentDefinition.anInt1305) {
  123.                                 Class86_Sub21.method14262(IsaacCipher.currentToolkit, renderX, renderY, componentDefinition.renderWidth * 1967249471, -1112022365
  124.                                         * componentDefinition.renderHeight, (byte) 103);
  125.                                 client.aBoolArray7551[i_137_] = true;
  126.                                 IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  127.                                 continue;
  128.                             }
  129.                             if (componentDefinition.anInt1465 * 1386120869 == -690567901 * InterfaceComponentDefinition.anInt1306) {
  130.                                 if (client.aBool7658 || client.aBool7496) {
  131.                                     PlayerUpdater.method3221(renderX, renderY, componentDefinition, 57716865);
  132.                                     client.aBoolArray7551[i_137_] = true;
  133.                                 }
  134.                                 continue;
  135.                             }
  136.                         }
  137.                         if (0 == componentDefinition.type * -505187837) {
  138.                             if ((componentDefinition.anInt1465 * 1386120869 == 850935891 * InterfaceComponentDefinition.anInt1349) && IsaacCipher.currentToolkit.method11196())
  139.                                 IsaacCipher.currentToolkit.method11210(0, 0, client.canvasWidth * -357015995, 1349020517 * Class213.canvasHeight);
  140.                             method5012(class119s, componentDefinition.hash * 1036543307, i_143_, i_144_, i_145_, i_146_, renderX - 535236303
  141.                                     * componentDefinition.anInt1321, (renderY - componentDefinition.anInt1346 * -580816625), i_137_, bool, (byte) -5);
  142.                             if (null != componentDefinition.aClass119Array1473)
  143.                                 method5012(componentDefinition.aClass119Array1473, componentDefinition.hash * 1036543307, i_143_, i_144_, i_145_, i_146_,
  144.                                         (renderX - componentDefinition.anInt1321 * 535236303), (renderY - -580816625 * componentDefinition.anInt1346), i_137_, bool,
  145.                                         (byte) -124);
  146.                             GameInterface class294_sub6 = ((GameInterface) (client.aClass442_7587
  147.                                     .get((long) (componentDefinition.hash * 1036543307))));
  148.                             if (class294_sub6 != null)
  149.                                 MapScene.method5199((class294_sub6.interfaceId * -356065903), i_143_, i_144_, i_145_, i_146_, renderX, renderY, i_137_,
  150.                                         -1037142946);
  151.                             if (InterfaceComponentDefinition.anInt1349 * 850935891 == componentDefinition.anInt1465 * 1386120869) {
  152.                                 if (IsaacCipher.currentToolkit.method11196())
  153.                                     IsaacCipher.currentToolkit.method11211();
  154.                                 if (1530968027 * client.anInt7469 == 0) {
  155.                                     int i_149_ = client.anInt7475 * 1462205785;
  156.                                     int i_150_ = client.anInt7476 * -1744146949;
  157.                                     int i_151_ = client.anInt7477 * -1242513593;
  158.                                     int i_152_ = client.anInt7382 * 693580965;
  159.                                     if (client.anInt7411 * -865391965 < -1264391497 * client.anInt7453) {
  160.                                         float f = (1.0F * (float) ((-865391965 * client.anInt7411) - (-195800583 * (client.anInt7473))) / (float) ((client.anInt7453 * -1264391497) - (-195800583 * (client.anInt7473))));
  161.                                         i_149_ = (int) (((float) (1462205785 * (client.anInt7475)) * f) + ((float) (2085873617 * (ArchiveFileHash.anInt1229)) * (1.0F - f)));
  162.                                         i_150_ = (int) (((1.0F - f) * (float) (1906494765 * (Class82.anInt775))) + ((float) (-1744146949 * (client.anInt7476)) * f));
  163.                                         i_151_ = (int) (((1.0F - f) * (float) ((Class233.anInt2871) * -723805981)) + ((float) ((client.anInt7477) * -1242513593) * f));
  164.                                         i_152_ = (int) ((float) (client.anInt7382 * 693580965) * f + ((1.0F - f) * (float) (-1136200827 * (Class107.anInt1023))));
  165.                                     }
  166.                                     if (i_149_ > 0)
  167.                                         IsaacCipher.currentToolkit.method11288(i_143_, i_144_, i_145_ - i_143_, i_146_ - i_144_, (i_149_ << 24
  168.                                                 | i_150_ << 16 | i_151_ << 8 | i_152_), 315971290);
  169.                                 }
  170.                             }
  171.                             IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  172.                         }
  173.                         if (client.aBoolArray7647[i_137_] || -1501468485 * client.anInt7649 > 1) {
  174.                             if (-505187837 * componentDefinition.type == 3) {
  175.                                 if (0 == alpha) {
  176.                                     if (componentDefinition.aBool1350)
  177.                                         IsaacCipher.currentToolkit.fillRectangle(renderX, renderY, componentDefinition.renderWidth * 1967249471, componentDefinition.renderHeight * -1112022365,
  178.                                                 ~0xffffff | (componentDefinition.textColour * -1468931995), 0);
  179.                                     else
  180.                                         IsaacCipher.currentToolkit.drawRectangle(renderX, renderY, componentDefinition.renderWidth * 1967249471, -1112022365
  181.                                                 * componentDefinition.renderHeight, ~0xffffff | (componentDefinition.textColour * -1468931995), 0);
  182.                                 } else if (componentDefinition.aBool1350)
  183.                                     IsaacCipher.currentToolkit.fillRectangle(renderX, renderY, 1967249471 * componentDefinition.renderWidth, -1112022365 * componentDefinition.renderHeight,
  184.                                             (255 - (alpha & 0xff) << 24 | (-1468931995 * componentDefinition.textColour & 0xffffff)), 1);
  185.                                 else
  186.                                     IsaacCipher.currentToolkit.drawRectangle(renderX, renderY, componentDefinition.renderWidth * 1967249471, -1112022365
  187.                                             * componentDefinition.renderHeight, (255 - (alpha & 0xff) << 24 | (componentDefinition.textColour * -1468931995 & 0xffffff)), 1);
  188.                             } else if (4 == componentDefinition.type * -505187837) {
  189.                                 int i_153_ = 255 - (alpha & 0xff);
  190.                                 if (i_153_ != 0) {
  191.                                     Font font = (componentDefinition.method2358(Class86_Sub16.aClass382_8855, client.anInterface23_7423));
  192.                                     if (font == null) {
  193.                                         if (InterfaceComponentDefinition.aBool1318)
  194.                                             Class361.method6464(componentDefinition);
  195.                                     } else {
  196.                                         int colour = componentDefinition.textColour * -1468931995;
  197.                                         String string = componentDefinition.text;
  198.                                         if (-1 != (1463366291 * componentDefinition.itemId)) {
  199.                                             ItemDefinition class432 = (Class379.aClass425_4425.getItemDefinition((1463366291 * componentDefinition.itemId)));
  200.                                             string = class432.aString5013;
  201.                                             if (string == null)
  202.                                                 string = "null";
  203.                                             if (((class432.anInt5019 * 1456147227) == 1 || 1 != (-1930796557 * (componentDefinition.anInt1461)))
  204.                                                     && (componentDefinition.anInt1461 * -1930796557) != -1)
  205.                                                 string = new StringBuilder().append(Class371.method6557(16748608, (byte) 18)).append(string)
  206.                                                         .append(Class10.aString112).append(" x")
  207.                                                         .append(Class547.method11599((-1930796557 * (componentDefinition.anInt1461)), (short) 4403)).toString();
  208.                                         }
  209.                                         if (-1 != (componentDefinition.anInt1401 * 244740285)) {
  210.                                             string = (Class322.method5885((componentDefinition.anInt1401 * 244740285), (byte) 34));
  211.                                             if (string == null)
  212.                                                 string = "";
  213.                                         }
  214.                                         if (client.aClass119_7589 == componentDefinition) {
  215.                                             string = (Tradution.aClass446_5246.method7447(Class194.aClass495_2297, (byte) 94));
  216.                                             colour = (-1468931995 * componentDefinition.textColour);
  217.                                         }
  218.                                         if (client.aBool7595)
  219.                                             IsaacCipher.currentToolkit.ensureDimensions(renderX, renderY, ((1967249471 * componentDefinition.renderWidth) + renderX), renderY
  220.                                                     + (componentDefinition.renderHeight * -1112022365));
  221.                                         i_153_ <<= 24;
  222.                                         if (componentDefinition.aBool1399)
  223.                                             font.method467(string, renderX, renderY, (componentDefinition.renderWidth * 1967249471),
  224.                                                     (componentDefinition.renderHeight * -1112022365), i_153_ | colour, (componentDefinition.shaded ? i_153_ : -1),
  225.                                                     (-736836451 * componentDefinition.horizontalTextAlign), (1999344245 * componentDefinition.verticalTextAlign), client.aRandom7478,
  226.                                                     (NPCDefinition.anInt4792 * 1903827229), client.anIntArray7669, Class555.nameIcons, null,
  227.                                                     1911304437);
  228.                                         else
  229.                                             font.method492(string, renderX, renderY, (1967249471 * componentDefinition.renderWidth),
  230.                                                     (-1112022365 * componentDefinition.renderHeight), i_153_ | colour, (componentDefinition.shaded ? i_153_ : -1),
  231.                                                     (componentDefinition.horizontalTextAlign * -736836451), (componentDefinition.verticalTextAlign * 1999344245),
  232.                                                     (componentDefinition.lineHeight * -1892667159), (-147123707 * componentDefinition.anInt1396),
  233.                                                     Class555.nameIcons, null, null, 0, 0, 1769400097);
  234.                                         if (client.aBool7595)
  235.                                             IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  236.                                     }
  237.                                 }
  238.                             } else if (5 == -505187837 * componentDefinition.type) {
  239.                                 if (-981681 * componentDefinition.anInt1463 >= 0) {
  240.                                     componentDefinition.method2408(Class538.aClass230_6997, Class569.aClass41_7367, 1551153288).method4993(
  241.                                             IsaacCipher.currentToolkit, 0, renderX, renderY, componentDefinition.renderWidth * 1967249471,
  242.                                             componentDefinition.renderHeight * -1112022365, componentDefinition.anInt1464 * -1324366277 << 3,
  243.                                             componentDefinition.anInt1442 * -1135176783 << 3, 0, 0, -1404577250);
  244.                                 } else {
  245.                                     NativeSprite sprite;
  246.                                     if (componentDefinition.itemId * 1463366291 != -1) {
  247.                                         Class561 class561 = (componentDefinition.aBool1462 ? (Class254.aClass536_Sub1_Sub4_Sub4_Sub2_3073.aClass561_10591) : null);
  248.                                         sprite = (Class379.aClass425_4425.method7072(IsaacCipher.currentToolkit, (componentDefinition.itemId * 1463366291),
  249.                                                 (componentDefinition.anInt1461 * -1930796557), (1879661679 * componentDefinition.borderThickness),
  250.                                                 (~0xffffff | (898961377 * componentDefinition.shadowColour)), (-2063578971 * componentDefinition.anInt1380), class561,
  251.                                                 -1296327233));
  252.                                     } else if (componentDefinition.anInt1401 * 244740285 != -1) {
  253.                                         sprite = Class563.method11973(IsaacCipher.currentToolkit, componentDefinition.anInt1401 * 244740285, (short) 16307);
  254.                                     } else {
  255.                                         sprite = componentDefinition.optimizeSprite(IsaacCipher.currentToolkit, 2021742660);
  256.                                     }
  257.                                     if (sprite != null) {
  258.                                         int spriteWidth = sprite.getWidth();
  259.                                         int spriteHeight = sprite.getHeight();
  260.                                         int i_157_ = 255 - (alpha & 0xff);
  261.                                         if (i_157_ != 0) {
  262.                                             int colour;
  263.                                             if ((-1468931995 * componentDefinition.textColour) == -1) {
  264.                                                 colour = 16777215;
  265.                                             } else {
  266.                                                 colour = ((-1468931995 * componentDefinition.textColour) & 0xffffff);
  267.                                                 if (colour == 0) {
  268.                                                     colour = 16777215;
  269.                                                 }
  270.                                             }
  271.                                             colour |= i_157_ << 24;
  272.                                             boolean hasColour = -1 != colour;
  273.                                             if (componentDefinition.repeatSprite) {
  274.                                                 IsaacCipher.currentToolkit.ensureDimensions(renderX, renderY, (componentDefinition.renderWidth * 1967249471) + renderX, ((-1112022365 * componentDefinition.renderHeight) + renderY));
  275.                                                 if ((componentDefinition.spriteRotation * 525392175) != 0) {
  276.                                                     int i_160_ = (((1967249471 * (componentDefinition.renderWidth)) + (spriteWidth - 1)) / spriteWidth);
  277.                                                     int i_161_ = ((spriteHeight - 1 + (-1112022365 * (componentDefinition.renderHeight))) / spriteHeight);
  278.                                                     for (int i_162_ = 0; i_162_ < i_160_; i_162_++) {
  279.                                                         for (int i_163_ = 0; i_163_ < i_161_; i_163_++) {
  280.                                                             if (hasColour) {
  281.                                                                 sprite.method2892((((float) spriteWidth / 2.0F) + (float) (i_162_ * spriteWidth + renderX)),
  282.                                                                         ((float) (i_163_ * spriteHeight + renderY) + ((float) spriteHeight / 2.0F)), 4096,
  283.                                                                         (525392175 * (componentDefinition.spriteRotation)), 0, colour, 1);
  284.                                                             } else {
  285.                                                                 sprite.method2845((((float) spriteWidth / 2.0F) + (float) (renderX + spriteWidth * i_162_)),
  286.                                                                         ((float) (renderY + i_163_ * spriteHeight) + ((float) spriteHeight / 2.0F)), 4096,
  287.                                                                         ((componentDefinition.spriteRotation) * 525392175));
  288.                                                             }
  289.                                                         }
  290.                                                     }
  291.                                                 } else if (hasColour) {
  292.                                                     sprite.method2835(renderX, renderY, (componentDefinition.renderWidth * 1967249471),
  293.                                                             (-1112022365 * (componentDefinition.renderHeight)), 0, colour, 1);
  294.                                                 } else {
  295.                                                     sprite.method2868(renderX, renderY, (componentDefinition.renderWidth * 1967249471),
  296.                                                             (-1112022365 * (componentDefinition.renderHeight)));
  297.                                                 }
  298.                                                 IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  299.                                             } else if (hasColour) {
  300.                                                 if (0 != (componentDefinition.spriteRotation * 525392175)) {
  301.                                                     sprite.method2892((((float) (1967249471 * (componentDefinition.renderWidth)) / 2.0F) + (float) renderX),
  302.                                                             ((float) renderY + ((float) (-1112022365 * (componentDefinition.renderHeight)) / 2.0F)),
  303.                                                             (495185920 * componentDefinition.renderWidth / spriteWidth), (525392175 * (componentDefinition.spriteRotation)), 0, colour,
  304.                                                             1);
  305.                                                 } else if (((componentDefinition.renderWidth * 1967249471) != spriteWidth) || (spriteHeight != (-1112022365 * (componentDefinition.renderHeight)))) {
  306.                                                     sprite.method2896(renderX, renderY, (componentDefinition.renderWidth * 1967249471),
  307.                                                             (-1112022365 * (componentDefinition.renderHeight)), 0, colour, 1);
  308.                                                 } else {
  309.                                                     sprite.draw(renderX, renderY, 0, colour, 1);
  310.                                                 }
  311.                                             } else if (0 != (525392175 * (componentDefinition.spriteRotation))) {
  312.                                                 sprite.method2845(((float) ((componentDefinition.renderWidth) * 1967249471) / 2.0F) + (float) renderX,
  313.                                                         ((float) ((componentDefinition.renderHeight) * -1112022365) / 2.0F) + (float) renderY,
  314.                                                         (495185920 * componentDefinition.renderWidth / spriteWidth), (componentDefinition.spriteRotation * 525392175));
  315.                                             } else if (spriteWidth != (1967249471 * (componentDefinition.renderWidth)) || ((componentDefinition.renderHeight * -1112022365) != spriteHeight)) {
  316.                                                 sprite.method2842(renderX, renderY, (1967249471 * componentDefinition.renderWidth),
  317.                                                         (componentDefinition.renderHeight * -1112022365));
  318.                                             } else {
  319.                                                 sprite.draw(renderX, renderY);
  320.                                             }
  321.                                         }
  322.                                     } else if (InterfaceComponentDefinition.aBool1318) {
  323.                                         Class361.method6464(componentDefinition);
  324.                                     }
  325.                                 }
  326.                             } else if (-505187837 * componentDefinition.type == 6) {
  327.                                 IsaacCipher.currentToolkit.method11184();
  328.                                 client.aClass281_7461.method5042(-398552602).method11791(-982417462);
  329.                                 RenderableModel class560 = null;
  330.                                 int i_164_ = 2048;
  331.                                 if (0 != componentDefinition.anInt1388 * 433951695)
  332.                                     i_164_ |= 0x80000;
  333.                                 int i_165_ = 0;
  334.                                 if (1463366291 * componentDefinition.itemId != -1) {
  335.                                     ItemDefinition itemDefinition = (Class379.aClass425_4425.getItemDefinition(componentDefinition.itemId * 1463366291));
  336.                                     if (null != itemDefinition) {
  337.                                         itemDefinition = (itemDefinition.method7193((componentDefinition.anInt1461 * -1930796557), -658547436));
  338.                                         class560 = (itemDefinition.method7192(IsaacCipher.currentToolkit, i_164_, 1,
  339.                                                 (componentDefinition.aBool1462 ? (Class254.aClass536_Sub1_Sub4_Sub4_Sub2_3073.aClass561_10591) : null),
  340.                                                 componentDefinition.aClass484_1471, 0, 0, 0, 0, -223857409));
  341.                                         if (class560 != null)
  342.                                             i_165_ = -class560.YA() >> 1;
  343.                                         else
  344.                                             Class361.method6464(componentDefinition);
  345.                                     }
  346.                                 } else if (3 == componentDefinition.anInt1363 * 893170365) {
  347.                                     int i_166_ = componentDefinition.anInt1419 * -370729385;
  348.                                     if (i_166_ >= 0 && i_166_ < 2048) {
  349.                                         Player class536_sub1_sub4_sub4_sub2 = (client.worldPlayers[i_166_]);
  350.                                         if ((null != class536_sub1_sub4_sub4_sub2)
  351.                                                 && (i_166_ == (-60445179 * client.playerIndex) || ((Signlink.method5360(
  352.                                                         (class536_sub1_sub4_sub4_sub2.aString10586), -235868058)) == (componentDefinition.anInt1365 * -198877183)))) {
  353.                                             class560 = componentDefinition.method2360(IsaacCipher.currentToolkit, i_164_, Class502.aClass242_5714,
  354.                                                     Class397.aClass64_4701, (Class86_Sub2.aClass406_7932), Class379.aClass425_4425,
  355.                                                     LowDetailRenderContext.aClass494_2172, Class86_Sub13.varpManager, componentDefinition.aClass484_1471,
  356.                                                     (class536_sub1_sub4_sub4_sub2.aClass561_10591));
  357.                                             if (class560 == null && InterfaceComponentDefinition.aBool1318)
  358.                                                 Class361.method6464(componentDefinition);
  359.                                         }
  360.                                     }
  361.                                 } else if (5 == 893170365 * componentDefinition.anInt1363) {
  362.                                     int i_167_ = -370729385 * componentDefinition.anInt1419;
  363.                                     if (i_167_ >= 0 && i_167_ < 2048) {
  364.                                         Player class536_sub1_sub4_sub4_sub2 = (client.worldPlayers[i_167_]);
  365.                                         if ((class536_sub1_sub4_sub4_sub2 != null)
  366.                                                 && (i_167_ == (client.playerIndex * -60445179) || ((Signlink.method5360(
  367.                                                         (class536_sub1_sub4_sub4_sub2.aString10586), -800213001)) == (componentDefinition.anInt1365 * -198877183))))
  368.                                             class560 = (class536_sub1_sub4_sub4_sub2.aClass561_10591.method11935(IsaacCipher.currentToolkit, i_164_,
  369.                                                     Class502.aClass242_5714, Class397.aClass64_4701, (Class86_Sub2.aClass406_7932),
  370.                                                     Class379.aClass425_4425, LowDetailRenderContext.aClass494_2172, Class86_Sub13.varpManager,
  371.                                                     componentDefinition.aClass484_1471, null, null, null, 0, true, Class37.aClass520_403, 84237508));
  372.                                     }
  373.                                 } else if (componentDefinition.anInt1363 * 893170365 == 8 || 9 == (893170365 * componentDefinition.anInt1363)) {
  374.                                     Node_Sub33 class294_sub33 = Class262.method4727((-370729385 * (componentDefinition.anInt1419)), false, (short) 1005);
  375.                                     if (null != class294_sub33)
  376.                                         class560 = (class294_sub33.method13894(IsaacCipher.currentToolkit, i_164_, componentDefinition.aClass484_1471,
  377.                                                 (componentDefinition.anInt1365 * -198877183), 9 == (893170365 * componentDefinition.anInt1363),
  378.                                                 (componentDefinition.aBool1462 ? (Class254.aClass536_Sub1_Sub4_Sub4_Sub2_3073.aClass561_10591) : null),
  379.                                                 (byte) 64));
  380.                                 } else if (componentDefinition.aClass484_1471 == null || !componentDefinition.aClass484_1471.method7995()) {
  381.                                     class560 = (componentDefinition.method2360(IsaacCipher.currentToolkit, i_164_, Class502.aClass242_5714, Class397.aClass64_4701,
  382.                                             Class86_Sub2.aClass406_7932, Class379.aClass425_4425, LowDetailRenderContext.aClass494_2172,
  383.                                             Class86_Sub13.varpManager, null, (Class254.aClass536_Sub1_Sub4_Sub4_Sub2_3073.aClass561_10591)));
  384.                                     if (class560 == null && InterfaceComponentDefinition.aBool1318)
  385.                                         Class361.method6464(componentDefinition);
  386.                                 } else {
  387.                                     class560 = (componentDefinition.method2360(IsaacCipher.currentToolkit, i_164_, Class502.aClass242_5714, Class397.aClass64_4701,
  388.                                             Class86_Sub2.aClass406_7932, Class379.aClass425_4425, LowDetailRenderContext.aClass494_2172,
  389.                                             Class86_Sub13.varpManager, componentDefinition.aClass484_1471,
  390.                                             (Class254.aClass536_Sub1_Sub4_Sub4_Sub2_3073.aClass561_10591)));
  391.                                     if (class560 == null && InterfaceComponentDefinition.aBool1318)
  392.                                         Class361.method6464(componentDefinition);
  393.                                 }
  394.                                 if (null != class560) {
  395.                                     if (0 != componentDefinition.anInt1388 * 433951695)
  396.                                         class560.PA(-539099879 * componentDefinition.anInt1370, componentDefinition.anInt1355 * -1992403567, -1662323889
  397.                                                 * componentDefinition.anInt1387, componentDefinition.anInt1388 * 433951695);
  398.                                     int i_168_;
  399.                                     if (componentDefinition.anInt1376 * 571624045 > 0)
  400.                                         i_168_ = ((componentDefinition.renderWidth * 1967249471 << 9) / (componentDefinition.anInt1376 * 571624045));
  401.                                     else
  402.                                         i_168_ = 512;
  403.                                     int i_169_;
  404.                                     if (componentDefinition.anInt1377 * -1702568735 > 0)
  405.                                         i_169_ = (((componentDefinition.renderHeight * -1112022365) << 9) / (-1702568735 * componentDefinition.anInt1377));
  406.                                     else
  407.                                         i_169_ = 512;
  408.                                     int i_170_ = (componentDefinition.renderWidth * 1967249471 / 2 + renderX);
  409.                                     int i_171_ = renderY + (-1112022365 * componentDefinition.renderHeight / 2);
  410.                                     if (!componentDefinition.aBool1366) {
  411.                                         i_170_ += (componentDefinition.anInt1372 * -1264021425 * i_168_) >> 9;
  412.                                         i_171_ += i_169_ * (componentDefinition.anInt1373 * -1577314389) >> 9;
  413.                                     }
  414.                                     client.aClass318_7665.method5709();
  415.                                     IsaacCipher.currentToolkit.method11194(client.aClass318_7665);
  416.                                     Class328 class328 = IsaacCipher.currentToolkit.method11241();
  417.                                     int i_172_ = client.aClass281_7461.method5046(-1677573087);
  418.                                     int i_173_ = client.aClass281_7461.method5047(-1368030903);
  419.                                     i_173_ += componentDefinition.anInt1375 * -231253565;
  420.                                     if (componentDefinition.aBool1378) {
  421.                                         if (-112183565 * MapScene.anInt3407 == 2) {
  422.                                             if (componentDefinition.aBool1366)
  423.                                                 class328.method5987((float) i_170_, (float) i_171_, (float) i_168_, (float) i_169_,
  424.                                                         Class556.aClass40_Sub1_7177.method956((byte) 2),
  425.                                                         (Class556.aClass40_Sub1_7177.method979((short) 9336)),
  426.                                                         (float) (client.canvasWidth * -357015995), (float) ((Class213.canvasHeight) * 1349020517),
  427.                                                         (float) (-231253565 * (componentDefinition.anInt1375)));
  428.                                             else
  429.                                                 class328.method5987((float) i_170_, (float) i_171_, (float) i_168_, (float) i_169_,
  430.                                                         (Class556.aClass40_Sub1_7177.method956((byte) -83)),
  431.                                                         (Class556.aClass40_Sub1_7177.method979((short) 25774)),
  432.                                                         (float) (client.canvasWidth * -357015995), (float) ((Class213.canvasHeight) * 1349020517),
  433.                                                         (float) ((-231253565 * (componentDefinition.anInt1375)) << 2));
  434.                                         } else if (componentDefinition.aBool1366)
  435.                                             class328.method5987((float) i_170_, (float) i_171_, (float) i_168_, (float) i_169_, (float) i_172_,
  436.                                                     (float) i_173_, (float) (-357015995 * client.canvasWidth),
  437.                                                     (float) (Class213.canvasHeight * 1349020517), (float) (-231253565 * (componentDefinition.anInt1375)));
  438.                                         else
  439.                                             class328.method5987((float) i_170_, (float) i_171_, (float) i_168_, (float) i_169_, (float) i_172_,
  440.                                                     (float) i_173_, (float) (-357015995 * client.canvasWidth),
  441.                                                     (float) (Class213.canvasHeight * 1349020517), (float) ((componentDefinition.anInt1375 * -231253565) << 2));
  442.                                     } else if (-112183565 * MapScene.anInt3407 == 2)
  443.                                         class328.method5974((float) i_170_, (float) i_171_, (float) i_168_, (float) i_169_,
  444.                                                 Class556.aClass40_Sub1_7177.method956((byte) -125),
  445.                                                 Class556.aClass40_Sub1_7177.method979((short) 28432), (float) (client.canvasWidth * -357015995),
  446.                                                 (float) (1349020517 * Class213.canvasHeight));
  447.                                     else
  448.                                         class328.method5974((float) i_170_, (float) i_171_, (float) i_168_, (float) i_169_, (float) i_172_,
  449.                                                 (float) i_173_, (float) (-357015995 * client.canvasWidth), (float) (Class213.canvasHeight * 1349020517));
  450.                                     IsaacCipher.currentToolkit.method11197(class328);
  451.                                     IsaacCipher.currentToolkit.ba(2, 0);
  452.                                     if (componentDefinition.aBool1440)
  453.                                         IsaacCipher.currentToolkit.setDepthWriteEnabled(false);
  454.                                     if (componentDefinition.aBool1366) {
  455.                                         client.aClass318_7406.method5778(1.0F, 0.0F, 0.0F, (ModelConstants.method5923(componentDefinition.anInt1315 * -727907249)));
  456.                                         client.aClass318_7406.method5776(0.0F, 1.0F, 0.0F, ModelConstants.method5923((componentDefinition.anInt1336) * 345209303));
  457.                                         client.aClass318_7406.method5776(0.0F, 0.0F, 1.0F, (ModelConstants.method5923(988359853 * componentDefinition.anInt1361)));
  458.                                         client.aClass318_7406.method5722((float) (componentDefinition.anInt1372 * -1264021425),
  459.                                                 (float) (-1577314389 * componentDefinition.anInt1373), (float) (componentDefinition.anInt1451 * 901004941));
  460.                                     } else {
  461.                                         int i_174_ = ((-231253565 * componentDefinition.anInt1375 << 2) * (ModelConstants.anIntArray3981[((-727907249 * componentDefinition.anInt1315) << 3)])) >> 14;
  462.                                         int i_175_ = ((ModelConstants.anIntArray3983[(componentDefinition.anInt1315 * -727907249) << 3]) * ((-231253565 * componentDefinition.anInt1375) << 2)) >> 14;
  463.                                         client.aClass318_7406.method5778(0.0F, 0.0F, 1.0F,
  464.                                                 ModelConstants.method5923(-((componentDefinition.anInt1361) * 988359853) << 3));
  465.                                         client.aClass318_7406
  466.                                                 .method5776(0.0F, 1.0F, 0.0F, (ModelConstants.method5923(345209303 * componentDefinition.anInt1336 << 3)));
  467.                                         client.aClass318_7406.method5722((float) ((226784903 * componentDefinition.anInt1296) << 2),
  468.                                                 (float) (((-1078676325 * componentDefinition.anInt1368) << 2) + i_174_ + i_165_),
  469.                                                 (float) (((componentDefinition.anInt1368 * -1078676325) << 2) + i_175_));
  470.                                         client.aClass318_7406.method5776(1.0F, 0.0F, 0.0F,
  471.                                                 (ModelConstants.method5923(-727907249 * componentDefinition.anInt1315 << 3)));
  472.                                     }
  473.                                     componentDefinition.method2361((IsaacCipher.currentToolkit), class560, client.aClass318_7406, (-865391965 * client.anInt7411),
  474.                                             (byte) 7);
  475.                                     IsaacCipher.currentToolkit.method11156(true);
  476.                                     IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  477.                                     if (client.aBool7595)
  478.                                         IsaacCipher.currentToolkit.ensureDimensions(renderX, renderY, (componentDefinition.renderWidth * 1967249471 + renderX), renderY
  479.                                                 + (componentDefinition.renderHeight * -1112022365));
  480.                                     class560.method11860(client.aClass318_7406, null, 1);
  481.                                     if (!componentDefinition.aBool1378 && componentDefinition.aClass553_1374 != null)
  482.                                         IsaacCipher.currentToolkit.method11193(componentDefinition.aClass553_1374.method11693());
  483.                                     if (client.aBool7595)
  484.                                         IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  485.                                     IsaacCipher.currentToolkit.method11156(false);
  486.                                     IsaacCipher.currentToolkit.clearClip();
  487.                                     IsaacCipher.currentToolkit.setClip(i_128_, i_129_, canvasWidth, canvasHeight);
  488.                                     if (componentDefinition.aBool1440) {
  489.                                         IsaacCipher.currentToolkit.setDepthWriteEnabled(true);
  490.                                     }
  491.                                 }
  492.                             } else if (9 == componentDefinition.type * -505187837) {
  493.                                 int i_176_;
  494.                                 int i_177_;
  495.                                 int i_178_;
  496.                                 int i_179_;
  497.                                 if (componentDefinition.aBool1353) {
  498.                                     i_176_ = renderX;
  499.                                     i_177_ = (-1112022365 * componentDefinition.renderHeight + renderY);
  500.                                     i_178_ = renderX + (1967249471 * componentDefinition.renderWidth);
  501.                                     i_179_ = renderY;
  502.                                 } else {
  503.                                     i_176_ = renderX;
  504.                                     i_177_ = renderY;
  505.                                     i_178_ = renderX + (componentDefinition.renderWidth * 1967249471);
  506.                                     i_179_ = renderY + (-1112022365 * componentDefinition.renderHeight);
  507.                                 }
  508.                                 if (componentDefinition.anInt1352 * 1846478393 == 1)
  509.                                     IsaacCipher.currentToolkit.method11168(i_176_, i_177_, i_178_, i_179_,
  510.                                             (~0xffffff | -1468931995 * componentDefinition.textColour), 0);
  511.                                 else
  512.                                     IsaacCipher.currentToolkit.drawLine(i_176_, i_177_, i_178_, i_179_,
  513.                                             (~0xffffff | -1468931995 * componentDefinition.textColour), componentDefinition.anInt1352 * 1846478393, 0);
  514.                             }
  515.                         }
  516.                     }
  517.                 }
  518.             }
  519.         }
  520.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement