- 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
55 lines
1.3 KiB
Smali
55 lines
1.3 KiB
Smali
.class public final Lcom/mbridge/msdk/dycreator/e/e;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static a(Landroid/content/Context;F)I
|
|
.locals 0
|
|
|
|
.line 17
|
|
invoke-static {p0}, Lcom/mbridge/msdk/dycreator/e/e;->a(Landroid/content/Context;)Landroid/util/DisplayMetrics;
|
|
|
|
move-result-object p0
|
|
|
|
iget p0, p0, Landroid/util/DisplayMetrics;->density:F
|
|
|
|
div-float/2addr p1, p0
|
|
|
|
const/high16 p0, 0x3f000000 # 0.5f
|
|
|
|
add-float/2addr p1, p0
|
|
|
|
float-to-int p0, p1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static a(Landroid/content/Context;)Landroid/util/DisplayMetrics;
|
|
.locals 1
|
|
|
|
const-string v0, "window"
|
|
|
|
.line 21
|
|
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 22
|
|
invoke-interface {p0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
|
|
|
|
move-result-object p0
|
|
|
|
.line 24
|
|
new-instance v0, Landroid/util/DisplayMetrics;
|
|
|
|
invoke-direct {v0}, Landroid/util/DisplayMetrics;-><init>()V
|
|
|
|
.line 25
|
|
invoke-virtual {p0, v0}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V
|
|
|
|
return-object v0
|
|
.end method
|