Files
rr3-apk/smali_classes3/com/google/common/base/Ascii.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

99 lines
1.5 KiB
Smali

.class public abstract Lcom/google/common/base/Ascii;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static isUpperCase(C)Z
.locals 1
const/16 v0, 0x41
if-lt p0, v0, :cond_0
const/16 v0, 0x5a
if-gt p0, v0, :cond_0
const/4 p0, 0x1
goto :goto_0
:cond_0
const/4 p0, 0x0
:goto_0
return p0
.end method
.method public static toLowerCase(Ljava/lang/String;)Ljava/lang/String;
.locals 4
.line 408
invoke-virtual {p0}, Ljava/lang/String;->length()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_3
.line 410
invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C
move-result v2
invoke-static {v2}, Lcom/google/common/base/Ascii;->isUpperCase(C)Z
move-result v2
if-eqz v2, :cond_2
.line 411
invoke-virtual {p0}, Ljava/lang/String;->toCharArray()[C
move-result-object p0
:goto_1
if-ge v1, v0, :cond_1
.line 413
aget-char v2, p0, v1
.line 414
invoke-static {v2}, Lcom/google/common/base/Ascii;->isUpperCase(C)Z
move-result v3
if-eqz v3, :cond_0
xor-int/lit8 v2, v2, 0x20
int-to-char v2, v2
.line 415
aput-char v2, p0, v1
:cond_0
add-int/lit8 v1, v1, 0x1
goto :goto_1
.line 418
:cond_1
invoke-static {p0}, Ljava/lang/String;->valueOf([C)Ljava/lang/String;
move-result-object p0
return-object p0
:cond_2
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_3
return-object p0
.end method