- 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
170 lines
4.1 KiB
Smali
170 lines
4.1 KiB
Smali
.class public abstract Lcom/ironsource/p8;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/ironsource/zd;
|
|
|
|
|
|
# instance fields
|
|
.field private a:Lcom/ironsource/yd;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lorg/json/JSONObject;Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
invoke-direct {p0, p1, p2}, Lcom/ironsource/p8;->a(Lorg/json/JSONObject;Landroid/content/Context;)Lcom/ironsource/yd;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/ironsource/p8;->a:Lcom/ironsource/yd;
|
|
|
|
const-class p1, Lcom/ironsource/p8;
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
new-instance p2, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v0, "created ConnectivityAdapter with strategy "
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
iget-object v0, p0, Lcom/ironsource/p8;->a:Lcom/ironsource/yd;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p1, p2}, Lcom/ironsource/sdk/utils/Logger;->i(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private a(Lorg/json/JSONObject;Landroid/content/Context;)Lcom/ironsource/yd;
|
|
.locals 1
|
|
|
|
.line 0
|
|
const-string v0, "connectivityStrategy"
|
|
|
|
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-ne p1, v0, :cond_0
|
|
|
|
new-instance p1, Lcom/ironsource/sdk/service/Connectivity/BroadcastReceiverStrategy;
|
|
|
|
invoke-direct {p1, p0}, Lcom/ironsource/sdk/service/Connectivity/BroadcastReceiverStrategy;-><init>(Lcom/ironsource/zd;)V
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
const-string p1, "android.permission.ACCESS_NETWORK_STATE"
|
|
|
|
invoke-static {p2, p1}, Lcom/ironsource/v3;->c(Landroid/content/Context;Ljava/lang/String;)Z
|
|
|
|
move-result p1
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
new-instance p1, Lcom/ironsource/sdk/service/Connectivity/BroadcastReceiverStrategy;
|
|
|
|
invoke-direct {p1, p0}, Lcom/ironsource/sdk/service/Connectivity/BroadcastReceiverStrategy;-><init>(Lcom/ironsource/zd;)V
|
|
|
|
return-object p1
|
|
|
|
:cond_1
|
|
new-instance p1, Lcom/ironsource/bm;
|
|
|
|
invoke-direct {p1, p0}, Lcom/ironsource/bm;-><init>(Lcom/ironsource/zd;)V
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a(Landroid/content/Context;)Lorg/json/JSONObject;
|
|
.locals 1
|
|
|
|
.line 0
|
|
iget-object v0, p0, Lcom/ironsource/p8;->a:Lcom/ironsource/yd;
|
|
|
|
invoke-interface {v0, p1}, Lcom/ironsource/yd;->c(Landroid/content/Context;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public a()V
|
|
.locals 0
|
|
|
|
.line 0
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()V
|
|
.locals 1
|
|
|
|
.line 0
|
|
iget-object v0, p0, Lcom/ironsource/p8;->a:Lcom/ironsource/yd;
|
|
|
|
invoke-interface {v0}, Lcom/ironsource/yd;->a()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
.line 0
|
|
iget-object v0, p0, Lcom/ironsource/p8;->a:Lcom/ironsource/yd;
|
|
|
|
invoke-interface {v0, p1}, Lcom/ironsource/yd;->b(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
return-void
|
|
.end method
|
|
|
|
.method public c(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/ironsource/p8;->a:Lcom/ironsource/yd;
|
|
|
|
invoke-interface {v0, p1}, Lcom/ironsource/yd;->a(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|