Source/sources/com/google/appinventor/components/runtime/File.java
public void AsyncRead(java.io.InputStream r14, java.lang.String r15) {
        /*
            r13 = this;
            r2 = 0
            java.io.InputStreamReader r3 = new java.io.InputStreamReader     // Catch:{ FileNotFoundException -> 0x0088, IOException -> 0x0058 }
            r3.<init>(r14)     // Catch:{ FileNotFoundException -> 0x0088, IOException -> 0x0058 }
            java.io.StringWriter r6 = new java.io.StringWriter     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r6.<init>()     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r8 = 4096(0x1000, float:5.74E-42)
            char[] r0 = new char[r8]     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r5 = 0
            r4 = 0
        L_0x0011:
            r8 = 4096(0x1000, float:5.74E-42)
            int r4 = r3.read(r0, r5, r8)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            if (r4 <= 0) goto L_0x003c
            r8 = 0
            r6.write(r0, r8, r4)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            goto L_0x0011
        L_0x001e:
            r1 = move-exception
            r2 = r3
        L_0x0020:
            java.lang.String r8 = "FileComponent"
            java.lang.String r9 = "FileNotFoundException"
            android.util.Log.e(r8, r9, r1)     // Catch:{ all -> 0x0077 }
            com.google.appinventor.components.runtime.Form r8 = r13.form     // Catch:{ all -> 0x0077 }
            java.lang.String r9 = "ReadFrom"
            r10 = 2101(0x835, float:2.944E-42)
            r11 = 1
            java.lang.Object[] r11 = new java.lang.Object[r11]     // Catch:{ all -> 0x0077 }
            r12 = 0
            r11[r12] = r15     // Catch:{ all -> 0x0077 }
            r8.dispatchErrorOccurredEvent(r13, r9, r10, r11)     // Catch:{ all -> 0x0077 }
            if (r2 == 0) goto L_0x003b
            r2.close()     // Catch:{ IOException -> 0x007e }
        L_0x003b:
            return
        L_0x003c:
            java.lang.String r8 = r6.toString()     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            java.lang.String r7 = r13.normalizeNewLines(r8)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            android.app.Activity r8 = r13.activity     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            com.google.appinventor.components.runtime.File$5 r9 = new com.google.appinventor.components.runtime.File$5     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r9.<init>(r7)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r8.runOnUiThread(r9)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            if (r3 == 0) goto L_0x008a
            r3.close()     // Catch:{ IOException -> 0x0055 }
            r2 = r3
            goto L_0x003b
        L_0x0055:
            r8 = move-exception
            r2 = r3
            goto L_0x003b
        L_0x0058:
            r1 = move-exception
        L_0x0059:
            java.lang.String r8 = "FileComponent"
            java.lang.String r9 = "IOException"
            android.util.Log.e(r8, r9, r1)     // Catch:{ all -> 0x0077 }
            com.google.appinventor.components.runtime.Form r8 = r13.form     // Catch:{ all -> 0x0077 }
            java.lang.String r9 = "ReadFrom"
            r10 = 2102(0x836, float:2.946E-42)
            r11 = 1
            java.lang.Object[] r11 = new java.lang.Object[r11]     // Catch:{ all -> 0x0077 }
            r12 = 0
            r11[r12] = r15     // Catch:{ all -> 0x0077 }
            r8.dispatchErrorOccurredEvent(r13, r9, r10, r11)     // Catch:{ all -> 0x0077 }
            if (r2 == 0) goto L_0x003b
            r2.close()     // Catch:{ IOException -> 0x0075 }
            goto L_0x003b
        L_0x0075:
            r8 = move-exception
            goto L_0x003b
        L_0x0077:
            r8 = move-exception
        L_0x0078:
            if (r2 == 0) goto L_0x007d
            r2.close()     // Catch:{ IOException -> 0x0080 }
        L_0x007d:
            throw r8
        L_0x007e:
            r8 = move-exception
            goto L_0x003b
        L_0x0080:
            r9 = move-exception
            goto L_0x007d
        L_0x0082:
            r8 = move-exception
            r2 = r3
            goto L_0x0078
        L_0x0085:
            r1 = move-exception
            r2 = r3
            goto L_0x0059
        L_0x0088:
            r1 = move-exception
            goto L_0x0020
        L_0x008a:
            r2 = r3
            goto L_0x003b
        */
        throw new UnsupportedOperationException("Method not decompiled: com.google.appinventor.components.runtime.File.AsyncRead(java.io.InputStream, java.lang.String):void");
    }
