private void delFriend(long friendId) {
        try {
            if (friendId == 0L) {
                return;
            }
            for (int i = 0; i < friendsCount; i++) {
                if (friendsNamesAsLongs[i] != friendId) {
                    continue;
                }
                friendsCount--;
                needDrawTabArea = true;
                for (int j = i; j < friendsCount; j++) {
                    friendsNames[j] = friendsNames[j + 1];
                    friendsWorlds[j] = friendsWorlds[j + 1];
                    friendsNamesAsLongs[j] = friendsNamesAsLongs[j + 1];
                }
                outputStream.writeOpcode(215);
                outputStream.writeLong(friendId);
                break;
            }
        } catch (RuntimeException runtimeexception) {
            Signlink.reporterror("18622, " + false + ", " + friendId + ", " + runtimeexception.toString());
            throw new RuntimeException();
        }
    }