It can be a pretty frightening prospect to take the helms, full time, as the Sole Maintainer of a system. Being all alone in the system ... it can ... it can make programmers do things .... terrible things ... unspeakable things. Let's hope J Rojas doesn't succumb to the same fate as his predecessor, who proudly concocted this twisted tally system for indices of object arrays throughout the system ...

void RstPccoLv(int curIdx) {

  if (sysobjs[curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1 + 1)] == 0x0000004e - 0x00000032)
  {
    if (sysobjs[curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1)] > -1)
    {
      sysobjs[curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0)] = 0;
      
      if (sysobjs[
            sysobjs[
              curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1)
            ] * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1 + 1 + 1 + 1 + 1)
          ] < 0)
      {
        sysobjs[
          sysobjs[
            curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1)
          ] * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1 + 1 + 1 + 1 + 1)
        ] += (4);
      }
      
      if (sysobjs[
            sysobjs[
              curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1)
            ] * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1 + 1)
          ] == 0x0000004a - 0x00000032)
      {
        sysobjs[
          sysobjs[
            curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1)
          ] * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0)
        ] = 0;
        
        XPos2 = sysobjs[curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1)];
        
        if ((XPos2 + 1) < nbObj)
        {
          while (sysobjs[(XPos2 + 1) * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1 + 1)]
                   == 0x0000004a - 0x00000032)
          {
            sysobjs[(XPos2 + 1) * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0)] = 0;
            XPos2++;
          }
        }
      }
      
      if (sysobjs[
            sysobjs[
              curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1)
            ] * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1 + 1)
          ] == 0x0000004d - 0x00000032)
      {
        if ((sysobjs[curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0 + 1 + 1 + 1)] & (1 << 4)) == 0)
        {
          sysobjs[curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0)] = 0;
        }
        else
        {
          sysobjs[curIdx * (0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1) + (0)] = 1;
        }
      }
    }
  }
} //ED: Indenting added