BaseUtil.smali

.class public Lcom/dts/freefireth/FFNetCommand/BaseUtil;
.super Ljava/lang/Object;
.source "SourceFile"


# direct methods
.method public constructor <init>()V
    .registers 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static varargs closeAllCloseable([Ljava/io/Closeable;)V
    .registers 4

    if-eqz p0, :cond_19

    array-length v0, p0

    if-gtz v0, :cond_6

    goto :goto_19

    :cond_6
    array-length v0, p0

    const/4 v1, 0x0

    :goto_8
    if-ge v1, v0, :cond_19

    aget-object v2, p0, v1

    if-eqz v2, :cond_16

    :try_start_e
    invoke-interface {v2}, Ljava/io/Closeable;->close()V
    :try_end_11
    .catch Ljava/io/IOException; {:try_start_e .. :try_end_11} :catch_12

    goto :goto_16

    :catch_12
    move-exception v2

    invoke-virtual {v2}, Ljava/lang/Throwable;->printStackTrace()V

    :cond_16
    :goto_16
    add-int/lit8 v1, v1, 0x1

    goto :goto_8

    :cond_19
    :goto_19
    return-void
.end method