- 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
157 lines
2.8 KiB
Smali
157 lines
2.8 KiB
Smali
.class public abstract Lcom/amazonaws/util/StringUtils;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final UTF8:Ljava/nio/charset/Charset;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-string v0, "UTF-8"
|
|
|
|
.line 33
|
|
invoke-static {v0}, Ljava/nio/charset/Charset;->forName(Ljava/lang/String;)Ljava/nio/charset/Charset;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/amazonaws/util/StringUtils;->UTF8:Ljava/nio/charset/Charset;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static fromInteger(Ljava/lang/Integer;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 68
|
|
invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {p0}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static fromString(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static isBlank(Ljava/lang/CharSequence;)Z
|
|
.locals 5
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
.line 269
|
|
invoke-interface {p0}, Ljava/lang/CharSequence;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v2, 0x0
|
|
|
|
move v3, v2
|
|
|
|
:goto_0
|
|
if-ge v3, v1, :cond_2
|
|
|
|
.line 273
|
|
invoke-interface {p0, v3}, Ljava/lang/CharSequence;->charAt(I)C
|
|
|
|
move-result v4
|
|
|
|
invoke-static {v4}, Ljava/lang/Character;->isWhitespace(C)Z
|
|
|
|
move-result v4
|
|
|
|
if-nez v4, :cond_1
|
|
|
|
return v2
|
|
|
|
:cond_1
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return v0
|
|
.end method
|
|
|
|
.method public static lowerCase(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 237
|
|
:cond_0
|
|
invoke-virtual {p0}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const-string p0, ""
|
|
|
|
return-object p0
|
|
|
|
.line 240
|
|
:cond_1
|
|
sget-object v0, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static upperCase(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 1
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 253
|
|
:cond_0
|
|
invoke-virtual {p0}, Ljava/lang/String;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const-string p0, ""
|
|
|
|
return-object p0
|
|
|
|
.line 256
|
|
:cond_1
|
|
sget-object v0, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;
|
|
|
|
invoke-virtual {p0, v0}, Ljava/lang/String;->toUpperCase(Ljava/util/Locale;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|