- 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
272 lines
6.5 KiB
Java
272 lines
6.5 KiB
Java
package com.mbridge.msdk.newreward.function.command;
|
|
|
|
import com.mbridge.msdk.newreward.function.common.MBridgeError;
|
|
import java.util.Map;
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class c {
|
|
private a a;
|
|
private a b;
|
|
|
|
public final void a(a aVar) {
|
|
this.a = aVar;
|
|
}
|
|
|
|
public final void b(a aVar) {
|
|
if (this.b == null) {
|
|
this.b = aVar;
|
|
}
|
|
}
|
|
|
|
public final Map a(Object... objArr) {
|
|
ConcurrentHashMap concurrentHashMap = new ConcurrentHashMap();
|
|
if (objArr.length % 2 != 0) {
|
|
return concurrentHashMap;
|
|
}
|
|
for (int i = 0; i < objArr.length; i++) {
|
|
if (i % 2 == 0) {
|
|
Object obj = objArr[i];
|
|
Object obj2 = objArr[i + 1];
|
|
if (obj == null) {
|
|
obj = "";
|
|
}
|
|
if (obj2 == null) {
|
|
obj2 = "";
|
|
}
|
|
concurrentHashMap.put(obj, obj2);
|
|
}
|
|
}
|
|
return concurrentHashMap;
|
|
}
|
|
|
|
public final Object a(Object obj, f fVar) {
|
|
if (this.a == null) {
|
|
return null;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(obj);
|
|
bVar.a(fVar);
|
|
return this.a.a(bVar).a();
|
|
}
|
|
|
|
public final void a(Object obj, f fVar, com.mbridge.msdk.newreward.a.b.b bVar) {
|
|
if (this.a == null) {
|
|
return;
|
|
}
|
|
b bVar2 = new b();
|
|
bVar2.a(obj);
|
|
bVar2.a(fVar);
|
|
this.a.a(bVar2, bVar);
|
|
}
|
|
|
|
public final void a(Object obj, com.mbridge.msdk.newreward.a.b.b bVar) {
|
|
if (this.a == null) {
|
|
return;
|
|
}
|
|
b bVar2 = new b();
|
|
bVar2.a(obj);
|
|
bVar2.a(f.NORMAL_LOAD);
|
|
this.a.a(bVar2, bVar);
|
|
}
|
|
|
|
public final void a(Object obj) {
|
|
if (this.a == null) {
|
|
return;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(f.SHOW);
|
|
bVar.a(obj);
|
|
this.a.a(bVar);
|
|
}
|
|
|
|
public final void b(Object obj, com.mbridge.msdk.newreward.a.b.b bVar) {
|
|
if (this.a == null) {
|
|
return;
|
|
}
|
|
b bVar2 = new b();
|
|
bVar2.a(obj);
|
|
bVar2.a(f.SMART_LOAD);
|
|
this.a.a(bVar2, bVar);
|
|
}
|
|
|
|
public final Object b(Object obj) {
|
|
if (this.a == null) {
|
|
return null;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(obj);
|
|
bVar.a(f.CANDIDATE_LOAD_ACTION);
|
|
return this.a.a(bVar).a();
|
|
}
|
|
|
|
public final Object b(Object obj, f fVar) {
|
|
if (this.a == null) {
|
|
return Boolean.FALSE;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(fVar);
|
|
bVar.a(obj);
|
|
return this.a.a(bVar).a();
|
|
}
|
|
|
|
public final Object c(Object obj, f fVar) {
|
|
if (this.a == null) {
|
|
return Boolean.FALSE;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(fVar);
|
|
bVar.a(obj);
|
|
return this.a.a(bVar).a();
|
|
}
|
|
|
|
public final void c(Object obj) throws MBridgeError {
|
|
if (this.a == null) {
|
|
return;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(f.CHECK_CAMPAIGN);
|
|
bVar.a(obj);
|
|
e a = this.a.a(bVar);
|
|
if (!a.b()) {
|
|
throw ((MBridgeError) a.a());
|
|
}
|
|
}
|
|
|
|
public final void d(Object obj) throws MBridgeError {
|
|
if (this.a == null) {
|
|
return;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(f.CHECK_CAMPAIGN_EXCLUDE_INS);
|
|
bVar.a(obj);
|
|
e a = this.a.a(bVar);
|
|
if (!a.b()) {
|
|
throw ((MBridgeError) a.a());
|
|
}
|
|
}
|
|
|
|
public final void e(Object obj) {
|
|
if (this.a == null) {
|
|
return;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(obj);
|
|
bVar.a(f.HANDLER_ALREADY_INSTALL_CAMPAIGN);
|
|
this.a.a(bVar);
|
|
}
|
|
|
|
public final void a(Object obj, f fVar, Object obj2) {
|
|
b bVar = new b();
|
|
bVar.a(obj2);
|
|
bVar.a(fVar);
|
|
new com.mbridge.msdk.newreward.function.command.a.b(obj).a(bVar);
|
|
}
|
|
|
|
public final void c(Object obj, com.mbridge.msdk.newreward.a.b.b bVar) {
|
|
if (this.a == null) {
|
|
return;
|
|
}
|
|
b bVar2 = new b();
|
|
bVar2.a(obj);
|
|
bVar2.a((f) ((Map) obj).get("command_type"));
|
|
this.a.a(bVar2, bVar);
|
|
}
|
|
|
|
public final void f(Object obj) {
|
|
b bVar = new b();
|
|
bVar.a(obj);
|
|
bVar.a(f.START_LOAD_CHECK);
|
|
this.a.a(bVar);
|
|
}
|
|
|
|
public final void a(Object obj, String str) {
|
|
if (this.b == null) {
|
|
this.b = new com.mbridge.msdk.newreward.function.command.a.c();
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(obj);
|
|
this.b.a(bVar, str);
|
|
}
|
|
|
|
public final Object d(Object obj, f fVar) {
|
|
if (this.b == null) {
|
|
return null;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(fVar);
|
|
bVar.a(obj);
|
|
return this.b.a(bVar).a();
|
|
}
|
|
|
|
public final Object e(Object obj, f fVar) {
|
|
if (this.b == null) {
|
|
return null;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(fVar);
|
|
bVar.a(obj);
|
|
return this.b.a(bVar).a();
|
|
}
|
|
|
|
public final Object f(Object obj, f fVar) {
|
|
if (this.b == null) {
|
|
return null;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(fVar);
|
|
bVar.a(obj);
|
|
return this.b.a(bVar).a();
|
|
}
|
|
|
|
public final Object g(Object obj, f fVar) {
|
|
if (this.b == null) {
|
|
return null;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(fVar);
|
|
bVar.a(obj);
|
|
return this.b.a(bVar).a();
|
|
}
|
|
|
|
public final Object h(Object obj, f fVar) {
|
|
if (this.b == null) {
|
|
return null;
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(fVar);
|
|
bVar.a(obj);
|
|
return this.b.a(bVar).a();
|
|
}
|
|
|
|
public final Object i(Object obj, f fVar) {
|
|
if (this.b == null) {
|
|
this.b = new com.mbridge.msdk.newreward.function.command.a.c();
|
|
}
|
|
b bVar = new b();
|
|
bVar.a(fVar);
|
|
bVar.a(obj);
|
|
return this.b.a(bVar).a();
|
|
}
|
|
|
|
public final void d(Object obj, com.mbridge.msdk.newreward.a.b.b bVar) {
|
|
if (this.b == null) {
|
|
return;
|
|
}
|
|
b bVar2 = new b();
|
|
bVar2.a(obj);
|
|
bVar2.a((f) ((Map) obj).get("command_type"));
|
|
this.b.a(bVar2, bVar);
|
|
}
|
|
|
|
public final void e(Object obj, com.mbridge.msdk.newreward.a.b.b bVar) {
|
|
if (this.b == null) {
|
|
return;
|
|
}
|
|
b bVar2 = new b();
|
|
bVar2.a((f) ((Map) obj).get("command_type"));
|
|
bVar2.a(obj);
|
|
this.b.a(bVar2, bVar);
|
|
}
|
|
}
|