- 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
187 lines
4.6 KiB
Smali
187 lines
4.6 KiB
Smali
.class final Lcom/mbridge/msdk/splash/view/BaseSplashPopView$2;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/mbridge/msdk/foundation/same/c/c;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/mbridge/msdk/splash/view/BaseSplashPopView;->a(Ljava/lang/String;Z)V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Z
|
|
|
|
.field final synthetic b:Lcom/mbridge/msdk/splash/view/BaseSplashPopView;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/mbridge/msdk/splash/view/BaseSplashPopView;Z)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/BaseSplashPopView$2;->b:Lcom/mbridge/msdk/splash/view/BaseSplashPopView;
|
|
|
|
iput-boolean p2, p0, Lcom/mbridge/msdk/splash/view/BaseSplashPopView$2;->a:Z
|
|
|
|
.line 518
|
|
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
|
|
|
|
const-string p2, "MBSplashPopView"
|
|
|
|
.line 538
|
|
invoke-static {p2, p1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onSuccessLoad(Landroid/graphics/Bitmap;Ljava/lang/String;)V
|
|
.locals 5
|
|
|
|
.line 522
|
|
:try_start_0
|
|
invoke-virtual {p1}, Landroid/graphics/Bitmap;->isRecycled()Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
iget-boolean p2, p0, Lcom/mbridge/msdk/splash/view/BaseSplashPopView$2;->a:Z
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 1038
|
|
invoke-virtual {p1}, Landroid/graphics/Bitmap;->isRecycled()Z
|
|
|
|
move-result p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
.line 1039
|
|
invoke-virtual {p1}, Landroid/graphics/Bitmap;->getWidth()I
|
|
|
|
move-result p2
|
|
|
|
.line 1040
|
|
sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_4444:Landroid/graphics/Bitmap$Config;
|
|
|
|
invoke-static {p2, p2, v1}, Landroid/graphics/Bitmap;->createBitmap(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;
|
|
|
|
move-result-object v1
|
|
|
|
.line 1041
|
|
new-instance v2, Landroid/graphics/Canvas;
|
|
|
|
invoke-direct {v2, v1}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V
|
|
|
|
.line 1042
|
|
new-instance v3, Landroid/graphics/Paint;
|
|
|
|
invoke-direct {v3}, Landroid/graphics/Paint;-><init>()V
|
|
|
|
.line 1043
|
|
invoke-virtual {v3, v0}, Landroid/graphics/Paint;->setAntiAlias(Z)V
|
|
|
|
.line 1044
|
|
div-int/lit8 v0, p2, 0x2
|
|
|
|
int-to-float v0, v0
|
|
|
|
div-int/lit8 v4, p2, 0x2
|
|
|
|
int-to-float v4, v4
|
|
|
|
div-int/lit8 p2, p2, 0x2
|
|
|
|
int-to-float p2, p2
|
|
|
|
invoke-virtual {v2, v0, v4, p2, v3}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V
|
|
|
|
.line 1045
|
|
new-instance p2, Landroid/graphics/PorterDuffXfermode;
|
|
|
|
sget-object v0, Landroid/graphics/PorterDuff$Mode;->SRC_IN:Landroid/graphics/PorterDuff$Mode;
|
|
|
|
invoke-direct {p2, v0}, Landroid/graphics/PorterDuffXfermode;-><init>(Landroid/graphics/PorterDuff$Mode;)V
|
|
|
|
invoke-virtual {v3, p2}, Landroid/graphics/Paint;->setXfermode(Landroid/graphics/Xfermode;)Landroid/graphics/Xfermode;
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 1046
|
|
invoke-virtual {v2, p1, p2, p2, v3}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_0
|
|
const/4 v1, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/16 p2, 0x10
|
|
|
|
.line 527
|
|
invoke-static {p1, v0, p2}, Lcom/mbridge/msdk/foundation/tools/ae;->a(Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap;
|
|
|
|
move-result-object v1
|
|
|
|
:goto_0
|
|
iget-object p2, p0, Lcom/mbridge/msdk/splash/view/BaseSplashPopView$2;->b:Lcom/mbridge/msdk/splash/view/BaseSplashPopView;
|
|
|
|
.line 529
|
|
invoke-static {p2}, Lcom/mbridge/msdk/splash/view/BaseSplashPopView;->b(Lcom/mbridge/msdk/splash/view/BaseSplashPopView;)Landroid/widget/ImageView;
|
|
|
|
move-result-object p2
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move-object p1, v1
|
|
|
|
:goto_1
|
|
invoke-virtual {p2, p1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_3
|
|
|
|
:goto_2
|
|
const-string p2, "MBSplashPopView"
|
|
|
|
.line 532
|
|
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_3
|
|
:goto_3
|
|
return-void
|
|
.end method
|