package com.google.firebase.crashlytics.internal.proto; import android.app.ActivityManager; import android.graphics.PointF; import android.os.Process; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.view.ViewConfiguration; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.firebase.crashlytics.internal.Logger; import com.google.firebase.crashlytics.internal.stacktrace.TrimmedThrowableData; import java.lang.reflect.Method; import java.util.List; import java.util.Map; import net.sf.scuba.smartcards.ISOFileInfo; import o.TVH; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes.dex */ public class SessionProtobufHelper { private static final String SIGNAL_DEFAULT = "0"; private static final ByteString SIGNAL_DEFAULT_BYTE_STRING; private static final ByteString UNITY_PLATFORM_BYTE_STRING; private static char[] a; private static int d; private static final byte[] $$a = {33, ISOFileInfo.ENV_TEMP_EF, -97, 85}; private static final int $$b = CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA; private static int $10 = 0; private static int $11 = 1; private static int c = 0; /* JADX WARN: Removed duplicated region for block: B:10:0x002a */ /* JADX WARN: Removed duplicated region for block: B:7:0x0022 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002e). Please report as a decompilation issue!!! */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void e(short r6, short r7, short r8, java.lang.Object[] r9) { /* int r8 = r8 + 4 byte[] r0 = com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.$$a int r6 = r6 * 4 int r1 = 1 - r6 int r7 = r7 * 2 int r7 = 73 - r7 byte[] r1 = new byte[r1] r2 = 0 int r6 = 0 - r6 if (r0 != 0) goto L17 r3 = r6 r7 = r8 r4 = r2 goto L2e L17: r3 = r2 r5 = r8 r8 = r7 r7 = r5 L1b: byte r4 = (byte) r8 r1[r3] = r4 int r4 = r3 + 1 if (r3 != r6) goto L2a java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L2a: int r7 = r7 + 1 r3 = r0[r7] L2e: int r3 = -r3 int r8 = r8 + r3 r3 = r4 goto L1b */ throw new UnsupportedOperationException("Method not decompiled: com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.e(short, short, short, java.lang.Object[]):void"); } static { d = 1; c(); Object[] objArr = new Object[1]; b(new byte[]{0}, new int[]{0, 1, 0, 1}, true, objArr); SIGNAL_DEFAULT_BYTE_STRING = ByteString.copyFromUtf8(((String) objArr[0]).intern()); UNITY_PLATFORM_BYTE_STRING = ByteString.copyFromUtf8("Unity"); int i = c + 25; d = i % 128; if (i % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private SessionProtobufHelper() { } public static void writeBeginSession(CodedOutputStream codedOutputStream, String str, String str2, long j) throws Exception { int i = 2 % 2; int i2 = c + 97; d = i2 % 128; int i3 = i2 % 2; codedOutputStream.writeBytes(1, ByteString.copyFromUtf8(str2)); codedOutputStream.writeBytes(2, ByteString.copyFromUtf8(str)); codedOutputStream.writeUInt64(3, j); int i4 = d + 93; c = i4 % 128; if (i4 % 2 != 0) { int i5 = 24 / 0; } } public static void writeSessionApp(CodedOutputStream codedOutputStream, String str, String str2, String str3, String str4, int i, String str5) throws Exception { ByteString byteString; int i2 = 2 % 2; ByteString copyFromUtf8 = ByteString.copyFromUtf8(str); ByteString copyFromUtf82 = ByteString.copyFromUtf8(str2); ByteString copyFromUtf83 = ByteString.copyFromUtf8(str3); ByteString copyFromUtf84 = ByteString.copyFromUtf8(str4); if (str5 != null) { int i3 = c + 23; d = i3 % 128; if (i3 % 2 == 0) { byteString = ByteString.copyFromUtf8(str5); int i4 = 93 / 0; } else { byteString = ByteString.copyFromUtf8(str5); } int i5 = c + 37; d = i5 % 128; int i6 = i5 % 2; } else { byteString = null; } codedOutputStream.writeTag(7, 2); codedOutputStream.writeRawVarint32(getSessionAppSize(copyFromUtf8, copyFromUtf82, copyFromUtf83, copyFromUtf84, i, byteString)); codedOutputStream.writeBytes(1, copyFromUtf8); codedOutputStream.writeBytes(2, copyFromUtf82); codedOutputStream.writeBytes(3, copyFromUtf83); codedOutputStream.writeBytes(6, copyFromUtf84); if (byteString != null) { codedOutputStream.writeBytes(8, UNITY_PLATFORM_BYTE_STRING); codedOutputStream.writeBytes(9, byteString); int i7 = c + 81; d = i7 % 128; int i8 = i7 % 2; } codedOutputStream.writeEnum(10, i); int i9 = d + 125; c = i9 % 128; int i10 = i9 % 2; } public static void writeSessionOS(CodedOutputStream codedOutputStream, String str, String str2, boolean z) throws Exception { int i = 2 % 2; int i2 = d + 99; c = i2 % 128; int i3 = i2 % 2; ByteString copyFromUtf8 = ByteString.copyFromUtf8(str); ByteString copyFromUtf82 = ByteString.copyFromUtf8(str2); codedOutputStream.writeTag(8, 2); codedOutputStream.writeRawVarint32(getSessionOSSize(copyFromUtf8, copyFromUtf82, z)); codedOutputStream.writeEnum(1, 3); codedOutputStream.writeBytes(2, copyFromUtf8); codedOutputStream.writeBytes(3, copyFromUtf82); codedOutputStream.writeBool(4, z); int i4 = d + 29; c = i4 % 128; int i5 = i4 % 2; } public static void writeSessionDevice(CodedOutputStream codedOutputStream, int i, String str, int i2, long j, long j2, boolean z, int i3, String str2, String str3) throws Exception { int i4 = 2 % 2; ByteString stringToByteString = stringToByteString(str); ByteString stringToByteString2 = stringToByteString(str3); ByteString stringToByteString3 = stringToByteString(str2); codedOutputStream.writeTag(9, 2); codedOutputStream.writeRawVarint32(getSessionDeviceSize(i, stringToByteString, i2, j, j2, z, i3, stringToByteString3, stringToByteString2)); codedOutputStream.writeEnum(3, i); codedOutputStream.writeBytes(4, stringToByteString); codedOutputStream.writeUInt32(5, i2); codedOutputStream.writeUInt64(6, j); codedOutputStream.writeUInt64(7, j2); codedOutputStream.writeBool(10, z); codedOutputStream.writeUInt32(12, i3); if (stringToByteString3 != null) { int i5 = c + 1; d = i5 % 128; codedOutputStream.writeBytes(i5 % 2 == 0 ? 110 : 13, stringToByteString3); } if (stringToByteString2 != null) { int i6 = c + 19; d = i6 % 128; codedOutputStream.writeBytes(i6 % 2 == 0 ? 20 : 14, stringToByteString2); } } public static void writeSessionUser(CodedOutputStream codedOutputStream, String str, String str2, String str3) throws Exception { int i = 2 % 2; if (str == null) { int i2 = d + 111; c = i2 % 128; if (i2 % 2 != 0) { throw null; } str = ""; } ByteString copyFromUtf8 = ByteString.copyFromUtf8(str); ByteString stringToByteString = stringToByteString(str2); ByteString stringToByteString2 = stringToByteString(str3); int computeBytesSize = CodedOutputStream.computeBytesSize(1, copyFromUtf8); if (str2 != null) { computeBytesSize += CodedOutputStream.computeBytesSize(2, stringToByteString); int i3 = d + 29; c = i3 % 128; int i4 = i3 % 2; } if (str3 != null) { computeBytesSize += CodedOutputStream.computeBytesSize(3, stringToByteString2); } codedOutputStream.writeTag(6, 2); codedOutputStream.writeRawVarint32(computeBytesSize); codedOutputStream.writeBytes(1, copyFromUtf8); if (str2 != null) { int i5 = c + 105; d = i5 % 128; int i6 = i5 % 2; codedOutputStream.writeBytes(2, stringToByteString); } if (str3 != null) { codedOutputStream.writeBytes(3, stringToByteString2); } } private static void b(byte[] bArr, int[] iArr, boolean z, Object[] objArr) { char[] cArr; char[] cArr2; int i = 2 % 2; TVH tvh = new TVH(); int i2 = 0; int i3 = iArr[0]; int i4 = iArr[1]; int i5 = iArr[2]; int i6 = iArr[3]; char[] cArr3 = a; char c2 = '0'; if (cArr3 != null) { int length = cArr3.length; char[] cArr4 = new char[length]; int i7 = 0; while (i7 < length) { try { Object[] objArr2 = new Object[1]; objArr2[i2] = Integer.valueOf(cArr3[i7]); Object obj = xzZ.y.get(1645349359); if (obj != null) { cArr2 = cArr3; } else { Class cls = (Class) xzZ.c(223 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - TextUtils.getOffsetBefore("", i2), (char) (41976 - TextUtils.indexOf("", c2, i2, i2))); byte b = (byte) i2; byte b2 = (byte) (b + 1); cArr2 = cArr3; Object[] objArr3 = new Object[1]; e(b, b2, (byte) (-b2), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr4[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i7++; cArr3 = cArr2; i2 = 0; c2 = '0'; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr3 = cArr4; } char[] cArr5 = new char[i4]; System.arraycopy(cArr3, i3, cArr5, 0, i4); if (bArr != null) { char[] cArr6 = new char[i4]; tvh.c = 0; char c3 = 0; while (tvh.c < i4) { if (bArr[tvh.c] == 1) { int i8 = tvh.c; try { Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c3)}; Object obj2 = xzZ.y.get(850398076); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 502, TextUtils.lastIndexOf("", '0', 0) + 6, (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj2); } cArr6[i8] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { int i9 = tvh.c; Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c3)}; Object obj3 = xzZ.y.get(1084521042); if (obj3 == null) { obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 15, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (58134 - (ViewConfiguration.getKeyRepeatDelay() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj3); } cArr6[i9] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); } c3 = cArr6[tvh.c]; Object[] objArr6 = {tvh, tvh}; Object obj4 = xzZ.y.get(1698744941); if (obj4 == null) { Class cls2 = (Class) xzZ.c(402 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 21608)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr7 = new Object[1]; e(b3, b4, (byte) (b4 - 1), objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1698744941, obj4); } ((Method) obj4).invoke(null, objArr6); } cArr5 = cArr6; } if (i6 > 0) { char[] cArr7 = new char[i4]; System.arraycopy(cArr5, 0, cArr7, 0, i4); int i10 = i4 - i6; System.arraycopy(cArr7, 0, cArr5, i10, i6); System.arraycopy(cArr7, i6, cArr5, 0, i10); } if (z) { int i11 = $11 + 87; $10 = i11 % 128; if (i11 % 2 != 0) { cArr = new char[i4]; tvh.c = 1; } else { cArr = new char[i4]; tvh.c = 0; } while (tvh.c < i4) { cArr[tvh.c] = cArr5[(i4 - tvh.c) - 1]; tvh.c++; int i12 = $10 + 55; $11 = i12 % 128; int i13 = i12 % 2; } cArr5 = cArr; } if (i5 > 0) { int i14 = $11 + 107; $10 = i14 % 128; int i15 = i14 % 2; int i16 = 0; while (true) { tvh.c = i16; if (tvh.c >= i4) { break; } int i17 = $11 + 73; $10 = i17 % 128; int i18 = i17 % 2; cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]); i16 = tvh.c + 1; } } objArr[0] = new String(cArr5); } public static void writeSessionEvent(CodedOutputStream codedOutputStream, long j, String str, TrimmedThrowableData trimmedThrowableData, Thread thread, StackTraceElement[] stackTraceElementArr, Thread[] threadArr, List list, int i, Map map, byte[] bArr, ActivityManager.RunningAppProcessInfo runningAppProcessInfo, int i2, String str2, String str3, Float f, int i3, boolean z, long j2, long j3) throws Exception { ByteString copyFromUtf8; int i4 = 2 % 2; ByteString copyFromUtf82 = ByteString.copyFromUtf8(str2); ByteString byteString = null; if (str3 == null) { int i5 = c + 45; d = i5 % 128; int i6 = i5 % 2; copyFromUtf8 = null; } else { copyFromUtf8 = ByteString.copyFromUtf8(str3.replace("-", "")); } if (bArr != null) { byteString = ByteString.copyFrom(bArr); } else { Logger.getLogger().d("No log data to include with this event."); int i7 = d + 19; c = i7 % 128; if (i7 % 2 != 0) { int i8 = 4 / 5; } } ByteString byteString2 = byteString; codedOutputStream.writeTag(10, 2); codedOutputStream.writeRawVarint32(getSessionEventSize(j, str, trimmedThrowableData, thread, stackTraceElementArr, threadArr, list, i, map, runningAppProcessInfo, i2, copyFromUtf82, copyFromUtf8, f, i3, z, j2, j3, byteString2)); codedOutputStream.writeUInt64(1, j); codedOutputStream.writeBytes(2, ByteString.copyFromUtf8(str)); writeSessionEventApp(codedOutputStream, trimmedThrowableData, thread, stackTraceElementArr, threadArr, list, i, copyFromUtf82, copyFromUtf8, map, runningAppProcessInfo, i2); writeSessionEventDevice(codedOutputStream, f, i3, z, i2, j2, j3); writeSessionEventLog(codedOutputStream, byteString2); } public static void writeSessionAppClsId(CodedOutputStream codedOutputStream, String str) throws Exception { int i = 2 % 2; int i2 = c + 113; d = i2 % 128; int i3 = i2 % 2; ByteString copyFromUtf8 = ByteString.copyFromUtf8(str); codedOutputStream.writeTag(7, 2); int computeBytesSize = CodedOutputStream.computeBytesSize(2, copyFromUtf8); codedOutputStream.writeRawVarint32(CodedOutputStream.computeTagSize(5) + CodedOutputStream.computeRawVarint32Size(computeBytesSize) + computeBytesSize); codedOutputStream.writeTag(5, 2); codedOutputStream.writeRawVarint32(computeBytesSize); codedOutputStream.writeBytes(2, copyFromUtf8); int i4 = d + 47; c = i4 % 128; if (i4 % 2 != 0) { throw null; } } private static void writeSessionEventApp(CodedOutputStream codedOutputStream, TrimmedThrowableData trimmedThrowableData, Thread thread, StackTraceElement[] stackTraceElementArr, Thread[] threadArr, List list, int i, ByteString byteString, ByteString byteString2, Map map, ActivityManager.RunningAppProcessInfo runningAppProcessInfo, int i2) throws Exception { int i3 = 2 % 2; boolean z = true; int i4 = c + 1; d = i4 % 128; int i5 = i4 % 2; codedOutputStream.writeTag(3, 2); codedOutputStream.writeRawVarint32(getEventAppSize(trimmedThrowableData, thread, stackTraceElementArr, threadArr, list, i, byteString, byteString2, map, runningAppProcessInfo, i2)); writeSessionEventAppExecution(codedOutputStream, trimmedThrowableData, thread, stackTraceElementArr, threadArr, list, i, byteString, byteString2); if (map != null && !map.isEmpty()) { writeSessionEventAppCustomAttributes(codedOutputStream, map); } if (runningAppProcessInfo != null) { int i6 = d + 37; c = i6 % 128; int i7 = i6 % 2; if (runningAppProcessInfo.importance != 100) { int i8 = c; int i9 = i8 + 65; d = i9 % 128; int i10 = i9 % 2; int i11 = i8 + 39; d = i11 % 128; int i12 = i11 % 2; } else { z = false; } codedOutputStream.writeBool(3, z); } codedOutputStream.writeUInt32(4, i2); } private static void writeSessionEventAppExecution(CodedOutputStream codedOutputStream, TrimmedThrowableData trimmedThrowableData, Thread thread, StackTraceElement[] stackTraceElementArr, Thread[] threadArr, List list, int i, ByteString byteString, ByteString byteString2) throws Exception { int length; int i2; int i3 = 2 % 2; int i4 = d + 51; c = i4 % 128; if (i4 % 2 != 0) { codedOutputStream.writeTag(0, 2); codedOutputStream.writeRawVarint32(getEventAppExecutionSize(trimmedThrowableData, thread, stackTraceElementArr, threadArr, list, i, byteString, byteString2)); writeThread(codedOutputStream, thread, stackTraceElementArr, 5, true); length = threadArr.length; i2 = 1; } else { codedOutputStream.writeTag(1, 2); codedOutputStream.writeRawVarint32(getEventAppExecutionSize(trimmedThrowableData, thread, stackTraceElementArr, threadArr, list, i, byteString, byteString2)); writeThread(codedOutputStream, thread, stackTraceElementArr, 4, true); length = threadArr.length; i2 = 0; } while (i2 < length) { writeThread(codedOutputStream, threadArr[i2], list.get(i2), 0, false); i2++; int i5 = d + 3; c = i5 % 128; int i6 = i5 % 2; } writeSessionEventAppExecutionException(codedOutputStream, trimmedThrowableData, 1, i, 2); codedOutputStream.writeTag(3, 2); codedOutputStream.writeRawVarint32(getEventAppExecutionSignalSize()); ByteString byteString3 = SIGNAL_DEFAULT_BYTE_STRING; codedOutputStream.writeBytes(1, byteString3); codedOutputStream.writeBytes(2, byteString3); codedOutputStream.writeUInt64(3, 0L); codedOutputStream.writeTag(4, 2); codedOutputStream.writeRawVarint32(getBinaryImageSize(byteString, byteString2)); codedOutputStream.writeUInt64(1, 0L); codedOutputStream.writeUInt64(2, 0L); codedOutputStream.writeBytes(3, byteString); if (byteString2 != null) { int i7 = d + 83; c = i7 % 128; if (i7 % 2 != 0) { codedOutputStream.writeBytes(5, byteString2); } else { codedOutputStream.writeBytes(4, byteString2); } } } private static void writeSessionEventAppCustomAttributes(CodedOutputStream codedOutputStream, Map map) throws Exception { int i = 2 % 2; int i2 = c + 59; d = i2 % 128; if (i2 % 2 != 0) { for (Map.Entry entry : map.entrySet()) { codedOutputStream.writeTag(2, 2); codedOutputStream.writeRawVarint32(getEventAppCustomAttributeSize(entry.getKey(), entry.getValue())); codedOutputStream.writeBytes(1, ByteString.copyFromUtf8(entry.getKey())); String value = entry.getValue(); if (value == null) { int i3 = c + 115; d = i3 % 128; int i4 = i3 % 2; value = ""; } codedOutputStream.writeBytes(2, ByteString.copyFromUtf8(value)); } return; } map.entrySet().iterator(); throw null; } private static void writeSessionEventAppExecutionException(CodedOutputStream codedOutputStream, TrimmedThrowableData trimmedThrowableData, int i, int i2, int i3) throws Exception { int i4 = 2 % 2; while (true) { codedOutputStream.writeTag(i3, 2); codedOutputStream.writeRawVarint32(getEventAppExecutionExceptionSize(trimmedThrowableData, 1, i2)); codedOutputStream.writeBytes(1, ByteString.copyFromUtf8(trimmedThrowableData.className)); String str = trimmedThrowableData.localizedMessage; if (str != null) { int i5 = d + 97; c = i5 % 128; int i6 = i5 % 2; codedOutputStream.writeBytes(3, ByteString.copyFromUtf8(str)); } StackTraceElement[] stackTraceElementArr = trimmedThrowableData.stacktrace; int length = stackTraceElementArr.length; int i7 = 0; int i8 = 0; while (i8 < length) { writeFrame(codedOutputStream, 4, stackTraceElementArr[i8], true); i8++; int i9 = c + 87; d = i9 % 128; int i10 = i9 % 2; } trimmedThrowableData = trimmedThrowableData.cause; if (trimmedThrowableData == null) { break; } if (i < i2) { i++; i3 = 6; } else { while (trimmedThrowableData != null) { int i11 = d + 117; c = i11 % 128; if (i11 % 2 != 0) { trimmedThrowableData = trimmedThrowableData.cause; i7 += 56; } else { trimmedThrowableData = trimmedThrowableData.cause; i7++; } } codedOutputStream.writeUInt32(7, i7); } } int i12 = d + 125; c = i12 % 128; int i13 = i12 % 2; } private static void writeThread(CodedOutputStream codedOutputStream, Thread thread, StackTraceElement[] stackTraceElementArr, int i, boolean z) throws Exception { int i2 = 2 % 2; codedOutputStream.writeTag(1, 2); codedOutputStream.writeRawVarint32(getThreadSize(thread, stackTraceElementArr, i, z)); codedOutputStream.writeBytes(1, ByteString.copyFromUtf8(thread.getName())); codedOutputStream.writeUInt32(2, i); int length = stackTraceElementArr.length; int i3 = 0; while (i3 < length) { int i4 = d + 71; c = i4 % 128; if (i4 % 2 != 0) { writeFrame(codedOutputStream, 2, stackTraceElementArr[i3], z); i3 += 83; } else { writeFrame(codedOutputStream, 3, stackTraceElementArr[i3], z); i3++; } } int i5 = d + 113; c = i5 % 128; int i6 = i5 % 2; } private static void writeFrame(CodedOutputStream codedOutputStream, int i, StackTraceElement stackTraceElement, boolean z) throws Exception { int i2 = 2 % 2; codedOutputStream.writeTag(i, 2); codedOutputStream.writeRawVarint32(getFrameSize(stackTraceElement, z)); if (stackTraceElement.isNativeMethod()) { codedOutputStream.writeUInt64(1, Math.max(stackTraceElement.getLineNumber(), 0)); int i3 = c + 7; d = i3 % 128; if (i3 % 2 == 0) { int i4 = 5 % 3; } } else { codedOutputStream.writeUInt64(1, 0L); } StringBuilder sb = new StringBuilder(); sb.append(stackTraceElement.getClassName()); sb.append("."); sb.append(stackTraceElement.getMethodName()); codedOutputStream.writeBytes(2, ByteString.copyFromUtf8(sb.toString())); if (stackTraceElement.getFileName() != null) { codedOutputStream.writeBytes(3, ByteString.copyFromUtf8(stackTraceElement.getFileName())); } if ((!stackTraceElement.isNativeMethod()) && stackTraceElement.getLineNumber() > 0) { int i5 = d + 113; c = i5 % 128; int i6 = i5 % 2; codedOutputStream.writeUInt64(4, stackTraceElement.getLineNumber()); } codedOutputStream.writeUInt32(5, z ? 4 : 0); } private static void writeSessionEventDevice(CodedOutputStream codedOutputStream, Float f, int i, boolean z, int i2, long j, long j2) throws Exception { int i3 = 2 % 2; codedOutputStream.writeTag(5, 2); codedOutputStream.writeRawVarint32(getEventDeviceSize(f, i, z, i2, j, j2)); if (f != null) { int i4 = c + 49; d = i4 % 128; codedOutputStream.writeFloat(i4 % 2 == 0 ? 0 : 1, f.floatValue()); int i5 = c + 13; d = i5 % 128; int i6 = i5 % 2; } codedOutputStream.writeSInt32(2, i); codedOutputStream.writeBool(3, z); codedOutputStream.writeUInt32(4, i2); codedOutputStream.writeUInt64(5, j); codedOutputStream.writeUInt64(6, j2); int i7 = c + 15; d = i7 % 128; int i8 = i7 % 2; } private static void writeSessionEventLog(CodedOutputStream codedOutputStream, ByteString byteString) throws Exception { int i = 2 % 2; int i2 = d; int i3 = i2 + 29; c = i3 % 128; int i4 = i3 % 2; if (byteString != null) { int i5 = i2 + 63; c = i5 % 128; codedOutputStream.writeTag(i5 % 2 != 0 ? 54 : 6, 2); codedOutputStream.writeRawVarint32(getEventLogSize(byteString)); codedOutputStream.writeBytes(1, byteString); } } private static int getSessionAppSize(ByteString byteString, ByteString byteString2, ByteString byteString3, ByteString byteString4, int i, ByteString byteString5) { int i2 = 2 % 2; int i3 = d + 19; c = i3 % 128; int i4 = i3 % 2; int computeBytesSize = CodedOutputStream.computeBytesSize(1, byteString) + CodedOutputStream.computeBytesSize(2, byteString2) + CodedOutputStream.computeBytesSize(3, byteString3) + CodedOutputStream.computeBytesSize(6, byteString4); if (byteString5 != null) { int i5 = d + 91; c = i5 % 128; computeBytesSize = i5 % 2 != 0 ? (computeBytesSize % CodedOutputStream.computeBytesSize(11, UNITY_PLATFORM_BYTE_STRING)) >> CodedOutputStream.computeBytesSize(77, byteString5) : computeBytesSize + CodedOutputStream.computeBytesSize(8, UNITY_PLATFORM_BYTE_STRING) + CodedOutputStream.computeBytesSize(9, byteString5); } return computeBytesSize + CodedOutputStream.computeEnumSize(10, i); } private static int getSessionOSSize(ByteString byteString, ByteString byteString2, boolean z) { int i = 2 % 2; int i2 = d + 111; c = i2 % 128; int i3 = i2 % 2; int computeEnumSize = CodedOutputStream.computeEnumSize(1, 3) + CodedOutputStream.computeBytesSize(2, byteString) + CodedOutputStream.computeBytesSize(3, byteString2) + CodedOutputStream.computeBoolSize(4, z); int i4 = c + 99; d = i4 % 128; int i5 = i4 % 2; return computeEnumSize; } private static int getSessionDeviceSize(int i, ByteString byteString, int i2, long j, long j2, boolean z, int i3, ByteString byteString2, ByteString byteString3) { int computeBytesSize; int computeBytesSize2; int i4 = 2 % 2; int i5 = d + 7; c = i5 % 128; int i6 = i5 % 2; int computeEnumSize = CodedOutputStream.computeEnumSize(3, i); if (byteString == null) { int i7 = c + 95; d = i7 % 128; computeBytesSize = i7 % 2 == 0 ? 1 : 0; } else { computeBytesSize = CodedOutputStream.computeBytesSize(4, byteString); } int computeUInt32Size = CodedOutputStream.computeUInt32Size(5, i2); int computeUInt64Size = CodedOutputStream.computeUInt64Size(6, j); int computeUInt64Size2 = CodedOutputStream.computeUInt64Size(7, j2); int computeBoolSize = CodedOutputStream.computeBoolSize(10, z); int computeUInt32Size2 = CodedOutputStream.computeUInt32Size(12, i3); if (byteString2 == null) { int i8 = d + 107; c = i8 % 128; int i9 = i8 % 2; computeBytesSize2 = 0; } else { computeBytesSize2 = CodedOutputStream.computeBytesSize(13, byteString2); } return computeEnumSize + computeBytesSize + computeUInt32Size + computeUInt64Size + computeUInt64Size2 + computeBoolSize + computeUInt32Size2 + computeBytesSize2 + (byteString3 != null ? CodedOutputStream.computeBytesSize(14, byteString3) : 0); } private static int getBinaryImageSize(ByteString byteString, ByteString byteString2) { int i = 2 % 2; int i2 = d + 115; c = i2 % 128; int i3 = i2 % 2; int computeUInt64Size = CodedOutputStream.computeUInt64Size(1, 0L) + CodedOutputStream.computeUInt64Size(2, 0L) + CodedOutputStream.computeBytesSize(3, byteString); if (byteString2 == null) { return computeUInt64Size; } int i4 = d + 7; c = i4 % 128; int i5 = i4 % 2; int computeBytesSize = computeUInt64Size + CodedOutputStream.computeBytesSize(4, byteString2); int i6 = c + 117; d = i6 % 128; int i7 = i6 % 2; return computeBytesSize; } private static int getSessionEventSize(long j, String str, TrimmedThrowableData trimmedThrowableData, Thread thread, StackTraceElement[] stackTraceElementArr, Thread[] threadArr, List list, int i, Map map, ActivityManager.RunningAppProcessInfo runningAppProcessInfo, int i2, ByteString byteString, ByteString byteString2, Float f, int i3, boolean z, long j2, long j3, ByteString byteString3) { int i4 = 2 % 2; int i5 = c + 7; d = i5 % 128; int i6 = i5 % 2; int computeUInt64Size = CodedOutputStream.computeUInt64Size(1, j); int computeBytesSize = CodedOutputStream.computeBytesSize(2, ByteString.copyFromUtf8(str)); int eventAppSize = getEventAppSize(trimmedThrowableData, thread, stackTraceElementArr, threadArr, list, i, byteString, byteString2, map, runningAppProcessInfo, i2); int computeTagSize = CodedOutputStream.computeTagSize(3); int computeRawVarint32Size = CodedOutputStream.computeRawVarint32Size(eventAppSize); int eventDeviceSize = getEventDeviceSize(f, i3, z, i2, j2, j3); int computeTagSize2 = computeUInt64Size + computeBytesSize + computeTagSize + computeRawVarint32Size + eventAppSize + CodedOutputStream.computeTagSize(5) + CodedOutputStream.computeRawVarint32Size(eventDeviceSize) + eventDeviceSize; if (byteString3 == null) { return computeTagSize2; } int i7 = d + 29; c = i7 % 128; int i8 = i7 % 2; int eventLogSize = getEventLogSize(byteString3); return computeTagSize2 + CodedOutputStream.computeTagSize(6) + CodedOutputStream.computeRawVarint32Size(eventLogSize) + eventLogSize; } private static int getEventAppSize(TrimmedThrowableData trimmedThrowableData, Thread thread, StackTraceElement[] stackTraceElementArr, Thread[] threadArr, List list, int i, ByteString byteString, ByteString byteString2, Map map, ActivityManager.RunningAppProcessInfo runningAppProcessInfo, int i2) { int i3 = 2 % 2; int eventAppExecutionSize = getEventAppExecutionSize(trimmedThrowableData, thread, stackTraceElementArr, threadArr, list, i, byteString, byteString2); boolean z = true; int computeTagSize = CodedOutputStream.computeTagSize(1) + CodedOutputStream.computeRawVarint32Size(eventAppExecutionSize) + eventAppExecutionSize; if (map != null) { for (Map.Entry entry : map.entrySet()) { int i4 = d + 17; c = i4 % 128; int i5 = i4 % 2; int eventAppCustomAttributeSize = getEventAppCustomAttributeSize(entry.getKey(), entry.getValue()); computeTagSize += CodedOutputStream.computeTagSize(2) + CodedOutputStream.computeRawVarint32Size(eventAppCustomAttributeSize) + eventAppCustomAttributeSize; } } if (runningAppProcessInfo != null) { if (runningAppProcessInfo.importance == 100) { int i6 = c + 17; d = i6 % 128; int i7 = i6 % 2; z = false; } computeTagSize += CodedOutputStream.computeBoolSize(3, z); int i8 = c + 51; d = i8 % 128; if (i8 % 2 == 0) { int i9 = 4 % 3; } } return computeTagSize + CodedOutputStream.computeUInt32Size(4, i2); } private static int getEventAppExecutionSize(TrimmedThrowableData trimmedThrowableData, Thread thread, StackTraceElement[] stackTraceElementArr, Thread[] threadArr, List list, int i, ByteString byteString, ByteString byteString2) { int i2 = 2 % 2; int threadSize = getThreadSize(thread, stackTraceElementArr, 4, true); int computeTagSize = CodedOutputStream.computeTagSize(1) + CodedOutputStream.computeRawVarint32Size(threadSize) + threadSize; int length = threadArr.length; for (int i3 = 0; i3 < length; i3++) { int i4 = c + 17; d = i4 % 128; if (i4 % 2 == 0) { int threadSize2 = getThreadSize(threadArr[i3], list.get(i3), 0, true); computeTagSize -= (CodedOutputStream.computeTagSize(1) % CodedOutputStream.computeRawVarint32Size(threadSize2)) >>> threadSize2; } else { int threadSize3 = getThreadSize(threadArr[i3], list.get(i3), 0, false); computeTagSize += CodedOutputStream.computeTagSize(1) + CodedOutputStream.computeRawVarint32Size(threadSize3) + threadSize3; } } int eventAppExecutionExceptionSize = getEventAppExecutionExceptionSize(trimmedThrowableData, 1, i); int computeTagSize2 = CodedOutputStream.computeTagSize(2); int computeRawVarint32Size = CodedOutputStream.computeRawVarint32Size(eventAppExecutionExceptionSize); int eventAppExecutionSignalSize = getEventAppExecutionSignalSize(); int computeTagSize3 = CodedOutputStream.computeTagSize(3); int computeRawVarint32Size2 = CodedOutputStream.computeRawVarint32Size(eventAppExecutionSignalSize); int binaryImageSize = getBinaryImageSize(byteString, byteString2); int computeTagSize4 = computeTagSize + computeTagSize2 + computeRawVarint32Size + eventAppExecutionExceptionSize + computeTagSize3 + computeRawVarint32Size2 + eventAppExecutionSignalSize + CodedOutputStream.computeTagSize(3) + CodedOutputStream.computeRawVarint32Size(binaryImageSize) + binaryImageSize; int i5 = c + 109; d = i5 % 128; int i6 = i5 % 2; return computeTagSize4; } /* JADX WARN: Code restructure failed: missing block: B:10:0x0022, code lost: if (r4 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost: if (r4 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0024, code lost: r4 = com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.c; r1 = r4 + 103; com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d = r1 % 128; r1 = r1 % 2; r4 = r4 + 49; com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d = r4 % 128; r4 = r4 % 2; r4 = ""; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static int getEventAppCustomAttributeSize(java.lang.String r3, java.lang.String r4) { /* r0 = 2 int r1 = r0 % r0 int r1 = com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d int r1 = r1 + 95 int r2 = r1 % 128 com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.c = r2 int r1 = r1 % r0 r2 = 1 if (r1 == 0) goto L1a com.google.firebase.crashlytics.internal.proto.ByteString r3 = com.google.firebase.crashlytics.internal.proto.ByteString.copyFromUtf8(r3) int r3 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeBytesSize(r2, r3) if (r4 != 0) goto L37 goto L24 L1a: com.google.firebase.crashlytics.internal.proto.ByteString r3 = com.google.firebase.crashlytics.internal.proto.ByteString.copyFromUtf8(r3) int r3 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeBytesSize(r2, r3) if (r4 != 0) goto L37 L24: int r4 = com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.c int r1 = r4 + 103 int r2 = r1 % 128 com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d = r2 int r1 = r1 % r0 java.lang.String r1 = "" int r4 = r4 + 49 int r2 = r4 % 128 com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d = r2 int r4 = r4 % r0 r4 = r1 L37: com.google.firebase.crashlytics.internal.proto.ByteString r4 = com.google.firebase.crashlytics.internal.proto.ByteString.copyFromUtf8(r4) int r4 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeBytesSize(r0, r4) int r3 = r3 + r4 return r3 */ throw new UnsupportedOperationException("Method not decompiled: com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.getEventAppCustomAttributeSize(java.lang.String, java.lang.String):int"); } private static int getEventDeviceSize(Float f, int i, boolean z, int i2, long j, long j2) { int i3; int i4 = 2 % 2; int i5 = d + 91; c = i5 % 128; if (i5 % 2 != 0) { throw null; } if (f != null) { i3 = CodedOutputStream.computeFloatSize(1, f.floatValue()); int i6 = c + 5; d = i6 % 128; int i7 = i6 % 2; } else { i3 = 0; } int computeSInt32Size = CodedOutputStream.computeSInt32Size(2, i); int computeBoolSize = CodedOutputStream.computeBoolSize(3, z); return i3 + computeSInt32Size + computeBoolSize + CodedOutputStream.computeUInt32Size(4, i2) + CodedOutputStream.computeUInt64Size(5, j) + CodedOutputStream.computeUInt64Size(6, j2); } private static int getEventLogSize(ByteString byteString) { int i = 2 % 2; int i2 = c + 57; d = i2 % 128; int i3 = i2 % 2; int computeBytesSize = CodedOutputStream.computeBytesSize(1, byteString); int i4 = d + 47; c = i4 % 128; if (i4 % 2 == 0) { return computeBytesSize; } Object obj = null; obj.hashCode(); throw null; } private static int getEventAppExecutionExceptionSize(TrimmedThrowableData trimmedThrowableData, int i, int i2) { int i3 = 2 % 2; int i4 = d + 5; c = i4 % 128; int i5 = i4 % 2; int computeBytesSize = CodedOutputStream.computeBytesSize(1, ByteString.copyFromUtf8(trimmedThrowableData.className)); String str = trimmedThrowableData.localizedMessage; if (str != null) { int i6 = d + 101; c = i6 % 128; computeBytesSize = i6 % 2 != 0 ? computeBytesSize >>> CodedOutputStream.computeBytesSize(2, ByteString.copyFromUtf8(str)) : computeBytesSize + CodedOutputStream.computeBytesSize(3, ByteString.copyFromUtf8(str)); } StackTraceElement[] stackTraceElementArr = trimmedThrowableData.stacktrace; int length = stackTraceElementArr.length; int i7 = 0; int i8 = 0; while (i8 < length) { int frameSize = getFrameSize(stackTraceElementArr[i8], true); computeBytesSize += CodedOutputStream.computeTagSize(4) + CodedOutputStream.computeRawVarint32Size(frameSize) + frameSize; i8++; int i9 = c + 43; d = i9 % 128; int i10 = i9 % 2; } TrimmedThrowableData trimmedThrowableData2 = trimmedThrowableData.cause; if (trimmedThrowableData2 == null) { return computeBytesSize; } if (i < i2) { int eventAppExecutionExceptionSize = getEventAppExecutionExceptionSize(trimmedThrowableData2, i + 1, i2); return computeBytesSize + CodedOutputStream.computeTagSize(6) + CodedOutputStream.computeRawVarint32Size(eventAppExecutionExceptionSize) + eventAppExecutionExceptionSize; } while (trimmedThrowableData2 != null) { int i11 = c + 63; d = i11 % 128; int i12 = i11 % 2; trimmedThrowableData2 = trimmedThrowableData2.cause; i7++; } int computeUInt32Size = computeBytesSize + CodedOutputStream.computeUInt32Size(7, i7); int i13 = d + 23; c = i13 % 128; int i14 = i13 % 2; return computeUInt32Size; } private static int getEventAppExecutionSignalSize() { int i = 2 % 2; int i2 = d + 45; c = i2 % 128; int i3 = i2 % 2; ByteString byteString = SIGNAL_DEFAULT_BYTE_STRING; int computeBytesSize = CodedOutputStream.computeBytesSize(1, byteString) + CodedOutputStream.computeBytesSize(2, byteString) + CodedOutputStream.computeUInt64Size(3, 0L); int i4 = d + 39; c = i4 % 128; int i5 = i4 % 2; return computeBytesSize; } /* JADX WARN: Code restructure failed: missing block: B:12:0x0083, code lost: if (r7.getLineNumber() > 0) goto L19; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x008c, code lost: r2 = com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.c + 81; com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d = r2 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0095, code lost: if ((r2 % 2) != 0) goto L22; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0097, code lost: r1 = r1 * com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeUInt64Size(5, r7.getLineNumber()); */ /* JADX WARN: Code restructure failed: missing block: B:16:0x00a2, code lost: r1 = r1 + com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeUInt64Size(4, r7.getLineNumber()); */ /* JADX WARN: Code restructure failed: missing block: B:18:0x008a, code lost: if (r7.getLineNumber() > 0) goto L19; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static int getFrameSize(java.lang.StackTraceElement r7, boolean r8) { /* r0 = 2 int r1 = r0 % r0 boolean r1 = r7.isNativeMethod() r2 = 1 r3 = 0 if (r1 == 0) goto L22 int r1 = com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.c int r1 = r1 + 121 int r4 = r1 % 128 com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d = r4 int r1 = r1 % r0 int r1 = r7.getLineNumber() int r1 = java.lang.Math.max(r1, r3) long r4 = (long) r1 int r1 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeUInt64Size(r2, r4) goto L28 L22: r4 = 0 int r1 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeUInt64Size(r2, r4) L28: java.lang.StringBuilder r2 = new java.lang.StringBuilder r2.() java.lang.String r4 = r7.getClassName() r2.append(r4) java.lang.String r4 = "." r2.append(r4) java.lang.String r4 = r7.getMethodName() r2.append(r4) java.lang.String r2 = r2.toString() com.google.firebase.crashlytics.internal.proto.ByteString r2 = com.google.firebase.crashlytics.internal.proto.ByteString.copyFromUtf8(r2) int r2 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeBytesSize(r0, r2) int r1 = r1 + r2 java.lang.String r2 = r7.getFileName() r4 = 5 if (r2 == 0) goto L6a java.lang.String r2 = r7.getFileName() com.google.firebase.crashlytics.internal.proto.ByteString r2 = com.google.firebase.crashlytics.internal.proto.ByteString.copyFromUtf8(r2) r5 = 3 int r2 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeBytesSize(r5, r2) int r1 = r1 + r2 int r2 = com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.c int r2 = r2 + r4 int r5 = r2 % 128 com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d = r5 int r2 = r2 % r0 L6a: boolean r2 = r7.isNativeMethod() if (r2 == 0) goto L71 goto Lad L71: int r2 = com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d int r2 = r2 + 59 int r5 = r2 % 128 com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.c = r5 int r2 = r2 % r0 if (r2 == 0) goto L86 int r2 = r7.getLineNumber() r5 = 58 int r5 = r5 / r3 if (r2 <= 0) goto Lad goto L8c L86: int r2 = r7.getLineNumber() if (r2 <= 0) goto Lad L8c: int r2 = com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.c int r2 = r2 + 81 int r5 = r2 % 128 com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.d = r5 int r2 = r2 % r0 if (r2 != 0) goto La2 int r7 = r7.getLineNumber() long r5 = (long) r7 int r7 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeUInt64Size(r4, r5) int r1 = r1 * r7 goto Lad La2: int r7 = r7.getLineNumber() long r5 = (long) r7 r7 = 4 int r7 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeUInt64Size(r7, r5) int r1 = r1 + r7 Lad: if (r8 == 0) goto Lb0 goto Lb1 Lb0: r0 = r3 Lb1: int r7 = com.google.firebase.crashlytics.internal.proto.CodedOutputStream.computeUInt32Size(r4, r0) int r1 = r1 + r7 return r1 */ throw new UnsupportedOperationException("Method not decompiled: com.google.firebase.crashlytics.internal.proto.SessionProtobufHelper.getFrameSize(java.lang.StackTraceElement, boolean):int"); } private static int getThreadSize(Thread thread, StackTraceElement[] stackTraceElementArr, int i, boolean z) { int i2 = 2 % 2; int i3 = d + 55; c = i3 % 128; int i4 = i3 % 2; int computeBytesSize = CodedOutputStream.computeBytesSize(1, ByteString.copyFromUtf8(thread.getName())) + CodedOutputStream.computeUInt32Size(2, i); int length = stackTraceElementArr.length; int i5 = 0; while (i5 < length) { int i6 = d + 55; c = i6 % 128; if (i6 % 2 != 0) { int frameSize = getFrameSize(stackTraceElementArr[i5], z); computeBytesSize += (CodedOutputStream.computeTagSize(5) % CodedOutputStream.computeRawVarint32Size(frameSize)) - frameSize; i5 += 72; } else { int frameSize2 = getFrameSize(stackTraceElementArr[i5], z); computeBytesSize += CodedOutputStream.computeTagSize(3) + CodedOutputStream.computeRawVarint32Size(frameSize2) + frameSize2; i5++; } } return computeBytesSize; } private static ByteString stringToByteString(String str) { ByteString copyFromUtf8; int i = 2 % 2; if (str == null) { int i2 = d + 57; c = i2 % 128; copyFromUtf8 = null; if (i2 % 2 != 0) { throw null; } } else { copyFromUtf8 = ByteString.copyFromUtf8(str); } int i3 = c + 103; d = i3 % 128; if (i3 % 2 == 0) { int i4 = 13 / 0; } return copyFromUtf8; } static void c() { a = new char[]{39955}; } }