- 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
97 lines
1.5 KiB
Smali
97 lines
1.5 KiB
Smali
.class public Lcom/amazonaws/internal/SdkDigestInputStream;
|
|
.super Ljava/security/DigestInputStream;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/io/InputStream;Ljava/security/MessageDigest;)V
|
|
.locals 0
|
|
|
|
.line 30
|
|
invoke-direct {p0, p1, p2}, Ljava/security/DigestInputStream;-><init>(Ljava/io/InputStream;Ljava/security/MessageDigest;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final skip(J)J
|
|
.locals 8
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
if-gtz v2, :cond_0
|
|
|
|
return-wide p1
|
|
|
|
:cond_0
|
|
const-wide/16 v2, 0x800
|
|
|
|
.line 69
|
|
invoke-static {v2, v3, p1, p2}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v2
|
|
|
|
long-to-int v2, v2
|
|
|
|
new-array v3, v2, [B
|
|
|
|
move-wide v4, p1
|
|
|
|
:goto_0
|
|
cmp-long v6, v4, v0
|
|
|
|
if-lez v6, :cond_3
|
|
|
|
int-to-long v6, v2
|
|
|
|
.line 72
|
|
invoke-static {v4, v5, v6, v7}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
move-result-wide v6
|
|
|
|
long-to-int v6, v6
|
|
|
|
const/4 v7, 0x0
|
|
|
|
invoke-virtual {p0, v3, v7, v6}, Ljava/io/InputStream;->read([BII)I
|
|
|
|
move-result v6
|
|
|
|
const/4 v7, -0x1
|
|
|
|
if-ne v6, v7, :cond_2
|
|
|
|
cmp-long v0, v4, p1
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const-wide/16 p1, -0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
sub-long/2addr p1, v4
|
|
|
|
:goto_1
|
|
return-wide p1
|
|
|
|
:cond_2
|
|
int-to-long v6, v6
|
|
|
|
sub-long/2addr v4, v6
|
|
|
|
goto :goto_0
|
|
|
|
:cond_3
|
|
return-wide p1
|
|
.end method
|