- 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
161 lines
3.6 KiB
Smali
161 lines
3.6 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/util/q;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static a(Landroid/content/Context;Landroid/net/Uri;)Z
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 26
|
|
:try_start_0
|
|
new-instance v1, Landroid/content/Intent;
|
|
|
|
const-string v2, "android.intent.action.VIEW"
|
|
|
|
invoke-direct {v1, v2, p1}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
|
|
|
|
.line 27
|
|
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0, v1, v0}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
|
|
|
|
move-result-object p0
|
|
|
|
.line 28
|
|
invoke-interface {p0}, Ljava/util/List;->isEmpty()Z
|
|
|
|
move-result p0
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
xor-int/lit8 v0, p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
filled-new-array {p1}, [Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "%sFyberDeepLink: Invalid url "
|
|
|
|
.line 30
|
|
invoke-static {p1, p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:cond_0
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public static a(Landroid/content/Context;Lcom/fyber/inneractive/sdk/util/k;)Z
|
|
.locals 4
|
|
|
|
.line 1
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/util/k;->a:Ljava/util/PriorityQueue;
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-virtual {p1}, Ljava/util/PriorityQueue;->poll()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Lcom/fyber/inneractive/sdk/util/v0;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 3
|
|
iget-object v1, v0, Lcom/fyber/inneractive/sdk/util/v0;->b:Landroid/net/Uri;
|
|
|
|
.line 4
|
|
invoke-static {p0, v1}, Lcom/fyber/inneractive/sdk/util/q;->a(Landroid/content/Context;Landroid/net/Uri;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
:cond_1
|
|
const/4 p1, 0x0
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
return p1
|
|
|
|
.line 11
|
|
:cond_2
|
|
new-instance v1, Landroid/content/Intent;
|
|
|
|
.line 12
|
|
iget-object v2, v0, Lcom/fyber/inneractive/sdk/util/v0;->b:Landroid/net/Uri;
|
|
|
|
const-string v3, "android.intent.action.VIEW"
|
|
|
|
.line 13
|
|
invoke-direct {v1, v3, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
|
|
|
|
if-eqz p0, :cond_4
|
|
|
|
.line 14
|
|
instance-of v2, p0, Landroid/app/Activity;
|
|
|
|
if-nez v2, :cond_3
|
|
|
|
const/high16 v2, 0x10000000
|
|
|
|
.line 15
|
|
invoke-virtual {v1, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
|
|
|
.line 19
|
|
:cond_3
|
|
:try_start_0
|
|
invoke-virtual {p0, v1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
|
|
:try_end_0
|
|
.catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
const/4 p1, 0x1
|
|
|
|
:catch_0
|
|
:cond_4
|
|
if-eqz p1, :cond_5
|
|
|
|
.line 20
|
|
iget-object p0, v0, Lcom/fyber/inneractive/sdk/util/v0;->c:Ljava/util/List;
|
|
|
|
.line 21
|
|
invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object p0
|
|
|
|
:goto_0
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
.line 22
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
.line 25
|
|
invoke-static {v0}, Lcom/fyber/inneractive/sdk/network/j0;->b(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_5
|
|
return p1
|
|
.end method
|