Files
rr3-apk/smali_classes4/com/mbridge/msdk/foundation/same/c/a.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
2026-02-18 16:13:44 -08:00

153 lines
3.2 KiB
Smali

.class public final Lcom/mbridge/msdk/foundation/same/c/a;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static a(Landroid/graphics/Bitmap;)Ljava/io/InputStream;
.locals 4
const/4 v0, 0x0
.line 26
:try_start_0
new-instance v1, Ljava/io/ByteArrayOutputStream;
invoke-direct {v1}, Ljava/io/ByteArrayOutputStream;-><init>()V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_2
.catchall {:try_start_0 .. :try_end_0} :catchall_1
.line 27
:try_start_1
sget-object v2, Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat;
const/16 v3, 0x64
invoke-virtual {p0, v2, v3, v1}, Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z
.line 28
new-instance p0, Ljava/io/ByteArrayInputStream;
invoke-virtual {v1}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
move-result-object v2
invoke-direct {p0, v2}, Ljava/io/ByteArrayInputStream;-><init>([B)V
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 36
:try_start_2
invoke-virtual {v1}, Ljava/io/ByteArrayOutputStream;->close()V
:try_end_2
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
goto :goto_0
:catch_0
move-exception v0
.line 38
sget-boolean v1, Lcom/mbridge/msdk/MBridgeConstans;->DEBUG:Z
if-eqz v1, :cond_0
.line 39
invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V
:cond_0
:goto_0
move-object v0, p0
goto :goto_2
:catchall_0
move-exception p0
move-object v0, v1
goto :goto_3
:catch_1
move-exception p0
goto :goto_1
:catchall_1
move-exception p0
goto :goto_3
:catch_2
move-exception p0
move-object v1, v0
.line 30
:goto_1
:try_start_3
sget-boolean v2, Lcom/mbridge/msdk/MBridgeConstans;->DEBUG:Z
if-eqz v2, :cond_1
.line 31
invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V
:try_end_3
.catchall {:try_start_3 .. :try_end_3} :catchall_0
:cond_1
if-eqz v1, :cond_2
.line 36
:try_start_4
invoke-virtual {v1}, Ljava/io/ByteArrayOutputStream;->close()V
:try_end_4
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_3
goto :goto_2
:catch_3
move-exception p0
.line 38
sget-boolean v1, Lcom/mbridge/msdk/MBridgeConstans;->DEBUG:Z
if-eqz v1, :cond_2
.line 39
invoke-virtual {p0}, Ljava/lang/Throwable;->printStackTrace()V
:cond_2
:goto_2
return-object v0
:goto_3
if-eqz v0, :cond_3
.line 36
:try_start_5
invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->close()V
:try_end_5
.catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_4
goto :goto_4
:catch_4
move-exception v0
.line 38
sget-boolean v1, Lcom/mbridge/msdk/MBridgeConstans;->DEBUG:Z
if-eqz v1, :cond_3
.line 39
invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V
.line 43
:cond_3
:goto_4
throw p0
.end method