function item_slot_2B() /* entry=400 class_id=0x0A1E slot=0x2B */
{
  var
    referent, /* [BP+00h] type=0x69 */
    burn, /* [BP-02h] type=0x24 */
    burn2; /* [BP-04h] type=0x24 */

  set_info(0x0001, *(arg_06));
  spawn FREE.waitNTimerTicks(UCMachine.rndRange(pid, 0x00C8, 100), 0x00000000);
  suspend;
  burn2 = *(arg_06);
  if (Item.getShape(burn2) == 0x0456) {
    set_info(0x00F0, burn);
    if (!getAnimationsDisabled()) {
      while ((Item.getFrame(burn) == 9) && (Item.isOnScreen(arg_06) != 1)) {
        spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
        suspend;
      }
    }
    return;
  }
  else if (Item.getShape(burn2) == 0x044A) {
    set_info(0x00F0, burn);
    if (!getAnimationsDisabled()) {
      while ((Item.getFrame(burn) == 9) && (Item.isOnScreen(arg_06) != 1)) {
        spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
        suspend;
      }
    }
    return;
  }
  else if (Item.getShape(burn2) == 0x0085) {
    set_info(0x00F0, burn);
    if (!getAnimationsDisabled()) {
      while ((Item.getFrame(burn) == 9) && (Item.isOnScreen(arg_06) != 1)) {
        spawn FREE.waitNTimerTicks(pid, 2, 0x00000000);
        suspend;
      }
    }
    return;
  }
  return;
}
