Files
rr3-apk/smali_classes2/com/google/android/gms/common/util/Base64Utils.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

196 lines
4.1 KiB
Smali

.class public final Lcom/google/android/gms/common/util/Base64Utils;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static decode(Ljava/lang/String;)[B
.locals 1
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1
invoke-static {p0, v0}, Landroid/util/Base64;->decode(Ljava/lang/String;I)[B
move-result-object p0
return-object p0
.end method
.method public static decodeUrlSafe(Ljava/lang/String;)[B
.locals 1
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/16 v0, 0xa
.line 1
invoke-static {p0, v0}, Landroid/util/Base64;->decode(Ljava/lang/String;I)[B
move-result-object p0
return-object p0
.end method
.method public static decodeUrlSafeNoPadding(Ljava/lang/String;)[B
.locals 1
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation runtime Lcom/google/errorprone/annotations/ResultIgnorabilityUnspecified;
.end annotation
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/16 v0, 0xb
.line 1
invoke-static {p0, v0}, Landroid/util/Base64;->decode(Ljava/lang/String;I)[B
move-result-object p0
return-object p0
.end method
.method public static encode([B)Ljava/lang/String;
.locals 1
.param p0 # [B
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/4 v0, 0x0
.line 1
invoke-static {p0, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static encodeUrlSafe([B)Ljava/lang/String;
.locals 1
.param p0 # [B
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/16 v0, 0xa
.line 1
invoke-static {p0, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static encodeUrlSafeNoPadding([B)Ljava/lang/String;
.locals 1
.param p0 # [B
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const/16 v0, 0xb
.line 1
invoke-static {p0, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
move-result-object p0
return-object p0
.end method