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

95 lines
2.5 KiB
Smali

.class public final Lcom/google/protobuf/NewInstanceSchemas;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static final FULL_SCHEMA:Lcom/google/protobuf/NewInstanceSchema;
.field private static final LITE_SCHEMA:Lcom/google/protobuf/NewInstanceSchema;
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 35
invoke-static {}, Lcom/google/protobuf/NewInstanceSchemas;->loadSchemaForFullRuntime()Lcom/google/protobuf/NewInstanceSchema;
move-result-object v0
sput-object v0, Lcom/google/protobuf/NewInstanceSchemas;->FULL_SCHEMA:Lcom/google/protobuf/NewInstanceSchema;
.line 36
new-instance v0, Lcom/google/protobuf/NewInstanceSchemaLite;
invoke-direct {v0}, Lcom/google/protobuf/NewInstanceSchemaLite;-><init>()V
sput-object v0, Lcom/google/protobuf/NewInstanceSchemas;->LITE_SCHEMA:Lcom/google/protobuf/NewInstanceSchema;
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/NewInstanceSchema;
.locals 1
sget-object v0, Lcom/google/protobuf/NewInstanceSchemas;->FULL_SCHEMA:Lcom/google/protobuf/NewInstanceSchema;
return-object v0
.end method
.method public static lite()Lcom/google/protobuf/NewInstanceSchema;
.locals 1
sget-object v0, Lcom/google/protobuf/NewInstanceSchemas;->LITE_SCHEMA:Lcom/google/protobuf/NewInstanceSchema;
return-object v0
.end method
.method private static loadSchemaForFullRuntime()Lcom/google/protobuf/NewInstanceSchema;
.locals 3
:try_start_0
const-string v0, "com.google.protobuf.NewInstanceSchemaFull"
.line 48
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 49
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/NewInstanceSchema;
: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