- 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
168 lines
3.5 KiB
Smali
168 lines
3.5 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/config/global/c;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/fyber/inneractive/sdk/config/global/d;
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/util/HashSet;
|
|
|
|
.field public final b:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lorg/json/JSONArray;Z)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
new-instance v0, Ljava/util/HashSet;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/config/global/c;->a:Ljava/util/HashSet;
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 11
|
|
:goto_0
|
|
invoke-virtual {p1}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-ge v0, v1, :cond_1
|
|
|
|
.line 12
|
|
invoke-virtual {p1, v0}, Lorg/json/JSONArray;->optLong(I)J
|
|
|
|
move-result-wide v1
|
|
|
|
const-wide/16 v3, 0x0
|
|
|
|
cmp-long v3, v1, v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
iget-object v3, p0, Lcom/fyber/inneractive/sdk/config/global/c;->a:Ljava/util/HashSet;
|
|
|
|
.line 14
|
|
invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v3, v1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
iput-boolean p2, p0, Lcom/fyber/inneractive/sdk/config/global/c;->b:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/fyber/inneractive/sdk/config/global/e;)Z
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/config/global/c;->a:Ljava/util/HashSet;
|
|
|
|
.line 1
|
|
invoke-virtual {v0}, Ljava/util/HashSet;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
.line 2
|
|
iget-object v0, p1, Lcom/fyber/inneractive/sdk/config/global/e;->a:Ljava/lang/Long;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/config/global/c;->a:Ljava/util/HashSet;
|
|
|
|
.line 3
|
|
invoke-virtual {v0}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_1
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/Long;
|
|
|
|
.line 4
|
|
iget-object v2, p1, Lcom/fyber/inneractive/sdk/config/global/e;->a:Ljava/lang/Long;
|
|
|
|
.line 5
|
|
invoke-virtual {v1, v2}, Ljava/lang/Long;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
iget-boolean p1, p0, Lcom/fyber/inneractive/sdk/config/global/c;->b:Z
|
|
|
|
xor-int/lit8 p1, p1, 0x1
|
|
|
|
return p1
|
|
|
|
:cond_2
|
|
iget-boolean p1, p0, Lcom/fyber/inneractive/sdk/config/global/c;->b:Z
|
|
|
|
return p1
|
|
|
|
:cond_3
|
|
:goto_0
|
|
const/4 p1, 0x0
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public final toString()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/config/global/c;->a:Ljava/util/HashSet;
|
|
|
|
iget-boolean v1, p0, Lcom/fyber/inneractive/sdk/config/global/c;->b:Z
|
|
|
|
.line 1
|
|
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "demand"
|
|
|
|
filled-new-array {v2, v0, v1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "%s - %s include: %b"
|
|
|
|
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|