- 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
60 lines
1.4 KiB
Smali
60 lines
1.4 KiB
Smali
.class public Lcsdk/gluads/util/DeviceUtil$API1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcsdk/gluads/util/DeviceUtil;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "API1"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 59
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static defaultDisplay(Landroid/content/Context;)Landroid/view/Display;
|
|
.locals 1
|
|
|
|
const-string v0, "window"
|
|
|
|
.line 61
|
|
invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Landroid/view/WindowManager;
|
|
|
|
.line 62
|
|
invoke-interface {p0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static realDisplayMetrics(Landroid/view/Display;)Landroid/util/DisplayMetrics;
|
|
.locals 1
|
|
|
|
.line 66
|
|
new-instance v0, Landroid/util/DisplayMetrics;
|
|
|
|
invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V
|
|
|
|
.line 67
|
|
invoke-virtual {p0, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V
|
|
|
|
return-object v0
|
|
.end method
|