d.smali
.class public final Lkc/d;
.super Ljava/lang/Object;
.source "RequestProcessorHelper.kt"
# annotations
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u0000@\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0008\n\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0005\n\u0002\u0018\u0002\n\u0000\u0008\u00c6\u0002\u0018\u00002\u00020\u0001B\u0007\u0008\u0002\u00a2\u0006\u0002\u0010\u0002J\u009a\u0001\u0010\u000e\u001a\u00020\u000f\"\u0008\u0008\u0000\u0010\u0010*\u00020\u00112\u0008\u0010\u0012\u001a\u0004\u0018\u00010\u00132\u0008\u0010\u0014\u001a\u0004\u0018\u0001H\u00102#\u0010\u0015\u001a\u001f\u0012\u0013\u0012\u0011H\u0010\u00a2\u0006\u000c\u0008\u0017\u0012\u0008\u0008\u0018\u0012\u0004\u0008\u0008(\u0014\u0012\u0006\u0012\u0004\u0018\u00010\u00190\u00162#\u0010\u001a\u001a\u001f\u0012\u0013\u0012\u0011H\u0010\u00a2\u0006\u000c\u0008\u0017\u0012\u0008\u0008\u0018\u0012\u0004\u0008\u0008(\u0014\u0012\u0006\u0012\u0004\u0018\u00010\u00130\u00162%\u0008\u0002\u0010\u001b\u001a\u001f\u0012\u0013\u0012\u0011H\u0010\u00a2\u0006\u000c\u0008\u0017\u0012\u0008\u0008\u0018\u0012\u0004\u0008\u0008(\u0014\u0012\u0004\u0012\u00020\u000f\u0018\u00010\u0016\u00a2\u0006\u0002\u0010\u001cJ\u0016\u0010\u001d\u001a\u00020\u000f2\u0006\u0010\u0012\u001a\u00020\u00132\u0006\u0010\u001e\u001a\u00020\u001fR!\u0010\u0003\u001a\u00020\u00048FX\u0087\u0084\u0002\u00a2\u0006\u0012\n\u0004\u0008\u0008\u0010\t\u0012\u0004\u0008\u0005\u0010\u0002\u001a\u0004\u0008\u0006\u0010\u0007R!\u0010\n\u001a\u00020\u00048FX\u0087\u0084\u0002\u00a2\u0006\u0012\n\u0004\u0008\r\u0010\t\u0012\u0004\u0008\u000b\u0010\u0002\u001a\u0004\u0008\u000c\u0010\u0007\u00a8\u0006 "
}
d2 = {
"Lcom/shopee/app/network/processors/extended/RequestProcessorHelper;",
"",
"()V",
"emptyResp",
"Lcom/shopee/protocol/ResponseCommon;",
"emptyResp$annotations",
"getEmptyResp",
"()Lcom/shopee/protocol/ResponseCommon;",
"emptyResp$delegate",
"Lkotlin/Lazy;",
"unknownResp",
"unknownResp$annotations",
"getUnknownResp",
"unknownResp$delegate",
"handleData",
"",
"T",
"Lcom/squareup/wire/Message;",
"requestId",
"",
"data",
"errorCodeParser",
"Lkotlin/Function1;",
"Lkotlin/ParameterName;",
"name",
"",
"errorMsgParser",
"onSucceed",
"(Ljava/lang/String;Lcom/squareup/wire/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V",
"handleError",
"tcpError",
"Lcom/garena/tcpcore/exception/TCPError;",
"coreserver_release"
}
k = 0x1
mv = {
0x1,
0x1,
0x10
}
.end annotation
# static fields
.field public static final a:Lkotlin/Lazy;
.field public static final b:Lkotlin/Lazy;
.field public static final c:Lkc/d;
# direct methods
.method public static constructor <clinit>()V
.registers 1
new-instance v0, Lkc/d;
invoke-direct {v0}, Lkc/d;-><init>()V
sput-object v0, Lkc/d;->c:Lkc/d;
sget-object v0, Lkc/d$a;->a:Lkc/d$a;
invoke-static {v0}, Lkotlin/LazyKt__LazyJVMKt;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
move-result-object v0
sput-object v0, Lkc/d;->a:Lkotlin/Lazy;
sget-object v0, Lkc/d$b;->a:Lkc/d$b;
invoke-static {v0}, Lkotlin/LazyKt__LazyJVMKt;->lazy(Lkotlin/jvm/functions/Function0;)Lkotlin/Lazy;
move-result-object v0
sput-object v0, Lkc/d;->b:Lkotlin/Lazy;
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static final a()Lcom/shopee/protocol/ResponseCommon;
.registers 1
sget-object v0, Lkc/d;->a:Lkotlin/Lazy;
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/shopee/protocol/ResponseCommon;
return-object v0
.end method
.method public static synthetic a(Lkc/d;Ljava/lang/String;Lcom/squareup/wire/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
.registers 14
and-int/lit8 p6, p6, 0x10
if-eqz p6, :cond_5
const/4 p5, 0x0
:cond_5
move-object v5, p5
move-object v0, p0
move-object v1, p1
move-object v2, p2
move-object v3, p3
move-object v4, p4
invoke-virtual/range {v0 .. v5}, Lkc/d;->a(Ljava/lang/String;Lcom/squareup/wire/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
return-void
.end method
.method public static final b()Lcom/shopee/protocol/ResponseCommon;
.registers 1
sget-object v0, Lkc/d;->b:Lkotlin/Lazy;
invoke-interface {v0}, Lkotlin/Lazy;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/shopee/protocol/ResponseCommon;
return-object v0
.end method
# virtual methods
.method public final a(Ljava/lang/String;Lcom/garena/tcpcore/exception/TCPError;)V
.registers 7
sget-object v0, Lec/a;->b:Lec/a;
invoke-virtual {v0, p1}, Lec/a;->a(Ljava/lang/String;)Lrc/a;
move-result-object p1
if-eqz p1, :cond_23
new-instance v0, Lic/a;
const/4 v1, -0x1
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string/jumbo v3, "tcp error: "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p2
invoke-direct {v0, v1, p2}, Lic/a;-><init>(ILjava/lang/String;)V
invoke-interface {p1, v0}, Lrc/a;->a(Lic/a;)V
:cond_23
return-void
.end method
.method public final a(Ljava/lang/String;Lcom/squareup/wire/Message;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;)V
.registers 7
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Lcom/squareup/wire/Message;",
">(",
"Ljava/lang/String;",
"TT;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/Integer;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Ljava/lang/String;",
">;",
"Lkotlin/jvm/functions/Function1<",
"-TT;",
"Lkotlin/Unit;",
">;)V"
}
.end annotation
if-eqz p1, :cond_4a
sget-object v0, Lec/a;->b:Lec/a;
invoke-virtual {v0, p1}, Lec/a;->a(Ljava/lang/String;)Lrc/a;
move-result-object p1
if-eqz p1, :cond_4a
if-nez p2, :cond_19
new-instance p2, Lic/a;
const/16 p3, -0xc8
const-string p4, "empty response"
invoke-direct {p2, p3, p4}, Lic/a;-><init>(ILjava/lang/String;)V
invoke-interface {p1, p2}, Lrc/a;->a(Lic/a;)V
return-void
:cond_19
invoke-interface {p3, p2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p3
check-cast p3, Ljava/lang/Integer;
if-nez p3, :cond_22
goto :goto_28
:cond_22
invoke-virtual {p3}, Ljava/lang/Integer;->intValue()I
move-result v0
if-eqz v0, :cond_3f
:goto_28
new-instance p5, Lic/a;
if-eqz p3, :cond_31
invoke-virtual {p3}, Ljava/lang/Integer;->intValue()I
move-result p3
goto :goto_32
:cond_31
const/4 p3, -0x1
:goto_32
invoke-interface {p4, p2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Ljava/lang/String;
invoke-direct {p5, p3, p2}, Lic/a;-><init>(ILjava/lang/String;)V
invoke-interface {p1, p5}, Lrc/a;->a(Lic/a;)V
return-void
:cond_3f
invoke-interface {p1, p2}, Lrc/a;->a(Lcom/squareup/wire/Message;)V
if-eqz p5, :cond_4a
invoke-interface {p5, p2}, Lkotlin/jvm/functions/Function1;->invoke(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lkotlin/Unit;
:cond_4a
return-void
.end method