/* Code decompiled incorrectly, please refer to instructions dump. */
Code decompiled incorrectly, please refer to instructions dump.
Code decompiled incorrectly please refer to instructions dump .
public void AsyncRead(java.io.InputStream r14, java.lang.String r15) {
        /*
            r13 = this;
            r2 = 0
            java.io.InputStreamReader r3 = new java.io.InputStreamReader     // Catch:{ FileNotFoundException -> 0x0088, IOException -> 0x0058 }
            r3.<init>(r14)     // Catch:{ FileNotFoundException -> 0x0088, IOException -> 0x0058 }
            java.io.StringWriter r6 = new java.io.StringWriter     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r6.<init>()     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r8 = 4096(0x1000, float:5.74E-42)
            char[] r0 = new char[r8]     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r5 = 0
            r4 = 0
        L_0x0011:
            r8 = 4096(0x1000, float:5.74E-42)
            int r4 = r3.read(r0, r5, r8)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            if (r4 <= 0) goto L_0x003c
            r8 = 0
            r6.write(r0, r8, r4)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            goto L_0x0011
        L_0x001e:
            r1 = move-exception
            r2 = r3
        L_0x0020:
            java.lang.String r8 = "FileComponent"
            java.lang.String r9 = "FileNotFoundException"
            android.util.Log.e(r8, r9, r1)     // Catch:{ all -> 0x0077 }
            com.google.appinventor.components.runtime.Form r8 = r13.form     // Catch:{ all -> 0x0077 }
            java.lang.String r9 = "ReadFrom"
            r10 = 2101(0x835, float:2.944E-42)
            r11 = 1
            java.lang.Object[] r11 = new java.lang.Object[r11]     // Catch:{ all -> 0x0077 }
            r12 = 0
            r11[r12] = r15     // Catch:{ all -> 0x0077 }
            r8.dispatchErrorOccurredEvent(r13, r9, r10, r11)     // Catch:{ all -> 0x0077 }
            if (r2 == 0) goto L_0x003b
            r2.close()     // Catch:{ IOException -> 0x007e }
        L_0x003b:
            return
        L_0x003c:
            java.lang.String r8 = r6.toString()     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            java.lang.String r7 = r13.normalizeNewLines(r8)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            android.app.Activity r8 = r13.activity     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            com.google.appinventor.components.runtime.File$5 r9 = new com.google.appinventor.components.runtime.File$5     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r9.<init>(r7)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r8.runOnUiThread(r9)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            if (r3 == 0) goto L_0x008a
            r3.close()     // Catch:{ IOException -> 0x0055 }
            r2 = r3
            goto L_0x003b
        L_0x0055:
            r8 = move-exception
            r2 = r3
            goto L_0x003b
        L_0x0058:
            r1 = move-exception
        L_0x0059:
            java.lang.String r8 = "FileComponent"
            java.lang.String r9 = "IOException"
            android.util.Log.e(r8, r9, r1)     // Catch:{ all -> 0x0077 }
            com.google.appinventor.components.runtime.Form r8 = r13.form     // Catch:{ all -> 0x0077 }
            java.lang.String r9 = "ReadFrom"
            r10 = 2102(0x836, float:2.946E-42)
            r11 = 1
            java.lang.Object[] r11 = new java.lang.Object[r11]     // Catch:{ all -> 0x0077 }
            r12 = 0
            r11[r12] = r15     // Catch:{ all -> 0x0077 }
            r8.dispatchErrorOccurredEvent(r13, r9, r10, r11)     // Catch:{ all -> 0x0077 }
            if (r2 == 0) goto L_0x003b
            r2.close()     // Catch:{ IOException -> 0x0075 }
            goto L_0x003b
        L_0x0075:
            r8 = move-exception
            goto L_0x003b
        L_0x0077:
            r8 = move-exception
        L_0x0078:
            if (r2 == 0) goto L_0x007d
            r2.close()     // Catch:{ IOException -> 0x0080 }
        L_0x007d:
            throw r8
        L_0x007e:
            r8 = move-exception
            goto L_0x003b
        L_0x0080:
            r9 = move-exception
            goto L_0x007d
        L_0x0082:
            r8 = move-exception
            r2 = r3
            goto L_0x0078
        L_0x0085:
            r1 = move-exception
            r2 = r3
            goto L_0x0059
        L_0x0088:
            r1 = move-exception
            goto L_0x0020
        L_0x008a:
            r2 = r3
            goto L_0x003b
        */
        throw new UnsupportedOperationException("Method not decompiled: com.google.appinventor.components.runtime.File.AsyncRead(java.io.InputStream, java.lang.String):void");
    }
