d.smali
.class public final Lrd/d;
.super Lhc/b;
.source "ActionGetIDProcessor.kt"
# interfaces
.implements Lgc/a;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Lhc/b;",
"Lgc/a<",
"Lcom/shopee/app/proto/response/ResponseActionIdList;",
">;"
}
.end annotation
.annotation runtime Lkotlin/Metadata;
bv = {
0x1,
0x0,
0x3
}
d1 = {
"\u00004\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010\u0012\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0010\u000e\n\u0002\u0008\u0002\u0018\u00002\u00020\u00012\u0008\u0012\u0004\u0012\u00020\u00030\u0002B\u0005\u00a2\u0006\u0002\u0010\u0004J\u0008\u0010\u0005\u001a\u00020\u0006H\u0016J\u001a\u0010\u0007\u001a\u00020\u00082\u0008\u0010\t\u001a\u0004\u0018\u00010\n2\u0006\u0010\u000b\u001a\u00020\u0006H\u0016J\u001e\u0010\u000c\u001a\u000e\u0012\u0004\u0012\u00020\u000e\u0012\u0004\u0012\u00020\u00030\r2\u0008\u0010\u000f\u001a\u0004\u0018\u00010\nH\u0016\u00a8\u0006\u0010"
}
d2 = {
"Lcom/shopee/foody/driver/ar/business/ActionGetIDProcessor;",
"Lcom/shopee/app/network/processors/BaseProcessor;",
"Lcom/shopee/app/network/compat/ITCPCompatProcessor;",
"Lcom/shopee/app/proto/response/ResponseActionIdList;",
"()V",
"getCommand",
"",
"onProcess",
"",
"bytes",
"",
"len",
"parse",
"Landroid/util/Pair;",
"",
"data",
"driver_indonesiaRelease"
}
k = 0x1
mv = {
0x1,
0x1,
0x10
}
.end annotation
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Lhc/b;-><init>()V
return-void
.end method
# virtual methods
.method public a()I
.registers 2
const/16 v0, 0x12
return v0
.end method
.method public a([B)Landroid/util/Pair;
.registers 6
.annotation system Ldalvik/annotation/Signature;
value = {
"([B)",
"Landroid/util/Pair<",
"Ljava/lang/String;",
"Lcom/shopee/app/proto/response/ResponseActionIdList;",
">;"
}
.end annotation
sget-object v0, Lfc/d;->f:Lfc/d;
invoke-virtual {v0}, Lfc/d;->a()Lcom/squareup/wire/Wire;
move-result-object v0
const/4 v1, 0x0
if-eqz p1, :cond_b
array-length v2, p1
goto :goto_c
:cond_b
const/4 v2, 0x0
:goto_c
const-class v3, Lcom/shopee/app/proto/response/ResponseActionIdList;
invoke-virtual {v0, p1, v1, v2, v3}, Lcom/squareup/wire/Wire;->parseFrom([BIILjava/lang/Class;)Lcom/squareup/wire/Message;
move-result-object p1
const-string v0, "CoreServerRegister.WIRE.\u2026ist::class.java\n )"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
check-cast p1, Lcom/shopee/app/proto/response/ResponseActionIdList;
iget-object v0, p1, Lcom/shopee/app/proto/response/ResponseActionIdList;->requestid:Ljava/lang/String;
invoke-virtual {p0, v0}, Lhc/b;->a(Ljava/lang/String;)V
new-instance v0, Landroid/util/Pair;
iget-object v1, p1, Lcom/shopee/app/proto/response/ResponseActionIdList;->requestid:Ljava/lang/String;
invoke-direct {v0, v1, p1}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V
return-object v0
.end method
.method public c([BI)V
.registers 11
:try_start_0
sget-object v0, Lkotlin/Result;->Companion:Lkotlin/Result$Companion;
sget-object v0, Lfc/d;->f:Lfc/d;
invoke-virtual {v0}, Lfc/d;->a()Lcom/squareup/wire/Wire;
move-result-object v0
const/4 v1, 0x0
const-class v2, Lcom/shopee/app/proto/response/ResponseActionIdList;
invoke-virtual {v0, p1, v1, p2, v2}, Lcom/squareup/wire/Wire;->parseFrom([BIILjava/lang/Class;)Lcom/squareup/wire/Message;
move-result-object p1
check-cast p1, Lcom/shopee/app/proto/response/ResponseActionIdList;
invoke-static {p1}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:try_end_15
.catchall {:try_start_0 .. :try_end_15} :catchall_16
goto :goto_21
:catchall_16
move-exception p1
sget-object p2, Lkotlin/Result;->Companion:Lkotlin/Result$Companion;
invoke-static {p1}, Lkotlin/ResultKt;->createFailure(Ljava/lang/Throwable;)Ljava/lang/Object;
move-result-object p1
invoke-static {p1}, Lkotlin/Result;->constructor-impl(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
:goto_21
invoke-static {p1}, Lkotlin/Result;->isFailure-impl(Ljava/lang/Object;)Z
move-result p2
if-eqz p2, :cond_28
const/4 p1, 0x0
:cond_28
move-object v2, p1
check-cast v2, Lcom/shopee/app/proto/response/ResponseActionIdList;
if-eqz v2, :cond_3c
sget-object v0, Lkc/d;->c:Lkc/d;
iget-object v1, v2, Lcom/shopee/app/proto/response/ResponseActionIdList;->requestid:Ljava/lang/String;
sget-object v3, Lrd/d$a;->a:Lrd/d$a;
sget-object v4, Lrd/d$b;->a:Lrd/d$b;
const/4 v5, 0x0
const/16 v6, 0x10
const/4 v7, 0x0
invoke-static/range {v0 .. v7}, Lkc/d;->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
:cond_3c
return-void
.end method