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

183 lines
5.2 KiB
Smali

.class Lcom/mbridge/msdk/newreward/player/view/BaseTemplate$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;
.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/BaseTemplate;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate$1;->this$0:Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;
.line 335
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 6
:try_start_0
iget-object v0, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate$1;->this$0:Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;
.line 339
iget-object v0, v0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->presenter:Lcom/mbridge/msdk/newreward/player/presenter/PlayTemplePresenter;
if-eqz v0, :cond_0
invoke-virtual {v0}, Lcom/mbridge/msdk/newreward/player/presenter/BaseTemplatePresenter;->isHalfScreenOffer()Z
move-result v0
if-eqz v0, :cond_0
return-void
:catchall_0
move-exception v0
goto :goto_0
:cond_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
iget-object v1, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate$1;->this$0:Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;
.line 344
invoke-virtual {v1}, Landroid/view/View;->getRootWindowInsets()Landroid/view/WindowInsets;
move-result-object v1
const/16 v2, 0x1c
if-lt v0, v2, :cond_4
if-eqz v1, :cond_4
.line 346
invoke-static {v1}, Landroidx/core/view/WindowInsetsCompat$Impl28$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/WindowInsets;)Landroid/view/DisplayCutout;
move-result-object v0
if-eqz v0, :cond_4
iget-object v1, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate$1;->this$0:Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;
.line 347
iget-object v1, v1, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->mTopControllerView:Landroid/widget/RelativeLayout;
if-eqz v1, :cond_4
.line 348
invoke-static {v0}, Lcom/firemint/realracing/MainActivity$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/DisplayCutout;)I
move-result v1
.line 349
invoke-static {v0}, Lcom/mbridge/msdk/activity/MBBaseActivity$1$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/DisplayCutout;)I
move-result v2
.line 350
invoke-static {v0}, Lcom/firemint/realracing/MainActivity$$ExternalSyntheticApiModelOutline1;->m(Landroid/view/DisplayCutout;)I
move-result v3
.line 351
invoke-static {v0}, Lcom/google/android/gms/internal/consent_sdk/zzn$$ExternalSyntheticApiModelOutline0;->m(Landroid/view/DisplayCutout;)I
iget-object v0, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate$1;->this$0:Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;
.line 353
iget-object v0, v0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->mTopControllerView:Landroid/widget/RelativeLayout;
invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
move-result-object v0
check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;
iget-object v4, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate$1;->this$0:Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;
.line 354
invoke-virtual {v4}, Landroid/view/View;->getContext()Landroid/content/Context;
move-result-object v4
const/high16 v5, 0x41100000 # 9.0f
invoke-static {v4, v5}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
move-result v4
if-nez v1, :cond_1
move v1, v4
.line 355
:cond_1
iput v1, v0, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I
if-nez v2, :cond_2
move v2, v4
.line 356
:cond_2
iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I
if-nez v3, :cond_3
move v3, v4
.line 357
:cond_3
iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->rightMargin:I
iget-object v1, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate$1;->this$0:Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;
.line 358
iget-object v1, v1, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->mTopControllerView:Landroid/widget/RelativeLayout;
invoke-virtual {v1, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_1
:goto_0
const-string v1, "BaseTemplate"
.line 363
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_4
:goto_1
return-void
.end method