Files
rr3-apk/smali_classes4/com/mbridge/msdk/splash/view/BaseMBSplashNativeView$2.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

163 lines
4.7 KiB
Smali

.class final Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/foundation/same/c/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView$2;->a:Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;
.line 285
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final onFailedLoad(Ljava/lang/String;Ljava/lang/String;)V
.locals 0
iget-object p1, p0, Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView$2;->a:Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;
.line 309
invoke-static {p1}, Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;->h(Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;)Lcom/mbridge/msdk/splash/view/nativeview/MBNoRecycledCrashImageView;
move-result-object p1
const/4 p2, 0x4
invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V
return-void
.end method
.method public final onSuccessLoad(Landroid/graphics/Bitmap;Ljava/lang/String;)V
.locals 2
const-string p2, "MBSplashNativeView"
if-eqz p1, :cond_0
.line 289
:try_start_0
invoke-virtual {p1}, Landroid/graphics/Bitmap;->isRecycled()Z
move-result v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
if-nez v0, :cond_0
:try_start_1
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView$2;->a:Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;
.line 291
invoke-static {v0}, Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;->h(Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;)Lcom/mbridge/msdk/splash/view/nativeview/MBNoRecycledCrashImageView;
move-result-object v0
if-eqz v0, :cond_0
.line 292
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v0
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v0
const/high16 v1, 0x42200000 # 40.0f
invoke-static {v0, v1}, Lcom/mbridge/msdk/foundation/tools/ak;->a(Landroid/content/Context;F)I
move-result v0
const/4 v1, 0x1
invoke-static {p1, v1, v0}, Lcom/mbridge/msdk/foundation/tools/ae;->a(Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap;
move-result-object v0
if-eqz v0, :cond_0
.line 293
invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z
move-result v1
if-nez v1, :cond_0
iget-object v1, p0, Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView$2;->a:Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;
.line 294
invoke-static {v1}, Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;->h(Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;)Lcom/mbridge/msdk/splash/view/nativeview/MBNoRecycledCrashImageView;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catchall_0
move-exception v0
.line 298
:try_start_2
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
invoke-static {p2, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView$2;->a:Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;
.line 299
invoke-static {v0}, Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;->h(Lcom/mbridge/msdk/splash/view/BaseMBSplashNativeView;)Lcom/mbridge/msdk/splash/view/nativeview/MBNoRecycledCrashImageView;
move-result-object v0
invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
goto :goto_0
:catchall_1
move-exception p1
.line 303
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-static {p2, p1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
:cond_0
:goto_0
return-void
.end method