.class public Ldev/maelstrom/ykit/CoreAppShim;
.super Ljava/lang/Object;
.source "SourceFile"


# This class injects important fields just like CoreApp does for MediaAutoPlaySettingsActivity, check ix.f$n.x5

.method public static initYkitSettingsActivity(Lix/f$n;Ldev/maelstrom/ykit/settings/YkitSettingsActivity;)Ldev/maelstrom/ykit/settings/YkitSettingsActivity;
    .registers 3

    iget-object v0, p0, Lix/f$n;->R1:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lrw/a;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/t;->b(Lcom/tumblr/ui/activity/s;Lrw/a;)V

    iget-object v0, p0, Lix/f$n;->Y:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/tumblr/rumblr/TumblrService;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/t;->a(Lcom/tumblr/ui/activity/s;Lcom/tumblr/rumblr/TumblrService;)V

    iget-object v0, p0, Lix/f$n;->K0:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/tumblr/image/j;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->i(Lcom/tumblr/ui/activity/a;Lcom/tumblr/image/j;)V

    iget-object v0, p0, Lix/f$n;->p0:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lft/j0;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->h(Lcom/tumblr/ui/activity/a;Lft/j0;)V

    iget-object v0, p0, Lix/f$n;->D:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Low/a;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->c(Lcom/tumblr/ui/activity/a;Low/a;)V

    invoke-virtual {p0}, Lix/f$n;->W1()Lwb0/j0;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->f(Lcom/tumblr/ui/activity/a;Lwb0/j0;)V

    iget-object v0, p0, Lix/f$n;->S1:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lgx/b;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->d(Lcom/tumblr/ui/activity/a;Lgx/b;)V

    iget-object v0, p0, Lix/f$n;->L0:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lx10/b;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->j(Lcom/tumblr/ui/activity/a;Lx10/b;)V

    iget-object v0, p0, Lix/f$n;->J0:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lx10/d;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->g(Lcom/tumblr/ui/activity/a;Lx10/d;)V

    iget-object v0, p0, Lix/f$n;->T1:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcv/b;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->b(Lcom/tumblr/ui/activity/a;Lcv/b;)V

    invoke-virtual {p0}, Lix/f$n;->g0()Ldagger/android/DispatchingAndroidInjector;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->e(Lcom/tumblr/ui/activity/a;Ldagger/android/DispatchingAndroidInjector;)V

    iget-object v0, p0, Lix/f$n;->w:Lwf0/j;

    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/tumblr/AppController;

    invoke-static {p1, v0}, Lcom/tumblr/ui/activity/c;->a(Lcom/tumblr/ui/activity/a;Lcom/tumblr/AppController;)V

    return-object p1
.end method

.method public static getTumblrService()Lcom/tumblr/rumblr/TumblrService;
    .locals 1
    
    # Get an instance of CoreApp
    invoke-static {}, Lcom/tumblr/CoreApp;->Q()Lix/b;
    move-result-object v0
    check-cast v0, Lix/f$n;

    # Get TumblrService from it
    iget-object v0, v0, Lix/f$n;->Y:Lwf0/j; # TumblrService provider
    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;
    move-result-object v0
    check-cast v0, Lcom/tumblr/rumblr/TumblrService;

    return-object v0
.end method

.method public static getCurrentBlogName()Ljava/lang/String;
    .locals 1
    
    # Get an instance of CoreApp
    invoke-static {}, Lcom/tumblr/CoreApp;->Q()Lix/b;
    move-result-object v0
    check-cast v0, Lix/f$n;

    # Get p0 (main blog info) from it
    iget-object v0, v0, Lix/f$n;->p0:Lwf0/j; # p0 provider
    invoke-interface {v0}, Lch0/a;->get()Ljava/lang/Object;
    move-result-object v0
    check-cast v0, Lft/j0;

    # Call k0.getCurrentBlogName
    invoke-static {v0}, Lnc0/k0;->b(Lft/j0;)Ljava/lang/String;
    move-result-object v0

    return-object v0
.end method