b.smali
.class final Lcom/sandboxol/editor/domain/b;
.super Ljava/lang/Object;
.source "EditorRepository.kt"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/sandboxol/editor/domain/EditorRepository$fetchReleasedGames$1;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x18
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Lcom/sandboxol/center/entity/PublishedGame;",
">;"
}
.end annotation
# static fields
.field public static final a:Lcom/sandboxol/editor/domain/b;
# direct methods
.method static constructor <clinit>()V
.registers 1
new-instance v0, Lcom/sandboxol/editor/domain/b;
invoke-direct {v0}, Lcom/sandboxol/editor/domain/b;-><init>()V
sput-object v0, Lcom/sandboxol/editor/domain/b;->a:Lcom/sandboxol/editor/domain/b;
return-void
.end method
.method constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final a(Lcom/sandboxol/center/entity/PublishedGame;Lcom/sandboxol/center/entity/PublishedGame;)I
.registers 8
.line 1
invoke-virtual {p1}, Lcom/sandboxol/center/entity/PublishedGame;->getPublishedTime()J
move-result-wide v0
invoke-virtual {p2}, Lcom/sandboxol/center/entity/PublishedGame;->getPublishedTime()J
move-result-wide v2
cmp-long v4, v0, v2
if-nez v4, :cond_15
.line 2
invoke-virtual {p2}, Lcom/sandboxol/center/entity/PublishedGame;->getCreatedAt()J
move-result-wide v0
invoke-virtual {p1}, Lcom/sandboxol/center/entity/PublishedGame;->getCreatedAt()J
move-result-wide p1
goto :goto_1d
.line 3
:cond_15
invoke-virtual {p2}, Lcom/sandboxol/center/entity/PublishedGame;->getPublishedTime()J
move-result-wide v0
invoke-virtual {p1}, Lcom/sandboxol/center/entity/PublishedGame;->getPublishedTime()J
move-result-wide p1
:goto_1d
sub-long/2addr v0, p1
long-to-int p1, v0
return p1
.end method
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.registers 3
.line 1
check-cast p1, Lcom/sandboxol/center/entity/PublishedGame;
check-cast p2, Lcom/sandboxol/center/entity/PublishedGame;
invoke-virtual {p0, p1, p2}, Lcom/sandboxol/editor/domain/b;->a(Lcom/sandboxol/center/entity/PublishedGame;Lcom/sandboxol/center/entity/PublishedGame;)I
move-result p1
return p1
.end method