- 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
275 lines
4.7 KiB
Smali
275 lines
4.7 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/protobuf/q1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/fyber/inneractive/sdk/protobuf/q1$b;,
|
|
Lcom/fyber/inneractive/sdk/protobuf/q1$d;,
|
|
Lcom/fyber/inneractive/sdk/protobuf/q1$e;,
|
|
Lcom/fyber/inneractive/sdk/protobuf/q1$c;,
|
|
Lcom/fyber/inneractive/sdk/protobuf/q1$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Lcom/fyber/inneractive/sdk/protobuf/q1$b;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-boolean v0, Lcom/fyber/inneractive/sdk/protobuf/p1;->e:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 2
|
|
sget-boolean v0, Lcom/fyber/inneractive/sdk/protobuf/p1;->d:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 3
|
|
invoke-static {}, Lcom/fyber/inneractive/sdk/protobuf/d;->a()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 4
|
|
new-instance v0, Lcom/fyber/inneractive/sdk/protobuf/q1$e;
|
|
|
|
invoke-direct {v0}, Lcom/fyber/inneractive/sdk/protobuf/q1$e;-><init>()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 5
|
|
:cond_0
|
|
new-instance v0, Lcom/fyber/inneractive/sdk/protobuf/q1$c;
|
|
|
|
invoke-direct {v0}, Lcom/fyber/inneractive/sdk/protobuf/q1$c;-><init>()V
|
|
|
|
:goto_0
|
|
sput-object v0, Lcom/fyber/inneractive/sdk/protobuf/q1;->a:Lcom/fyber/inneractive/sdk/protobuf/q1$b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static a(II)I
|
|
.locals 1
|
|
|
|
.line 0
|
|
const/16 v0, -0xc
|
|
|
|
if-gt p0, v0, :cond_1
|
|
|
|
const/16 v0, -0x41
|
|
|
|
if-le p1, v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
shl-int/lit8 p1, p1, 0x8
|
|
|
|
xor-int/2addr p0, p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, -0x1
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(III)I
|
|
.locals 1
|
|
|
|
.line 0
|
|
const/16 v0, -0xc
|
|
|
|
if-gt p0, v0, :cond_1
|
|
|
|
const/16 v0, -0x41
|
|
|
|
if-gt p1, v0, :cond_1
|
|
|
|
if-le p2, v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
shl-int/lit8 p1, p1, 0x8
|
|
|
|
xor-int/2addr p0, p1
|
|
|
|
shl-int/lit8 p1, p2, 0x10
|
|
|
|
xor-int/2addr p0, p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
const/4 p0, -0x1
|
|
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(Ljava/lang/CharSequence;)I
|
|
.locals 8
|
|
|
|
.line 1
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move v2, v1
|
|
|
|
:goto_0
|
|
if-ge v2, v0, :cond_0
|
|
|
|
.line 6
|
|
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v3
|
|
|
|
const/16 v4, 0x80
|
|
|
|
if-ge v3, v4, :cond_0
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move v3, v0
|
|
|
|
:goto_1
|
|
if-ge v2, v0, :cond_6
|
|
|
|
.line 12
|
|
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v4
|
|
|
|
const/16 v5, 0x800
|
|
|
|
if-ge v4, v5, :cond_1
|
|
|
|
rsub-int/lit8 v4, v4, 0x7f
|
|
|
|
ushr-int/lit8 v4, v4, 0x1f
|
|
|
|
add-int/2addr v3, v4
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
.line 13
|
|
:cond_1
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v4
|
|
|
|
:goto_2
|
|
if-ge v2, v4, :cond_5
|
|
|
|
.line 16
|
|
invoke-interface {p0, v2}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v6
|
|
|
|
if-ge v6, v5, :cond_2
|
|
|
|
rsub-int/lit8 v6, v6, 0x7f
|
|
|
|
ushr-int/lit8 v6, v6, 0x1f
|
|
|
|
add-int/2addr v1, v6
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
add-int/lit8 v1, v1, 0x2
|
|
|
|
const v7, 0xd800
|
|
|
|
if-gt v7, v6, :cond_4
|
|
|
|
const v7, 0xdfff
|
|
|
|
if-gt v6, v7, :cond_4
|
|
|
|
.line 24
|
|
invoke-static {p0, v2}, Ljava/lang/Character;->codePointAt(Ljava/lang/CharSequence;I)I
|
|
|
|
move-result v6
|
|
|
|
const/high16 v7, 0x10000
|
|
|
|
if-lt v6, v7, :cond_3
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
.line 26
|
|
:cond_3
|
|
new-instance p0, Lcom/fyber/inneractive/sdk/protobuf/q1$d;
|
|
|
|
invoke-direct {p0, v2, v4}, Lcom/fyber/inneractive/sdk/protobuf/q1$d;-><init>(II)V
|
|
|
|
throw p0
|
|
|
|
:cond_4
|
|
:goto_3
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_5
|
|
add-int/2addr v3, v1
|
|
|
|
:cond_6
|
|
if-lt v3, v0, :cond_7
|
|
|
|
return v3
|
|
|
|
.line 27
|
|
:cond_7
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, "UTF-8 length does not fit in int: "
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
|
|
|
int-to-long v1, v3
|
|
|
|
const-wide v3, 0x100000000L
|
|
|
|
add-long/2addr v1, v3
|
|
|
|
invoke-virtual {v0, v1, v2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|