2019-12-06 03:29:40 +00:00
|
|
|
.class public final Lcom/discord/stores/StoreMessageAck$getPendingAck$1;
|
2020-04-17 19:35:49 +00:00
|
|
|
.super Ly/u/b/k;
|
2019-07-24 11:27:29 +00:00
|
|
|
.source "StoreMessageAck.kt"
|
|
|
|
|
|
|
|
# interfaces
|
2019-11-23 00:16:54 +00:00
|
|
|
.implements Lkotlin/jvm/functions/Function2;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
2019-11-28 00:30:53 +00:00
|
|
|
value = Lcom/discord/stores/StoreMessageAck;->getPendingAck(Lrx/Observable;ZZ)Lrx/Observable;
|
2019-07-24 11:27:29 +00:00
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
2019-12-06 03:29:40 +00:00
|
|
|
accessFlags = 0x19
|
2019-07-24 11:27:29 +00:00
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
2020-04-17 19:35:49 +00:00
|
|
|
"Ly/u/b/k;",
|
2019-11-23 00:16:54 +00:00
|
|
|
"Lkotlin/jvm/functions/Function2<",
|
|
|
|
"Lcom/discord/stores/StoreMessageAck$Ack;",
|
|
|
|
"Ljava/lang/Long;",
|
|
|
|
"Ljava/lang/Boolean;",
|
|
|
|
">;"
|
2019-07-24 11:27:29 +00:00
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic $clearLock:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public constructor <init>(Z)V
|
2019-11-28 00:30:53 +00:00
|
|
|
.locals 0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
iput-boolean p1, p0, Lcom/discord/stores/StoreMessageAck$getPendingAck$1;->$clearLock:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const/4 p1, 0x2
|
2019-11-15 02:21:15 +00:00
|
|
|
|
2020-04-17 19:35:49 +00:00
|
|
|
invoke-direct {p0, p1}, Ly/u/b/k;-><init>(I)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
return-void
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
2019-11-23 00:16:54 +00:00
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
check-cast p1, Lcom/discord/stores/StoreMessageAck$Ack;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
check-cast p2, Ljava/lang/Number;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
invoke-virtual {p2}, Ljava/lang/Number;->longValue()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
move-result-wide v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
invoke-virtual {p0, p1, v0, v1}, Lcom/discord/stores/StoreMessageAck$getPendingAck$1;->invoke(Lcom/discord/stores/StoreMessageAck$Ack;J)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
move-result p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
move-result-object p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
return-object p1
|
|
|
|
.end method
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
.method public final invoke(Lcom/discord/stores/StoreMessageAck$Ack;J)Z
|
|
|
|
.locals 2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
if-eqz p1, :cond_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreMessageAck$Ack;->getMessageId()J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
move-result-wide v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
move-result-object v0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
goto :goto_0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
:goto_0
|
|
|
|
invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
move-result-object p2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
invoke-static {v0, p2}, Lcom/discord/models/domain/ModelMessage;->isNewer(Ljava/lang/Long;Ljava/lang/Long;)Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
move-result p2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
const/4 p3, 0x0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
if-eqz p1, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
invoke-virtual {p1}, Lcom/discord/stores/StoreMessageAck$Ack;->isLockedAck()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
move-result p1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
|
|
|
goto :goto_1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
:cond_1
|
2019-11-28 00:30:53 +00:00
|
|
|
const/4 p1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
goto :goto_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-23 00:16:54 +00:00
|
|
|
:cond_2
|
2019-11-28 00:30:53 +00:00
|
|
|
:goto_1
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
|
|
|
|
iget-boolean p2, p0, Lcom/discord/stores/StoreMessageAck$getPendingAck$1;->$clearLock:Z
|
|
|
|
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
|
|
|
|
if-eqz p1, :cond_4
|
|
|
|
|
|
|
|
:cond_3
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p3, 0x1
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-28 00:30:53 +00:00
|
|
|
:cond_4
|
|
|
|
return p3
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|