Files
rr3-apk/smali_classes4/com/mbridge/msdk/newreward/player/view/WebViewTemplate$6.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

235 lines
6.1 KiB
Smali

.class Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate$6;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate$6;->this$0:Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
.line 710
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 8
:try_start_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
iget-object v1, p0, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate$6;->this$0:Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
.line 716
invoke-virtual {v1}, Landroid/view/View;->getRootWindowInsets()Landroid/view/WindowInsets;
move-result-object v1
const/16 v2, 0x1c
if-lt v0, v2, :cond_7
.line 718
invoke-static {v1}, Landroidx/core/view/WindowInsetsCompat$Impl28$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/WindowInsets;)Landroid/view/DisplayCutout;
move-result-object v0
if-eqz v0, :cond_7
iget-object v1, p0, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate$6;->this$0:Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
.line 719
iget-object v1, v1, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;->mTopControllerView:Landroid/widget/RelativeLayout;
if-eqz v1, :cond_7
.line 720
invoke-static {v0}, Lcom/firemint/realracing/MainActivity$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/DisplayCutout;)I
move-result v1
.line 721
invoke-static {v0}, Lcom/mbridge/msdk/activity/MBBaseActivity$1$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/DisplayCutout;)I
move-result v2
.line 722
invoke-static {v0}, Lcom/firemint/realracing/MainActivity$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/DisplayCutout;)I
move-result v3
.line 723
invoke-static {v0}, Lcom/google/android/gms/internal/consent_sdk/zzn$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/DisplayCutout;)I
move-result v0
iget-object v4, p0, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate$6;->this$0:Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
.line 725
invoke-virtual {v4}, Landroid/view/View;->getDisplay()Landroid/view/Display;
move-result-object v4
invoke-virtual {v4}, Landroid/view/Display;->getRotation()I
move-result v4
if-nez v4, :cond_0
goto :goto_0
:cond_0
const/4 v5, 0x1
if-ne v4, v5, :cond_1
const/16 v4, 0x5a
goto :goto_1
:cond_1
const/4 v5, 0x2
if-ne v4, v5, :cond_2
const/16 v4, 0xb4
goto :goto_1
:cond_2
const/4 v5, 0x3
if-ne v4, v5, :cond_3
const/16 v4, 0x10e
goto :goto_1
:cond_3
:goto_0
const/4 v4, 0x0
:goto_1
iget-object v5, p0, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate$6;->this$0:Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
.line 728
iget-object v5, v5, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;->mTopControllerView:Landroid/widget/RelativeLayout;
invoke-virtual {v5}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v5
check-cast v5, Landroid/widget/FrameLayout$LayoutParams;
iget-object v6, p0, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate$6;->this$0:Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
.line 729
invoke-virtual {v6}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v6
const/high16 v7, 0x41200000 # 10.0f
invoke-static {v6, v7}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
move-result v6
if-nez v1, :cond_4
move v7, v6
goto :goto_2
:cond_4
move v7, v1
.line 730
:goto_2
iput v7, v5, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I
if-nez v2, :cond_5
move v7, v6
goto :goto_3
:cond_5
move v7, v2
.line 731
:goto_3
iput v7, v5, Landroid/widget/FrameLayout$LayoutParams;->topMargin:I
if-nez v3, :cond_6
goto :goto_4
:cond_6
move v6, v3
.line 732
:goto_4
iput v6, v5, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I
iget-object v6, p0, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate$6;->this$0:Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
.line 733
iget-object v6, v6, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;->mTopControllerView:Landroid/widget/RelativeLayout;
invoke-virtual {v6, v5}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
iget-object v5, p0, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate$6;->this$0:Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;
.line 734
iget-object v5, v5, Lcom/mbridge/msdk/newreward/player/view/WebViewTemplate;->mWebTemplatePresenter:Lcom/mbridge/msdk/newreward/player/presenter/PlayWebPresenter;
invoke-static {v4, v1, v3, v2, v0}, Lcom/mbridge/msdk/foundation/tools/s;->a(IIIII)Ljava/lang/String;
move-result-object v0
invoke-virtual {v5, v0}, Lcom/mbridge/msdk/newreward/player/presenter/PlayWebPresenter;->setNotchData(Ljava/lang/String;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_5
:catchall_0
move-exception v0
const-string v1, "WebViewTemplate"
.line 739
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_7
:goto_5
return-void
.end method