- 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
224 lines
5.6 KiB
Smali
224 lines
5.6 KiB
Smali
.class public final Lcom/mbridge/msdk/foundation/same/net/e;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/mbridge/msdk/foundation/same/net/e$a;,
|
|
Lcom/mbridge/msdk/foundation/same/net/e$b;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static volatile a:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
|
|
# instance fields
|
|
.field private b:Ljava/util/concurrent/ThreadPoolExecutor;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
.line 36
|
|
new-instance v0, Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-direct {v0, v1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>(I)V
|
|
|
|
sput-object v0, Lcom/mbridge/msdk/foundation/same/net/e;->a:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 10
|
|
|
|
.line 47
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 38
|
|
new-instance v9, Ljava/util/concurrent/ThreadPoolExecutor;
|
|
|
|
const/4 v1, 0x5
|
|
|
|
const/4 v2, 0x5
|
|
|
|
const-wide/16 v3, 0x5
|
|
|
|
sget-object v5, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
new-instance v6, Ljava/util/concurrent/LinkedBlockingQueue;
|
|
|
|
invoke-direct {v6}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V
|
|
|
|
new-instance v7, Lcom/mbridge/msdk/foundation/same/net/e$1;
|
|
|
|
invoke-direct {v7, p0}, Lcom/mbridge/msdk/foundation/same/net/e$1;-><init>(Lcom/mbridge/msdk/foundation/same/net/e;)V
|
|
|
|
new-instance v8, Ljava/util/concurrent/ThreadPoolExecutor$DiscardPolicy;
|
|
|
|
invoke-direct {v8}, Ljava/util/concurrent/ThreadPoolExecutor$DiscardPolicy;-><init>()V
|
|
|
|
move-object v0, v9
|
|
|
|
invoke-direct/range {v0 .. v8}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;Ljava/util/concurrent/RejectedExecutionHandler;)V
|
|
|
|
iput-object v9, p0, Lcom/mbridge/msdk/foundation/same/net/e;->b:Ljava/util/concurrent/ThreadPoolExecutor;
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 49
|
|
invoke-virtual {v9, v0}, Ljava/util/concurrent/ThreadPoolExecutor;->allowCoreThreadTimeOut(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lcom/mbridge/msdk/foundation/same/net/e$1;)V
|
|
.locals 0
|
|
|
|
.line 21
|
|
invoke-direct {p0}, Lcom/mbridge/msdk/foundation/same/net/e;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a()Lcom/mbridge/msdk/foundation/same/net/e;
|
|
.locals 1
|
|
|
|
.line 54
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/same/net/e$b;->a()Lcom/mbridge/msdk/foundation/same/net/e;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static synthetic b()Ljava/util/concurrent/atomic/AtomicInteger;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcom/mbridge/msdk/foundation/same/net/e;->a:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a([B)Ljava/lang/String;
|
|
.locals 6
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 70
|
|
array-length v0, p1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 74
|
|
:cond_0
|
|
new-instance v0, Ljava/io/ByteArrayOutputStream;
|
|
|
|
invoke-direct {v0}, Ljava/io/ByteArrayOutputStream;-><init>()V
|
|
|
|
.line 75
|
|
new-instance v1, Ljava/io/ByteArrayInputStream;
|
|
|
|
invoke-direct {v1, p1}, Ljava/io/ByteArrayInputStream;-><init>([B)V
|
|
|
|
.line 76
|
|
new-instance p1, Ljava/util/zip/GZIPInputStream;
|
|
|
|
invoke-direct {p1, v1}, Ljava/util/zip/GZIPInputStream;-><init>(Ljava/io/InputStream;)V
|
|
|
|
const/16 v2, 0x400
|
|
|
|
new-array v3, v2, [B
|
|
|
|
:goto_0
|
|
const/4 v4, 0x0
|
|
|
|
.line 79
|
|
invoke-virtual {p1, v3, v4, v2}, Ljava/util/zip/GZIPInputStream;->read([BII)I
|
|
|
|
move-result v5
|
|
|
|
if-lez v5, :cond_1
|
|
|
|
.line 80
|
|
invoke-virtual {v0, v3, v4, v5}, Ljava/io/ByteArrayOutputStream;->write([BII)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 82
|
|
:cond_1
|
|
invoke-virtual {p1}, Ljava/util/zip/GZIPInputStream;->close()V
|
|
|
|
.line 83
|
|
invoke-virtual {v1}, Ljava/io/ByteArrayInputStream;->close()V
|
|
|
|
.line 84
|
|
invoke-virtual {v0}, Ljava/io/OutputStream;->flush()V
|
|
|
|
.line 85
|
|
invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->close()V
|
|
|
|
.line 87
|
|
invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
|
|
:cond_2
|
|
:goto_1
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;ILjava/lang/String;ZLcom/mbridge/msdk/foundation/same/net/b;)V
|
|
.locals 8
|
|
|
|
.line 95
|
|
new-instance v7, Lcom/mbridge/msdk/foundation/same/net/e$a;
|
|
|
|
move-object v0, v7
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v2, p1
|
|
|
|
move v3, p2
|
|
|
|
move-object v4, p3
|
|
|
|
move v5, p4
|
|
|
|
move-object v6, p5
|
|
|
|
invoke-direct/range {v0 .. v6}, Lcom/mbridge/msdk/foundation/same/net/e$a;-><init>(Lcom/mbridge/msdk/foundation/same/net/e;Ljava/lang/String;ILjava/lang/String;ZLcom/mbridge/msdk/foundation/same/net/b;)V
|
|
|
|
iget-object p1, p0, Lcom/mbridge/msdk/foundation/same/net/e;->b:Ljava/util/concurrent/ThreadPoolExecutor;
|
|
|
|
.line 96
|
|
new-instance p2, Lcom/mbridge/msdk/foundation/same/net/e$2;
|
|
|
|
invoke-direct {p2, p0, v7}, Lcom/mbridge/msdk/foundation/same/net/e$2;-><init>(Lcom/mbridge/msdk/foundation/same/net/e;Lcom/mbridge/msdk/foundation/same/net/e$a;)V
|
|
|
|
invoke-virtual {p1, p2}, Ljava/util/concurrent/ThreadPoolExecutor;->execute(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|