Files
rr3-apk/smali_classes4/com/vungle/ads/TimeIntervalMetric.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

118 lines
2.5 KiB
Smali

.class public Lcom/vungle/ads/TimeIntervalMetric;
.super Lcom/vungle/ads/DualValueMetric;
.source "SourceFile"
# direct methods
.method public constructor <init>(Lcom/vungle/ads/internal/protos/Sdk$SDKMetric$SDKMetricType;)V
.locals 1
const-string v0, "metricType"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 31
invoke-direct {p0, p1}, Lcom/vungle/ads/DualValueMetric;-><init>(Lcom/vungle/ads/internal/protos/Sdk$SDKMetric$SDKMetricType;)V
return-void
.end method
.method private final getCurrentTime()J
.locals 2
.line 45
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
return-wide v0
.end method
# virtual methods
.method public final calculateIntervalDuration()J
.locals 5
.line 41
invoke-direct {p0}, Lcom/vungle/ads/TimeIntervalMetric;->getCurrentTime()J
move-result-wide v0
.line 42
invoke-virtual {p0}, Lcom/vungle/ads/DualValueMetric;->getValueSecond()Ljava/lang/Long;
move-result-object v2
if-eqz v2, :cond_0
invoke-virtual {v2}, Ljava/lang/Long;->longValue()J
move-result-wide v2
goto :goto_0
:cond_0
move-wide v2, v0
:goto_0
invoke-virtual {p0}, Lcom/vungle/ads/DualValueMetric;->getValueFirst()Ljava/lang/Long;
move-result-object v4
if-eqz v4, :cond_1
invoke-virtual {v4}, Ljava/lang/Long;->longValue()J
move-result-wide v0
:cond_1
sub-long/2addr v2, v0
return-wide v2
.end method
.method public getValue()J
.locals 2
.line 46
invoke-virtual {p0}, Lcom/vungle/ads/TimeIntervalMetric;->calculateIntervalDuration()J
move-result-wide v0
return-wide v0
.end method
.method public markEnd()V
.locals 2
.line 37
invoke-direct {p0}, Lcom/vungle/ads/TimeIntervalMetric;->getCurrentTime()J
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/vungle/ads/DualValueMetric;->setValueSecond(Ljava/lang/Long;)V
return-void
.end method
.method public markStart()V
.locals 2
.line 33
invoke-direct {p0}, Lcom/vungle/ads/TimeIntervalMetric;->getCurrentTime()J
move-result-wide v0
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/vungle/ads/DualValueMetric;->setValueFirst(Ljava/lang/Long;)V
return-void
.end method