- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
68 lines
2.3 KiB
Java
68 lines
2.3 KiB
Java
package com.mbridge.msdk.newreward.function.g;
|
|
|
|
import android.os.Handler;
|
|
import com.mbridge.msdk.MBridgeConstans;
|
|
import com.mbridge.msdk.foundation.tools.af;
|
|
import java.lang.reflect.InvocationHandler;
|
|
import java.lang.reflect.Method;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class e implements InvocationHandler {
|
|
b a;
|
|
private Object b;
|
|
|
|
public e(Object obj, com.mbridge.msdk.newreward.a.e eVar, com.mbridge.msdk.newreward.function.command.c cVar) {
|
|
this.b = obj;
|
|
try {
|
|
this.a = new b(obj, eVar, cVar);
|
|
} catch (Exception unused) {
|
|
if (eVar.a() != null) {
|
|
eVar.a().quitSafely();
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // java.lang.reflect.InvocationHandler
|
|
public final Object invoke(Object obj, final Method method, final Object[] objArr) throws Throwable {
|
|
final Object obj2;
|
|
try {
|
|
obj2 = method.invoke(this.b, objArr);
|
|
} catch (Exception e) {
|
|
if (MBridgeConstans.DEBUG) {
|
|
e.printStackTrace();
|
|
}
|
|
obj2 = null;
|
|
}
|
|
long currentTimeMillis = System.currentTimeMillis();
|
|
final b bVar = this.a;
|
|
if (bVar == null) {
|
|
return obj2;
|
|
}
|
|
Handler handler = bVar.a;
|
|
if (handler != null) {
|
|
handler.post(new Runnable() { // from class: com.mbridge.msdk.newreward.function.g.b.1
|
|
final /* synthetic */ Object a;
|
|
final /* synthetic */ Method b;
|
|
final /* synthetic */ Object[] c;
|
|
|
|
public AnonymousClass1(final Object obj22, final Method method2, final Object[] objArr2) {
|
|
r2 = obj22;
|
|
r3 = method2;
|
|
r4 = objArr2;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
try {
|
|
b.a(b.this, r2, r3, r4);
|
|
} catch (NoSuchMethodException e2) {
|
|
af.b("HandlerReportMessage", e2.getMessage());
|
|
}
|
|
}
|
|
});
|
|
}
|
|
af.b("ReportHandler", "方法名:" + method2.getName() + " 耗时为:" + String.valueOf(System.currentTimeMillis() - currentTimeMillis));
|
|
return obj22;
|
|
}
|
|
}
|