function vardesk_use() /* entry=238 class_id=0x0442 slot=0x01 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    item, /* [BP-02h] type=0x24 */
    counter; /* [BP-04h] type=0x69 */

  set_info(0x0207, *(arg_06));
  process_exclude();
  class_0A0C_slot_33(0x021B, *(arg_06));
  /* global_address global_id=0x3C */
  /* global_address global_id=0x3C */
  while (Item.getFrame(arg_06) >= 4) {
    spawn class_0A0C_slot_32(pid, 5, 0x00000000);
    suspend;
  }
  spawn class_0A0C_slot_32(pid, 5, 0x00000000);
  suspend;
  if (global[0x001F] == 9) {
    /* str_to_ptr  */
    /* free_stack_string value_u8=0x4 target=[SP+04h] */
    suspend;
  }
  else if (global[0x001F] == 10) {
    /* str_to_ptr  */
    /* free_stack_string value_u8=0x4 target=[SP+04h] */
    suspend;
  }
  else if (global[0x001F] == 11) {
    /* str_to_ptr  */
    /* free_stack_string value_u8=0x4 target=[SP+04h] */
    suspend;
  }
  else if (global[0x001F] == 12) {
    /* str_to_ptr  */
    /* free_stack_string value_u8=0x4 target=[SP+04h] */
    suspend;
  }
  else if (global[0x001F] == 13) {
    /* str_to_ptr  */
    /* free_stack_string value_u8=0x4 target=[SP+04h] */
    suspend;
  }
  else {
    /* str_to_ptr  */
    /* free_stack_string value_u8=0x4 target=[SP+04h] */
    suspend;
  }
  /* loopscr value_u8=0x24 */
  /* loopscr value_u8=0x3D */
  /* loopscr value_u8=0x40 */
  /* loopscr value_u8=0x25 */
  /* loop current_var=0xFE string_bytes=0x6 loop_type=0x2 */
  while (!condition) {
    /* loopnext  */
  }
  counter = 0;
  while (counter > 4) {
    spawn class_0A0C_slot_32(pid, 10, 0x00000000);
    suspend;
    counter = (1 + counter);
  }
  spawn class_0442_enterFastArea(arg_06);
  return;
}
