Files
rr3-apk/smali_classes2/com/fyber/inneractive/sdk/protobuf/q1$b.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

366 lines
6.5 KiB
Smali

.class public abstract Lcom/fyber/inneractive/sdk/protobuf/q1$b;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/protobuf/q1;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "b"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Ljava/nio/ByteBuffer;II)Ljava/lang/String;
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/fyber/inneractive/sdk/protobuf/z;
}
.end annotation
or-int v0, p1, p2
.line 1
invoke-virtual {p0}, Ljava/nio/Buffer;->limit()I
move-result v1
sub-int/2addr v1, p1
sub-int/2addr v1, p2
or-int/2addr v0, v1
if-ltz v0, :cond_b
add-int v0, p1, p2
.line 11
new-array p2, p2, [C
const/4 v7, 0x0
move v1, v7
:goto_0
if-ge p1, v0, :cond_1
.line 17
invoke-virtual {p0, p1}, Ljava/nio/ByteBuffer;->get(I)B
move-result v2
.line 18
invoke-static {v2}, Lcom/fyber/inneractive/sdk/protobuf/q1$a;->a(B)Z
move-result v3
if-nez v3, :cond_0
goto :goto_1
:cond_0
add-int/lit8 p1, p1, 0x1
add-int/lit8 v3, v1, 0x1
int-to-char v2, v2
.line 19
aput-char v2, p2, v1
move v1, v3
goto :goto_0
:cond_1
:goto_1
move v8, v1
:cond_2
:goto_2
if-ge p1, v0, :cond_a
add-int/lit8 v1, p1, 0x1
.line 20
invoke-virtual {p0, p1}, Ljava/nio/ByteBuffer;->get(I)B
move-result v2
.line 21
invoke-static {v2}, Lcom/fyber/inneractive/sdk/protobuf/q1$a;->a(B)Z
move-result v3
if-eqz v3, :cond_4
add-int/lit8 p1, v8, 0x1
int-to-char v2, v2
.line 22
aput-char v2, p2, v8
move v8, p1
move p1, v1
:goto_3
if-ge p1, v0, :cond_2
.line 23
invoke-virtual {p0, p1}, Ljava/nio/ByteBuffer;->get(I)B
move-result v1
.line 24
invoke-static {v1}, Lcom/fyber/inneractive/sdk/protobuf/q1$a;->a(B)Z
move-result v2
if-nez v2, :cond_3
goto :goto_2
:cond_3
add-int/lit8 p1, p1, 0x1
add-int/lit8 v2, v8, 0x1
int-to-char v1, v1
.line 25
aput-char v1, p2, v8
move v8, v2
goto :goto_3
.line 26
:cond_4
invoke-static {v2}, Lcom/fyber/inneractive/sdk/protobuf/q1$a;->b(B)Z
move-result v3
if-eqz v3, :cond_6
if-ge v1, v0, :cond_5
add-int/lit8 p1, p1, 0x2
.line 31
invoke-virtual {p0, v1}, Ljava/nio/ByteBuffer;->get(I)B
move-result v1
add-int/lit8 v3, v8, 0x1
.line 32
invoke-static {v2, v1, p2, v8}, Lcom/fyber/inneractive/sdk/protobuf/q1$a;->a(BB[CI)V
move v8, v3
goto :goto_2
.line 33
:cond_5
invoke-static {}, Lcom/fyber/inneractive/sdk/protobuf/z;->c()Lcom/fyber/inneractive/sdk/protobuf/z;
move-result-object p0
throw p0
.line 37
:cond_6
invoke-static {v2}, Lcom/fyber/inneractive/sdk/protobuf/q1$a;->c(B)Z
move-result v3
if-eqz v3, :cond_8
add-int/lit8 v3, v0, -0x1
if-ge v1, v3, :cond_7
add-int/lit8 v3, p1, 0x2
.line 43
invoke-virtual {p0, v1}, Ljava/nio/ByteBuffer;->get(I)B
move-result v1
add-int/lit8 p1, p1, 0x3
.line 44
invoke-virtual {p0, v3}, Ljava/nio/ByteBuffer;->get(I)B
move-result v3
add-int/lit8 v4, v8, 0x1
.line 45
invoke-static {v2, v1, v3, p2, v8}, Lcom/fyber/inneractive/sdk/protobuf/q1$a;->a(BBB[CI)V
move v8, v4
goto :goto_2
.line 46
:cond_7
invoke-static {}, Lcom/fyber/inneractive/sdk/protobuf/z;->c()Lcom/fyber/inneractive/sdk/protobuf/z;
move-result-object p0
throw p0
:cond_8
add-int/lit8 v3, v0, -0x2
if-ge v1, v3, :cond_9
add-int/lit8 v3, p1, 0x2
.line 60
invoke-virtual {p0, v1}, Ljava/nio/ByteBuffer;->get(I)B
move-result v4
add-int/lit8 v1, p1, 0x3
.line 61
invoke-virtual {p0, v3}, Ljava/nio/ByteBuffer;->get(I)B
move-result v3
add-int/lit8 p1, p1, 0x4
.line 62
invoke-virtual {p0, v1}, Ljava/nio/ByteBuffer;->get(I)B
move-result v5
move v1, v2
move v2, v4
move v4, v5
move-object v5, p2
move v6, v8
.line 63
invoke-static/range {v1 .. v6}, Lcom/fyber/inneractive/sdk/protobuf/q1$a;->a(BBBB[CI)V
add-int/lit8 v8, v8, 0x2
goto/16 :goto_2
.line 64
:cond_9
invoke-static {}, Lcom/fyber/inneractive/sdk/protobuf/z;->c()Lcom/fyber/inneractive/sdk/protobuf/z;
move-result-object p0
throw p0
.line 78
:cond_a
new-instance p0, Ljava/lang/String;
invoke-direct {p0, p2, v7, v8}, Ljava/lang/String;-><init>([CII)V
return-object p0
.line 79
:cond_b
new-instance v0, Ljava/lang/ArrayIndexOutOfBoundsException;
.line 80
invoke-virtual {p0}, Ljava/nio/Buffer;->limit()I
move-result p0
invoke-static {p0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p0
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
filled-new-array {p0, p1, p2}, [Ljava/lang/Object;
move-result-object p0
const-string p1, "buffer limit=%d, index=%d, limit=%d"
invoke-static {p1, p0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object p0
invoke-direct {v0, p0}, Ljava/lang/ArrayIndexOutOfBoundsException;-><init>(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public abstract a(III[B)I
.end method
.method public abstract a(Ljava/lang/CharSequence;[BII)I
.end method
.method public abstract a([BII)Ljava/lang/String;
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/fyber/inneractive/sdk/protobuf/z;
}
.end annotation
.end method
.method public abstract b(Ljava/nio/ByteBuffer;II)Ljava/lang/String;
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/fyber/inneractive/sdk/protobuf/z;
}
.end annotation
.end method
.method public final b([BII)Z
.locals 1
const/4 v0, 0x0
.line 1
invoke-virtual {p0, v0, p2, p3, p1}, Lcom/fyber/inneractive/sdk/protobuf/q1$b;->a(III[B)I
move-result p1
if-nez p1, :cond_0
const/4 v0, 0x1
:cond_0
return v0
.end method