- 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
185 lines
4.3 KiB
Smali
185 lines
4.3 KiB
Smali
.class public final Landroidx/core/text/ICUCompat;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/core/text/ICUCompat$Api24Impl;,
|
|
Landroidx/core/text/ICUCompat$Api21Impl;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final TAG:Ljava/lang/String; = "ICUCompat"
|
|
|
|
.field private static sAddLikelySubtagsMethod:Ljava/lang/reflect/Method;
|
|
|
|
.field private static sGetScriptMethod:Ljava/lang/reflect/Method;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 148
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private static addLikelySubtagsBelowApi21(Ljava/util/Locale;)Ljava/lang/String;
|
|
.locals 4
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"BanUncheckedReflection"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "ICUCompat"
|
|
|
|
.line 131
|
|
invoke-virtual {p0}, Ljava/util/Locale;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
:try_start_0
|
|
sget-object v1, Landroidx/core/text/ICUCompat;->sAddLikelySubtagsMethod:Ljava/lang/reflect/Method;
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
filled-new-array {p0}, [Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
.line 135
|
|
invoke-virtual {v1, v3, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v1
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_1
|
|
move-exception v1
|
|
|
|
goto :goto_1
|
|
|
|
.line 142
|
|
:goto_0
|
|
invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
goto :goto_2
|
|
|
|
.line 139
|
|
:goto_1
|
|
invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_0
|
|
:goto_2
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static getScriptBelowApi21(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 3
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"BanUncheckedReflection"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "ICUCompat"
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:try_start_0
|
|
sget-object v2, Landroidx/core/text/ICUCompat;->sGetScriptMethod:Ljava/lang/reflect/Method;
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
filled-new-array {p0}, [Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
.line 117
|
|
invoke-virtual {v2, v1, p0}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Ljava/lang/String;
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
goto :goto_1
|
|
|
|
.line 124
|
|
:goto_0
|
|
invoke-static {v0, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
goto :goto_2
|
|
|
|
.line 121
|
|
:goto_1
|
|
invoke-static {v0, p0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/Throwable;)I
|
|
|
|
:cond_0
|
|
:goto_2
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public static maximizeAndGetScript(Ljava/util/Locale;)Ljava/lang/String;
|
|
.locals 0
|
|
.param p0 # Ljava/util/Locale;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.line 88
|
|
invoke-static {p0}, Landroidx/core/text/ICUCompat$Api24Impl;->forLocale(Ljava/util/Locale;)Landroid/icu/util/ULocale;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Landroidx/core/text/ICUCompat$Api24Impl;->addLikelySubtags(Ljava/lang/Object;)Landroid/icu/util/ULocale;
|
|
|
|
move-result-object p0
|
|
|
|
.line 89
|
|
invoke-static {p0}, Landroidx/core/text/ICUCompat$Api24Impl;->getScript(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|