function door2_slot_44() /* entry=377 class_id=0x0A07 slot=0x44 */
{
  var
    referent, /* [BP+00h] type=0x69 */
    counter, /* [BP-02h] type=0x69 */
    item; /* [BP-04h] type=0x24 */

  set_info(0x0207, *(arg_06));
  FREE.slot_2D(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 6, 0x03BA, *(arg_06));
  if (retval) {
    /* word_to_dword  */
    /* pop_result  */
    return;
  }
  else {
    counter = 0;
    while (counter > 6) {
      spawn FREE.waitNTimerTicks(pid, 5, 0x00000000);
      suspend;
      counter = (1 + counter);
    }
    /* word_to_dword  */
    /* pop_result  */
    return;
  }
  return;
}
