Files
rr3-apk/smali/androidx/appcompat/widget/ViewUtils$Api29Impl.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

90 lines
2.4 KiB
Smali

.class Landroidx/appcompat/widget/ViewUtils$Api29Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x1d
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/widget/ViewUtils;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api29Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 117
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static computeFitSystemWindows(Landroid/view/View;Landroid/graphics/Rect;Landroid/graphics/Rect;)V
.locals 2
.param p0 # Landroid/view/View;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/graphics/Rect;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/graphics/Rect;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/DoNotInline;
.end annotation
.line 124
new-instance v0, Landroid/view/WindowInsets$Builder;
invoke-direct {v0}, Landroid/view/WindowInsets$Builder;-><init>()V
.line 126
invoke-static {p1}, Landroid/graphics/Insets;->of(Landroid/graphics/Rect;)Landroid/graphics/Insets;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/view/WindowInsets$Builder;->setSystemWindowInsets(Landroid/graphics/Insets;)Landroid/view/WindowInsets$Builder;
move-result-object v0
.line 127
invoke-virtual {v0}, Landroid/view/WindowInsets$Builder;->build()Landroid/view/WindowInsets;
move-result-object v0
.line 128
invoke-virtual {p0, v0, p2}, Landroid/view/View;->computeSystemWindowInsets(Landroid/view/WindowInsets;Landroid/graphics/Rect;)Landroid/view/WindowInsets;
move-result-object p0
.line 129
invoke-virtual {p0}, Landroid/view/WindowInsets;->getSystemWindowInsets()Landroid/graphics/Insets;
move-result-object p0
.line 130
iget p2, p0, Landroid/graphics/Insets;->left:I
iget v0, p0, Landroid/graphics/Insets;->top:I
iget v1, p0, Landroid/graphics/Insets;->right:I
iget p0, p0, Landroid/graphics/Insets;->bottom:I
invoke-virtual {p1, p2, v0, v1, p0}, Landroid/graphics/Rect;->set(IIII)V
return-void
.end method