package com.tencent.mm.model.gdpr;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.protocal.protobuf.ajd;
import com.tencent.mm.protocal.protobuf.aje;
import com.tencent.mm.vending.c.a;
import com.tencent.mm.vending.g.b;
import com.tencent.mm.vending.g.f;

class c$2 implements a<Boolean, Void> {
    final /* synthetic */ b foq;
    /* renamed from: for */
    final /* synthetic */ a f0for;
    final /* synthetic */ String val$appId;

    c$2(a aVar, String str, b bVar) {
        this.f0for = aVar;
        this.val$appId = str;
        this.foq = bVar;
    }

    public final /* synthetic */ Object call(Object obj) {
        AppMethodBeat.i(1491);
        if (this.f0for.foo == 0) {
            Boolean bool = Boolean.TRUE;
            AppMethodBeat.o(1491);
            return bool;
        }
        b dMo = f.dMo();
        ajd ajd = new ajd();
        ajd.csB = this.val$appId;
        ajd.scene = this.f0for.foo;
        com.tencent.mm.ai.b.a aVar = new com.tencent.mm.ai.b.a();
        aVar.fsI = 2575;
        aVar.uri = "/cgi-bin/mmbiz-bin/wxabusiness/getgdrpauth";
        aVar.fsJ = ajd;
        aVar.fsK = new aje();
        com.tencent.mm.ipcinvoker.wx_extension.b.a(aVar.acD(), new 1(this, dMo));
        AppMethodBeat.o(1491);
        return null;
    }
}
