- 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
62 lines
1.4 KiB
Smali
62 lines
1.4 KiB
Smali
.class public Lcom/google/firebase/crashlytics/internal/stacktrace/MiddleOutStrategy;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/firebase/crashlytics/internal/stacktrace/StackTraceTrimmingStrategy;
|
|
|
|
|
|
# instance fields
|
|
.field public final trimmedSize:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(I)V
|
|
.locals 0
|
|
|
|
.line 29
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Lcom/google/firebase/crashlytics/internal/stacktrace/MiddleOutStrategy;->trimmedSize:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getTrimmedStackTrace([Ljava/lang/StackTraceElement;)[Ljava/lang/StackTraceElement;
|
|
.locals 4
|
|
|
|
.line 35
|
|
array-length v0, p1
|
|
|
|
iget v1, p0, Lcom/google/firebase/crashlytics/internal/stacktrace/MiddleOutStrategy;->trimmedSize:I
|
|
|
|
if-gt v0, v1, :cond_0
|
|
|
|
return-object p1
|
|
|
|
.line 40
|
|
:cond_0
|
|
div-int/lit8 v0, v1, 0x2
|
|
|
|
sub-int v2, v1, v0
|
|
|
|
.line 43
|
|
new-array v1, v1, [Ljava/lang/StackTraceElement;
|
|
|
|
const/4 v3, 0x0
|
|
|
|
.line 44
|
|
invoke-static {p1, v3, v1, v3, v2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
.line 45
|
|
array-length v3, p1
|
|
|
|
sub-int/2addr v3, v0
|
|
|
|
invoke-static {p1, v3, v1, v2, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
return-object v1
|
|
.end method
|