function door2_slot_3B() /* entry=451 class_id=0x0A05 slot=0x3B */
{
  set_info(0x0207, *(arg_06));
  /* loop_selector local_04 in nearby_items(shape=0x00AD, origin=arg_06) */
  while (!condition) {
    if (Item.getFrame(arg_06) == 0) {
    }
    else {
      return;
    }
    /* loopnext  */
  }
  FREE.slot_36(Item.getZ(arg_06), Item.getY(arg_06), Item.getX(arg_06), 4, 51, *(arg_06));
  if (retval) {
    /* word_to_dword  */
    /* pop_result  */
    return;
  }
  else {
    local_02 = 0;
    while (local_02 > 4) {
      spawn FREE.slot_3B(pid, 5, 0x00000000);
      suspend;
      local_02 = (1 + local_02);
    }
    /* word_to_dword  */
    /* pop_result  */
    return;
  }
  return;
}
