package com.tencent.mm.plugin.shake.b;

import android.database.Cursor;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.g.a.kd;
import com.tencent.mm.plugin.shake.d.a.i;
import com.tencent.mm.plugin.shake.d.b.a;
import com.tencent.mm.sdk.b.b;
import com.tencent.mm.sdk.b.c;
import com.tencent.ttpic.baseutils.ApiHelper$VERSION_CODES;
import java.util.ArrayList;

class m$6 extends c<kd> {
    final /* synthetic */ m qsj;

    m$6(m mVar) {
        this.qsj = mVar;
        AppMethodBeat.i(24483);
        this.xxI = kd.class.getName().hashCode();
        AppMethodBeat.o(24483);
    }

    public final /* synthetic */ boolean a(b bVar) {
        AppMethodBeat.i(24484);
        kd kdVar = (kd) bVar;
        if (kdVar instanceof kd) {
            switch (kdVar.cFz.action) {
                case -4:
                    Cursor cjB = m.cjS().cjB();
                    kdVar.cFA.cAV = new ArrayList();
                    while (cjB != null && cjB.moveToNext()) {
                        d dVar = new d();
                        dVar.d(cjB);
                        kdVar.cFA.cAV.add(i.d(dVar.field_lvbuffer, 0));
                    }
                    if (cjB != null) {
                        cjB.close();
                        break;
                    }
                    break;
                case ApiHelper$VERSION_CODES.HONEYCOMB_MR1 /*12*/:
                    kdVar.cFA.cFG = a.UK(kdVar.cFz.cFE);
                    break;
            }
        }
        AppMethodBeat.o(24484);
        return false;
    }
}
