Files
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

752 lines
21 KiB
Smali

.class public final Lcom/google/protobuf/Option;
.super Lcom/google/protobuf/GeneratedMessageLite;
.source "SourceFile"
# interfaces
.implements Lcom/google/protobuf/OptionOrBuilder;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/protobuf/Option$Builder;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/protobuf/GeneratedMessageLite<",
"Lcom/google/protobuf/Option;",
"Lcom/google/protobuf/Option$Builder;",
">;",
"Lcom/google/protobuf/OptionOrBuilder;"
}
.end annotation
# static fields
.field private static final DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.field public static final NAME_FIELD_NUMBER:I = 0x1
.field private static volatile PARSER:Lcom/google/protobuf/Parser; = null
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/protobuf/Parser<",
"Lcom/google/protobuf/Option;",
">;"
}
.end annotation
.end field
.field public static final VALUE_FIELD_NUMBER:I = 0x2
# instance fields
.field private name_:Ljava/lang/String;
.field private value_:Lcom/google/protobuf/Any;
# direct methods
.method static constructor <clinit>()V
.locals 2
.line 515
new-instance v0, Lcom/google/protobuf/Option;
invoke-direct {v0}, Lcom/google/protobuf/Option;-><init>()V
sput-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
const-class v1, Lcom/google/protobuf/Option;
.line 519
invoke-static {v1, v0}, Lcom/google/protobuf/GeneratedMessageLite;->registerDefaultInstance(Ljava/lang/Class;Lcom/google/protobuf/GeneratedMessageLite;)V
return-void
.end method
.method private constructor <init>()V
.locals 1
.line 19
invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;-><init>()V
const-string v0, ""
iput-object v0, p0, Lcom/google/protobuf/Option;->name_:Ljava/lang/String;
return-void
.end method
.method public static synthetic access$000()Lcom/google/protobuf/Option;
.locals 1
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
return-object v0
.end method
.method public static synthetic access$100(Lcom/google/protobuf/Option;Ljava/lang/String;)V
.locals 0
.line 14
invoke-direct {p0, p1}, Lcom/google/protobuf/Option;->setName(Ljava/lang/String;)V
return-void
.end method
.method public static synthetic access$200(Lcom/google/protobuf/Option;)V
.locals 0
.line 14
invoke-direct {p0}, Lcom/google/protobuf/Option;->clearName()V
return-void
.end method
.method public static synthetic access$300(Lcom/google/protobuf/Option;Lcom/google/protobuf/ByteString;)V
.locals 0
.line 14
invoke-direct {p0, p1}, Lcom/google/protobuf/Option;->setNameBytes(Lcom/google/protobuf/ByteString;)V
return-void
.end method
.method public static synthetic access$400(Lcom/google/protobuf/Option;Lcom/google/protobuf/Any;)V
.locals 0
.line 14
invoke-direct {p0, p1}, Lcom/google/protobuf/Option;->setValue(Lcom/google/protobuf/Any;)V
return-void
.end method
.method public static synthetic access$500(Lcom/google/protobuf/Option;Lcom/google/protobuf/Any;)V
.locals 0
.line 14
invoke-direct {p0, p1}, Lcom/google/protobuf/Option;->mergeValue(Lcom/google/protobuf/Any;)V
return-void
.end method
.method public static synthetic access$600(Lcom/google/protobuf/Option;)V
.locals 0
.line 14
invoke-direct {p0}, Lcom/google/protobuf/Option;->clearValue()V
return-void
.end method
.method private clearName()V
.locals 1
.line 84
invoke-static {}, Lcom/google/protobuf/Option;->getDefaultInstance()Lcom/google/protobuf/Option;
move-result-object v0
invoke-virtual {v0}, Lcom/google/protobuf/Option;->getName()Ljava/lang/String;
move-result-object v0
iput-object v0, p0, Lcom/google/protobuf/Option;->name_:Ljava/lang/String;
return-void
.end method
.method private clearValue()V
.locals 1
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/protobuf/Option;->value_:Lcom/google/protobuf/Any;
return-void
.end method
.method public static getDefaultInstance()Lcom/google/protobuf/Option;
.locals 1
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
return-object v0
.end method
.method private mergeValue(Lcom/google/protobuf/Any;)V
.locals 2
.line 161
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iget-object v0, p0, Lcom/google/protobuf/Option;->value_:Lcom/google/protobuf/Any;
if-eqz v0, :cond_0
.line 163
invoke-static {}, Lcom/google/protobuf/Any;->getDefaultInstance()Lcom/google/protobuf/Any;
move-result-object v1
if-eq v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Option;->value_:Lcom/google/protobuf/Any;
.line 165
invoke-static {v0}, Lcom/google/protobuf/Any;->newBuilder(Lcom/google/protobuf/Any;)Lcom/google/protobuf/Any$Builder;
move-result-object v0
invoke-virtual {v0, p1}, Lcom/google/protobuf/GeneratedMessageLite$Builder;->mergeFrom(Lcom/google/protobuf/GeneratedMessageLite;)Lcom/google/protobuf/GeneratedMessageLite$Builder;
move-result-object p1
check-cast p1, Lcom/google/protobuf/Any$Builder;
invoke-virtual {p1}, Lcom/google/protobuf/GeneratedMessageLite$Builder;->buildPartial()Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p1
check-cast p1, Lcom/google/protobuf/Any;
iput-object p1, p0, Lcom/google/protobuf/Option;->value_:Lcom/google/protobuf/Any;
goto :goto_0
:cond_0
iput-object p1, p0, Lcom/google/protobuf/Option;->value_:Lcom/google/protobuf/Any;
:goto_0
return-void
.end method
.method public static newBuilder()Lcom/google/protobuf/Option$Builder;
.locals 1
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 260
invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->createBuilder()Lcom/google/protobuf/GeneratedMessageLite$Builder;
move-result-object v0
check-cast v0, Lcom/google/protobuf/Option$Builder;
return-object v0
.end method
.method public static newBuilder(Lcom/google/protobuf/Option;)Lcom/google/protobuf/Option$Builder;
.locals 1
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 263
invoke-virtual {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->createBuilder(Lcom/google/protobuf/GeneratedMessageLite;)Lcom/google/protobuf/GeneratedMessageLite$Builder;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option$Builder;
return-object p0
.end method
.method public static parseDelimitedFrom(Ljava/io/InputStream;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 237
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseDelimitedFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/io/InputStream;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseDelimitedFrom(Ljava/io/InputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 243
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseDelimitedFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/io/InputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom(Lcom/google/protobuf/ByteString;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 201
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Lcom/google/protobuf/ByteString;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom(Lcom/google/protobuf/ByteString;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 208
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Lcom/google/protobuf/ByteString;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom(Lcom/google/protobuf/CodedInputStream;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 248
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Lcom/google/protobuf/CodedInputStream;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 255
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom(Ljava/io/InputStream;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 225
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/io/InputStream;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom(Ljava/io/InputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 232
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/io/InputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom(Ljava/nio/ByteBuffer;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 188
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/nio/ByteBuffer;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom(Ljava/nio/ByteBuffer;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 195
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/nio/ByteBuffer;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom([B)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 213
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;[B)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parseFrom([BLcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Option;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 220
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;[BLcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Option;
return-object p0
.end method
.method public static parser()Lcom/google/protobuf/Parser;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/protobuf/Parser<",
"Lcom/google/protobuf/Option;",
">;"
}
.end annotation
sget-object v0, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 530
invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->getParserForType()Lcom/google/protobuf/Parser;
move-result-object v0
return-object v0
.end method
.method private setName(Ljava/lang/String;)V
.locals 0
.line 68
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iput-object p1, p0, Lcom/google/protobuf/Option;->name_:Ljava/lang/String;
return-void
.end method
.method private setNameBytes(Lcom/google/protobuf/ByteString;)V
.locals 0
.line 99
invoke-static {p1}, Lcom/google/protobuf/AbstractMessageLite;->checkByteStringIsUtf8(Lcom/google/protobuf/ByteString;)V
.line 100
invoke-virtual {p1}, Lcom/google/protobuf/ByteString;->toStringUtf8()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/google/protobuf/Option;->name_:Ljava/lang/String;
return-void
.end method
.method private setValue(Lcom/google/protobuf/Any;)V
.locals 0
.line 145
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iput-object p1, p0, Lcom/google/protobuf/Option;->value_:Lcom/google/protobuf/Any;
return-void
.end method
# virtual methods
.method public final dynamicMethod(Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.line 465
sget-object p2, Lcom/google/protobuf/Option$1;->$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke:[I
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
move-result p1
aget p1, p2, p1
const/4 p2, 0x0
packed-switch p1, :pswitch_data_0
.line 508
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
:pswitch_0
return-object p2
:pswitch_1
const/4 p1, 0x1
.line 502
invoke-static {p1}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
move-result-object p1
return-object p1
:pswitch_2
sget-object p1, Lcom/google/protobuf/Option;->PARSER:Lcom/google/protobuf/Parser;
if-nez p1, :cond_1
const-class p2, Lcom/google/protobuf/Option;
.line 489
monitor-enter p2
:try_start_0
sget-object p1, Lcom/google/protobuf/Option;->PARSER:Lcom/google/protobuf/Parser;
if-nez p1, :cond_0
.line 492
new-instance p1, Lcom/google/protobuf/GeneratedMessageLite$DefaultInstanceBasedParser;
sget-object p3, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
invoke-direct {p1, p3}, Lcom/google/protobuf/GeneratedMessageLite$DefaultInstanceBasedParser;-><init>(Lcom/google/protobuf/GeneratedMessageLite;)V
sput-object p1, Lcom/google/protobuf/Option;->PARSER:Lcom/google/protobuf/Parser;
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 497
:cond_0
:goto_0
monitor-exit p2
goto :goto_2
:goto_1
monitor-exit p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
:cond_1
:goto_2
return-object p1
:pswitch_3
sget-object p1, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
return-object p1
:pswitch_4
const-string p1, "name_"
const-string p2, "value_"
filled-new-array {p1, p2}, [Ljava/lang/Object;
move-result-object p1
const-string p2, "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\t"
sget-object p3, Lcom/google/protobuf/Option;->DEFAULT_INSTANCE:Lcom/google/protobuf/Option;
.line 480
invoke-static {p3, p2, p1}, Lcom/google/protobuf/GeneratedMessageLite;->newMessageInfo(Lcom/google/protobuf/MessageLite;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 470
:pswitch_5
new-instance p1, Lcom/google/protobuf/Option$Builder;
invoke-direct {p1, p2}, Lcom/google/protobuf/Option$Builder;-><init>(Lcom/google/protobuf/Option$1;)V
return-object p1
.line 467
:pswitch_6
new-instance p1, Lcom/google/protobuf/Option;
invoke-direct {p1}, Lcom/google/protobuf/Option;-><init>()V
return-object p1
nop
:pswitch_data_0
.packed-switch 0x1
:pswitch_6
:pswitch_5
:pswitch_4
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method
.method public getName()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/protobuf/Option;->name_:Ljava/lang/String;
return-object v0
.end method
.method public getNameBytes()Lcom/google/protobuf/ByteString;
.locals 1
iget-object v0, p0, Lcom/google/protobuf/Option;->name_:Ljava/lang/String;
.line 53
invoke-static {v0}, Lcom/google/protobuf/ByteString;->copyFromUtf8(Ljava/lang/String;)Lcom/google/protobuf/ByteString;
move-result-object v0
return-object v0
.end method
.method public getValue()Lcom/google/protobuf/Any;
.locals 1
iget-object v0, p0, Lcom/google/protobuf/Option;->value_:Lcom/google/protobuf/Any;
if-nez v0, :cond_0
.line 132
invoke-static {}, Lcom/google/protobuf/Any;->getDefaultInstance()Lcom/google/protobuf/Any;
move-result-object v0
:cond_0
return-object v0
.end method
.method public hasValue()Z
.locals 1
iget-object v0, p0, Lcom/google/protobuf/Option;->value_:Lcom/google/protobuf/Any;
if-eqz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method