- 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
459 lines
7.7 KiB
Smali
459 lines
7.7 KiB
Smali
.class public abstract Lcom/fyber/inneractive/sdk/protobuf/l$a;
|
|
.super Lcom/fyber/inneractive/sdk/protobuf/l;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/fyber/inneractive/sdk/protobuf/l;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x409
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final d:[B
|
|
|
|
.field public final e:I
|
|
|
|
.field public f:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(I)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
invoke-direct {p0, v0}, Lcom/fyber/inneractive/sdk/protobuf/l;-><init>(I)V
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
const/16 v0, 0x14
|
|
|
|
.line 9
|
|
invoke-static {p1, v0}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p1
|
|
|
|
new-array v0, p1, [B
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iput p1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->e:I
|
|
|
|
return-void
|
|
|
|
.line 11
|
|
:cond_0
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "bufferSize must be >= 0"
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final e(J)V
|
|
.locals 9
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
const-wide/16 v3, 0xff
|
|
|
|
and-long v5, p1, v3
|
|
|
|
long-to-int v5, v5
|
|
|
|
int-to-byte v5, v5
|
|
|
|
.line 1
|
|
aput-byte v5, v0, v1
|
|
|
|
add-int/lit8 v5, v1, 0x2
|
|
|
|
const/16 v6, 0x8
|
|
|
|
shr-long v7, p1, v6
|
|
|
|
and-long/2addr v7, v3
|
|
|
|
long-to-int v7, v7
|
|
|
|
int-to-byte v7, v7
|
|
|
|
.line 2
|
|
aput-byte v7, v0, v2
|
|
|
|
add-int/lit8 v2, v1, 0x3
|
|
|
|
const/16 v7, 0x10
|
|
|
|
shr-long v7, p1, v7
|
|
|
|
and-long/2addr v7, v3
|
|
|
|
long-to-int v7, v7
|
|
|
|
int-to-byte v7, v7
|
|
|
|
.line 3
|
|
aput-byte v7, v0, v5
|
|
|
|
add-int/lit8 v5, v1, 0x4
|
|
|
|
const/16 v7, 0x18
|
|
|
|
shr-long v7, p1, v7
|
|
|
|
and-long/2addr v3, v7
|
|
|
|
long-to-int v3, v3
|
|
|
|
int-to-byte v3, v3
|
|
|
|
.line 4
|
|
aput-byte v3, v0, v2
|
|
|
|
add-int/lit8 v2, v1, 0x5
|
|
|
|
const/16 v3, 0x20
|
|
|
|
shr-long v3, p1, v3
|
|
|
|
long-to-int v3, v3
|
|
|
|
and-int/lit16 v3, v3, 0xff
|
|
|
|
int-to-byte v3, v3
|
|
|
|
.line 5
|
|
aput-byte v3, v0, v5
|
|
|
|
add-int/lit8 v3, v1, 0x6
|
|
|
|
const/16 v4, 0x28
|
|
|
|
shr-long v4, p1, v4
|
|
|
|
long-to-int v4, v4
|
|
|
|
and-int/lit16 v4, v4, 0xff
|
|
|
|
int-to-byte v4, v4
|
|
|
|
.line 6
|
|
aput-byte v4, v0, v2
|
|
|
|
add-int/lit8 v2, v1, 0x7
|
|
|
|
const/16 v4, 0x30
|
|
|
|
shr-long v4, p1, v4
|
|
|
|
long-to-int v4, v4
|
|
|
|
and-int/lit16 v4, v4, 0xff
|
|
|
|
int-to-byte v4, v4
|
|
|
|
.line 7
|
|
aput-byte v4, v0, v3
|
|
|
|
add-int/2addr v1, v6
|
|
|
|
iput v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
const/16 v1, 0x38
|
|
|
|
shr-long/2addr p1, v1
|
|
|
|
long-to-int p1, p1
|
|
|
|
and-int/lit16 p1, p1, 0xff
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 8
|
|
aput-byte p1, v0, v2
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final f(J)V
|
|
.locals 9
|
|
|
|
sget-boolean v0, Lcom/fyber/inneractive/sdk/protobuf/l;->c:Z
|
|
|
|
const/4 v1, 0x7
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
const-wide/16 v4, -0x80
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
:goto_0
|
|
and-long v6, p1, v4
|
|
|
|
cmp-long v0, v6, v2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
long-to-int p1, p1
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 2
|
|
invoke-static {v0, v1, v2, p1}, Lcom/fyber/inneractive/sdk/protobuf/p1;->a([BJB)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v6, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v7, v6, 0x1
|
|
|
|
iput v7, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
int-to-long v6, v6
|
|
|
|
long-to-int v8, p1
|
|
|
|
and-int/lit8 v8, v8, 0x7f
|
|
|
|
or-int/lit16 v8, v8, 0x80
|
|
|
|
int-to-byte v8, v8
|
|
|
|
.line 5
|
|
invoke-static {v0, v6, v7, v8}, Lcom/fyber/inneractive/sdk/protobuf/p1;->a([BJB)V
|
|
|
|
ushr-long/2addr p1, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
:goto_1
|
|
and-long v6, p1, v4
|
|
|
|
cmp-long v0, v6, v2
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
long-to-int p1, p1
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 14
|
|
aput-byte p1, v0, v1
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v6, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v7, v6, 0x1
|
|
|
|
iput v7, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
long-to-int v7, p1
|
|
|
|
and-int/lit8 v7, v7, 0x7f
|
|
|
|
or-int/lit16 v7, v7, 0x80
|
|
|
|
int-to-byte v7, v7
|
|
|
|
.line 18
|
|
aput-byte v7, v0, v6
|
|
|
|
ushr-long/2addr p1, v1
|
|
|
|
goto :goto_1
|
|
.end method
|
|
|
|
.method public final j(I)V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
and-int/lit16 v3, p1, 0xff
|
|
|
|
int-to-byte v3, v3
|
|
|
|
.line 1
|
|
aput-byte v3, v0, v1
|
|
|
|
add-int/lit8 v3, v1, 0x2
|
|
|
|
shr-int/lit8 v4, p1, 0x8
|
|
|
|
and-int/lit16 v4, v4, 0xff
|
|
|
|
int-to-byte v4, v4
|
|
|
|
.line 2
|
|
aput-byte v4, v0, v2
|
|
|
|
add-int/lit8 v2, v1, 0x3
|
|
|
|
shr-int/lit8 v4, p1, 0x10
|
|
|
|
and-int/lit16 v4, v4, 0xff
|
|
|
|
int-to-byte v4, v4
|
|
|
|
.line 3
|
|
aput-byte v4, v0, v3
|
|
|
|
add-int/lit8 v1, v1, 0x4
|
|
|
|
iput v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
shr-int/lit8 p1, p1, 0x18
|
|
|
|
and-int/lit16 p1, p1, 0xff
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 4
|
|
aput-byte p1, v0, v2
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final k(I)V
|
|
.locals 4
|
|
|
|
sget-boolean v0, Lcom/fyber/inneractive/sdk/protobuf/l;->c:Z
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
:goto_0
|
|
and-int/lit8 v0, p1, -0x80
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 2
|
|
invoke-static {v0, v1, v2, p1}, Lcom/fyber/inneractive/sdk/protobuf/p1;->a([BJB)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
and-int/lit8 v3, p1, 0x7f
|
|
|
|
or-int/lit16 v3, v3, 0x80
|
|
|
|
int-to-byte v3, v3
|
|
|
|
.line 5
|
|
invoke-static {v0, v1, v2, v3}, Lcom/fyber/inneractive/sdk/protobuf/p1;->a([BJB)V
|
|
|
|
ushr-int/lit8 p1, p1, 0x7
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
:goto_1
|
|
and-int/lit8 v0, p1, -0x80
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 14
|
|
aput-byte p1, v0, v1
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->d:[B
|
|
|
|
iget v1, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Lcom/fyber/inneractive/sdk/protobuf/l$a;->f:I
|
|
|
|
and-int/lit8 v2, p1, 0x7f
|
|
|
|
or-int/lit16 v2, v2, 0x80
|
|
|
|
int-to-byte v2, v2
|
|
|
|
.line 18
|
|
aput-byte v2, v0, v1
|
|
|
|
ushr-int/lit8 p1, p1, 0x7
|
|
|
|
goto :goto_1
|
|
.end method
|