apkfuckery/com.discord/smali/e0/a/a/c$a$a.smali
2020-09-02 04:07:20 +00:00

199 lines
4.5 KiB
Smali

.class public Le0/a/a/c$a$a;
.super Ljava/lang/Object;
.source "IPostMessageService.java"
# interfaces
.implements Le0/a/a/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Le0/a/a/c$a;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
.field public a:Landroid/os/IBinder;
# direct methods
.method public constructor <init>(Landroid/os/IBinder;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Le0/a/a/c$a$a;->a:Landroid/os/IBinder;
return-void
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 1
iget-object v0, p0, Le0/a/a/c$a$a;->a:Landroid/os/IBinder;
return-object v0
.end method
.method public onMessageChannelReady(Le0/a/a/a;Landroid/os/Bundle;)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v1
:try_start_0
const-string v2, "android.support.customtabs.IPostMessageService"
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
if-eqz p1, :cond_0
invoke-interface {p1}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder;
move-result-object p1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
const/4 p1, 0x0
if-eqz p2, :cond_1
const/4 v2, 0x1
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInt(I)V
invoke-virtual {p2, v0, p1}, Landroid/os/Bundle;->writeToParcel(Landroid/os/Parcel;I)V
goto :goto_1
:cond_1
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
:goto_1
iget-object p2, p0, Le0/a/a/c$a$a;->a:Landroid/os/IBinder;
const/4 v2, 0x2
invoke-interface {p2, v2, v0, v1, p1}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-void
:catchall_0
move-exception p1
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
throw p1
.end method
.method public onPostMessage(Le0/a/a/a;Ljava/lang/String;Landroid/os/Bundle;)V
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v1
:try_start_0
const-string v2, "android.support.customtabs.IPostMessageService"
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
if-eqz p1, :cond_0
invoke-interface {p1}, Landroid/os/IInterface;->asBinder()Landroid/os/IBinder;
move-result-object p1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeStrongBinder(Landroid/os/IBinder;)V
invoke-virtual {v0, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
const/4 p1, 0x0
if-eqz p3, :cond_1
const/4 p2, 0x1
invoke-virtual {v0, p2}, Landroid/os/Parcel;->writeInt(I)V
invoke-virtual {p3, v0, p1}, Landroid/os/Bundle;->writeToParcel(Landroid/os/Parcel;I)V
goto :goto_1
:cond_1
invoke-virtual {v0, p1}, Landroid/os/Parcel;->writeInt(I)V
:goto_1
iget-object p2, p0, Le0/a/a/c$a$a;->a:Landroid/os/IBinder;
const/4 p3, 0x3
invoke-interface {p2, p3, v0, v1, p1}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-void
:catchall_0
move-exception p1
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
throw p1
.end method