d$e.smali

.class public final Ljj/d$e;
.super Ljava/lang/Object;
.source "RNEventEmitter.kt"

# interfaces
.implements Lph/f;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Ljj/d;->e()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x19
    name = null
.end annotation

.annotation runtime Lkotlin/Metadata;
    bv = {
        0x1,
        0x0,
        0x3
    }
    d1 = {
        "\u0000\u0013\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0002*\u0001\u0000\u0008\n\u0018\u00002\u00020\u0001J\u0008\u0010\u0002\u001a\u00020\u0003H\u0016J\u0008\u0010\u0004\u001a\u00020\u0003H\u0016\u00a8\u0006\u0005"
    }
    d2 = {
        "com/shopee/foody/driver/react/module/RNEventEmitter$registerLoginStatusChanged$1",
        "Lcom/shopee/foody/driver/login/ILoginObserve$LoginState;",
        "onLogin",
        "",
        "onLogout",
        "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}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a()V
    .registers 4

    sget-object v0, Lqa/d;->e:Lqa/d$a;

    sget-object v1, Ljj/d$e$b;->a:Ljj/d$e$b;

    const-string v2, "RNEventListener"

    invoke-virtual {v0, v2, v1}, Lqa/d$a;->a(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    const-class v0, Lcom/shopee/android/react/service/IReactService;

    invoke-static {v0}, Ltb/b;->b(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/shopee/android/react/service/IReactService;

    if-eqz v0, :cond_19

    const/4 v1, 0x0

    const-string v2, "loginEvent"

    invoke-interface {v0, v2, v1}, Lcom/shopee/android/react/service/IReactService;->emitEventToRN(Ljava/lang/String;Z)V

    :cond_19
    return-void
.end method

.method public b()V
    .registers 4

    sget-object v0, Lqa/d;->e:Lqa/d$a;

    sget-object v1, Ljj/d$e$a;->a:Ljj/d$e$a;

    const-string v2, "RNEventListener"

    invoke-virtual {v0, v2, v1}, Lqa/d$a;->a(Ljava/lang/String;Lkotlin/jvm/functions/Function0;)V

    const-class v0, Lcom/shopee/android/react/service/IReactService;

    invoke-static {v0}, Ltb/b;->b(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/shopee/android/react/service/IReactService;

    if-eqz v0, :cond_19

    const/4 v1, 0x1

    const-string v2, "loginEvent"

    invoke-interface {v0, v2, v1}, Lcom/shopee/android/react/service/IReactService;->emitEventToRN(Ljava/lang/String;Z)V

    :cond_19
    return-void
.end method