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

89 lines
1.6 KiB
Smali

.class public abstract Lcom/google/firebase/perf/metrics/FrameMetricsCalculator;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/perf/metrics/FrameMetricsCalculator$PerfFrameMetrics;
}
.end annotation
# direct methods
.method public static calculateFrameMetrics([Landroid/util/SparseIntArray;)Lcom/google/firebase/perf/metrics/FrameMetricsCalculator$PerfFrameMetrics;
.locals 7
const/4 v0, 0x0
if-eqz p0, :cond_3
.line 80
aget-object p0, p0, v0
if-eqz p0, :cond_3
move v1, v0
move v2, v1
move v3, v2
.line 82
:goto_0
invoke-virtual {p0}, Landroid/util/SparseIntArray;->size()I
move-result v4
if-ge v0, v4, :cond_2
.line 83
invoke-virtual {p0, v0}, Landroid/util/SparseIntArray;->keyAt(I)I
move-result v4
.line 84
invoke-virtual {p0, v0}, Landroid/util/SparseIntArray;->valueAt(I)I
move-result v5
add-int/2addr v1, v5
const/16 v6, 0x2bc
if-le v4, v6, :cond_0
add-int/2addr v3, v5
:cond_0
const/16 v6, 0x10
if-le v4, v6, :cond_1
add-int/2addr v2, v5
:cond_1
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_2
move v0, v1
goto :goto_1
:cond_3
move v2, v0
move v3, v2
.line 98
:goto_1
new-instance p0, Lcom/google/firebase/perf/metrics/FrameMetricsCalculator$PerfFrameMetrics;
invoke-direct {p0, v0, v2, v3}, Lcom/google/firebase/perf/metrics/FrameMetricsCalculator$PerfFrameMetrics;-><init>(III)V
return-object p0
.end method