- 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
133 lines
3.3 KiB
Smali
133 lines
3.3 KiB
Smali
.class public final Lcom/applovin/impl/y7;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private final a:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.field private final b:Ljava/io/DataOutputStream;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 31
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 32
|
|
new-instance v0, Ljava/io/ByteArrayOutputStream;
|
|
|
|
const/16 v1, 0x200
|
|
|
|
invoke-direct {v0, v1}, Ljava/io/ByteArrayOutputStream;-><init>(I)V
|
|
|
|
iput-object v0, p0, Lcom/applovin/impl/y7;->a:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.line 33
|
|
new-instance v1, Ljava/io/DataOutputStream;
|
|
|
|
invoke-direct {v1, v0}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V
|
|
|
|
iput-object v1, p0, Lcom/applovin/impl/y7;->b:Ljava/io/DataOutputStream;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static a(Ljava/io/DataOutputStream;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 118
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeBytes(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 119
|
|
invoke-virtual {p0, p1}, Ljava/io/DataOutputStream;->writeByte(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Lcom/applovin/impl/w7;)[B
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/applovin/impl/y7;->a:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.line 44
|
|
invoke-virtual {v0}, Ljava/io/ByteArrayOutputStream;->reset()V
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/applovin/impl/y7;->b:Ljava/io/DataOutputStream;
|
|
|
|
.line 46
|
|
iget-object v1, p1, Lcom/applovin/impl/w7;->a:Ljava/lang/String;
|
|
|
|
invoke-static {v0, v1}, Lcom/applovin/impl/y7;->a(Ljava/io/DataOutputStream;Ljava/lang/String;)V
|
|
|
|
.line 47
|
|
iget-object v0, p1, Lcom/applovin/impl/w7;->b:Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v0, ""
|
|
|
|
:goto_0
|
|
iget-object v1, p0, Lcom/applovin/impl/y7;->b:Ljava/io/DataOutputStream;
|
|
|
|
.line 48
|
|
invoke-static {v1, v0}, Lcom/applovin/impl/y7;->a(Ljava/io/DataOutputStream;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Lcom/applovin/impl/y7;->b:Ljava/io/DataOutputStream;
|
|
|
|
.line 49
|
|
iget-wide v1, p1, Lcom/applovin/impl/w7;->c:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/io/DataOutputStream;->writeLong(J)V
|
|
|
|
iget-object v0, p0, Lcom/applovin/impl/y7;->b:Ljava/io/DataOutputStream;
|
|
|
|
.line 50
|
|
iget-wide v1, p1, Lcom/applovin/impl/w7;->d:J
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/io/DataOutputStream;->writeLong(J)V
|
|
|
|
iget-object v0, p0, Lcom/applovin/impl/y7;->b:Ljava/io/DataOutputStream;
|
|
|
|
.line 51
|
|
iget-object p1, p1, Lcom/applovin/impl/w7;->f:[B
|
|
|
|
invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write([B)V
|
|
|
|
iget-object p1, p0, Lcom/applovin/impl/y7;->b:Ljava/io/DataOutputStream;
|
|
|
|
.line 52
|
|
invoke-virtual {p1}, Ljava/io/DataOutputStream;->flush()V
|
|
|
|
iget-object p1, p0, Lcom/applovin/impl/y7;->a:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.line 53
|
|
invoke-virtual {p1}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
|
|
|
|
move-result-object p1
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p1
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 56
|
|
new-instance v0, Ljava/lang/RuntimeException;
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|