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

261 lines
7.4 KiB
Smali

.class final Lcom/mbridge/msdk/splash/view/MBSplashView$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/splash/view/MBSplashView;->c()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic a:Lcom/mbridge/msdk/splash/view/MBSplashView;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/splash/view/MBSplashView;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/splash/view/MBSplashView$1;->a:Lcom/mbridge/msdk/splash/view/MBSplashView;
.line 353
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final run()V
.locals 10
const-string v0, "webviewshow"
.line 357
:try_start_0
invoke-static {}, Lcom/mbridge/msdk/splash/view/MBSplashView;->a()Ljava/lang/String;
move-result-object v1
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->a(Ljava/lang/String;Ljava/lang/String;)V
const-string v1, ""
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
const/4 v2, 0x1
const/4 v3, 0x0
const/4 v4, 0x2
:try_start_1
new-array v5, v4, [I
iget-object v6, p0, Lcom/mbridge/msdk/splash/view/MBSplashView$1;->a:Lcom/mbridge/msdk/splash/view/MBSplashView;
.line 361
invoke-static {v6}, Lcom/mbridge/msdk/splash/view/MBSplashView;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;)Lcom/mbridge/msdk/splash/view/MBSplashWebview;
move-result-object v6
invoke-virtual {v6, v5}, Landroid/view/View;->getLocationOnScreen([I)V
.line 362
invoke-static {}, Lcom/mbridge/msdk/splash/view/MBSplashView;->a()Ljava/lang/String;
move-result-object v6
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V
const-string v8, "coordinate:"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
aget v8, v5, v3
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v8, "--"
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
aget v8, v5, v2
invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v7
invoke-static {v6, v7}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
.line 363
new-instance v6, Lorg/json/JSONObject;
invoke-direct {v6}, Lorg/json/JSONObject;-><init>()V
const-string v7, "startX"
.line 364
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v8
invoke-virtual {v8}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v8
aget v9, v5, v3
int-to-float v9, v9
invoke-static {v8, v9}, Lcom/mbridge/msdk/foundation/tools/ak;->b(Landroid/content/Context;F)I
move-result v8
invoke-virtual {v6, v7, v8}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
const-string v7, "startY"
.line 365
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v8
invoke-virtual {v8}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v8
aget v5, v5, v2
int-to-float v5, v5
invoke-static {v8, v5}, Lcom/mbridge/msdk/foundation/tools/ak;->b(Landroid/content/Context;F)I
move-result v5
invoke-virtual {v6, v7, v5}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
.line 366
invoke-virtual {v6}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
move-result-object v1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catchall_0
move-exception v5
.line 368
:try_start_2
invoke-static {}, Lcom/mbridge/msdk/splash/view/MBSplashView;->a()Ljava/lang/String;
move-result-object v6
invoke-virtual {v5}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v7
invoke-static {v6, v7, v5}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
:goto_0
new-array v5, v4, [I
iget-object v6, p0, Lcom/mbridge/msdk/splash/view/MBSplashView$1;->a:Lcom/mbridge/msdk/splash/view/MBSplashView;
.line 372
invoke-static {v6}, Lcom/mbridge/msdk/splash/view/MBSplashView;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;)Lcom/mbridge/msdk/splash/view/MBSplashWebview;
move-result-object v6
invoke-virtual {v6, v5}, Landroid/view/View;->getLocationInWindow([I)V
iget-object v6, p0, Lcom/mbridge/msdk/splash/view/MBSplashView$1;->a:Lcom/mbridge/msdk/splash/view/MBSplashView;
.line 373
invoke-static {v6}, Lcom/mbridge/msdk/splash/view/MBSplashView;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;)Lcom/mbridge/msdk/splash/view/MBSplashWebview;
move-result-object v6
aget v3, v5, v3
aget v2, v5, v2
iget-object v5, p0, Lcom/mbridge/msdk/splash/view/MBSplashView$1;->a:Lcom/mbridge/msdk/splash/view/MBSplashView;
.line 374
invoke-static {v5}, Lcom/mbridge/msdk/splash/view/MBSplashView;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;)Lcom/mbridge/msdk/splash/view/MBSplashWebview;
move-result-object v5
invoke-virtual {v5}, Landroid/view/View;->getWidth()I
move-result v5
iget-object v7, p0, Lcom/mbridge/msdk/splash/view/MBSplashView$1;->a:Lcom/mbridge/msdk/splash/view/MBSplashView;
invoke-static {v7}, Lcom/mbridge/msdk/splash/view/MBSplashView;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;)Lcom/mbridge/msdk/splash/view/MBSplashWebview;
move-result-object v7
invoke-virtual {v7}, Landroid/view/View;->getHeight()I
move-result v7
.line 373
invoke-static {v6, v3, v2, v5, v7}, Lcom/mbridge/msdk/splash/view/MBSplashView;->transInfoForMraid(Landroid/webkit/WebView;IIII)V
.line 376
invoke-virtual {v1}, Ljava/lang/String;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/String;->getBytes()[B
move-result-object v1
invoke-static {v1, v4}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
move-result-object v1
.line 377
invoke-static {}, Lcom/mbridge/msdk/mbsignalcommon/windvane/g;->a()Lcom/mbridge/msdk/mbsignalcommon/windvane/g;
move-result-object v2
iget-object v3, p0, Lcom/mbridge/msdk/splash/view/MBSplashView$1;->a:Lcom/mbridge/msdk/splash/view/MBSplashView;
invoke-static {v3}, Lcom/mbridge/msdk/splash/view/MBSplashView;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;)Lcom/mbridge/msdk/splash/view/MBSplashWebview;
move-result-object v3
invoke-virtual {v2, v3, v0, v1}, Lcom/mbridge/msdk/mbsignalcommon/windvane/g;->a(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;)V
:try_end_2
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
goto :goto_1
:catch_0
move-exception v0
.line 379
invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V
:goto_1
return-void
.end method