- 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
172 lines
3.1 KiB
Smali
172 lines
3.1 KiB
Smali
.class public final Lcom/google/android/gms/internal/fido/zzfk;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static zza(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const-string p0, " must not be null"
|
|
|
|
.line 1
|
|
invoke-virtual {p1, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static zzb(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 3
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v0
|
|
|
|
invoke-static {v0}, Lcom/google/android/gms/internal/fido/zzfk;->zzc(C)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-ge v0, v1, :cond_3
|
|
|
|
.line 4
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v1
|
|
|
|
invoke-static {v1}, Lcom/google/android/gms/internal/fido/zzfk;->zzc(C)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
const/16 v2, 0x30
|
|
|
|
if-lt v1, v2, :cond_0
|
|
|
|
const/16 v2, 0x39
|
|
|
|
if-le v1, v2, :cond_2
|
|
|
|
:cond_0
|
|
const/16 v2, 0x5f
|
|
|
|
if-ne v1, v2, :cond_1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
const-string v0, "identifier must contain only ASCII letters, digits or underscore: "
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 5
|
|
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
:cond_2
|
|
:goto_1
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-object p0
|
|
|
|
:cond_4
|
|
const-string v0, "identifier must start with an ASCII letter: "
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 6
|
|
invoke-direct {v0, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 1
|
|
:cond_5
|
|
new-instance p0, Ljava/lang/IllegalArgumentException;
|
|
|
|
const-string v0, "identifier must not be empty"
|
|
|
|
.line 2
|
|
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method private static zzc(C)Z
|
|
.locals 3
|
|
|
|
const/16 v0, 0x61
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-lt p0, v0, :cond_0
|
|
|
|
const/16 v0, 0x7a
|
|
|
|
if-le p0, v0, :cond_3
|
|
|
|
:cond_0
|
|
const/16 v0, 0x41
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-lt p0, v0, :cond_2
|
|
|
|
const/16 v0, 0x5a
|
|
|
|
if-gt p0, v0, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v2
|
|
|
|
:cond_2
|
|
move v1, v2
|
|
|
|
:cond_3
|
|
:goto_0
|
|
return v1
|
|
.end method
|