public void AsyncRead ( java . io . InputStream r14 , java . lang . String r15 ) { /*
            r13 = this;
            r2 = 0
            java.io.InputStreamReader r3 = new java.io.InputStreamReader     // Catch:{ FileNotFoundException -> 0x0088, IOException -> 0x0058 }
            r3.<init>(r14)     // Catch:{ FileNotFoundException -> 0x0088, IOException -> 0x0058 }
            java.io.StringWriter r6 = new java.io.StringWriter     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r6.<init>()     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r8 = 4096(0x1000, float:5.74E-42)
            char[] r0 = new char[r8]     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r5 = 0
            r4 = 0
        L_0x0011:
            r8 = 4096(0x1000, float:5.74E-42)
            int r4 = r3.read(r0, r5, r8)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            if (r4 <= 0) goto L_0x003c
            r8 = 0
            r6.write(r0, r8, r4)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            goto L_0x0011
        L_0x001e:
            r1 = move-exception
            r2 = r3
        L_0x0020:
            java.lang.String r8 = "FileComponent"
            java.lang.String r9 = "FileNotFoundException"
            android.util.Log.e(r8, r9, r1)     // Catch:{ all -> 0x0077 }
            com.google.appinventor.components.runtime.Form r8 = r13.form     // Catch:{ all -> 0x0077 }
            java.lang.String r9 = "ReadFrom"
            r10 = 2101(0x835, float:2.944E-42)
            r11 = 1
            java.lang.Object[] r11 = new java.lang.Object[r11]     // Catch:{ all -> 0x0077 }
            r12 = 0
            r11[r12] = r15     // Catch:{ all -> 0x0077 }
            r8.dispatchErrorOccurredEvent(r13, r9, r10, r11)     // Catch:{ all -> 0x0077 }
            if (r2 == 0) goto L_0x003b
            r2.close()     // Catch:{ IOException -> 0x007e }
        L_0x003b:
            return
        L_0x003c:
            java.lang.String r8 = r6.toString()     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            java.lang.String r7 = r13.normalizeNewLines(r8)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            android.app.Activity r8 = r13.activity     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            com.google.appinventor.components.runtime.File$5 r9 = new com.google.appinventor.components.runtime.File$5     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r9.<init>(r7)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            r8.runOnUiThread(r9)     // Catch:{ FileNotFoundException -> 0x001e, IOException -> 0x0085, all -> 0x0082 }
            if (r3 == 0) goto L_0x008a
            r3.close()     // Catch:{ IOException -> 0x0055 }
            r2 = r3
            goto L_0x003b
        L_0x0055:
            r8 = move-exception
            r2 = r3
            goto L_0x003b
        L_0x0058:
            r1 = move-exception
        L_0x0059:
            java.lang.String r8 = "FileComponent"
            java.lang.String r9 = "IOException"
            android.util.Log.e(r8, r9, r1)     // Catch:{ all -> 0x0077 }
            com.google.appinventor.components.runtime.Form r8 = r13.form     // Catch:{ all -> 0x0077 }
            java.lang.String r9 = "ReadFrom"
            r10 = 2102(0x836, float:2.946E-42)
            r11 = 1
            java.lang.Object[] r11 = new java.lang.Object[r11]     // Catch:{ all -> 0x0077 }
            r12 = 0
            r11[r12] = r15     // Catch:{ all -> 0x0077 }
            r8.dispatchErrorOccurredEvent(r13, r9, r10, r11)     // Catch:{ all -> 0x0077 }
            if (r2 == 0) goto L_0x003b
            r2.close()     // Catch:{ IOException -> 0x0075 }
            goto L_0x003b
        L_0x0075:
            r8 = move-exception
            goto L_0x003b
        L_0x0077:
            r8 = move-exception
        L_0x0078:
            if (r2 == 0) goto L_0x007d
            r2.close()     // Catch:{ IOException -> 0x0080 }
        L_0x007d:
            throw r8
        L_0x007e:
            r8 = move-exception
            goto L_0x003b
        L_0x0080:
            r9 = move-exception
            goto L_0x007d
        L_0x0082:
            r8 = move-exception
            r2 = r3
            goto L_0x0078
        L_0x0085:
            r1 = move-exception
            r2 = r3
            goto L_0x0059
        L_0x0088:
            r1 = move-exception
            goto L_0x0020
        L_0x008a:
            r2 = r3
            goto L_0x003b
        */ throw new UnsupportedOperationException ( "Method not decompiled: com.google.appinventor.components.runtime.File.AsyncRead(java.io.InputStream, java.lang.String):void" ) ; }
Code decompiled incorrectly, please refer to instructions dump.
Code decompiled incorrectly please refer to instructions dump .