* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1008 lines
19 KiB
Smali
1008 lines
19 KiB
Smali
.class Lkotlin/uuid/UuidKt__UuidKt;
|
|
.super Lkotlin/uuid/UuidKt__UuidJVMKt;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000*\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0012\n\u0000\n\u0002\u0010\t\n\u0000\n\u0002\u0010\u0008\n\u0000\n\u0002\u0010\u0002\n\u0002\u0008\u0005\n\u0002\u0010\u000e\n\u0002\u0008\u000b\u001a\u0010\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003H\u0001\u001a\u0014\u0010\u0004\u001a\u00020\u0005*\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0007H\u0000\u001a,\u0010\u0008\u001a\u00020\t*\u00020\u00052\u0006\u0010\n\u001a\u00020\u00032\u0006\u0010\u000b\u001a\u00020\u00072\u0006\u0010\u000c\u001a\u00020\u00072\u0006\u0010\r\u001a\u00020\u0007H\u0001\u001a\u0014\u0010\u000e\u001a\u00020\t*\u00020\u000f2\u0006\u0010\u0006\u001a\u00020\u0007H\u0000\u001a\u001c\u0010\u0010\u001a\u00020\t*\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u00072\u0006\u0010\u0011\u001a\u00020\u0005H\u0000\u001a\u0010\u0010\u0012\u001a\u00020\u00012\u0006\u0010\u0013\u001a\u00020\u000fH\u0001\u001a\u0010\u0010\u0014\u001a\u00020\u00012\u0006\u0010\u0015\u001a\u00020\u000fH\u0001\u001a\u0019\u0010\u0016\u001a\u00020\u000f*\u00020\u000f2\u0006\u0010\u0017\u001a\u00020\u0007H\u0002\u00a2\u0006\u0002\u0008\u0018\u001a\u0019\u0010\u0016\u001a\u00020\u000f*\u00020\u00032\u0006\u0010\u0019\u001a\u00020\u0007H\u0002\u00a2\u0006\u0002\u0008\u0018\u00a8\u0006\u001a"
|
|
}
|
|
d2 = {
|
|
"uuidFromRandomBytes",
|
|
"Lkotlin/uuid/Uuid;",
|
|
"randomBytes",
|
|
"",
|
|
"getLongAtCommonImpl",
|
|
"",
|
|
"index",
|
|
"",
|
|
"formatBytesIntoCommonImpl",
|
|
"",
|
|
"dst",
|
|
"dstOffset",
|
|
"startIndex",
|
|
"endIndex",
|
|
"checkHyphenAt",
|
|
"",
|
|
"setLongAtCommonImpl",
|
|
"value",
|
|
"uuidParseHexDashCommonImpl",
|
|
"hexDashString",
|
|
"uuidParseHexCommonImpl",
|
|
"hexString",
|
|
"truncateForErrorMessage",
|
|
"maxLength",
|
|
"truncateForErrorMessage$UuidKt__UuidKt",
|
|
"maxSize",
|
|
"kotlin-stdlib"
|
|
}
|
|
k = 0x5
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x31
|
|
xs = "kotlin/uuid/UuidKt"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nUuid.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Uuid.kt\nkotlin/uuid/UuidKt__UuidKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n*L\n1#1,648:1\n1#2:649\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lkotlin/uuid/UuidKt__UuidJVMKt;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$truncateForErrorMessage(Ljava/lang/String;I)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1}, Lkotlin/uuid/UuidKt__UuidKt;->truncateForErrorMessage$UuidKt__UuidKt(Ljava/lang/String;I)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$truncateForErrorMessage([BI)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 2
|
|
invoke-static {p0, p1}, Lkotlin/uuid/UuidKt__UuidKt;->truncateForErrorMessage$UuidKt__UuidKt([BI)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final checkHyphenAt(Ljava/lang/String;I)V
|
|
.locals 2
|
|
.param p0 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result v0
|
|
|
|
.line 10
|
|
const/16 v1, 0x2d
|
|
|
|
.line 11
|
|
.line 12
|
|
if-ne v0, v1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
return-void
|
|
|
|
.line 15
|
|
:cond_0
|
|
const-string v0, "Expected \'-\' (hyphen) at index "
|
|
|
|
.line 16
|
|
.line 17
|
|
const-string v1, ", but was \'"
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-static {p1, v0, v1}, Landroid/support/v4/media/a;->s(ILjava/lang/String;Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object v0
|
|
|
|
.line 23
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
move-result p0
|
|
|
|
.line 27
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
const/16 p0, 0x27
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object p0
|
|
|
|
.line 39
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result-object p0
|
|
|
|
.line 45
|
|
invoke-direct {p1, p0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
throw p1
|
|
.end method
|
|
|
|
.method public static final formatBytesIntoCommonImpl(J[BIII)V
|
|
.locals 4
|
|
.param p2 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/uuid/ExperimentalUuidApi;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "dst"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
rsub-int/lit8 p4, p4, 0x7
|
|
|
|
.line 7
|
|
.line 8
|
|
rsub-int/lit8 p5, p5, 0x8
|
|
|
|
.line 9
|
|
.line 10
|
|
if-gt p5, p4, :cond_0
|
|
|
|
.line 11
|
|
.line 12
|
|
:goto_0
|
|
shl-int/lit8 v0, p4, 0x3
|
|
|
|
.line 13
|
|
.line 14
|
|
shr-long v0, p0, v0
|
|
|
|
.line 15
|
|
.line 16
|
|
const-wide/16 v2, 0xff
|
|
|
|
.line 17
|
|
.line 18
|
|
and-long/2addr v0, v2
|
|
|
|
.line 19
|
|
long-to-int v0, v0
|
|
|
|
.line 20
|
|
invoke-static {}, Lkotlin/text/HexExtensionsKt;->getBYTE_TO_LOWER_CASE_HEX_DIGITS()[I
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object v1
|
|
|
|
.line 24
|
|
aget v0, v1, v0
|
|
|
|
.line 25
|
|
.line 26
|
|
add-int/lit8 v1, p3, 0x1
|
|
|
|
.line 27
|
|
.line 28
|
|
shr-int/lit8 v2, v0, 0x8
|
|
|
|
.line 29
|
|
.line 30
|
|
int-to-byte v2, v2
|
|
|
|
.line 31
|
|
aput-byte v2, p2, p3
|
|
|
|
.line 32
|
|
.line 33
|
|
add-int/lit8 p3, p3, 0x2
|
|
|
|
.line 34
|
|
.line 35
|
|
int-to-byte v0, v0
|
|
|
|
.line 36
|
|
aput-byte v0, p2, v1
|
|
|
|
.line 37
|
|
.line 38
|
|
if-eq p4, p5, :cond_0
|
|
|
|
.line 39
|
|
.line 40
|
|
add-int/lit8 p4, p4, -0x1
|
|
|
|
.line 41
|
|
.line 42
|
|
goto :goto_0
|
|
|
|
.line 43
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final getLongAtCommonImpl([BI)J
|
|
.locals 7
|
|
.param p0 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
aget-byte v0, p0, p1
|
|
|
|
.line 7
|
|
.line 8
|
|
int-to-long v0, v0
|
|
|
|
.line 9
|
|
const-wide/16 v2, 0xff
|
|
|
|
.line 10
|
|
.line 11
|
|
and-long/2addr v0, v2
|
|
|
|
.line 12
|
|
const/16 v4, 0x38
|
|
|
|
.line 13
|
|
.line 14
|
|
shl-long/2addr v0, v4
|
|
|
|
.line 15
|
|
add-int/lit8 v4, p1, 0x1
|
|
|
|
.line 16
|
|
.line 17
|
|
aget-byte v4, p0, v4
|
|
|
|
.line 18
|
|
.line 19
|
|
int-to-long v4, v4
|
|
|
|
.line 20
|
|
and-long/2addr v4, v2
|
|
|
|
.line 21
|
|
const/16 v6, 0x30
|
|
|
|
.line 22
|
|
.line 23
|
|
shl-long/2addr v4, v6
|
|
|
|
.line 24
|
|
or-long/2addr v0, v4
|
|
|
|
.line 25
|
|
add-int/lit8 v4, p1, 0x2
|
|
|
|
.line 26
|
|
.line 27
|
|
aget-byte v4, p0, v4
|
|
|
|
.line 28
|
|
.line 29
|
|
int-to-long v4, v4
|
|
|
|
.line 30
|
|
and-long/2addr v4, v2
|
|
|
|
.line 31
|
|
const/16 v6, 0x28
|
|
|
|
.line 32
|
|
.line 33
|
|
shl-long/2addr v4, v6
|
|
|
|
.line 34
|
|
or-long/2addr v0, v4
|
|
|
|
.line 35
|
|
add-int/lit8 v4, p1, 0x3
|
|
|
|
.line 36
|
|
.line 37
|
|
aget-byte v4, p0, v4
|
|
|
|
.line 38
|
|
.line 39
|
|
int-to-long v4, v4
|
|
|
|
.line 40
|
|
and-long/2addr v4, v2
|
|
|
|
.line 41
|
|
const/16 v6, 0x20
|
|
|
|
.line 42
|
|
.line 43
|
|
shl-long/2addr v4, v6
|
|
|
|
.line 44
|
|
or-long/2addr v0, v4
|
|
|
|
.line 45
|
|
add-int/lit8 v4, p1, 0x4
|
|
|
|
.line 46
|
|
.line 47
|
|
aget-byte v4, p0, v4
|
|
|
|
.line 48
|
|
.line 49
|
|
int-to-long v4, v4
|
|
|
|
.line 50
|
|
and-long/2addr v4, v2
|
|
|
|
.line 51
|
|
const/16 v6, 0x18
|
|
|
|
.line 52
|
|
.line 53
|
|
shl-long/2addr v4, v6
|
|
|
|
.line 54
|
|
or-long/2addr v0, v4
|
|
|
|
.line 55
|
|
add-int/lit8 v4, p1, 0x5
|
|
|
|
.line 56
|
|
.line 57
|
|
aget-byte v4, p0, v4
|
|
|
|
.line 58
|
|
.line 59
|
|
int-to-long v4, v4
|
|
|
|
.line 60
|
|
and-long/2addr v4, v2
|
|
|
|
.line 61
|
|
const/16 v6, 0x10
|
|
|
|
.line 62
|
|
.line 63
|
|
shl-long/2addr v4, v6
|
|
|
|
.line 64
|
|
or-long/2addr v0, v4
|
|
|
|
.line 65
|
|
add-int/lit8 v4, p1, 0x6
|
|
|
|
.line 66
|
|
.line 67
|
|
aget-byte v4, p0, v4
|
|
|
|
.line 68
|
|
.line 69
|
|
int-to-long v4, v4
|
|
|
|
.line 70
|
|
and-long/2addr v4, v2
|
|
|
|
.line 71
|
|
const/16 v6, 0x8
|
|
|
|
.line 72
|
|
.line 73
|
|
shl-long/2addr v4, v6
|
|
|
|
.line 74
|
|
or-long/2addr v0, v4
|
|
|
|
.line 75
|
|
add-int/lit8 p1, p1, 0x7
|
|
|
|
.line 76
|
|
.line 77
|
|
aget-byte p0, p0, p1
|
|
|
|
.line 78
|
|
.line 79
|
|
int-to-long p0, p0
|
|
|
|
.line 80
|
|
and-long/2addr p0, v2
|
|
|
|
.line 81
|
|
or-long/2addr p0, v0
|
|
|
|
.line 82
|
|
return-wide p0
|
|
.end method
|
|
|
|
.method public static final setLongAtCommonImpl([BIJ)V
|
|
.locals 5
|
|
.param p0 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v0, 0x7
|
|
|
|
.line 7
|
|
:goto_0
|
|
const/4 v1, -0x1
|
|
|
|
.line 8
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 9
|
|
.line 10
|
|
shl-int/lit8 v1, v0, 0x3
|
|
|
|
.line 11
|
|
.line 12
|
|
add-int/lit8 v2, p1, 0x1
|
|
|
|
.line 13
|
|
.line 14
|
|
shr-long v3, p2, v1
|
|
|
|
.line 15
|
|
.line 16
|
|
long-to-int v1, v3
|
|
|
|
.line 17
|
|
int-to-byte v1, v1
|
|
|
|
.line 18
|
|
aput-byte v1, p0, p1
|
|
|
|
.line 19
|
|
.line 20
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
.line 21
|
|
.line 22
|
|
move p1, v2
|
|
|
|
.line 23
|
|
goto :goto_0
|
|
|
|
.line 24
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final truncateForErrorMessage$UuidKt__UuidKt(Ljava/lang/String;I)Ljava/lang/String;
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-gt v0, p1, :cond_0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "null cannot be cast to non-null type java.lang.String"
|
|
|
|
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, v1, p1}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "substring(...)"
|
|
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p0, "..."
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final truncateForErrorMessage$UuidKt__UuidKt([BI)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 2
|
|
invoke-static {p0, p1}, Lkotlin/collections/ArraysKt;->v([BI)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final uuidFromRandomBytes([B)Lkotlin/uuid/Uuid;
|
|
.locals 2
|
|
.param p0 # [B
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/uuid/ExperimentalUuidApi;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "randomBytes"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v0, 0x6
|
|
|
|
.line 7
|
|
aget-byte v1, p0, v0
|
|
|
|
.line 8
|
|
.line 9
|
|
and-int/lit8 v1, v1, 0xf
|
|
|
|
.line 10
|
|
.line 11
|
|
int-to-byte v1, v1
|
|
|
|
.line 12
|
|
aput-byte v1, p0, v0
|
|
|
|
.line 13
|
|
.line 14
|
|
or-int/lit8 v1, v1, 0x40
|
|
|
|
.line 15
|
|
.line 16
|
|
int-to-byte v1, v1
|
|
|
|
.line 17
|
|
aput-byte v1, p0, v0
|
|
|
|
.line 18
|
|
.line 19
|
|
const/16 v0, 0x8
|
|
|
|
.line 20
|
|
.line 21
|
|
aget-byte v1, p0, v0
|
|
|
|
.line 22
|
|
.line 23
|
|
and-int/lit8 v1, v1, 0x3f
|
|
|
|
.line 24
|
|
.line 25
|
|
int-to-byte v1, v1
|
|
|
|
.line 26
|
|
aput-byte v1, p0, v0
|
|
|
|
.line 27
|
|
.line 28
|
|
or-int/lit16 v1, v1, 0x80
|
|
|
|
.line 29
|
|
.line 30
|
|
int-to-byte v1, v1
|
|
|
|
.line 31
|
|
aput-byte v1, p0, v0
|
|
|
|
.line 32
|
|
.line 33
|
|
sget-object v0, Lkotlin/uuid/Uuid;->Companion:Lkotlin/uuid/Uuid$Companion;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-virtual {v0, p0}, Lkotlin/uuid/Uuid$Companion;->fromByteArray([B)Lkotlin/uuid/Uuid;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object p0
|
|
|
|
.line 39
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final uuidParseHexCommonImpl(Ljava/lang/String;)Lkotlin/uuid/Uuid;
|
|
.locals 10
|
|
.param p0 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/uuid/ExperimentalUuidApi;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "hexString"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v5, 0x4
|
|
|
|
.line 7
|
|
const/4 v6, 0x0
|
|
|
|
.line 8
|
|
const/4 v2, 0x0
|
|
|
|
.line 9
|
|
const/16 v3, 0x10
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 v4, 0x0
|
|
|
|
.line 12
|
|
move-object v1, p0
|
|
|
|
.line 13
|
|
invoke-static/range {v1 .. v6}, Lkotlin/text/HexExtensionsKt;->hexToLong$default(Ljava/lang/String;IILkotlin/text/HexFormat;ILjava/lang/Object;)J
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-wide v2
|
|
|
|
.line 17
|
|
const/4 v8, 0x4
|
|
|
|
.line 18
|
|
const/4 v9, 0x0
|
|
|
|
.line 19
|
|
const/16 v5, 0x10
|
|
|
|
.line 20
|
|
.line 21
|
|
const/16 v6, 0x20
|
|
|
|
.line 22
|
|
.line 23
|
|
const/4 v7, 0x0
|
|
|
|
.line 24
|
|
move-object v4, v1
|
|
|
|
.line 25
|
|
invoke-static/range {v4 .. v9}, Lkotlin/text/HexExtensionsKt;->hexToLong$default(Ljava/lang/String;IILkotlin/text/HexFormat;ILjava/lang/Object;)J
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-wide v0
|
|
|
|
.line 29
|
|
sget-object p0, Lkotlin/uuid/Uuid;->Companion:Lkotlin/uuid/Uuid$Companion;
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {p0, v2, v3, v0, v1}, Lkotlin/uuid/Uuid$Companion;->fromLongs(JJ)Lkotlin/uuid/Uuid;
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result-object p0
|
|
|
|
.line 35
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final uuidParseHexDashCommonImpl(Ljava/lang/String;)Lkotlin/uuid/Uuid;
|
|
.locals 14
|
|
.param p0 # Ljava/lang/String;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/uuid/ExperimentalUuidApi;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "hexDashString"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v5, 0x4
|
|
|
|
.line 7
|
|
const/4 v6, 0x0
|
|
|
|
.line 8
|
|
const/4 v2, 0x0
|
|
|
|
.line 9
|
|
const/16 v3, 0x8
|
|
|
|
.line 10
|
|
.line 11
|
|
const/4 v4, 0x0
|
|
|
|
.line 12
|
|
move-object v1, p0
|
|
|
|
.line 13
|
|
invoke-static/range {v1 .. v6}, Lkotlin/text/HexExtensionsKt;->hexToLong$default(Ljava/lang/String;IILkotlin/text/HexFormat;ILjava/lang/Object;)J
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-wide v2
|
|
|
|
.line 17
|
|
move-object v4, v1
|
|
|
|
.line 18
|
|
const/16 p0, 0x8
|
|
|
|
.line 19
|
|
.line 20
|
|
invoke-static {v4, p0}, Lkotlin/uuid/UuidKt__UuidKt;->checkHyphenAt(Ljava/lang/String;I)V
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
const/4 v8, 0x4
|
|
|
|
.line 24
|
|
const/4 v9, 0x0
|
|
|
|
.line 25
|
|
const/16 v5, 0x9
|
|
|
|
.line 26
|
|
.line 27
|
|
const/16 v6, 0xd
|
|
|
|
.line 28
|
|
.line 29
|
|
const/4 v7, 0x0
|
|
|
|
.line 30
|
|
invoke-static/range {v4 .. v9}, Lkotlin/text/HexExtensionsKt;->hexToLong$default(Ljava/lang/String;IILkotlin/text/HexFormat;ILjava/lang/Object;)J
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result-wide v0
|
|
|
|
.line 34
|
|
const/16 p0, 0xd
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-static {v4, p0}, Lkotlin/uuid/UuidKt__UuidKt;->checkHyphenAt(Ljava/lang/String;I)V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
const/16 v5, 0xe
|
|
|
|
.line 40
|
|
.line 41
|
|
const/16 v6, 0x12
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-static/range {v4 .. v9}, Lkotlin/text/HexExtensionsKt;->hexToLong$default(Ljava/lang/String;IILkotlin/text/HexFormat;ILjava/lang/Object;)J
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result-wide v10
|
|
|
|
.line 47
|
|
const/16 p0, 0x12
|
|
|
|
.line 48
|
|
.line 49
|
|
invoke-static {v4, p0}, Lkotlin/uuid/UuidKt__UuidKt;->checkHyphenAt(Ljava/lang/String;I)V
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
const/16 v5, 0x13
|
|
|
|
.line 53
|
|
.line 54
|
|
const/16 v6, 0x17
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-static/range {v4 .. v9}, Lkotlin/text/HexExtensionsKt;->hexToLong$default(Ljava/lang/String;IILkotlin/text/HexFormat;ILjava/lang/Object;)J
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result-wide v12
|
|
|
|
.line 60
|
|
const/16 p0, 0x17
|
|
|
|
.line 61
|
|
.line 62
|
|
invoke-static {v4, p0}, Lkotlin/uuid/UuidKt__UuidKt;->checkHyphenAt(Ljava/lang/String;I)V
|
|
|
|
.line 63
|
|
.line 64
|
|
.line 65
|
|
const/16 v5, 0x18
|
|
|
|
.line 66
|
|
.line 67
|
|
const/16 v6, 0x24
|
|
|
|
.line 68
|
|
.line 69
|
|
invoke-static/range {v4 .. v9}, Lkotlin/text/HexExtensionsKt;->hexToLong$default(Ljava/lang/String;IILkotlin/text/HexFormat;ILjava/lang/Object;)J
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
move-result-wide v4
|
|
|
|
.line 73
|
|
const/16 p0, 0x20
|
|
|
|
.line 74
|
|
.line 75
|
|
shl-long/2addr v2, p0
|
|
|
|
.line 76
|
|
const/16 p0, 0x10
|
|
|
|
.line 77
|
|
.line 78
|
|
shl-long/2addr v0, p0
|
|
|
|
.line 79
|
|
or-long/2addr v0, v2
|
|
|
|
.line 80
|
|
or-long/2addr v0, v10
|
|
|
|
.line 81
|
|
const/16 p0, 0x30
|
|
|
|
.line 82
|
|
.line 83
|
|
shl-long v2, v12, p0
|
|
|
|
.line 84
|
|
.line 85
|
|
or-long/2addr v2, v4
|
|
|
|
.line 86
|
|
sget-object p0, Lkotlin/uuid/Uuid;->Companion:Lkotlin/uuid/Uuid$Companion;
|
|
|
|
.line 87
|
|
.line 88
|
|
invoke-virtual {p0, v0, v1, v2, v3}, Lkotlin/uuid/Uuid$Companion;->fromLongs(JJ)Lkotlin/uuid/Uuid;
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
move-result-object p0
|
|
|
|
.line 92
|
|
return-object p0
|
|
.end method
|