Files
rr3-apk/smali_classes4/com/mbridge/msdk/thrid/okhttp/CipherSuite$1.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

136 lines
2.3 KiB
Smali

.class final Lcom/mbridge/msdk/thrid/okhttp/CipherSuite$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/thrid/okhttp/CipherSuite;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/util/Comparator<",
"Ljava/lang/String;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 49
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
.line 49
check-cast p1, Ljava/lang/String;
check-cast p2, Ljava/lang/String;
invoke-virtual {p0, p1, p2}, Lcom/mbridge/msdk/thrid/okhttp/CipherSuite$1;->compare(Ljava/lang/String;Ljava/lang/String;)I
move-result p1
return p1
.end method
.method public compare(Ljava/lang/String;Ljava/lang/String;)I
.locals 6
.line 51
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v0
invoke-virtual {p2}, Ljava/lang/String;->length()I
move-result v1
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
move-result v0
const/4 v1, 0x4
:goto_0
const/4 v2, -0x1
const/4 v3, 0x1
if-ge v1, v0, :cond_2
.line 52
invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C
move-result v4
.line 53
invoke-virtual {p2, v1}, Ljava/lang/String;->charAt(I)C
move-result v5
if-eq v4, v5, :cond_1
if-ge v4, v5, :cond_0
goto :goto_1
:cond_0
move v2, v3
:goto_1
return v2
:cond_1
add-int/lit8 v1, v1, 0x1
goto :goto_0
.line 56
:cond_2
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result p1
.line 57
invoke-virtual {p2}, Ljava/lang/String;->length()I
move-result p2
if-eq p1, p2, :cond_4
if-ge p1, p2, :cond_3
goto :goto_2
:cond_3
move v2, v3
:goto_2
return v2
:cond_4
const/4 p1, 0x0
return p1
.end method