- 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
305 lines
7.4 KiB
Smali
305 lines
7.4 KiB
Smali
.class public Lcom/mbridge/msdk/nativex/view/WindVaneWebViewForNV;
|
|
.super Lcom/mbridge/msdk/mbsignalcommon/windvane/WindVaneWebView;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field private static e:Ljava/lang/String; = "WindVaneWebViewForNV"
|
|
|
|
|
|
# instance fields
|
|
.field private f:Lcom/mbridge/msdk/nativex/listener/b;
|
|
|
|
.field private g:Z
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 37
|
|
invoke-direct {p0, p1}, Lcom/mbridge/msdk/mbsignalcommon/windvane/WindVaneWebView;-><init>(Landroid/content/Context;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-boolean p1, p0, Lcom/mbridge/msdk/nativex/view/WindVaneWebViewForNV;->g:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
.line 41
|
|
invoke-direct {p0, p1, p2}, Lcom/mbridge/msdk/mbsignalcommon/windvane/WindVaneWebView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-boolean p1, p0, Lcom/mbridge/msdk/nativex/view/WindVaneWebViewForNV;->g:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 45
|
|
invoke-direct {p0, p1, p2, p3}, Lcom/mbridge/msdk/mbsignalcommon/windvane/WindVaneWebView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
iput-boolean p1, p0, Lcom/mbridge/msdk/nativex/view/WindVaneWebViewForNV;->g:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onKeyDown(ILandroid/view/KeyEvent;)Z
|
|
.locals 1
|
|
|
|
const/4 v0, 0x4
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/nativex/view/WindVaneWebViewForNV;->f:Lcom/mbridge/msdk/nativex/listener/b;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 62
|
|
invoke-virtual {v0}, Lcom/mbridge/msdk/nativex/listener/b;->a()V
|
|
|
|
const/4 p1, 0x1
|
|
|
|
return p1
|
|
|
|
.line 67
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Landroid/view/View;->onKeyDown(ILandroid/view/KeyEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
.locals 1
|
|
|
|
iget-boolean v0, p0, Lcom/mbridge/msdk/nativex/view/WindVaneWebViewForNV;->g:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
|
|
.line 55
|
|
:cond_0
|
|
invoke-super {p0, p1}, Lcom/mbridge/msdk/mbsignalcommon/windvane/WindVaneWebView;->onTouchEvent(Landroid/view/MotionEvent;)Z
|
|
|
|
move-result p1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public orientation(Z)V
|
|
.locals 2
|
|
|
|
.line 90
|
|
:try_start_0
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
const-string v1, "orientation"
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
:try_start_1
|
|
const-string p1, "landscape"
|
|
|
|
.line 92
|
|
invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const-string p1, "portrait"
|
|
|
|
.line 94
|
|
invoke-virtual {v0, v1, p1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
.line 96
|
|
:goto_0
|
|
invoke-virtual {v0}, Lorg/json/JSONObject;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->getBytes()[B
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
invoke-static {p1, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 97
|
|
invoke-static {}, Lcom/mbridge/msdk/mbsignalcommon/windvane/g;->a()Lcom/mbridge/msdk/mbsignalcommon/windvane/g;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0, p0, v1, p1}, Lcom/mbridge/msdk/mbsignalcommon/windvane/g;->a(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;)V
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
goto :goto_2
|
|
|
|
.line 99
|
|
:goto_1
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackListener(Lcom/mbridge/msdk/nativex/listener/b;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/nativex/view/WindVaneWebViewForNV;->f:Lcom/mbridge/msdk/nativex/listener/b;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setInterceptTouch(Z)V
|
|
.locals 0
|
|
|
|
iput-boolean p1, p0, Lcom/mbridge/msdk/nativex/view/WindVaneWebViewForNV;->g:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public webViewShow(Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;)V
|
|
.locals 3
|
|
|
|
.line 72
|
|
:try_start_0
|
|
invoke-static {}, Lcom/mbridge/msdk/mbsignalcommon/windvane/g;->a()Lcom/mbridge/msdk/mbsignalcommon/windvane/g;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "webviewshow"
|
|
|
|
const-string v2, ""
|
|
|
|
invoke-virtual {v0, p0, v1, v2}, Lcom/mbridge/msdk/mbsignalcommon/windvane/g;->a(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 74
|
|
new-instance v0, Lcom/mbridge/msdk/foundation/entity/n;
|
|
|
|
invoke-direct {v0}, Lcom/mbridge/msdk/foundation/entity/n;-><init>()V
|
|
|
|
.line 75
|
|
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getRequestId()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/foundation/entity/n;->f(Ljava/lang/String;)V
|
|
|
|
.line 76
|
|
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getRequestIdNotice()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/foundation/entity/n;->g(Ljava/lang/String;)V
|
|
|
|
.line 77
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
goto :goto_1
|
|
|
|
.line 80
|
|
:cond_0
|
|
invoke-virtual {p1}, Lcom/mbridge/msdk/out/Campaign;->getId()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/foundation/entity/n;->e(Ljava/lang/String;)V
|
|
|
|
.line 81
|
|
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->isMraid()Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
sget p1, Lcom/mbridge/msdk/foundation/entity/n;->a:I
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
sget p1, Lcom/mbridge/msdk/foundation/entity/n;->b:I
|
|
|
|
:goto_0
|
|
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/foundation/entity/n;->d(I)V
|
|
|
|
.line 82
|
|
invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1, p2}, Lcom/mbridge/msdk/foundation/same/report/g;->d(Lcom/mbridge/msdk/foundation/entity/n;Landroid/content/Context;Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_2
|
|
:goto_1
|
|
return-void
|
|
|
|
.line 84
|
|
:goto_2
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:goto_3
|
|
return-void
|
|
.end method
|