Files
rr3-apk/smali_classes3/com/google/firebase/perf/v1/GaugeMetadata.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

362 lines
9.3 KiB
Smali

.class public final Lcom/google/firebase/perf/v1/GaugeMetadata;
.super Lcom/google/protobuf/GeneratedMessageLite;
.source "SourceFile"
# interfaces
.implements Lcom/google/protobuf/MessageLiteOrBuilder;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/perf/v1/GaugeMetadata$Builder;
}
.end annotation
# static fields
.field public static final CPU_CLOCK_RATE_KHZ_FIELD_NUMBER:I = 0x2
.field public static final CPU_PROCESSOR_COUNT_FIELD_NUMBER:I = 0x6
.field private static final DEFAULT_INSTANCE:Lcom/google/firebase/perf/v1/GaugeMetadata;
.field public static final DEVICE_RAM_SIZE_KB_FIELD_NUMBER:I = 0x3
.field public static final MAX_APP_JAVA_HEAP_MEMORY_KB_FIELD_NUMBER:I = 0x4
.field public static final MAX_ENCOURAGED_APP_JAVA_HEAP_MEMORY_KB_FIELD_NUMBER:I = 0x5
.field private static volatile PARSER:Lcom/google/protobuf/Parser; = null
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/protobuf/Parser<",
"Lcom/google/firebase/perf/v1/GaugeMetadata;",
">;"
}
.end annotation
.end field
.field public static final PROCESS_NAME_FIELD_NUMBER:I = 0x1
# instance fields
.field private bitField0_:I
.field private cpuClockRateKhz_:I
.field private cpuProcessorCount_:I
.field private deviceRamSizeKb_:I
.field private maxAppJavaHeapMemoryKb_:I
.field private maxEncouragedAppJavaHeapMemoryKb_:I
.field private processName_:Ljava/lang/String;
# direct methods
.method static constructor <clinit>()V
.locals 2
.line 923
new-instance v0, Lcom/google/firebase/perf/v1/GaugeMetadata;
invoke-direct {v0}, Lcom/google/firebase/perf/v1/GaugeMetadata;-><init>()V
sput-object v0, Lcom/google/firebase/perf/v1/GaugeMetadata;->DEFAULT_INSTANCE:Lcom/google/firebase/perf/v1/GaugeMetadata;
const-class v1, Lcom/google/firebase/perf/v1/GaugeMetadata;
.line 927
invoke-static {v1, v0}, Lcom/google/protobuf/GeneratedMessageLite;->registerDefaultInstance(Ljava/lang/Class;Lcom/google/protobuf/GeneratedMessageLite;)V
return-void
.end method
.method public constructor <init>()V
.locals 1
.line 25
invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;-><init>()V
const-string v0, ""
iput-object v0, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->processName_:Ljava/lang/String;
return-void
.end method
.method public static synthetic access$000()Lcom/google/firebase/perf/v1/GaugeMetadata;
.locals 1
sget-object v0, Lcom/google/firebase/perf/v1/GaugeMetadata;->DEFAULT_INSTANCE:Lcom/google/firebase/perf/v1/GaugeMetadata;
return-object v0
.end method
.method public static synthetic access$1000(Lcom/google/firebase/perf/v1/GaugeMetadata;I)V
.locals 0
.line 20
invoke-virtual {p0, p1}, Lcom/google/firebase/perf/v1/GaugeMetadata;->setMaxAppJavaHeapMemoryKb(I)V
return-void
.end method
.method public static synthetic access$1200(Lcom/google/firebase/perf/v1/GaugeMetadata;I)V
.locals 0
.line 20
invoke-virtual {p0, p1}, Lcom/google/firebase/perf/v1/GaugeMetadata;->setMaxEncouragedAppJavaHeapMemoryKb(I)V
return-void
.end method
.method public static synthetic access$800(Lcom/google/firebase/perf/v1/GaugeMetadata;I)V
.locals 0
.line 20
invoke-virtual {p0, p1}, Lcom/google/firebase/perf/v1/GaugeMetadata;->setDeviceRamSizeKb(I)V
return-void
.end method
.method public static getDefaultInstance()Lcom/google/firebase/perf/v1/GaugeMetadata;
.locals 1
sget-object v0, Lcom/google/firebase/perf/v1/GaugeMetadata;->DEFAULT_INSTANCE:Lcom/google/firebase/perf/v1/GaugeMetadata;
return-object v0
.end method
.method public static newBuilder()Lcom/google/firebase/perf/v1/GaugeMetadata$Builder;
.locals 1
sget-object v0, Lcom/google/firebase/perf/v1/GaugeMetadata;->DEFAULT_INSTANCE:Lcom/google/firebase/perf/v1/GaugeMetadata;
.line 460
invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->createBuilder()Lcom/google/protobuf/GeneratedMessageLite$Builder;
move-result-object v0
check-cast v0, Lcom/google/firebase/perf/v1/GaugeMetadata$Builder;
return-object v0
.end method
# virtual methods
.method public final dynamicMethod(Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 7
.line 867
sget-object p2, Lcom/google/firebase/perf/v1/GaugeMetadata$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 916
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 910
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/firebase/perf/v1/GaugeMetadata;->PARSER:Lcom/google/protobuf/Parser;
if-nez p1, :cond_1
const-class p2, Lcom/google/firebase/perf/v1/GaugeMetadata;
.line 897
monitor-enter p2
:try_start_0
sget-object p1, Lcom/google/firebase/perf/v1/GaugeMetadata;->PARSER:Lcom/google/protobuf/Parser;
if-nez p1, :cond_0
.line 900
new-instance p1, Lcom/google/protobuf/GeneratedMessageLite$DefaultInstanceBasedParser;
sget-object p3, Lcom/google/firebase/perf/v1/GaugeMetadata;->DEFAULT_INSTANCE:Lcom/google/firebase/perf/v1/GaugeMetadata;
invoke-direct {p1, p3}, Lcom/google/protobuf/GeneratedMessageLite$DefaultInstanceBasedParser;-><init>(Lcom/google/protobuf/GeneratedMessageLite;)V
sput-object p1, Lcom/google/firebase/perf/v1/GaugeMetadata;->PARSER:Lcom/google/protobuf/Parser;
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 905
: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/firebase/perf/v1/GaugeMetadata;->DEFAULT_INSTANCE:Lcom/google/firebase/perf/v1/GaugeMetadata;
return-object p1
:pswitch_4
const-string v0, "bitField0_"
const-string v1, "processName_"
const-string v2, "cpuClockRateKhz_"
const-string v3, "deviceRamSizeKb_"
const-string v4, "maxAppJavaHeapMemoryKb_"
const-string v5, "maxEncouragedAppJavaHeapMemoryKb_"
const-string v6, "cpuProcessorCount_"
filled-new-array/range {v0 .. v6}, [Ljava/lang/Object;
move-result-object p1
const-string p2, "\u0001\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001\u1008\u0000\u0002\u1004\u0001\u0003\u1004\u0003\u0004\u1004\u0004\u0005\u1004\u0005\u0006\u1004\u0002"
sget-object p3, Lcom/google/firebase/perf/v1/GaugeMetadata;->DEFAULT_INSTANCE:Lcom/google/firebase/perf/v1/GaugeMetadata;
.line 888
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 872
:pswitch_5
new-instance p1, Lcom/google/firebase/perf/v1/GaugeMetadata$Builder;
invoke-direct {p1, p2}, Lcom/google/firebase/perf/v1/GaugeMetadata$Builder;-><init>(Lcom/google/firebase/perf/v1/GaugeMetadata$1;)V
return-object p1
.line 869
:pswitch_6
new-instance p1, Lcom/google/firebase/perf/v1/GaugeMetadata;
invoke-direct {p1}, Lcom/google/firebase/perf/v1/GaugeMetadata;-><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 hasMaxAppJavaHeapMemoryKb()Z
.locals 1
iget v0, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->bitField0_:I
and-int/lit8 v0, v0, 0x10
if-eqz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public final setDeviceRamSizeKb(I)V
.locals 1
iget v0, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->bitField0_:I
or-int/lit8 v0, v0, 0x8
iput v0, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->bitField0_:I
iput p1, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->deviceRamSizeKb_:I
return-void
.end method
.method public final setMaxAppJavaHeapMemoryKb(I)V
.locals 1
iget v0, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->bitField0_:I
or-int/lit8 v0, v0, 0x10
iput v0, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->bitField0_:I
iput p1, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->maxAppJavaHeapMemoryKb_:I
return-void
.end method
.method public final setMaxEncouragedAppJavaHeapMemoryKb(I)V
.locals 1
iget v0, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->bitField0_:I
or-int/lit8 v0, v0, 0x20
iput v0, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->bitField0_:I
iput p1, p0, Lcom/google/firebase/perf/v1/GaugeMetadata;->maxEncouragedAppJavaHeapMemoryKb_:I
return-void
.end method