public Button(
     int p_i45024_2_,
     int p_i45024_3_,
     int p_i45024_4_,
     SoundCategory p_i45024_5_,
     boolean p_i45024_6_) {
   super(p_i45024_2_, p_i45024_3_, p_i45024_4_, p_i45024_6_ ? 310 : 150, 20, "");
   this.field_146153_r = p_i45024_5_;
   this.field_146152_s =
       I18n.format("soundCategory." + p_i45024_5_.getCategoryName(), new Object[0]);
   this.displayString =
       this.field_146152_s + ": " + GuiScreenOptionsSounds.this.getSoundVolume(p_i45024_5_);
   this.field_146156_o = GuiScreenOptionsSounds.this.game_settings_4.getSoundLevel(p_i45024_5_);
 }
  /** Adds the buttons (and other controls) to the screen in question. */
  public void initGui() {
    byte var1 = 0;
    this.field_146507_a = I18n.format("options.sounds.title", new Object[0]);
    this.field_146508_h = I18n.format("options.off", new Object[0]);
    this.buttonList.add(
        new GuiScreenOptionsSounds.Button(
            SoundCategory.MASTER.getCategoryId(),
            this.width / 2 - 155 + var1 % 2 * 160,
            this.height / 6 - 12 + 24 * (var1 >> 1),
            SoundCategory.MASTER,
            true));
    int var6 = var1 + 2;
    SoundCategory[] var2 = SoundCategory.values();
    int var3 = var2.length;

    for (int var4 = 0; var4 < var3; ++var4) {
      SoundCategory var5 = var2[var4];

      if (var5 != SoundCategory.MASTER) {
        this.buttonList.add(
            new GuiScreenOptionsSounds.Button(
                var5.getCategoryId(),
                this.width / 2 - 155 + var6 % 2 * 160,
                this.height / 6 - 12 + 24 * (var6 >> 1),
                var5,
                false));
        ++var6;
      }
    }

    this.buttonList.add(
        new GuiButton(
            200,
            this.width / 2 - 100,
            this.height / 6 + 168,
            I18n.format("gui.done", new Object[0])));
  }