package com.tencent.mm.plugin.webview.ui.tools.jsapi;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.webview.ui.tools.game.i.a;
import com.tencent.mm.sdk.platformtools.bo;
import org.json.JSONObject;

class g$33 implements a {
    final /* synthetic */ g uHd;
    final /* synthetic */ i uqf;

    g$33(g gVar, i iVar) {
        this.uHd = gVar;
        this.uqf = iVar;
    }

    public final void d(String str, JSONObject jSONObject) {
        AppMethodBeat.i(9083);
        if (bo.isNullOrNil(str)) {
            g.a(this.uHd, this.uqf, this.uqf.uIJ + ":ok", g.aQ(jSONObject));
            AppMethodBeat.o(9083);
            return;
        }
        g.a(this.uHd, this.uqf, this.uqf.uIJ + ":fail_" + str, null);
        AppMethodBeat.o(9083);
    }
}
