b.smali

.class public abstract Landroid/support/v4/media/b;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lcom/facebook/react/modules/network/OkHttpClientFactory;
.implements Lcom/google/android/exoplayer2/metadata/a;
.implements Lcom/google/firebase/components/b;
.implements Lcom/shopee/sz/mediasdk/filter/callback/a;
.implements Lcom/shopee/sz/videoengine/contracts/k;


# static fields
.field public static a:Lcom/shopee/sz/mediasdk/report/download/e;


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

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

    return-void
.end method

.method public static synthetic D(Landroid/support/v4/media/b;Landroid/content/Context;Lcom/shopee/core/context/a;Lcom/shopee/core/imageloader/mms/MMSInfo;Ljava/lang/String;IIILjava/lang/Object;)Ljava/lang/String;
    .registers 16

    const/4 v5, 0x0

    const/4 v6, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move-object v4, p4

    invoke-virtual/range {v0 .. v6}, Landroid/support/v4/media/b;->C(Landroid/content/Context;Lcom/shopee/core/context/a;Lcom/shopee/core/imageloader/mms/MMSInfo;Ljava/lang/String;II)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method public static I0(Landroid/support/v4/media/b;Ljava/lang/String;Ljava/lang/String;[BLcom/shopee/app/ui/home/native_home/template/base/a;ILjava/lang/Object;)V
    .registers 9

    and-int/lit8 p6, p5, 0x1

    const-string v0, ""

    if-eqz p6, :cond_7

    move-object p1, v0

    :cond_7
    and-int/lit8 p6, p5, 0x2

    if-eqz p6, :cond_c

    move-object p2, v0

    :cond_c
    and-int/lit8 p6, p5, 0x4

    const/4 v0, 0x0

    if-eqz p6, :cond_13

    new-array p3, v0, [B

    :cond_13
    and-int/lit8 p5, p5, 0x8

    const/4 p6, 0x0

    if-eqz p5, :cond_19

    move-object p4, p6

    :cond_19
    if-eqz p4, :cond_23

    .line 1
    iget-object p1, p4, Lcom/shopee/app/ui/home/native_home/template/base/a;->d:Ljava/lang/Object;

    if-eqz p1, :cond_5d

    .line 2
    invoke-virtual {p0, p4}, Landroid/support/v4/media/b;->H0(Lcom/shopee/app/ui/home/native_home/template/base/a;)V

    goto :goto_5d

    .line 3
    :cond_23
    array-length p4, p3

    const/4 p5, 0x1

    if-nez p4, :cond_29

    const/4 p4, 0x1

    goto :goto_2a

    :cond_29
    const/4 p4, 0x0

    :goto_2a
    xor-int/2addr p4, p5

    if-eqz p4, :cond_5d

    .line 4
    invoke-virtual {p0}, Landroid/support/v4/media/b;->V()Ljava/lang/Object;

    move-result-object p4

    .line 5
    :try_start_31
    instance-of p5, p4, Lorg/json/JSONObject;

    if-eqz p5, :cond_42

    .line 6
    new-instance p4, Lorg/json/JSONObject;

    new-instance p5, Ljava/lang/String;

    sget-object v1, Lkotlin/text/a;->a:Ljava/nio/charset/Charset;

    invoke-direct {p5, p3, v1}, Ljava/lang/String;-><init>([BLjava/nio/charset/Charset;)V

    invoke-direct {p4, p5}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    goto :goto_4d

    .line 7
    :cond_42
    instance-of p5, p4, Ljava/lang/String;

    if-eqz p5, :cond_4f

    .line 8
    new-instance p4, Ljava/lang/String;

    sget-object p5, Lkotlin/text/a;->a:Ljava/nio/charset/Charset;

    invoke-direct {p4, p3, p5}, Ljava/lang/String;-><init>([BLjava/nio/charset/Charset;)V

    :goto_4d
    move-object p3, p4

    goto :goto_51

    .line 9
    :cond_4f
    instance-of p4, p4, [B
    :try_end_51
    .catch Ljava/lang/Exception; {:try_start_31 .. :try_end_51} :catch_57

    .line 10
    :goto_51
    new-instance p6, Lcom/shopee/app/ui/home/native_home/template/base/a;

    invoke-direct {p6, p1, p2, v0, p3}, Lcom/shopee/app/ui/home/native_home/template/base/a;-><init>(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/Object;)V

    goto :goto_58

    :catch_57
    nop

    :goto_58
    if-eqz p6, :cond_5d

    .line 11
    invoke-virtual {p0, p6}, Landroid/support/v4/media/b;->H0(Lcom/shopee/app/ui/home/native_home/template/base/a;)V

    :cond_5d
    :goto_5d
    return-void
.end method


# virtual methods
.method public A()V
    .registers 1

    return-void
.end method

.method public abstract A0(Ljava/lang/String;Ljava/lang/String;)V
.end method

.method public B0(Lcom/shopee/protocol/action/Notification;)Lcom/shopee/app/network/processors/notification/chatnoti/b;
    .registers 4

    .line 1
    iget-object p1, p1, Lcom/shopee/protocol/action/Notification;->custom_data:Ljava/lang/String;

    if-eqz p1, :cond_20

    .line 2
    :try_start_4
    sget-object v0, Lcom/shopee/app/web/WebRegister;->a:Lcom/google/gson/i;

    const-class v1, Lcom/shopee/app/network/processors/notification/chatnoti/b;

    invoke-virtual {v0, p1, v1}, Lcom/google/gson/i;->h(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/shopee/app/network/processors/notification/chatnoti/b;
    :try_end_e
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_e} :catch_f

    goto :goto_21

    :catch_f
    move-exception p1

    const-string v0, "ChatFilterNotificationProcessor "

    .line 3
    invoke-static {v0}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 4
    invoke-static {p1, v0}, Landroidx/appcompat/q;->e(Ljava/lang/Exception;Ljava/lang/StringBuilder;)Ljava/lang/String;

    move-result-object p1

    const/4 v0, 0x0

    new-array v0, v0, [Ljava/lang/Object;

    .line 5
    invoke-static {p1, v0}, Lcom/garena/android/appkit/logging/a;->A(Ljava/lang/String;[Ljava/lang/Object;)V

    :cond_20
    const/4 p1, 0x0

    :goto_21
    return-object p1
.end method

.method public C(Landroid/content/Context;Lcom/shopee/core/context/a;Lcom/shopee/core/imageloader/mms/MMSInfo;Ljava/lang/String;II)Ljava/lang/String;
    .registers 16

    const/4 v0, 0x0

    const-string v1, ""

    const-string v2, "@resize"

    if-eqz p3, :cond_37

    .line 1
    invoke-virtual {p3}, Lcom/shopee/core/imageloader/mms/MMSInfo;->getSuffix()Ljava/lang/String;

    move-result-object v3

    if-nez v3, :cond_e

    goto :goto_f

    :cond_e
    move-object v1, v3

    .line 2
    :goto_f
    invoke-static {v1, v2, v0}, Lkotlin/text/w;->x(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z

    move-result v0

    if-nez v0, :cond_26

    .line 3
    invoke-static {v1}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    .line 4
    sget-object v1, Lcom/shopee/app/util/imagerescale/p;->a:Lcom/shopee/app/util/imagerescale/p;

    invoke-virtual {v1, p4, p2, p5, p6}, Lcom/shopee/app/util/imagerescale/p;->c(Ljava/lang/String;Lcom/shopee/core/context/a;II)Ljava/lang/String;

    move-result-object p4

    invoke-virtual {v0, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :cond_26
    move-object v7, v1

    .line 5
    invoke-virtual {p3}, Lcom/shopee/core/imageloader/mms/MMSInfo;->getImageId()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {p3}, Lcom/shopee/core/imageloader/mms/MMSInfo;->getBizId()I

    move-result v6

    move-object v2, p0

    move-object v3, p1

    move-object v4, p2

    invoke-virtual/range {v2 .. v7}, Landroid/support/v4/media/b;->G(Landroid/content/Context;Lcom/shopee/core/context/a;Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;

    move-result-object p1

    return-object p1

    .line 6
    :cond_37
    invoke-static {}, Lcom/shopee/app/application/n2;->e()Lcom/shopee/app/application/n2;

    move-result-object p3

    .line 7
    iget-object p3, p3, Lcom/shopee/app/application/n2;->b:Lcom/shopee/app/appuser/e;

    .line 8
    invoke-interface {p3}, Lcom/shopee/app/appuser/e;->q0()Lcom/shopee/app/util/x0;

    move-result-object p3

    const-string v3, "41222202d5e6ee586e53fd15c8b15412eafb5e4d21724f9f6229630bf0e236f5"

    const/4 v4, 0x1

    .line 9
    invoke-virtual {p3, v3, v4}, Lcom/shopee/app/util/x0;->e(Ljava/lang/String;Z)Z

    move-result p3

    if-nez p3, :cond_4c

    goto/16 :goto_ba

    .line 10
    :cond_4c
    invoke-virtual {p0, p4}, Landroid/support/v4/media/b;->F(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v6

    .line 11
    invoke-virtual {v6}, Ljava/lang/String;->length()I

    move-result p3

    if-nez p3, :cond_58

    const/4 p3, 0x1

    goto :goto_59

    :cond_58
    const/4 p3, 0x0

    :goto_59
    if-eqz p3, :cond_5c

    goto :goto_ba

    :cond_5c
    const/16 v7, 0x1083

    const/4 v8, 0x0

    move-object v3, p0

    move-object v4, p1

    move-object v5, p2

    .line 12
    invoke-virtual/range {v3 .. v8}, Landroid/support/v4/media/b;->G(Landroid/content/Context;Lcom/shopee/core/context/a;Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 13
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result p3

    if-nez p3, :cond_6e

    const/4 p3, 0x1

    goto :goto_6f

    :cond_6e
    const/4 p3, 0x0

    :goto_6f
    if-eqz p3, :cond_72

    goto :goto_73

    :cond_72
    move-object p4, p1

    .line 14
    :goto_73
    invoke-static {p4, v2, v0}, Lkotlin/text/w;->x(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z

    move-result p1

    if-nez p1, :cond_ba

    const-string p1, "_tn"

    invoke-static {p4, p1, v0}, Lkotlin/text/w;->x(Ljava/lang/CharSequence;Ljava/lang/CharSequence;Z)Z

    move-result p1

    if-nez p1, :cond_ba

    if-lez p5, :cond_ba

    if-gtz p6, :cond_86

    goto :goto_ba

    :cond_86
    const-string p1, "/"

    .line 15
    invoke-static {p4, p1, v1}, Lkotlin/text/w;->X(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const-string p3, "."

    invoke-static {p1, p3, v1}, Lkotlin/text/w;->V(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 16
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result p3

    if-lez p3, :cond_99

    const/4 v0, 0x1

    :cond_99
    if-eqz v0, :cond_ac

    .line 17
    new-instance p3, Ljava/lang/StringBuilder;

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

    const/16 v0, 0x2e

    invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {p3, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 18
    :cond_ac
    invoke-static {p4, v1}, Lkotlin/text/w;->N(Ljava/lang/String;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object p1

    .line 19
    sget-object p3, Lcom/shopee/app/util/imagerescale/p;->a:Lcom/shopee/app/util/imagerescale/p;

    invoke-virtual {p3, p4, p2, p5, p6}, Lcom/shopee/app/util/imagerescale/p;->c(Ljava/lang/String;Lcom/shopee/core/context/a;II)Ljava/lang/String;

    move-result-object p2

    .line 20
    invoke-static {p1, p2, v1}, Landroidx/biometric/i0;->c(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p4

    :cond_ba
    :goto_ba
    return-object p4
.end method

.method public abstract C0(Ljava/lang/String;Ljava/lang/String;)Lcom/shopee/cookiesmanager/remote/c;
.end method

.method public abstract D0(Ljava/lang/String;Ljava/lang/String;)Lcom/shopee/cookiesmanager/remote/c;
.end method

.method public abstract E(Lcom/google/android/exoplayer2/metadata/c;Ljava/nio/ByteBuffer;)Lcom/google/android/exoplayer2/metadata/Metadata;
.end method

.method public abstract E0(I)Lcom/shopee/cookiesmanager/remote/c;
.end method

.method public F(Ljava/lang/String;)Ljava/lang/String;
    .registers 4

    const-string v0, "/"

    const/4 v1, 0x6

    .line 1
    invoke-static {p1, v0, v1}, Lkotlin/text/w;->H(Ljava/lang/CharSequence;Ljava/lang/String;I)I

    move-result v0

    if-ltz v0, :cond_15

    add-int/lit8 v0, v0, 0x1

    .line 2
    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    const-string v0, "this as java.lang.String).substring(startIndex)"

    invoke-static {p1, v0}, Lcom/shopee/sz/loadtask/datasource/a;->x(Ljava/lang/Object;Ljava/lang/String;)V

    goto :goto_17

    :cond_15
    const-string p1, ""

    :goto_17
    return-object p1
.end method

.method public abstract F0(I)Lcom/shopee/cookiesmanager/remote/c;
.end method

.method public G(Landroid/content/Context;Lcom/shopee/core/context/a;Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;
    .registers 6

    .line 1
    invoke-static {p3, p4, p5}, Lcom/shopee/sdk/a;->o(Ljava/lang/String;ILjava/lang/String;)Lcom/shopee/sz/endpoint/endpointservice/schedule/a;

    move-result-object p1

    iget-object p1, p1, Lcom/shopee/sz/endpoint/endpointservice/schedule/a;->c:Ljava/lang/String;

    .line 2
    sget-object p3, Lcom/shopee/app/util/imagerescale/p;->a:Lcom/shopee/app/util/imagerescale/p;

    invoke-virtual {p3, p1, p2}, Lcom/shopee/app/util/imagerescale/p;->f(Ljava/lang/String;Lcom/shopee/core/context/a;)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public abstract G0(ILjava/util/List;)Lcom/shopee/cookiesmanager/remote/c;
.end method

.method public H(Landroid/content/Context;Lcom/shopee/core/context/a;Ljava/lang/String;II)Ljava/lang/String;
    .registers 14

    .line 1
    invoke-virtual {p0, p3}, Landroid/support/v4/media/b;->F(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 2
    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v0

    const/4 v6, 0x0

    const/4 v7, 0x1

    if-nez v0, :cond_e

    const/4 v0, 0x1

    goto :goto_f

    :cond_e
    const/4 v0, 0x0

    :goto_f
    if-eqz v0, :cond_12

    return-object p3

    .line 3
    :cond_12
    sget-object v0, Lcom/shopee/app/util/imagerescale/p;->a:Lcom/shopee/app/util/imagerescale/p;

    invoke-virtual {v0, p3, p2, p4, p5}, Lcom/shopee/app/util/imagerescale/p;->c(Ljava/lang/String;Lcom/shopee/core/context/a;II)Ljava/lang/String;

    move-result-object v5

    const/16 v4, 0x1083

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    .line 4
    invoke-virtual/range {v0 .. v5}, Landroid/support/v4/media/b;->G(Landroid/content/Context;Lcom/shopee/core/context/a;Ljava/lang/String;ILjava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 5
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result p2

    if-nez p2, :cond_28

    const/4 v6, 0x1

    :cond_28
    if-eqz v6, :cond_2b

    goto :goto_2c

    :cond_2b
    move-object p3, p1

    :goto_2c
    return-object p3
.end method

.method public abstract H0(Lcom/shopee/app/ui/home/native_home/template/base/a;)V
.end method

.method public abstract I()Ljava/lang/String;
.end method

.method public abstract J(Ljava/lang/String;)Ljava/lang/String;
.end method

.method public abstract K(IZ)Lcom/shopee/cookiesmanager/remote/c;
.end method

.method public L()Landroid/webkit/CookieManager;
    .registers 3

    .line 1
    :try_start_0
    invoke-static {}, Landroid/webkit/CookieManager;->getInstance()Landroid/webkit/CookieManager;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/webkit/CookieManager;->setAcceptCookie(Z)V
    :try_end_8
    .catchall {:try_start_0 .. :try_end_8} :catchall_9

    goto :goto_e

    :catchall_9
    move-exception v0

    .line 2
    invoke-static {v0}, Lcom/shopee/sz/mmsplayercommon/util/b;->Y(Ljava/lang/Throwable;)Ljava/lang/Object;

    move-result-object v0

    .line 3
    :goto_e
    instance-of v1, v0, Lkotlin/l$a;

    if-eqz v1, :cond_13

    const/4 v0, 0x0

    .line 4
    :cond_13
    check-cast v0, Landroid/webkit/CookieManager;

    return-object v0
.end method

.method public abstract M()V
.end method

.method public abstract N()Ljava/lang/String;
.end method

.method public abstract O()Ljava/lang/String;
.end method

.method public abstract P()Ljava/lang/String;
.end method

.method public abstract Q()Lokhttp3/OkHttpClient;
.end method

.method public abstract R(FFFF)Landroid/graphics/Path;
.end method

.method public abstract S()Ljava/lang/Integer;
.end method

.method public abstract T()Ljava/lang/String;
.end method

.method public abstract U()Ljava/lang/String;
.end method

.method public abstract V()Ljava/lang/Object;
.end method

.method public abstract W()I
.end method

.method public abstract X()Ljava/lang/String;
.end method

.method public abstract Y()Ljava/lang/Long;
.end method

.method public abstract Z()Ljava/lang/Object;
.end method

.method public a0(Ljava/lang/String;)Ljava/lang/String;
    .registers 4

    const-string v0, ""

    if-nez p1, :cond_5

    return-object v0

    :cond_5
    invoke-virtual {p0}, Landroid/support/v4/media/b;->L()Landroid/webkit/CookieManager;

    move-result-object v1

    if-eqz v1, :cond_10

    invoke-virtual {v1, p1}, Landroid/webkit/CookieManager;->getCookie(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    goto :goto_11

    :cond_10
    const/4 p1, 0x0

    :goto_11
    if-nez p1, :cond_14

    goto :goto_15

    :cond_14
    move-object v0, p1

    :goto_15
    return-object v0
.end method

.method public b0(Ljava/lang/String;Ljava/lang/String;)Lcom/shopee/cookiesmanager/remote/c;
    .registers 5

    if-eqz p1, :cond_1c

    if-eqz p2, :cond_1c

    .line 1
    invoke-virtual {p0}, Landroid/support/v4/media/b;->L()Landroid/webkit/CookieManager;

    move-result-object v0

    if-nez v0, :cond_b

    goto :goto_1c

    .line 2
    :cond_b
    invoke-virtual {p0}, Landroid/support/v4/media/b;->L()Landroid/webkit/CookieManager;

    move-result-object v0

    if-eqz v0, :cond_14

    invoke-virtual {v0, p1, p2}, Landroid/webkit/CookieManager;->setCookie(Ljava/lang/String;Ljava/lang/String;)V

    .line 3
    :cond_14
    new-instance p1, Lcom/shopee/cookiesmanager/remote/c$b;

    sget-object p2, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;

    invoke-direct {p1, p2}, Lcom/shopee/cookiesmanager/remote/c$b;-><init>(Ljava/lang/Object;)V

    return-object p1

    .line 4
    :cond_1c
    :goto_1c
    new-instance p1, Lcom/shopee/cookiesmanager/remote/c$a;

    const/4 p2, 0x0

    const/4 v0, 0x3

    const/4 v1, 0x0

    invoke-direct {p1, p2, v1, v0, v1}, Lcom/shopee/cookiesmanager/remote/c$a;-><init>(ILjava/lang/String;ILkotlin/jvm/internal/e;)V

    return-object p1
.end method

.method public c0(Lcom/shopee/core/imageloader/mms/MMSInfo;Ljava/lang/String;)Z
    .registers 3

    if-eqz p1, :cond_4

    const/4 p1, 0x1

    return p1

    .line 1
    :cond_4
    sget-object p1, Lcom/shopee/app/util/imagerescale/b;->a:Lcom/shopee/app/util/imagerescale/b;

    .line 2
    sget-object p1, Lcom/shopee/app/util/imagerescale/b;->c:Lkotlin/n;

    invoke-virtual {p1}, Lkotlin/n;->getValue()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/shopee/app/util/imagerescale/a;

    .line 3
    invoke-virtual {p1, p2}, Lcom/shopee/app/util/imagerescale/a;->a(Ljava/lang/String;)Z

    move-result p1

    return p1
.end method

.method public createNewNetworkModuleClient()Lokhttp3/OkHttpClient;
    .registers 2

    invoke-virtual {p0}, Landroid/support/v4/media/b;->Q()Lokhttp3/OkHttpClient;

    move-result-object v0

    return-object v0
.end method

.method public d()V
    .registers 1

    return-void
.end method

.method public abstract d0(Ljava/lang/String;)Z
.end method

.method public e()V
    .registers 1

    return-void
.end method

.method public abstract e0(Ljava/lang/String;)V
.end method

.method public f()V
    .registers 1

    return-void
.end method

.method public f0(Ljava/lang/String;Z)Lcom/shopee/app/ui/home/native_home/template/base/a;
    .registers 9

    .line 1
    sget-object v0, Lcom/shopee/app/ui/home/native_home/template/e;->a:Lcom/shopee/app/ui/home/native_home/template/e;

    invoke-virtual {p0}, Landroid/support/v4/media/b;->W()I

    move-result v1

    .line 2
    invoke-virtual {p0}, Landroid/support/v4/media/b;->V()Ljava/lang/Object;

    move-result-object v2

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x1

    new-array v5, v5, [Ljava/lang/String;

    aput-object p1, v5, v3

    .line 3
    invoke-virtual {v0, p2, v1, v5}, Lcom/shopee/app/ui/home/native_home/template/e;->c(ZI[Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 4
    sget-object p2, Lcom/shopee/app/ui/home/native_home/template/utils/a;->a:Lcom/shopee/app/ui/home/native_home/template/utils/a;

    invoke-virtual {p2, p1}, Lcom/shopee/app/ui/home/native_home/template/utils/a;->b(Ljava/lang/String;)Ljava/io/File;

    move-result-object p2

    .line 5
    :try_start_1b
    invoke-virtual {p2}, Ljava/io/File;->exists()Z

    move-result v1

    if-nez v1, :cond_22

    goto :goto_26

    .line 6
    :cond_22
    invoke-virtual {v0, v2, p2, p1}, Lcom/shopee/app/ui/home/native_home/template/e;->e(Ljava/lang/Object;Ljava/io/File;Ljava/lang/String;)Lcom/shopee/app/ui/home/native_home/template/base/a;

    move-result-object v4
    :try_end_26
    .catch Ljava/lang/Exception; {:try_start_1b .. :try_end_26} :catch_26

    :catch_26
    :goto_26
    return-object v4
.end method

.method public g(Ljava/lang/Class;)Ljava/lang/Object;
    .registers 2

    .line 1
    invoke-interface {p0, p1}, Lcom/google/firebase/components/b;->n(Ljava/lang/Class;)Lcom/google/firebase/inject/b;

    move-result-object p1

    if-nez p1, :cond_8

    const/4 p1, 0x0

    return-object p1

    .line 2
    :cond_8
    invoke-interface {p1}, Lcom/google/firebase/inject/b;->get()Ljava/lang/Object;

    move-result-object p1

    return-object p1
.end method

.method public abstract g0(Ljava/lang/String;)Lcom/shopee/app/ui/home/native_home/template/base/a;
.end method

.method public abstract h0(Ljava/lang/String;)Lcom/shopee/app/ui/home/native_home/template/base/a;
.end method

.method public i0()V
    .registers 1

    return-void
.end method

.method public j()V
    .registers 1

    return-void
.end method

.method public abstract j0(ILjava/lang/String;)V
.end method

.method public k(Ljava/lang/Class;)Ljava/util/Set;
    .registers 2

    invoke-interface {p0, p1}, Lcom/google/firebase/components/b;->h(Ljava/lang/Class;)Lcom/google/firebase/inject/b;

    move-result-object p1

    invoke-interface {p1}, Lcom/google/firebase/inject/b;->get()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/util/Set;

    return-object p1
.end method

.method public abstract k0(I)V
.end method

.method public abstract l0(Landroid/graphics/Typeface;Z)V
.end method

.method public m(Lcom/google/android/exoplayer2/metadata/c;)Lcom/google/android/exoplayer2/metadata/Metadata;
    .registers 4

    .line 1
    iget-object v0, p1, Lcom/google/android/exoplayer2/decoder/g;->data:Ljava/nio/ByteBuffer;

    .line 2
    invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;

    .line 3
    invoke-virtual {v0}, Ljava/nio/Buffer;->position()I

    move-result v1

    if-nez v1, :cond_19

    invoke-virtual {v0}, Ljava/nio/ByteBuffer;->hasArray()Z

    move-result v1

    if-eqz v1, :cond_19

    invoke-virtual {v0}, Ljava/nio/ByteBuffer;->arrayOffset()I

    move-result v1

    if-nez v1, :cond_19

    const/4 v1, 0x1

    goto :goto_1a

    :cond_19
    const/4 v1, 0x0

    .line 4
    :goto_1a
    invoke-static {v1}, Lcom/shopee/shopeexlog/config/b;->n(Z)V

    .line 5
    invoke-virtual {p1}, Lcom/google/android/exoplayer2/decoder/a;->isDecodeOnly()Z

    move-result v1

    if-eqz v1, :cond_25

    const/4 p1, 0x0

    goto :goto_29

    :cond_25
    invoke-virtual {p0, p1, v0}, Landroid/support/v4/media/b;->E(Lcom/google/android/exoplayer2/metadata/c;Ljava/nio/ByteBuffer;)Lcom/google/android/exoplayer2/metadata/Metadata;

    move-result-object p1

    :goto_29
    return-object p1
.end method

.method public m0(Landroid/app/Dialog;)V
    .registers 2

    return-void
.end method

.method public n0(Landroid/app/Dialog;)V
    .registers 2

    return-void
.end method

.method public abstract o0(Landroid/app/Dialog;)V
.end method

.method public p()V
    .registers 1

    return-void
.end method

.method public abstract p0(JJ)V
.end method

.method public abstract q0(Ljava/lang/String;JJJ)V
.end method

.method public abstract r0()V
.end method

.method public s()V
    .registers 1

    return-void
.end method

.method public abstract s0(J)V
.end method

.method public abstract t0(Lcom/shopee/sz/common/ussupload/parser/a;)V
.end method

.method public u()V
    .registers 1

    return-void
.end method

.method public abstract u0(Lcom/shopee/sz/picuploadsdk/parser/a;)V
.end method

.method public v()V
    .registers 1

    return-void
.end method

.method public abstract v0(Ljava/util/HashSet;)V
.end method

.method public w()V
    .registers 1

    return-void
.end method

.method public abstract w0(Lcom/shopee/sz/common/ussupload/parser/a;)V
.end method

.method public abstract x0(Lcom/shopee/sz/picuploadsdk/parser/a;)V
.end method

.method public abstract y0(Lorg/json/JSONObject;)V
.end method

.method public z(Lcom/shopee/sz/videoengine/context/a;Lcom/shopee/videorecorder/videoengine/a;JILcom/shopee/sz/mediasdk/base/a;)V
    .registers 15

    .line 1
    move-object v1, p0

    check-cast v1, Lcom/shopee/sz/videoengine/decode/texture/d;

    .line 2
    iget-wide v2, p2, Lcom/shopee/videorecorder/videoengine/a;->a:J

    sub-long/2addr v2, p3

    .line 3
    iget-wide v4, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->e:J

    cmp-long v0, v2, v4

    if-lez v0, :cond_d

    goto :goto_63

    .line 4
    :cond_d
    iget-object v0, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->b:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_47

    iget-object v0, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->c:Lcom/shopee/sz/videoengine/context/b;

    if-nez v0, :cond_47

    .line 5
    invoke-virtual {p2, p3, p4}, Lcom/shopee/videorecorder/videoengine/a;->a(J)Z

    move-result p6

    if-eqz p6, :cond_31

    .line 6
    invoke-virtual {p1}, Lcom/shopee/sz/videoengine/context/a;->i()V

    .line 7
    iget-object p6, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->b:Ljava/lang/String;

    monitor-enter p6

    .line 8
    :try_start_25
    iget-object v0, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->g:Lcom/shopee/sz/videoengine/contracts/j;

    if-eqz v0, :cond_2c

    .line 9
    invoke-virtual {p1}, Lcom/shopee/sz/videoengine/context/a;->h()V

    .line 10
    :cond_2c
    monitor-exit p6

    goto :goto_36

    :catchall_2e
    move-exception p1

    monitor-exit p6
    :try_end_30
    .catchall {:try_start_25 .. :try_end_30} :catchall_2e

    throw p1

    .line 11
    :cond_31
    iget-boolean p6, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->f:Z

    if-eqz p6, :cond_36

    goto :goto_63

    :cond_36
    :goto_36
    const/4 p6, 0x1

    .line 12
    iput-boolean p6, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->f:Z

    .line 13
    new-instance p6, Lcom/shopee/sz/videoengine/decode/texture/c;

    move-object v0, p6

    move-object v2, p1

    move v3, p5

    move-object v4, p2

    move-wide v5, p3

    invoke-direct/range {v0 .. v6}, Lcom/shopee/sz/videoengine/decode/texture/c;-><init>(Lcom/shopee/sz/videoengine/decode/texture/d;Lcom/shopee/sz/videoengine/context/a;ILcom/shopee/videorecorder/videoengine/a;J)V

    invoke-static {p6}, Lbolts/k;->c(Ljava/util/concurrent/Callable;)Lbolts/k;

    goto :goto_63

    .line 14
    :cond_47
    iget-object p1, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->d:Lcom/shopee/sz/videoengine/context/b;

    if-eqz p1, :cond_63

    if-eqz p6, :cond_63

    invoke-virtual {p2, p3, p4}, Lcom/shopee/videorecorder/videoengine/a;->a(J)Z

    move-result p1

    if-eqz p1, :cond_63

    const/4 v7, 0x0

    .line 15
    iget-object p1, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->c:Lcom/shopee/sz/videoengine/context/b;

    iput-object p1, v1, Lcom/shopee/sz/videoengine/decode/texture/d;->d:Lcom/shopee/sz/videoengine/context/b;

    .line 16
    iget v3, p1, Lcom/shopee/sz/videoengine/context/b;->c:I

    .line 17
    iget v4, p1, Lcom/shopee/sz/videoengine/context/b;->d:I

    .line 18
    iget v5, p1, Lcom/shopee/sz/videoengine/context/b;->e:I

    move-object v2, p6

    move v6, p5

    .line 19
    invoke-virtual/range {v2 .. v7}, Lcom/shopee/sz/mediasdk/base/a;->updateInputTexture(IIIIZ)V

    :cond_63
    :goto_63
    return-void
.end method

.method public abstract z0(Ljava/lang/String;)V
.end method