Files
rr3-apk/smali_classes3/com/google/android/gms/internal/ads/zzalx.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

144 lines
2.6 KiB
Smali

.class public final Lcom/google/android/gms/internal/ads/zzalx;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static zza(Ljava/lang/String;)F
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/NumberFormatException;
}
.end annotation
const-string v0, "%"
.line 1
invoke-virtual {p0, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_0
.line 3
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
add-int/lit8 v0, v0, -0x1
const/4 v1, 0x0
invoke-virtual {p0, v1, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Ljava/lang/Float;->parseFloat(Ljava/lang/String;)F
move-result p0
const/high16 v0, 0x42c80000 # 100.0f
div-float/2addr p0, v0
return p0
.line 1
:cond_0
new-instance p0, Ljava/lang/NumberFormatException;
const-string v0, "Percentages must end with %"
.line 2
invoke-direct {p0, v0}, Ljava/lang/NumberFormatException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static zzb(Ljava/lang/String;)J
.locals 9
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/NumberFormatException;
}
.end annotation
.line 1
sget v0, Lcom/google/android/gms/internal/ads/zzei;->zza:I
const-string v0, "\\."
const/4 v1, 0x2
.line 2
invoke-virtual {p0, v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;I)[Ljava/lang/String;
move-result-object p0
const/4 v0, 0x0
.line 3
aget-object v2, p0, v0
const-string v3, ":"
const/4 v4, -0x1
.line 4
invoke-virtual {v2, v3, v4}, Ljava/lang/String;->split(Ljava/lang/String;I)[Ljava/lang/String;
move-result-object v2
.line 5
array-length v3, v2
const-wide/16 v4, 0x0
:goto_0
if-ge v0, v3, :cond_0
aget-object v6, v2, v0
const-wide/16 v7, 0x3c
mul-long/2addr v4, v7
.line 6
invoke-static {v6}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
move-result-wide v6
add-long/2addr v4, v6
add-int/lit8 v0, v0, 0x1
goto :goto_0
:cond_0
const-wide/16 v2, 0x3e8
mul-long/2addr v4, v2
.line 7
array-length v0, p0
if-ne v0, v1, :cond_1
const/4 v0, 0x1
.line 8
aget-object p0, p0, v0
invoke-static {p0}, Ljava/lang/Long;->parseLong(Ljava/lang/String;)J
move-result-wide v0
add-long/2addr v4, v0
:cond_1
mul-long/2addr v4, v2
return-wide v4
.end method