apkfuckery/com.discord/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configu...

132 lines
4.7 KiB
Smali
Raw Normal View History

2020-07-08 16:44:49 +00:00
.class public final Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;
2020-09-23 03:12:49 +00:00
.super Lc0/n/c/k;
2020-07-08 16:44:49 +00:00
.source "WidgetChatInputSend.kt"
# interfaces
2020-08-26 17:47:03 +00:00
.implements Lkotlin/jvm/functions/Function2;
2020-07-08 16:44:49 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;->invoke(Ljava/util/List;)Z
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-09-23 03:12:49 +00:00
"Lc0/n/c/k;",
2020-08-26 17:47:03 +00:00
"Lkotlin/jvm/functions/Function2<",
2020-07-08 16:44:49 +00:00
"Ljava/lang/Integer;",
"Ljava/lang/Boolean;",
"Lkotlin/Unit;",
">;"
}
.end annotation
# instance fields
2020-08-08 01:54:49 +00:00
.field public final synthetic $attachments:Ljava/util/List;
2020-08-26 17:47:03 +00:00
.field public final synthetic $currentFileSizeMB:F
2020-08-08 01:54:49 +00:00
.field public final synthetic $hasImage:Z
.field public final synthetic $hasVideo:Z
2020-08-13 00:07:13 +00:00
.field public final synthetic $maxAttachmentSizeMB:F
2020-07-08 16:44:49 +00:00
.field public final synthetic this$0:Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;
# direct methods
2020-08-26 17:47:03 +00:00
.method public constructor <init>(Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;FFLjava/util/List;ZZ)V
2020-07-08 16:44:49 +00:00
.locals 0
iput-object p1, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;
2020-08-26 17:47:03 +00:00
iput p2, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$currentFileSizeMB:F
iput p3, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$maxAttachmentSizeMB:F
2020-08-13 00:07:13 +00:00
2020-08-26 17:47:03 +00:00
iput-object p4, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$attachments:Ljava/util/List;
2020-08-08 01:54:49 +00:00
2020-08-26 17:47:03 +00:00
iput-boolean p5, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$hasImage:Z
2020-08-08 01:54:49 +00:00
2020-08-26 17:47:03 +00:00
iput-boolean p6, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$hasVideo:Z
2020-08-08 01:54:49 +00:00
2020-08-26 17:47:03 +00:00
const/4 p1, 0x2
2020-07-08 16:44:49 +00:00
2020-09-23 03:12:49 +00:00
invoke-direct {p0, p1}, Lc0/n/c/k;-><init>(I)V
2020-07-08 16:44:49 +00:00
return-void
.end method
# virtual methods
2020-08-26 17:47:03 +00:00
.method public bridge synthetic invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
2020-07-08 16:44:49 +00:00
.locals 0
check-cast p1, Ljava/lang/Number;
invoke-virtual {p1}, Ljava/lang/Number;->intValue()I
move-result p1
2020-08-26 17:47:03 +00:00
check-cast p2, Ljava/lang/Boolean;
2020-07-08 16:44:49 +00:00
2020-08-26 17:47:03 +00:00
invoke-virtual {p2}, Ljava/lang/Boolean;->booleanValue()Z
2020-07-08 16:44:49 +00:00
move-result p2
2020-08-26 17:47:03 +00:00
invoke-virtual {p0, p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->invoke(IZ)V
2020-07-08 16:44:49 +00:00
sget-object p1, Lkotlin/Unit;->a:Lkotlin/Unit;
return-object p1
.end method
2020-08-26 17:47:03 +00:00
.method public final invoke(IZ)V
2020-08-13 00:07:13 +00:00
.locals 9
2020-07-08 16:44:49 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->this$0:Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;
iget-object v0, v0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;->$weakListener:Ljava/lang/ref/WeakReference;
invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
move-result-object v0
2020-08-08 01:54:49 +00:00
move-object v1, v0
check-cast v1, Lcom/discord/widgets/chat/input/WidgetChatInputSend$Listener;
if-eqz v1, :cond_0
2020-08-26 17:47:03 +00:00
iget v3, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$currentFileSizeMB:F
2020-08-13 00:07:13 +00:00
iget v4, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$maxAttachmentSizeMB:F
2020-08-08 01:54:49 +00:00
iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$attachments:Ljava/util/List;
invoke-interface {v0}, Ljava/util/List;->size()I
2020-08-13 00:07:13 +00:00
move-result v6
2020-08-08 01:54:49 +00:00
2020-08-13 00:07:13 +00:00
iget-boolean v7, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$hasImage:Z
2020-08-08 01:54:49 +00:00
2020-08-13 00:07:13 +00:00
iget-boolean v8, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1$synchronousValidationSucceeded$2;->$hasVideo:Z
2020-08-08 01:54:49 +00:00
move v2, p1
2020-08-26 17:47:03 +00:00
move v5, p2
2020-07-08 16:44:49 +00:00
2020-08-13 00:07:13 +00:00
invoke-interface/range {v1 .. v8}, Lcom/discord/widgets/chat/input/WidgetChatInputSend$Listener;->onFilesTooLarge(IFFZIZZ)V
2020-07-08 16:44:49 +00:00
:cond_0
return-void
.end method