Files
rr3-apk/smali_classes3/com/google/protobuf/ExtensionSchemas.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

137 lines
3.5 KiB
Smali

.class public final Lcom/google/protobuf/ExtensionSchemas;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static final FULL_SCHEMA:Lcom/google/protobuf/ExtensionSchema;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/protobuf/ExtensionSchema;"
}
.end annotation
.end field
.field private static final LITE_SCHEMA:Lcom/google/protobuf/ExtensionSchema;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/protobuf/ExtensionSchema;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 35
new-instance v0, Lcom/google/protobuf/ExtensionSchemaLite;
invoke-direct {v0}, Lcom/google/protobuf/ExtensionSchemaLite;-><init>()V
sput-object v0, Lcom/google/protobuf/ExtensionSchemas;->LITE_SCHEMA:Lcom/google/protobuf/ExtensionSchema;
.line 36
invoke-static {}, Lcom/google/protobuf/ExtensionSchemas;->loadSchemaForFullRuntime()Lcom/google/protobuf/ExtensionSchema;
move-result-object v0
sput-object v0, Lcom/google/protobuf/ExtensionSchemas;->FULL_SCHEMA:Lcom/google/protobuf/ExtensionSchema;
return-void
.end method
.method public constructor <init>()V
.locals 0
.line 34
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static full()Lcom/google/protobuf/ExtensionSchema;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/protobuf/ExtensionSchema;"
}
.end annotation
sget-object v0, Lcom/google/protobuf/ExtensionSchemas;->FULL_SCHEMA:Lcom/google/protobuf/ExtensionSchema;
if-eqz v0, :cond_0
return-object v0
.line 53
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Protobuf runtime is not correctly loaded."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static lite()Lcom/google/protobuf/ExtensionSchema;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/protobuf/ExtensionSchema;"
}
.end annotation
sget-object v0, Lcom/google/protobuf/ExtensionSchemas;->LITE_SCHEMA:Lcom/google/protobuf/ExtensionSchema;
return-object v0
.end method
.method private static loadSchemaForFullRuntime()Lcom/google/protobuf/ExtensionSchema;
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/protobuf/ExtensionSchema;"
}
.end annotation
:try_start_0
const-string v0, "com.google.protobuf.ExtensionSchemaFull"
.line 40
invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v0
const/4 v1, 0x0
new-array v2, v1, [Ljava/lang/Class;
.line 41
invoke-virtual {v0, v2}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v0
new-array v1, v1, [Ljava/lang/Object;
invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/protobuf/ExtensionSchema;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return-object v0
:catch_0
const/4 v0, 0x0
return-object v0
.end method