package com.tencent.mm.plugin.story.ui.album;

import a.f.a.m;
import a.f.b.j;
import a.f.b.k;
import a.l;
import a.y;
import com.tencent.d.f.h;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.story.ui.album.StoryFavoritePanel.c;

@l(dWo = {1, 1, 13}, dWp = {"\u0000\u0014\n\u0000\n\u0002\u0010\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0000\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00032\u0006\u0010\u0004\u001a\u00020\u0005H\n¢\u0006\u0002\b\u0006"}, dWq = {"<anonymous>", "", "storyFavInfo", "Lcom/tencent/mm/plugin/story/ui/album/StoryFavoritePanel$StoryFavInfo;", "position", "", "invoke"})
final class StoryFavSelectUI$b extends k implements m<c, Integer, y> {
    final /* synthetic */ StoryFavSelectUI sgJ;

    StoryFavSelectUI$b(StoryFavSelectUI storyFavSelectUI) {
        this.sgJ = storyFavSelectUI;
        super(2);
    }

    public final /* synthetic */ Object m(Object obj, Object obj2) {
        AppMethodBeat.i(138880);
        c cVar = (c) obj;
        int intValue = ((Number) obj2).intValue();
        j.p(cVar, "storyFavInfo");
        if (cVar.rXz == null) {
            StoryFavSelectUI.a(this.sgJ);
            h.dc("onSelectedFav null object, pos:".concat(String.valueOf(intValue)));
        } else {
            StoryFavSelectUI.a(this.sgJ, cVar.rXz);
        }
        y yVar = y.AUy;
        AppMethodBeat.o(138880);
        return yVar;
    }
}
