- 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
232 lines
8.5 KiB
Smali
232 lines
8.5 KiB
Smali
.class Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->WebBrowserCreate(Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;Landroid/widget/RelativeLayout;IIIIJ)Landroid/webkit/WebView;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;
|
|
|
|
.field final synthetic val$activity:Landroid/app/Activity;
|
|
|
|
.field final synthetic val$iHeight:I
|
|
|
|
.field final synthetic val$iWidth:I
|
|
|
|
.field final synthetic val$iX:I
|
|
|
|
.field final synthetic val$iY:I
|
|
|
|
.field final synthetic val$pLayout:Landroid/widget/RelativeLayout;
|
|
|
|
.field final synthetic val$userPointer:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;Landroid/app/Activity;JLandroid/widget/RelativeLayout;IIII)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->this$0:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;
|
|
|
|
iput-object p2, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$activity:Landroid/app/Activity;
|
|
|
|
iput-wide p3, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$userPointer:J
|
|
|
|
iput-object p5, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$pLayout:Landroid/widget/RelativeLayout;
|
|
|
|
iput p6, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$iWidth:I
|
|
|
|
iput p7, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$iHeight:I
|
|
|
|
iput p8, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$iX:I
|
|
|
|
iput p9, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$iY:I
|
|
|
|
.line 521
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 6
|
|
|
|
.line 525
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
sget-object v0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
move v0, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 530
|
|
new-instance v2, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
iget-object v3, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->this$0:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;
|
|
|
|
iget-object v4, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$activity:Landroid/app/Activity;
|
|
|
|
invoke-direct {v2, v3, v4}, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;-><init>(Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;Landroid/content/Context;)V
|
|
|
|
sput-object v2, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
:goto_1
|
|
sget-object v2, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
.line 533
|
|
invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2, v1}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V
|
|
|
|
sget-object v2, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
.line 534
|
|
invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2, v1}, Landroid/webkit/WebSettings;->setDomStorageEnabled(Z)V
|
|
|
|
sget-object v2, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
.line 535
|
|
invoke-virtual {v2}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {v2, v1}, Landroid/webkit/WebSettings;->setAllowFileAccess(Z)V
|
|
|
|
sget-object v1, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
.line 536
|
|
invoke-virtual {v1}, Landroid/webkit/WebView;->getSettings()Landroid/webkit/WebSettings;
|
|
|
|
move-result-object v1
|
|
|
|
sget-object v2, Landroid/webkit/WebSettings$RenderPriority;->HIGH:Landroid/webkit/WebSettings$RenderPriority;
|
|
|
|
invoke-virtual {v1, v2}, Landroid/webkit/WebSettings;->setRenderPriority(Landroid/webkit/WebSettings$RenderPriority;)V
|
|
|
|
sget-object v1, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
.line 537
|
|
new-instance v2, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14$1;
|
|
|
|
invoke-direct {v2, p0}, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14$1;-><init>(Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;)V
|
|
|
|
invoke-virtual {v1, v2}, Landroid/webkit/WebView;->setWebViewClient(Landroid/webkit/WebViewClient;)V
|
|
|
|
sget-object v1, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
.line 570
|
|
new-instance v2, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$CrmClient;
|
|
|
|
iget-object v3, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->this$0:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;
|
|
|
|
iget-object v4, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$activity:Landroid/app/Activity;
|
|
|
|
iget-object v5, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$pLayout:Landroid/widget/RelativeLayout;
|
|
|
|
invoke-direct {v2, v3, v4, v5}, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$CrmClient;-><init>(Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;Landroid/app/Activity;Landroid/widget/RelativeLayout;)V
|
|
|
|
invoke-virtual {v1, v2}, Landroid/webkit/WebView;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V
|
|
|
|
sget-object v1, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
.line 572
|
|
new-instance v2, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14$2;
|
|
|
|
invoke-direct {v2, p0}, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14$2;-><init>(Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;)V
|
|
|
|
invoke-virtual {v1, v2}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
|
|
|
|
.line 589
|
|
new-instance v1, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
iget v2, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$iWidth:I
|
|
|
|
iget v3, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$iHeight:I
|
|
|
|
invoke-direct {v1, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V
|
|
|
|
iget v2, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$iX:I
|
|
|
|
iput v2, v1, Landroid/widget/RelativeLayout$LayoutParams;->leftMargin:I
|
|
|
|
iget v2, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$iY:I
|
|
|
|
iput v2, v1, Landroid/widget/RelativeLayout$LayoutParams;->topMargin:I
|
|
|
|
sget-object v2, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
.line 592
|
|
invoke-virtual {v2, v1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
iget-object v0, p0, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$14;->val$pLayout:Landroid/widget/RelativeLayout;
|
|
|
|
sget-object v1, Lcom/firemonkeys/cloudcellapi/UserInterfaceManager;->m_pStaticWebView:Lcom/firemonkeys/cloudcellapi/UserInterfaceManager$ScrollableWebView;
|
|
|
|
.line 595
|
|
invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
.line 597
|
|
:cond_2
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notify()V
|
|
|
|
.line 598
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:goto_2
|
|
monitor-exit p0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v0
|
|
.end method
|