105 lines
3.6 KiB
Java
105 lines
3.6 KiB
Java
package o;
|
|
|
|
import android.content.Context;
|
|
import io.flutter.plugin.common.MethodCall;
|
|
import io.flutter.plugin.common.MethodChannel;
|
|
import java.io.ByteArrayOutputStream;
|
|
import java.io.File;
|
|
import java.util.List;
|
|
import o.goN;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class Rdm extends OAd {
|
|
private final MethodCall c;
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public Rdm(MethodCall methodCall, MethodChannel.Result result) {
|
|
super(result);
|
|
C14957gcv.e(methodCall, "");
|
|
C14957gcv.e(result, "");
|
|
this.c = methodCall;
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:29:0x010d */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static /* synthetic */ void b(o.Rdm r17, android.content.Context r18) {
|
|
/*
|
|
Method dump skipped, instructions count: 273
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.Rdm.b(o.Rdm, android.content.Context):void");
|
|
}
|
|
|
|
public static /* synthetic */ void d(Rdm rdm, Context context) {
|
|
boolean unused;
|
|
C14957gcv.e(rdm, "");
|
|
C14957gcv.e(context, "");
|
|
Object obj = rdm.c.arguments;
|
|
C14957gcv.d(obj, "");
|
|
List list = (List) obj;
|
|
int i = 0;
|
|
Object obj2 = list.get(0);
|
|
C14957gcv.d(obj2, "");
|
|
String str = (String) obj2;
|
|
Object obj3 = list.get(1);
|
|
C14957gcv.d(obj3, "");
|
|
int intValue = ((Integer) obj3).intValue();
|
|
Object obj4 = list.get(2);
|
|
C14957gcv.d(obj4, "");
|
|
int intValue2 = ((Integer) obj4).intValue();
|
|
Object obj5 = list.get(3);
|
|
C14957gcv.d(obj5, "");
|
|
int intValue3 = ((Integer) obj5).intValue();
|
|
Object obj6 = list.get(4);
|
|
C14957gcv.d(obj6, "");
|
|
int intValue4 = ((Integer) obj6).intValue();
|
|
Object obj7 = list.get(5);
|
|
C14957gcv.d(obj7, "");
|
|
boolean booleanValue = ((Boolean) obj7).booleanValue();
|
|
Object obj8 = list.get(6);
|
|
C14957gcv.d(obj8, "");
|
|
int intValue5 = ((Integer) obj8).intValue();
|
|
Object obj9 = list.get(7);
|
|
C14957gcv.d(obj9, "");
|
|
boolean booleanValue2 = ((Boolean) obj9).booleanValue();
|
|
Object obj10 = list.get(8);
|
|
C14957gcv.d(obj10, "");
|
|
int intValue6 = ((Integer) obj10).intValue();
|
|
Object obj11 = list.get(9);
|
|
C14957gcv.d(obj11, "");
|
|
int intValue7 = ((Integer) obj11).intValue();
|
|
C13188fTb c13188fTb = C13188fTb.d;
|
|
utG a = C13188fTb.a(intValue5);
|
|
if (a == null) {
|
|
C7280clM.c("No support format.");
|
|
rdm.c(null);
|
|
return;
|
|
}
|
|
if (booleanValue) {
|
|
byte[] e = C14888gbD.e(new File(str));
|
|
YXT yxt = YXT.c;
|
|
i = YXT.e(e);
|
|
}
|
|
if (i == 90 || i == 270) {
|
|
intValue2 = intValue;
|
|
intValue = intValue2;
|
|
}
|
|
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
|
try {
|
|
try {
|
|
a.d(context, str, byteArrayOutputStream, intValue, intValue2, intValue3, intValue4 + i, booleanValue2, intValue6, intValue7);
|
|
rdm.c(byteArrayOutputStream.toByteArray());
|
|
} catch (Exception unused2) {
|
|
goN.IeS ieS = goN.a;
|
|
unused = goN.d;
|
|
rdm.c(null);
|
|
}
|
|
} finally {
|
|
byteArrayOutputStream.close();
|
|
}
|
|
}
|
|
}
|