package defpackage;

import android.graphics.Typeface;
import java.lang.reflect.Array;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

/* renamed from: ᵧˀˁ, reason: contains not printable characters */
/* loaded from: classes3.dex */
public final class C3629 extends C5284 {
    @Override // defpackage.C5284
    /* renamed from: ˊᵸˊ, reason: contains not printable characters */
    public final Method mo8227(Class cls) throws NoSuchMethodException, SecurityException {
        Class cls2 = Integer.TYPE;
        Method declaredMethod = Typeface.class.getDeclaredMethod("createFromFamiliesWithDefault", Array.newInstance((Class<?>) cls, 1).getClass(), String.class, cls2, cls2);
        declaredMethod.setAccessible(true);
        return declaredMethod;
    }

    @Override // defpackage.C5284
    /* renamed from: ᵙᵢᵨᵳ, reason: contains not printable characters */
    public final Typeface mo8228(Object obj) throws ArrayIndexOutOfBoundsException, IllegalArgumentException, NegativeArraySizeException {
        try {
            Object objNewInstance = Array.newInstance((Class<?>) this.f19775, 1);
            Array.set(objNewInstance, 0, obj);
            return (Typeface) this.f19779.invoke(null, objNewInstance, "sans-serif", -1, -1);
        } catch (IllegalAccessException | InvocationTargetException e) {
            C1260.m3814(e);
            return null;
        }
    }
}
