soul-browser/app/smali_classes4/kotlin/text/MatcherMatchResult.smali
KaKi87 550ddb0413
Decompile and recreate Soul Browser v1.4.85 with APK CI builds (#1)
* 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>
2026-08-10 16:07:14 +02:00

454 lines
12 KiB
Smali

.class final Lkotlin/text/MatcherMatchResult;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lkotlin/text/MatchResult;
# annotations
.annotation runtime Lkotlin/Metadata;
d1 = {
"\u0000@\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\r\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010\u000e\n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0002\u0008\u0003\n\u0002\u0010 \n\u0002\u0008\u0005\u0008\u0002\u0018\u00002\u00020\u0001B\u0017\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\u0004\u0008\u0006\u0010\u0007J\n\u0010\u001d\u001a\u0004\u0018\u00010\u0001H\u0016R\u000e\u0010\u0002\u001a\u00020\u0003X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0004\u001a\u00020\u0005X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0008\u001a\u00020\t8BX\u0082\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\n\u0010\u000bR\u0014\u0010\u000c\u001a\u00020\r8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u000e\u0010\u000fR\u0014\u0010\u0010\u001a\u00020\u00118VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0012\u0010\u0013R\u0014\u0010\u0014\u001a\u00020\u0015X\u0096\u0004\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0016\u0010\u0017R\u0016\u0010\u0018\u001a\n\u0012\u0004\u0012\u00020\u0011\u0018\u00010\u0019X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u001a\u0010\u001a\u001a\u0008\u0012\u0004\u0012\u00020\u00110\u00198VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u001b\u0010\u001c\u00a8\u0006\u001e"
}
d2 = {
"Lkotlin/text/MatcherMatchResult;",
"Lkotlin/text/MatchResult;",
"matcher",
"Ljava/util/regex/Matcher;",
"input",
"",
"<init>",
"(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V",
"matchResult",
"Ljava/util/regex/MatchResult;",
"getMatchResult",
"()Ljava/util/regex/MatchResult;",
"range",
"Lkotlin/ranges/IntRange;",
"getRange",
"()Lkotlin/ranges/IntRange;",
"value",
"",
"getValue",
"()Ljava/lang/String;",
"groups",
"Lkotlin/text/MatchGroupCollection;",
"getGroups",
"()Lkotlin/text/MatchGroupCollection;",
"groupValues_",
"",
"groupValues",
"getGroupValues",
"()Ljava/util/List;",
"next",
"kotlin-stdlib"
}
k = 0x1
mv = {
0x2,
0x2,
0x0
}
xi = 0x30
.end annotation
# instance fields
.field private groupValues_:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.end field
.field private final groups:Lkotlin/text/MatchGroupCollection;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private final input:Ljava/lang/CharSequence;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
.field private final matcher:Ljava/util/regex/Matcher;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end field
# direct methods
.method public constructor <init>(Ljava/util/regex/Matcher;Ljava/lang/CharSequence;)V
.locals 1
.param p1 # Ljava/util/regex/Matcher;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.param p2 # Ljava/lang/CharSequence;
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.end param
.line 1
const-string v0, "matcher"
.line 2
.line 3
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 4
.line 5
.line 6
const-string v0, "input"
.line 7
.line 8
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 9
.line 10
.line 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 12
.line 13
.line 14
iput-object p1, p0, Lkotlin/text/MatcherMatchResult;->matcher:Ljava/util/regex/Matcher;
.line 15
.line 16
iput-object p2, p0, Lkotlin/text/MatcherMatchResult;->input:Ljava/lang/CharSequence;
.line 17
.line 18
new-instance p1, Lkotlin/text/MatcherMatchResult$groups$1;
.line 19
.line 20
invoke-direct {p1, p0}, Lkotlin/text/MatcherMatchResult$groups$1;-><init>(Lkotlin/text/MatcherMatchResult;)V
.line 21
.line 22
.line 23
iput-object p1, p0, Lkotlin/text/MatcherMatchResult;->groups:Lkotlin/text/MatchGroupCollection;
.line 24
.line 25
return-void
.end method
.method public static final synthetic access$getMatchResult(Lkotlin/text/MatcherMatchResult;)Ljava/util/regex/MatchResult;
.locals 0
.line 1
invoke-direct {p0}, Lkotlin/text/MatcherMatchResult;->getMatchResult()Ljava/util/regex/MatchResult;
.line 2
.line 3
.line 4
move-result-object p0
.line 5
return-object p0
.end method
.method private final getMatchResult()Ljava/util/regex/MatchResult;
.locals 1
.line 1
iget-object v0, p0, Lkotlin/text/MatcherMatchResult;->matcher:Ljava/util/regex/Matcher;
.line 2
.line 3
return-object v0
.end method
# virtual methods
.method public bridge getDestructured()Lkotlin/text/MatchResult$Destructured;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
invoke-static {p0}, Lkotlin/text/MatchResult$DefaultImpls;->getDestructured(Lkotlin/text/MatchResult;)Lkotlin/text/MatchResult$Destructured;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
return-object v0
.end method
.method public getGroupValues()Ljava/util/List;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lkotlin/text/MatcherMatchResult;->groupValues_:Ljava/util/List;
.line 2
.line 3
if-nez v0, :cond_0
.line 4
.line 5
new-instance v0, Lkotlin/text/MatcherMatchResult$groupValues$1;
.line 6
.line 7
invoke-direct {v0, p0}, Lkotlin/text/MatcherMatchResult$groupValues$1;-><init>(Lkotlin/text/MatcherMatchResult;)V
.line 8
.line 9
.line 10
iput-object v0, p0, Lkotlin/text/MatcherMatchResult;->groupValues_:Ljava/util/List;
.line 11
.line 12
:cond_0
iget-object v0, p0, Lkotlin/text/MatcherMatchResult;->groupValues_:Ljava/util/List;
.line 13
.line 14
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
.line 15
.line 16
.line 17
return-object v0
.end method
.method public getGroups()Lkotlin/text/MatchGroupCollection;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
iget-object v0, p0, Lkotlin/text/MatcherMatchResult;->groups:Lkotlin/text/MatchGroupCollection;
.line 2
.line 3
return-object v0
.end method
.method public getRange()Lkotlin/ranges/IntRange;
.locals 1
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
invoke-direct {p0}, Lkotlin/text/MatcherMatchResult;->getMatchResult()Ljava/util/regex/MatchResult;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
invoke-static {v0}, Lkotlin/text/RegexKt;->access$range(Ljava/util/regex/MatchResult;)Lkotlin/ranges/IntRange;
.line 6
.line 7
.line 8
move-result-object v0
.line 9
return-object v0
.end method
.method public getValue()Ljava/lang/String;
.locals 2
.annotation build Lorg/jetbrains/annotations/NotNull;
.end annotation
.line 1
invoke-direct {p0}, Lkotlin/text/MatcherMatchResult;->getMatchResult()Ljava/util/regex/MatchResult;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
invoke-interface {v0}, Ljava/util/regex/MatchResult;->group()Ljava/lang/String;
.line 6
.line 7
.line 8
move-result-object v0
.line 9
const-string v1, "group(...)"
.line 10
.line 11
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
.line 12
.line 13
.line 14
return-object v0
.end method
.method public next()Lkotlin/text/MatchResult;
.locals 3
.annotation build Lorg/jetbrains/annotations/Nullable;
.end annotation
.line 1
invoke-direct {p0}, Lkotlin/text/MatcherMatchResult;->getMatchResult()Ljava/util/regex/MatchResult;
.line 2
.line 3
.line 4
move-result-object v0
.line 5
invoke-interface {v0}, Ljava/util/regex/MatchResult;->end()I
.line 6
.line 7
.line 8
move-result v0
.line 9
invoke-direct {p0}, Lkotlin/text/MatcherMatchResult;->getMatchResult()Ljava/util/regex/MatchResult;
.line 10
.line 11
.line 12
move-result-object v1
.line 13
invoke-interface {v1}, Ljava/util/regex/MatchResult;->end()I
.line 14
.line 15
.line 16
move-result v1
.line 17
invoke-direct {p0}, Lkotlin/text/MatcherMatchResult;->getMatchResult()Ljava/util/regex/MatchResult;
.line 18
.line 19
.line 20
move-result-object v2
.line 21
invoke-interface {v2}, Ljava/util/regex/MatchResult;->start()I
.line 22
.line 23
.line 24
move-result v2
.line 25
if-ne v1, v2, :cond_0
.line 26
.line 27
const/4 v1, 0x1
.line 28
goto :goto_0
.line 29
:cond_0
const/4 v1, 0x0
.line 30
:goto_0
add-int/2addr v0, v1
.line 31
iget-object v1, p0, Lkotlin/text/MatcherMatchResult;->input:Ljava/lang/CharSequence;
.line 32
.line 33
invoke-interface {v1}, Ljava/lang/CharSequence;->length()I
.line 34
.line 35
.line 36
move-result v1
.line 37
if-gt v0, v1, :cond_1
.line 38
.line 39
iget-object v1, p0, Lkotlin/text/MatcherMatchResult;->matcher:Ljava/util/regex/Matcher;
.line 40
.line 41
invoke-virtual {v1}, Ljava/util/regex/Matcher;->pattern()Ljava/util/regex/Pattern;
.line 42
.line 43
.line 44
move-result-object v1
.line 45
iget-object v2, p0, Lkotlin/text/MatcherMatchResult;->input:Ljava/lang/CharSequence;
.line 46
.line 47
invoke-virtual {v1, v2}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
.line 48
.line 49
.line 50
move-result-object v1
.line 51
const-string v2, "matcher(...)"
.line 52
.line 53
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
.line 54
.line 55
.line 56
iget-object v2, p0, Lkotlin/text/MatcherMatchResult;->input:Ljava/lang/CharSequence;
.line 57
.line 58
invoke-static {v1, v0, v2}, Lkotlin/text/RegexKt;->access$findNext(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Lkotlin/text/MatchResult;
.line 59
.line 60
.line 61
move-result-object v0
.line 62
return-object v0
.line 63
:cond_1
const/4 v0, 0x0
.line 64
return-object v0
.end method