- 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
126 lines
2.4 KiB
Smali
126 lines
2.4 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/renderers/h$a;
|
|
.super Landroid/widget/RelativeLayout;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/fyber/inneractive/sdk/renderers/h;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:F
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;F)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
iput p2, p0, Lcom/fyber/inneractive/sdk/renderers/h$a;->a:F
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onMeasure(II)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
.line 2
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getMode(I)I
|
|
|
|
move-result v0
|
|
|
|
const/high16 v1, 0x40000000 # 2.0f
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const/high16 v2, -0x80000000
|
|
|
|
if-ne v0, v2, :cond_0
|
|
|
|
.line 7
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result v0
|
|
|
|
if-lez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 18
|
|
:cond_0
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result p1
|
|
|
|
.line 19
|
|
invoke-static {p2}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result p2
|
|
|
|
.line 21
|
|
invoke-static {p1, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result p1
|
|
|
|
.line 22
|
|
invoke-static {p2, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result p2
|
|
|
|
goto :goto_1
|
|
|
|
.line 23
|
|
:cond_1
|
|
:goto_0
|
|
invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I
|
|
|
|
move-result p1
|
|
|
|
.line 24
|
|
invoke-static {p1, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result v0
|
|
|
|
iget v2, p0, Lcom/fyber/inneractive/sdk/renderers/h$a;->a:F
|
|
|
|
const/4 v3, 0x0
|
|
|
|
cmpl-float v3, v2, v3
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
int-to-float p1, p1
|
|
|
|
mul-float/2addr p1, v2
|
|
|
|
float-to-int p1, p1
|
|
|
|
.line 28
|
|
invoke-static {p1, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
|
|
|
|
move-result p2
|
|
|
|
:cond_2
|
|
move p1, v0
|
|
|
|
.line 40
|
|
:goto_1
|
|
invoke-super {p0, p1, p2}, Landroid/widget/RelativeLayout;->onMeasure(II)V
|
|
|
|
return-void
|
|
.end method
|