Program: 21940
Project: 21940
Buggy source:
private void func_77010_a(EntityPainting par1EntityPainting,int par2,int par3,int par4,int par5){
  float f=(float)(-par2) / 2.0F;
  float f1=(float)(-par3) / 2.0F;
  float f2=0.5F;
  float f3=0.75F;
  float f4=0.8125F;
  float f5=0.0F;
  float f6=0.0625F;
  float f7=0.75F;
  float f8=0.8125F;
  float f9=0.001953125F;
  float f10=0.001953125F;
  float f11=0.7519531F;
  float f12=0.7519531F;
  float f13=0.0F;
  float f14=0.0625F;
  for (int i1=0; i1 < par2 / 16; ++i1) {
    for (int j1=0; j1 < par3 / 16; ++j1) {
      float f15=f + (float)((i1 + 1) * 16);
      float f16=f + (float)(i1 * 16);
      float f17=f1 + (float)((j1 + 1) * 16);
      float f18=f1 + (float)(j1 * 16);
      this.func_77008_a(par1EntityPainting,(f15 + f16) / 2.0F,(f17 + f18) / 2.0F);
      float f19=(float)(par4 + par2 - i1 * 16) / 256.0F;
      float f20=(float)(par4 + par2 - (i1 + 1) * 16) / 256.0F;
      float f21=(float)(par5 + par3 - j1 * 16) / 256.0F;
      float f22=(float)(par5 + par3 - (j1 + 1) * 16) / 256.0F;
      Tessellator tessellator=Tessellator.instance;
      tessellator.startDrawingQuads();
      tessellator.setNormal(0.0F,0.0F,-1.0F);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)(-f2),(double)f20,(double)f21);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)(-f2),(double)f19,(double)f21);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)(-f2),(double)f19,(double)f22);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)(-f2),(double)f20,(double)f22);
      tessellator.setNormal(0.0F,0.0F,1.0F);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)f2,(double)f3,(double)f5);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)f2,(double)f4,(double)f5);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)f2,(double)f4,(double)f6);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)f2,(double)f3,(double)f6);
      tessellator.setNormal(0.0F,1.0F,0.0F);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)(-f2),(double)f7,(double)f9);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)(-f2),(double)f8,(double)f9);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)f2,(double)f8,(double)f10);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)f2,(double)f7,(double)f10);
      tessellator.setNormal(0.0F,-1.0F,0.0F);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)f2,(double)f7,(double)f9);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)f2,(double)f8,(double)f9);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)(-f2),(double)f8,(double)f10);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)(-f2),(double)f7,(double)f10);
      tessellator.setNormal(-1.0F,0.0F,0.0F);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)f2,(double)f12,(double)f13);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)f2,(double)f12,(double)f14);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)(-f2),(double)f11,(double)f14);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)(-f2),(double)f11,(double)f13);
      tessellator.setNormal(1.0F,0.0F,0.0F);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)(-f2),(double)f12,(double)f13);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)(-f2),(double)f12,(double)f14);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)f2,(double)f11,(double)f14);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)f2,(double)f11,(double)f13);
      tessellator.draw();
    }
  }
}

Fixed version (ground truth):
private void func_77010_a(EntityTableOfElements par1EntityPainting,int par2,int par3,int par4,int par5){
  float f=(float)(-par2) / 2.0F;
  float f1=(float)(-par3) / 2.0F;
  float f2=0.5F;
  float f3=0.75F;
  float f4=0.8125F;
  float f5=0.0F;
  float f6=0.0625F;
  float f7=0.75F;
  float f8=0.8125F;
  float f9=0.001953125F;
  float f10=0.001953125F;
  float f11=0.7519531F;
  float f12=0.7519531F;
  float f13=0.0F;
  float f14=0.0625F;
  for (int i1=0; i1 < par2 / 16; ++i1) {
    for (int j1=0; j1 < par3 / 16; ++j1) {
      float f15=f + (float)((i1 + 1) * 16);
      float f16=f + (float)(i1 * 16);
      float f17=f1 + (float)((j1 + 1) * 16);
      float f18=f1 + (float)(j1 * 16);
      this.func_77008_a(par1EntityPainting,(f15 + f16) / 2.0F,(f17 + f18) / 2.0F);
      float f19=(float)(par4 + par2 - i1 * 16) / 256.0F;
      float f20=(float)(par4 + par2 - (i1 + 1) * 16) / 256.0F;
      float f21=(float)(par5 + par3 - j1 * 16) / 256.0F;
      float f22=(float)(par5 + par3 - (j1 + 1) * 16) / 256.0F;
      Tessellator tessellator=Tessellator.instance;
      tessellator.startDrawingQuads();
      tessellator.setNormal(0.0F,0.0F,-1.0F);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)(-f2),(double)f20,(double)f21);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)(-f2),(double)f19,(double)f21);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)(-f2),(double)f19,(double)f22);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)(-f2),(double)f20,(double)f22);
      tessellator.setNormal(0.0F,0.0F,1.0F);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)f2,(double)f3,(double)f5);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)f2,(double)f4,(double)f5);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)f2,(double)f4,(double)f6);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)f2,(double)f3,(double)f6);
      tessellator.setNormal(0.0F,1.0F,0.0F);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)(-f2),(double)f7,(double)f9);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)(-f2),(double)f8,(double)f9);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)f2,(double)f8,(double)f10);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)f2,(double)f7,(double)f10);
      tessellator.setNormal(0.0F,-1.0F,0.0F);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)f2,(double)f7,(double)f9);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)f2,(double)f8,(double)f9);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)(-f2),(double)f8,(double)f10);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)(-f2),(double)f7,(double)f10);
      tessellator.setNormal(-1.0F,0.0F,0.0F);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)f2,(double)f12,(double)f13);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)f2,(double)f12,(double)f14);
      tessellator.addVertexWithUV((double)f15,(double)f18,(double)(-f2),(double)f11,(double)f14);
      tessellator.addVertexWithUV((double)f15,(double)f17,(double)(-f2),(double)f11,(double)f13);
      tessellator.setNormal(1.0F,0.0F,0.0F);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)(-f2),(double)f12,(double)f13);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)(-f2),(double)f12,(double)f14);
      tessellator.addVertexWithUV((double)f16,(double)f18,(double)f2,(double)f11,(double)f14);
      tessellator.addVertexWithUV((double)f16,(double)f17,(double)f2,(double)f11,(double)f13);
      tessellator.draw();
    }
  }
}