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
This commit is contained in:
2026-02-18 16:13:44 -08:00
parent c080f0d97f
commit f3960ee359
44288 changed files with 10998761 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
.class public Lcom/unity3d/services/ads/webplayer/WebPlayerBridgeInterface;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field private final viewId:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 0
.line 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerBridgeInterface;->viewId:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public handleEvent(Ljava/lang/String;)V
.locals 4
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
.line 17
invoke-static {}, Lcom/unity3d/services/core/webview/WebViewApp;->getCurrentApp()Lcom/unity3d/services/core/webview/WebViewApp;
move-result-object v0
if-eqz v0, :cond_0
.line 18
invoke-static {}, Lcom/unity3d/services/core/webview/WebViewApp;->getCurrentApp()Lcom/unity3d/services/core/webview/WebViewApp;
move-result-object v0
sget-object v1, Lcom/unity3d/services/core/webview/WebViewEventCategory;->WEBPLAYER:Lcom/unity3d/services/core/webview/WebViewEventCategory;
sget-object v2, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->WEBPLAYER_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
iget-object v3, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerBridgeInterface;->viewId:Ljava/lang/String;
filled-new-array {p1, v3}, [Ljava/lang/Object;
move-result-object p1
invoke-virtual {v0, v1, v2, p1}, Lcom/unity3d/services/core/webview/WebViewApp;->sendEvent(Ljava/lang/Enum;Ljava/lang/Enum;[Ljava/lang/Object;)Z
:cond_0
return-void
.end method

View File

@@ -0,0 +1,101 @@
.class public final enum Lcom/unity3d/services/ads/webplayer/WebPlayerError;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/unity3d/services/ads/webplayer/WebPlayerError;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/unity3d/services/ads/webplayer/WebPlayerError;
.field public static final enum WEBPLAYER_NULL:Lcom/unity3d/services/ads/webplayer/WebPlayerError;
# direct methods
.method private static synthetic $values()[Lcom/unity3d/services/ads/webplayer/WebPlayerError;
.locals 1
sget-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerError;->WEBPLAYER_NULL:Lcom/unity3d/services/ads/webplayer/WebPlayerError;
filled-new-array {v0}, [Lcom/unity3d/services/ads/webplayer/WebPlayerError;
move-result-object v0
return-object v0
.end method
.method static constructor <clinit>()V
.locals 3
.line 4
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerError;
const-string v1, "WEBPLAYER_NULL"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerError;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerError;->WEBPLAYER_NULL:Lcom/unity3d/services/ads/webplayer/WebPlayerError;
.line 3
invoke-static {}, Lcom/unity3d/services/ads/webplayer/WebPlayerError;->$values()[Lcom/unity3d/services/ads/webplayer/WebPlayerError;
move-result-object v0
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerError;->$VALUES:[Lcom/unity3d/services/ads/webplayer/WebPlayerError;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 3
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/unity3d/services/ads/webplayer/WebPlayerError;
.locals 1
const-class v0, Lcom/unity3d/services/ads/webplayer/WebPlayerError;
.line 3
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/unity3d/services/ads/webplayer/WebPlayerError;
return-object p0
.end method
.method public static values()[Lcom/unity3d/services/ads/webplayer/WebPlayerError;
.locals 1
sget-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerError;->$VALUES:[Lcom/unity3d/services/ads/webplayer/WebPlayerError;
.line 3
invoke-virtual {v0}, [Lcom/unity3d/services/ads/webplayer/WebPlayerError;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/unity3d/services/ads/webplayer/WebPlayerError;
return-object v0
.end method

View File

@@ -0,0 +1,626 @@
.class public final enum Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.super Ljava/lang/Enum;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;",
">;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum CLIENT_CERT_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum CLOSE_WINDOW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum CONSOLE_MESSAGE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum CREATE_WINDOW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum DOWNLOAD_START:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum FORM_RESUBMISSION:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum FRAME_UPDATE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum GEOLOCATION_PERMISSIONS_SHOW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum GET_FRAME_RESPONSE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum HIDE_CUSTOM_VIEW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum HTTP_AUTH_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum HTTP_ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum JS_ALERT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum JS_CONFIRM:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum JS_PROMPT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum LOAD_RESOUCE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum LOGIN_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum PAGE_COMMIT_VISIBLE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum PAGE_FINISHED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum PAGE_STARTED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum PERMISSION_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum PROGRESS_CHANGED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum RECEIVED_ICON:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum RECEIVED_TITLE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum RECEIVED_TOUCH_ICON_URL:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum REQUEST_FOCUS:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum SCALE_CHANGED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum SHOULD_INTERCEPT_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum SHOULD_OVERRIDE_KEY_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum SHOULD_OVERRIDE_URL_LOADING:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum SHOW_CUSTOM_VIEW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum SHOW_FILE_CHOOSER:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum SSL_ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum UNHANDLED_KEY_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.field public static final enum WEBPLAYER_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
# direct methods
.method private static synthetic $values()[Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.locals 36
sget-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PAGE_STARTED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v1, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PAGE_FINISHED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v2, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v3, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->HTTP_ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v4, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PERMISSION_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v5, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->LOAD_RESOUCE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v6, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SSL_ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v7, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->CLIENT_CERT_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v8, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->HTTP_AUTH_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v9, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SCALE_CHANGED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v10, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->LOGIN_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v11, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PROGRESS_CHANGED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v12, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->RECEIVED_TITLE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v13, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->RECEIVED_ICON:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v14, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->RECEIVED_TOUCH_ICON_URL:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v15, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOW_CUSTOM_VIEW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v16, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->HIDE_CUSTOM_VIEW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v17, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->CREATE_WINDOW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v18, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->CLOSE_WINDOW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v19, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->REQUEST_FOCUS:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v20, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->JS_ALERT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v21, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->JS_CONFIRM:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v22, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->JS_PROMPT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v23, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->CONSOLE_MESSAGE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v24, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOW_FILE_CHOOSER:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v25, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->GEOLOCATION_PERMISSIONS_SHOW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v26, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->DOWNLOAD_START:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v27, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOULD_OVERRIDE_URL_LOADING:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v28, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOULD_OVERRIDE_KEY_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v29, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PAGE_COMMIT_VISIBLE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v30, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->FORM_RESUBMISSION:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v31, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->UNHANDLED_KEY_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v32, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->WEBPLAYER_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v33, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOULD_INTERCEPT_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v34, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->FRAME_UPDATE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
sget-object v35, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->GET_FRAME_RESPONSE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
filled-new-array/range {v0 .. v35}, [Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
move-result-object v0
return-object v0
.end method
.method static constructor <clinit>()V
.locals 3
.line 4
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "PAGE_STARTED"
const/4 v2, 0x0
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PAGE_STARTED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 5
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "PAGE_FINISHED"
const/4 v2, 0x1
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PAGE_FINISHED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 6
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "ERROR"
const/4 v2, 0x2
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 7
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "HTTP_ERROR"
const/4 v2, 0x3
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->HTTP_ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 8
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "PERMISSION_REQUEST"
const/4 v2, 0x4
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PERMISSION_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 9
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "LOAD_RESOUCE"
const/4 v2, 0x5
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->LOAD_RESOUCE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 10
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "SSL_ERROR"
const/4 v2, 0x6
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SSL_ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 11
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "CLIENT_CERT_REQUEST"
const/4 v2, 0x7
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->CLIENT_CERT_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 12
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "HTTP_AUTH_REQUEST"
const/16 v2, 0x8
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->HTTP_AUTH_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 13
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "SCALE_CHANGED"
const/16 v2, 0x9
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SCALE_CHANGED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 14
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "LOGIN_REQUEST"
const/16 v2, 0xa
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->LOGIN_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 15
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "PROGRESS_CHANGED"
const/16 v2, 0xb
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PROGRESS_CHANGED:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 16
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "RECEIVED_TITLE"
const/16 v2, 0xc
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->RECEIVED_TITLE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 17
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "RECEIVED_ICON"
const/16 v2, 0xd
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->RECEIVED_ICON:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 18
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "RECEIVED_TOUCH_ICON_URL"
const/16 v2, 0xe
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->RECEIVED_TOUCH_ICON_URL:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 19
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "SHOW_CUSTOM_VIEW"
const/16 v2, 0xf
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOW_CUSTOM_VIEW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 20
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "HIDE_CUSTOM_VIEW"
const/16 v2, 0x10
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->HIDE_CUSTOM_VIEW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 21
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "CREATE_WINDOW"
const/16 v2, 0x11
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->CREATE_WINDOW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 22
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "CLOSE_WINDOW"
const/16 v2, 0x12
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->CLOSE_WINDOW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 23
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "REQUEST_FOCUS"
const/16 v2, 0x13
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->REQUEST_FOCUS:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 24
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "JS_ALERT"
const/16 v2, 0x14
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->JS_ALERT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 25
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "JS_CONFIRM"
const/16 v2, 0x15
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->JS_CONFIRM:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 26
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "JS_PROMPT"
const/16 v2, 0x16
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->JS_PROMPT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 27
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "CONSOLE_MESSAGE"
const/16 v2, 0x17
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->CONSOLE_MESSAGE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 28
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "SHOW_FILE_CHOOSER"
const/16 v2, 0x18
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOW_FILE_CHOOSER:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 29
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "GEOLOCATION_PERMISSIONS_SHOW"
const/16 v2, 0x19
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->GEOLOCATION_PERMISSIONS_SHOW:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 30
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "DOWNLOAD_START"
const/16 v2, 0x1a
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->DOWNLOAD_START:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 31
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "SHOULD_OVERRIDE_URL_LOADING"
const/16 v2, 0x1b
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOULD_OVERRIDE_URL_LOADING:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 32
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "SHOULD_OVERRIDE_KEY_EVENT"
const/16 v2, 0x1c
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOULD_OVERRIDE_KEY_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 33
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "PAGE_COMMIT_VISIBLE"
const/16 v2, 0x1d
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->PAGE_COMMIT_VISIBLE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 34
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "FORM_RESUBMISSION"
const/16 v2, 0x1e
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->FORM_RESUBMISSION:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 35
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "UNHANDLED_KEY_EVENT"
const/16 v2, 0x1f
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->UNHANDLED_KEY_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 36
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "WEBPLAYER_EVENT"
const/16 v2, 0x20
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->WEBPLAYER_EVENT:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 37
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "SHOULD_INTERCEPT_REQUEST"
const/16 v2, 0x21
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->SHOULD_INTERCEPT_REQUEST:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 38
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "FRAME_UPDATE"
const/16 v2, 0x22
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->FRAME_UPDATE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 39
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
const-string v1, "GET_FRAME_RESPONSE"
const/16 v2, 0x23
invoke-direct {v0, v1, v2}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;-><init>(Ljava/lang/String;I)V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->GET_FRAME_RESPONSE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 3
invoke-static {}, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->$values()[Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
move-result-object v0
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->$VALUES:[Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
.line 3
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
return-void
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.locals 1
const-class v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 3
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
return-object p0
.end method
.method public static values()[Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.locals 1
sget-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->$VALUES:[Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
.line 3
invoke-virtual {v0}, [Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
return-object v0
.end method

View File

@@ -0,0 +1,133 @@
.class public Lcom/unity3d/services/ads/webplayer/WebPlayerEventBridge;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public constructor <init>()V
.locals 0
.line 7
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static error(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.locals 3
.line 10
invoke-static {}, Lcom/unity3d/services/core/webview/WebViewApp;->getCurrentApp()Lcom/unity3d/services/core/webview/WebViewApp;
move-result-object v0
if-eqz v0, :cond_0
.line 12
sget-object v1, Lcom/unity3d/services/core/webview/WebViewEventCategory;->WEBPLAYER:Lcom/unity3d/services/core/webview/WebViewEventCategory;
sget-object v2, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->ERROR:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
filled-new-array {p1, p2, p0}, [Ljava/lang/Object;
move-result-object p0
invoke-virtual {v0, v1, v2, p0}, Lcom/unity3d/services/core/webview/WebViewApp;->sendEvent(Ljava/lang/Enum;Ljava/lang/Enum;[Ljava/lang/Object;)Z
:cond_0
return-void
.end method
.method public static sendFrameUpdate(Ljava/lang/String;IIIIF)V
.locals 3
.line 17
invoke-static {}, Lcom/unity3d/services/core/webview/WebViewApp;->getCurrentApp()Lcom/unity3d/services/core/webview/WebViewApp;
move-result-object v0
if-eqz v0, :cond_0
.line 19
sget-object v1, Lcom/unity3d/services/core/webview/WebViewEventCategory;->WEBPLAYER:Lcom/unity3d/services/core/webview/WebViewEventCategory;
sget-object v2, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->FRAME_UPDATE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p2
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p3
invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p4
invoke-static {p5}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object p5
filled-new-array/range {p0 .. p5}, [Ljava/lang/Object;
move-result-object p0
invoke-virtual {v0, v1, v2, p0}, Lcom/unity3d/services/core/webview/WebViewApp;->sendEvent(Ljava/lang/Enum;Ljava/lang/Enum;[Ljava/lang/Object;)Z
:cond_0
return-void
.end method
.method public static sendGetFrameResponse(Ljava/lang/String;Ljava/lang/String;IIIIF)V
.locals 10
.line 24
invoke-static {}, Lcom/unity3d/services/core/webview/WebViewApp;->getCurrentApp()Lcom/unity3d/services/core/webview/WebViewApp;
move-result-object v0
if-eqz v0, :cond_0
.line 26
sget-object v1, Lcom/unity3d/services/core/webview/WebViewEventCategory;->WEBPLAYER:Lcom/unity3d/services/core/webview/WebViewEventCategory;
sget-object v2, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->GET_FRAME_RESPONSE:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
invoke-static {p4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v7
invoke-static {p5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v8
invoke-static/range {p6 .. p6}, Ljava/lang/Float;->valueOf(F)Ljava/lang/Float;
move-result-object v9
move-object v3, p0
move-object v4, p1
filled-new-array/range {v3 .. v9}, [Ljava/lang/Object;
move-result-object v3
invoke-virtual {v0, v1, v2, v3}, Lcom/unity3d/services/core/webview/WebViewApp;->sendEvent(Ljava/lang/Enum;Ljava/lang/Enum;[Ljava/lang/Object;)Z
:cond_0
return-void
.end method

View File

@@ -0,0 +1,462 @@
.class public Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static instance:Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;
# instance fields
.field private _webPlayerEventSettings:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Lorg/json/JSONObject;",
">;"
}
.end annotation
.end field
.field private _webPlayerSettings:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Lorg/json/JSONObject;",
">;"
}
.end annotation
.end field
.field private _webSettings:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Lorg/json/JSONObject;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
.line 22
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 23
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webSettings:Ljava/util/HashMap;
.line 24
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerSettings:Ljava/util/HashMap;
.line 25
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerEventSettings:Ljava/util/HashMap;
return-void
.end method
.method public static getInstance()Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;
.locals 1
sget-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->instance:Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;
if-nez v0, :cond_0
.line 13
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;
invoke-direct {v0}, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;-><init>()V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->instance:Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;
:cond_0
sget-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->instance:Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;
return-object v0
.end method
# virtual methods
.method public declared-synchronized addWebPlayerEventSettings(Ljava/lang/String;Lorg/json/JSONObject;)V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerEventSettings:Ljava/util/HashMap;
.line 77
invoke-virtual {v0, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 78
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized addWebPlayerSettings(Ljava/lang/String;Lorg/json/JSONObject;)V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerSettings:Ljava/util/HashMap;
.line 55
invoke-virtual {v0, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 56
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized addWebSettings(Ljava/lang/String;Lorg/json/JSONObject;)V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webSettings:Ljava/util/HashMap;
.line 33
invoke-virtual {v0, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 34
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized getWebPlayerEventSettings(Ljava/lang/String;)Lorg/json/JSONObject;
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerEventSettings:Ljava/util/HashMap;
.line 87
invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerEventSettings:Ljava/util/HashMap;
.line 88
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lorg/json/JSONObject;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
goto :goto_0
.line 90
:cond_0
:try_start_1
new-instance p1, Lorg/json/JSONObject;
invoke-direct {p1}, Lorg/json/JSONObject;-><init>()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit p0
return-object p1
:goto_0
monitor-exit p0
throw p1
.end method
.method public declared-synchronized getWebPlayerSettings(Ljava/lang/String;)Lorg/json/JSONObject;
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerSettings:Ljava/util/HashMap;
.line 65
invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerSettings:Ljava/util/HashMap;
.line 66
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lorg/json/JSONObject;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
goto :goto_0
.line 68
:cond_0
:try_start_1
new-instance p1, Lorg/json/JSONObject;
invoke-direct {p1}, Lorg/json/JSONObject;-><init>()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit p0
return-object p1
:goto_0
monitor-exit p0
throw p1
.end method
.method public declared-synchronized getWebSettings(Ljava/lang/String;)Lorg/json/JSONObject;
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webSettings:Ljava/util/HashMap;
.line 43
invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webSettings:Ljava/util/HashMap;
.line 44
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lorg/json/JSONObject;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
goto :goto_0
.line 46
:cond_0
:try_start_1
new-instance p1, Lorg/json/JSONObject;
invoke-direct {p1}, Lorg/json/JSONObject;-><init>()V
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit p0
return-object p1
:goto_0
monitor-exit p0
throw p1
.end method
.method public declared-synchronized removeWebPlayerEventSettings(Ljava/lang/String;)V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerEventSettings:Ljava/util/HashMap;
.line 81
invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerEventSettings:Ljava/util/HashMap;
.line 82
invoke-virtual {v0, p1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 84
:cond_0
:goto_0
monitor-exit p0
return-void
:goto_1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized removeWebPlayerSettings(Ljava/lang/String;)V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerSettings:Ljava/util/HashMap;
.line 59
invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webPlayerSettings:Ljava/util/HashMap;
.line 60
invoke-virtual {v0, p1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 62
:cond_0
:goto_0
monitor-exit p0
return-void
:goto_1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized removeWebSettings(Ljava/lang/String;)V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webSettings:Ljava/util/HashMap;
.line 37
invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerSettingsCache;->_webSettings:Ljava/util/HashMap;
.line 38
invoke-virtual {v0, p1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 40
:cond_0
:goto_0
monitor-exit p0
return-void
:goto_1
monitor-exit p0
throw p1
.end method

View File

@@ -0,0 +1,47 @@
.class Lcom/unity3d/services/ads/webplayer/WebPlayerView$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/view/View$OnLayoutChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/ads/webplayer/WebPlayerView;->subscribeOnLayoutChange()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/ads/webplayer/WebPlayerView;)V
.locals 0
iput-object p1, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$1;->this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
.line 113
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onLayoutChange(Landroid/view/View;IIIIIIII)V
.locals 0
iget-object p1, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$1;->this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
.line 116
invoke-virtual {p1}, Lcom/unity3d/services/ads/webplayer/WebPlayerView;->onLayoutChange()V
return-void
.end method

View File

@@ -0,0 +1,58 @@
.class Lcom/unity3d/services/ads/webplayer/WebPlayerView$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/ads/webplayer/WebPlayerView;->subscribeOnLayoutChange()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
.field final synthetic val$onLayoutChangeListener:Landroid/view/View$OnLayoutChangeListener;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/ads/webplayer/WebPlayerView;Landroid/view/View$OnLayoutChangeListener;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$2;->this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
iput-object p2, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$2;->val$onLayoutChangeListener:Landroid/view/View$OnLayoutChangeListener;
.line 120
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$2;->this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
iget-object v1, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$2;->val$onLayoutChangeListener:Landroid/view/View$OnLayoutChangeListener;
.line 123
invoke-virtual {v0, v1}, Landroid/view/View;->removeOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V
return-void
.end method

View File

@@ -0,0 +1,103 @@
.class Lcom/unity3d/services/ads/webplayer/WebPlayerView$JavaScriptInvocation;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/unity3d/services/ads/webplayer/WebPlayerView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "JavaScriptInvocation"
.end annotation
# instance fields
.field private _jsString:Ljava/lang/String;
.field private _webView:Landroid/webkit/WebView;
.field final synthetic this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/ads/webplayer/WebPlayerView;Ljava/lang/String;Landroid/webkit/WebView;)V
.locals 0
iput-object p1, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$JavaScriptInvocation;->this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
.line 215
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$JavaScriptInvocation;->_jsString:Ljava/lang/String;
iput-object p3, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$JavaScriptInvocation;->_webView:Landroid/webkit/WebView;
return-void
.end method
# virtual methods
.method public run()V
.locals 5
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$JavaScriptInvocation;->_jsString:Ljava/lang/String;
if-eqz v0, :cond_0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$JavaScriptInvocation;->this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
.line 225
invoke-static {v0}, Lcom/unity3d/services/ads/webplayer/WebPlayerView;->access$300(Lcom/unity3d/services/ads/webplayer/WebPlayerView;)Ljava/lang/reflect/Method;
move-result-object v0
iget-object v1, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$JavaScriptInvocation;->_webView:Landroid/webkit/WebView;
const/4 v2, 0x2
new-array v2, v2, [Ljava/lang/Object;
iget-object v3, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$JavaScriptInvocation;->_jsString:Ljava/lang/String;
const/4 v4, 0x0
aput-object v3, v2, v4
const/4 v3, 0x1
const/4 v4, 0x0
aput-object v4, v2, v3
invoke-virtual {v0, v1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
const-string v1, "Error while processing JavaScriptString"
.line 230
invoke-static {v1, v0}, Lcom/unity3d/services/core/log/DeviceLog;->exception(Ljava/lang/String;Ljava/lang/Exception;)V
goto :goto_0
:cond_0
const-string v0, "Could not process JavaScript, the string is NULL"
.line 233
invoke-static {v0}, Lcom/unity3d/services/core/log/DeviceLog;->error(Ljava/lang/String;)V
:goto_0
return-void
.end method

View File

@@ -0,0 +1,61 @@
.class Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerClient$1;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerClient;->onRenderProcessGone(Landroid/webkit/WebView;Landroid/webkit/RenderProcessGoneDetail;)Z
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerClient;
.field final synthetic val$view:Landroid/webkit/WebView;
# direct methods
.method public constructor <init>(Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerClient;Landroid/webkit/WebView;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
iput-object p1, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerClient$1;->this$1:Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerClient;
iput-object p2, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerClient$1;->val$view:Landroid/webkit/WebView;
.line 397
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 1
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerClient$1;->val$view:Landroid/webkit/WebView;
.line 402
invoke-static {v0}, Lcom/unity3d/services/core/misc/ViewUtilities;->removeViewFromParent(Landroid/view/View;)V
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerClient$1;->val$view:Landroid/webkit/WebView;
.line 403
invoke-virtual {v0}, Landroid/webkit/WebView;->destroy()V
return-void
.end method

View File

@@ -0,0 +1,96 @@
.class Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerDownloadListener;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/webkit/DownloadListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/unity3d/services/ads/webplayer/WebPlayerView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "WebPlayerDownloadListener"
.end annotation
# instance fields
.field final synthetic this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
# direct methods
.method private constructor <init>(Lcom/unity3d/services/ads/webplayer/WebPlayerView;)V
.locals 0
iput-object p1, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerDownloadListener;->this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
.line 883
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lcom/unity3d/services/ads/webplayer/WebPlayerView;Lcom/unity3d/services/ads/webplayer/WebPlayerView$1;)V
.locals 0
.line 883
invoke-direct {p0, p1}, Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerDownloadListener;-><init>(Lcom/unity3d/services/ads/webplayer/WebPlayerView;)V
return-void
.end method
# virtual methods
.method public onDownloadStart(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;J)V
.locals 9
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerDownloadListener;->this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
const-string v1, "onDownloadStart"
.line 886
invoke-static {v0, v1}, Lcom/unity3d/services/ads/webplayer/WebPlayerView;->access$600(Lcom/unity3d/services/ads/webplayer/WebPlayerView;Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_0
.line 887
invoke-static {}, Lcom/unity3d/services/core/webview/WebViewApp;->getCurrentApp()Lcom/unity3d/services/core/webview/WebViewApp;
move-result-object v0
sget-object v1, Lcom/unity3d/services/core/webview/WebViewEventCategory;->WEBPLAYER:Lcom/unity3d/services/core/webview/WebViewEventCategory;
sget-object v2, Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;->DOWNLOAD_START:Lcom/unity3d/services/ads/webplayer/WebPlayerEvent;
invoke-static {p5, p6}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v7
iget-object p5, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerView$WebPlayerDownloadListener;->this$0:Lcom/unity3d/services/ads/webplayer/WebPlayerView;
invoke-static {p5}, Lcom/unity3d/services/ads/webplayer/WebPlayerView;->access$400(Lcom/unity3d/services/ads/webplayer/WebPlayerView;)Ljava/lang/String;
move-result-object v8
move-object v3, p1
move-object v4, p2
move-object v5, p3
move-object v6, p4
filled-new-array/range {v3 .. v8}, [Ljava/lang/Object;
move-result-object p1
invoke-virtual {v0, v1, v2, p1}, Lcom/unity3d/services/core/webview/WebViewApp;->sendEvent(Ljava/lang/Enum;Ljava/lang/Enum;[Ljava/lang/Object;)Z
:cond_0
return-void
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,177 @@
.class public Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static instance:Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;
# instance fields
.field private _webPlayerMap:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap<",
"Ljava/lang/String;",
"Lcom/unity3d/services/ads/webplayer/WebPlayerView;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
.line 18
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 19
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;->_webPlayerMap:Ljava/util/HashMap;
return-void
.end method
.method public static getInstance()Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;
.locals 1
sget-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;->instance:Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;
if-nez v0, :cond_0
.line 11
new-instance v0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;
invoke-direct {v0}, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;-><init>()V
sput-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;->instance:Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;
:cond_0
sget-object v0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;->instance:Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;
return-object v0
.end method
# virtual methods
.method public declared-synchronized addWebPlayer(Ljava/lang/String;Lcom/unity3d/services/ads/webplayer/WebPlayerView;)V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;->_webPlayerMap:Ljava/util/HashMap;
.line 23
invoke-virtual {v0, p1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 24
monitor-exit p0
return-void
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized getWebPlayer(Ljava/lang/String;)Lcom/unity3d/services/ads/webplayer/WebPlayerView;
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;->_webPlayerMap:Ljava/util/HashMap;
.line 33
invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;->_webPlayerMap:Ljava/util/HashMap;
.line 34
invoke-virtual {v0, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/unity3d/services/ads/webplayer/WebPlayerView;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
monitor-exit p0
return-object p1
:catchall_0
move-exception p1
goto :goto_0
.line 36
:cond_0
monitor-exit p0
const/4 p1, 0x0
return-object p1
:goto_0
monitor-exit p0
throw p1
.end method
.method public declared-synchronized removeWebPlayer(Ljava/lang/String;)V
.locals 1
monitor-enter p0
:try_start_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;->_webPlayerMap:Ljava/util/HashMap;
.line 27
invoke-virtual {v0, p1}, Ljava/util/HashMap;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/unity3d/services/ads/webplayer/WebPlayerViewCache;->_webPlayerMap:Ljava/util/HashMap;
.line 28
invoke-virtual {v0, p1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 30
:cond_0
:goto_0
monitor-exit p0
return-void
:goto_1
monitor-exit p0
throw p1
.end method