Files
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

268 lines
8.8 KiB
Java
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.ironsource.adqualitysdk.sdk.i;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
/* loaded from: classes4.dex */
public final class hm {
/* renamed from: ﻐ, reason: contains not printable characters */
private hm f2239;
/* renamed from: メ, reason: contains not printable characters */
private dh f2240;
public hm() {
}
/* renamed from: ヌ, reason: contains not printable characters */
public final hm m2832() {
return this.f2239;
}
/* renamed from: メ, reason: contains not printable characters */
public static List<Method> m2825(Class cls, hn hnVar) {
ArrayList arrayList = new ArrayList();
m2827(cls, hnVar, arrayList);
return arrayList;
}
/* renamed from: メ, reason: contains not printable characters */
private static void m2827(Class cls, hn hnVar, List<Method> list) {
e eVar = new e((byte) 0);
eVar.m2835(hnVar);
m2823(cls, eVar, list);
}
/* renamed from: ﻐ, reason: contains not printable characters */
private static void m2823(Class cls, e eVar, List<Method> list) {
List<Method> asList;
hn m2834 = eVar.m2834();
if (m2834 != null && m2834.m2784()) {
asList = m2826(cls, m2834.m2784(), m2834.m2787());
} else {
asList = Arrays.asList(cls.getDeclaredMethods());
}
for (Method method : asList) {
if (eVar.m2836(method)) {
list.add(method);
}
}
}
/* renamed from: メ, reason: contains not printable characters */
private static List<Method> m2826(Class cls, boolean z, int i) {
Method[] methodArr = new Method[0];
if (cls != null) {
methodArr = ka.m3365(cls.getDeclaredMethods(), cls.getMethods());
if (!z) {
return Arrays.asList(methodArr);
}
Class superclass = cls.getSuperclass();
for (int i2 = 0; superclass != null && i2 != i; i2++) {
methodArr = ka.m3365(ka.m3365(methodArr, superclass.getDeclaredMethods()), superclass.getMethods());
superclass = superclass.getSuperclass();
}
}
return Arrays.asList(methodArr);
}
public static class e {
/* renamed from: ﻛ, reason: contains not printable characters */
private int f2241;
/* renamed from: ヌ, reason: contains not printable characters */
private hn f2242;
private e() {
}
/* renamed from: ヌ, reason: contains not printable characters */
public final hn m2834() {
return this.f2242;
}
public /* synthetic */ e(byte b) {
this();
}
/* renamed from: ヌ, reason: contains not printable characters */
public final void m2835(hn hnVar) {
this.f2242 = hnVar;
this.f2241 = hnVar.m2846();
}
/* JADX WARN: Code restructure failed: missing block: B:35:0x00a5, code lost:
if (r7 != false) goto L36;
*/
/* renamed from: メ, reason: contains not printable characters */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean m2836(java.lang.reflect.Method r7) {
/*
r6 = this;
com.ironsource.adqualitysdk.sdk.i.hn r0 = r6.f2242
r1 = 0
if (r0 == 0) goto Lb1
int r0 = r7.getModifiers()
com.ironsource.adqualitysdk.sdk.i.hn r2 = r6.f2242
int r2 = r2.m2788()
r0 = r0 & r2
com.ironsource.adqualitysdk.sdk.i.hn r2 = r6.f2242
int r2 = r2.m2788()
if (r0 != r2) goto Lb1
int r0 = r7.getModifiers()
com.ironsource.adqualitysdk.sdk.i.hn r2 = r6.f2242
int r2 = r2.m2785()
r0 = r0 & r2
if (r0 == 0) goto L27
goto Lb1
L27:
com.ironsource.adqualitysdk.sdk.i.hn r0 = r6.f2242
java.util.List r0 = r0.m2847()
java.lang.Class r2 = r7.getReturnType()
boolean r0 = r0.contains(r2)
if (r0 == 0) goto L38
return r1
L38:
java.lang.Class[] r0 = r7.getParameterTypes()
com.ironsource.adqualitysdk.sdk.i.hn r2 = r6.f2242
int r2 = r2.m2843()
r3 = -1
if (r2 == r3) goto L4f
com.ironsource.adqualitysdk.sdk.i.hn r2 = r6.f2242
int r2 = r2.m2843()
int r3 = r0.length
if (r2 == r3) goto L4f
return r1
L4f:
com.ironsource.adqualitysdk.sdk.i.hn r2 = r6.f2242
java.util.List r2 = r2.m2844()
if (r2 == 0) goto L78
int r3 = r2.size()
int r4 = r0.length
if (r3 == r4) goto L5f
return r1
L5f:
r3 = r1
L60:
int r4 = r2.size()
if (r3 >= r4) goto L78
java.lang.Object r4 = r2.get(r3)
java.lang.Class r4 = (java.lang.Class) r4
r5 = r0[r3]
boolean r4 = r4.equals(r5)
if (r4 != 0) goto L75
return r1
L75:
int r3 = r3 + 1
goto L60
L78:
com.ironsource.adqualitysdk.sdk.i.hn r0 = r6.f2242
java.lang.Class r0 = r0.m2848()
if (r0 == 0) goto La7
com.ironsource.adqualitysdk.sdk.i.hn r0 = r6.f2242
boolean r0 = r0.m2845()
if (r0 == 0) goto L97
java.lang.Class r7 = r7.getReturnType()
com.ironsource.adqualitysdk.sdk.i.hn r0 = r6.f2242
java.lang.Class r0 = r0.m2848()
boolean r7 = r7.equals(r0)
goto La5
L97:
com.ironsource.adqualitysdk.sdk.i.hn r0 = r6.f2242
java.lang.Class r0 = r0.m2848()
java.lang.Class r7 = r7.getReturnType()
boolean r7 = r0.isAssignableFrom(r7)
La5:
if (r7 == 0) goto Lb1
La7:
int r7 = r6.f2241
r0 = 1
if (r7 != 0) goto Lad
return r0
Lad:
int r7 = r7 - r0
r6.f2241 = r7
Lb1:
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: com.ironsource.adqualitysdk.sdk.i.hm.e.m2836(java.lang.reflect.Method):boolean");
}
}
/* renamed from: , reason: contains not printable characters */
public static Method m2824(Class cls, hn hnVar) {
ArrayList arrayList = new ArrayList();
m2827(cls, hnVar, arrayList);
if (arrayList.isEmpty()) {
return null;
}
return (Method) arrayList.get(0);
}
public hm(dh dhVar, hm hmVar) {
this.f2240 = dhVar;
this.f2239 = hmVar;
}
/* renamed from: メ, reason: contains not printable characters */
public final String m2833() {
return this.f2240.m2521();
}
/* renamed from: , reason: contains not printable characters */
public final List<String> m2830() {
ArrayList arrayList = new ArrayList(this.f2240.m2525());
hm hmVar = this.f2239;
if (hmVar != null) {
arrayList.addAll(hmVar.m2830());
}
return arrayList;
}
/* renamed from: ﻐ, reason: contains not printable characters */
public final List<dg> m2828() {
ArrayList arrayList = new ArrayList(this.f2240.m2519());
hm hmVar = this.f2239;
if (hmVar != null) {
arrayList.addAll(hmVar.m2828());
}
return arrayList;
}
/* renamed from: ヌ, reason: contains not printable characters */
public final dk m2831(String str) {
dk dkVar;
hm hmVar = this;
do {
dkVar = hmVar.f2240.m2520().get(str);
if (dkVar != null) {
break;
}
hmVar = hmVar.f2239;
} while (hmVar != null);
return dkVar;
}
/* renamed from: , reason: contains not printable characters */
public final dp m2829(String str) {
dp dpVar;
hm hmVar = this;
do {
dpVar = hmVar.f2240.m2522().get(str);
if (dpVar != null) {
break;
}
hmVar = hmVar.f2239;
} while (hmVar != null);
return dpVar;
}
}