- 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
563 lines
14 KiB
Smali
563 lines
14 KiB
Smali
.class public final Landroidx/core/graphics/Insets;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Landroidx/core/graphics/Insets$Api29Impl;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final NONE:Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field public final bottom:I
|
|
|
|
.field public final left:I
|
|
|
|
.field public final right:I
|
|
|
|
.field public final top:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
.line 36
|
|
new-instance v0, Landroidx/core/graphics/Insets;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1, v1, v1, v1}, Landroidx/core/graphics/Insets;-><init>(IIII)V
|
|
|
|
sput-object v0, Landroidx/core/graphics/Insets;->NONE:Landroidx/core/graphics/Insets;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(IIII)V
|
|
.locals 0
|
|
|
|
.line 43
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput p1, p0, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
iput p2, p0, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
iput p3, p0, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
iput p4, p0, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static add(Landroidx/core/graphics/Insets;Landroidx/core/graphics/Insets;)Landroidx/core/graphics/Insets;
|
|
.locals 4
|
|
.param p0 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 89
|
|
iget v0, p0, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
iget v1, p1, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
iget v2, p1, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
iget v2, p0, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
iget v3, p1, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
add-int/2addr v2, v3
|
|
|
|
iget p0, p0, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
iget p1, p1, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
add-int/2addr p0, p1
|
|
|
|
invoke-static {v0, v1, v2, p0}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static max(Landroidx/core/graphics/Insets;Landroidx/core/graphics/Insets;)Landroidx/core/graphics/Insets;
|
|
.locals 4
|
|
.param p0 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 115
|
|
iget v0, p0, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
iget v1, p1, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
iget v2, p1, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result v1
|
|
|
|
iget v2, p0, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
iget v3, p1, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
.line 116
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result v2
|
|
|
|
iget p0, p0, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
iget p1, p1, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->max(II)I
|
|
|
|
move-result p0
|
|
|
|
.line 115
|
|
invoke-static {v0, v1, v2, p0}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static min(Landroidx/core/graphics/Insets;Landroidx/core/graphics/Insets;)Landroidx/core/graphics/Insets;
|
|
.locals 4
|
|
.param p0 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 129
|
|
iget v0, p0, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
iget v1, p1, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v0
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
iget v2, p1, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
invoke-static {v1, v2}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v1
|
|
|
|
iget v2, p0, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
iget v3, p1, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
.line 130
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v2
|
|
|
|
iget p0, p0, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
iget p1, p1, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
invoke-static {p0, p1}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result p0
|
|
|
|
.line 129
|
|
invoke-static {v0, v1, v2, p0}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static of(IIII)Landroidx/core/graphics/Insets;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
sget-object p0, Landroidx/core/graphics/Insets;->NONE:Landroidx/core/graphics/Insets;
|
|
|
|
return-object p0
|
|
|
|
.line 66
|
|
:cond_0
|
|
new-instance v0, Landroidx/core/graphics/Insets;
|
|
|
|
invoke-direct {v0, p0, p1, p2, p3}, Landroidx/core/graphics/Insets;-><init>(IIII)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static of(Landroid/graphics/Rect;)Landroidx/core/graphics/Insets;
|
|
.locals 3
|
|
.param p0 # Landroid/graphics/Rect;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 77
|
|
iget v0, p0, Landroid/graphics/Rect;->left:I
|
|
|
|
iget v1, p0, Landroid/graphics/Rect;->top:I
|
|
|
|
iget v2, p0, Landroid/graphics/Rect;->right:I
|
|
|
|
iget p0, p0, Landroid/graphics/Rect;->bottom:I
|
|
|
|
invoke-static {v0, v1, v2, p0}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static subtract(Landroidx/core/graphics/Insets;Landroidx/core/graphics/Insets;)Landroidx/core/graphics/Insets;
|
|
.locals 4
|
|
.param p0 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Landroidx/core/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 102
|
|
iget v0, p0, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
iget v1, p1, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
iget v2, p1, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
iget v2, p0, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
iget v3, p1, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
sub-int/2addr v2, v3
|
|
|
|
iget p0, p0, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
iget p1, p1, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
sub-int/2addr p0, p1
|
|
|
|
invoke-static {v0, v1, v2, p0}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static toCompatInsets(Landroid/graphics/Insets;)Landroidx/core/graphics/Insets;
|
|
.locals 3
|
|
.param p0 # Landroid/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x1d
|
|
.end annotation
|
|
|
|
.line 190
|
|
invoke-static {p0}, Landroidx/appcompat/widget/DrawableUtils$$ExternalSyntheticApiModelOutline0;->m(Landroid/graphics/Insets;)I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {p0}, Landroidx/appcompat/widget/DrawableUtils$$ExternalSyntheticApiModelOutline1;->m(Landroid/graphics/Insets;)I
|
|
|
|
move-result v1
|
|
|
|
invoke-static {p0}, Landroidx/appcompat/widget/DrawableUtils$$ExternalSyntheticApiModelOutline2;->m(Landroid/graphics/Insets;)I
|
|
|
|
move-result v2
|
|
|
|
invoke-static {p0}, Landroidx/appcompat/widget/DrawableUtils$$ExternalSyntheticApiModelOutline3;->m(Landroid/graphics/Insets;)I
|
|
|
|
move-result p0
|
|
|
|
invoke-static {v0, v1, v2, p0}, Landroidx/core/graphics/Insets;->of(IIII)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static wrap(Landroid/graphics/Insets;)Landroidx/core/graphics/Insets;
|
|
.locals 0
|
|
.param p0 # Landroid/graphics/Insets;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x1d
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RestrictTo;
|
|
value = {
|
|
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 180
|
|
invoke-static {p0}, Landroidx/core/graphics/Insets;->toCompatInsets(Landroid/graphics/Insets;)Landroidx/core/graphics/Insets;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public equals(Ljava/lang/Object;)Z
|
|
.locals 4
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p0, p1, :cond_0
|
|
|
|
return v0
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz p1, :cond_6
|
|
|
|
.line 144
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v2
|
|
|
|
const-class v3, Landroidx/core/graphics/Insets;
|
|
|
|
if-eq v3, v2, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 146
|
|
:cond_1
|
|
check-cast p1, Landroidx/core/graphics/Insets;
|
|
|
|
iget v2, p0, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
.line 148
|
|
iget v3, p1, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
if-eq v2, v3, :cond_2
|
|
|
|
return v1
|
|
|
|
:cond_2
|
|
iget v2, p0, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
.line 149
|
|
iget v3, p1, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
if-eq v2, v3, :cond_3
|
|
|
|
return v1
|
|
|
|
:cond_3
|
|
iget v2, p0, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
.line 150
|
|
iget v3, p1, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
if-eq v2, v3, :cond_4
|
|
|
|
return v1
|
|
|
|
:cond_4
|
|
iget v2, p0, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
.line 151
|
|
iget p1, p1, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
if-eq v2, p1, :cond_5
|
|
|
|
return v1
|
|
|
|
:cond_5
|
|
return v0
|
|
|
|
:cond_6
|
|
:goto_0
|
|
return v1
|
|
.end method
|
|
|
|
.method public hashCode()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
mul-int/lit8 v0, v0, 0x1f
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public toPlatformInsets()Landroid/graphics/Insets;
|
|
.locals 4
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
value = 0x1d
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
iget v2, p0, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
iget v3, p0, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
.line 200
|
|
invoke-static {v0, v1, v2, v3}, Landroidx/core/graphics/Insets$Api29Impl;->of(IIII)Landroid/graphics/Insets;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public toString()Ljava/lang/String;
|
|
.locals 2
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.line 168
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "Insets{left="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->left:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", top="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->top:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", right="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->right:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string v1, ", bottom="
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget v1, p0, Landroidx/core/graphics/Insets;->bottom:I
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const/16 v1, 0x7d
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|