what-the-bank/sources/o/gmY.java

73 lines
2.6 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.zip.GZIPInputStream;
/* loaded from: classes6.dex */
public class gmY extends AbstractC15335gnk {
public gmY(String str, int i) {
super(str, i);
}
/* JADX WARN: Code restructure failed: missing block: B:56:0x00fb, code lost:
if (r11 == false) goto L53;
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x00fd, code lost:
r5 = e(new java.io.BufferedInputStream(r4.b(), r12));
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x0114, code lost:
r5 = new java.io.BufferedInputStream(r4.b(), r12);
*/
/* JADX WARN: Removed duplicated region for block: B:62:0x0153 */
/* JADX WARN: Removed duplicated region for block: B:64:0x0159 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.util.List e(java.lang.String r17, o.C15273gmG r18) throws org.ksoap2.repackaged.transport.HttpResponseException, java.io.IOException, org.xmlpull.repackaged.v1.XmlPullParserException {
/*
Method dump skipped, instructions count: 368
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.gmY.e(java.lang.String, o.gmG):java.util.List");
}
private InputStream a(InputStream inputStream, int i) throws IOException {
if (i <= 0) {
i = 262144;
}
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(i);
byte[] bArr = new byte[256];
while (true) {
int read = inputStream.read(bArr, 0, 256);
if (read != -1) {
byteArrayOutputStream.write(bArr, 0, read);
} else {
byteArrayOutputStream.flush();
byte[] byteArray = byteArrayOutputStream.toByteArray();
this.g = new String(byteArray);
inputStream.close();
return new ByteArrayInputStream(byteArray);
}
}
}
private static InputStream e(InputStream inputStream) throws IOException {
try {
return (GZIPInputStream) inputStream;
} catch (ClassCastException unused) {
return new GZIPInputStream(inputStream);
}
}
public InterfaceC15325gna b() throws IOException {
return new C15327gnc(this.c, this.j, this.h);
}
}