Files
rr3-apk/smali_classes2/com/fyber/inneractive/sdk/response/h.smali
Daniel Elliott f3960ee359 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
2026-02-18 16:13:44 -08:00

321 lines
6.9 KiB
Smali

.class public final Lcom/fyber/inneractive/sdk/response/h;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public final a:Z
.field public b:Ljava/lang/String;
# direct methods
.method public constructor <init>(Ljava/lang/String;)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/Exception;
}
.end annotation
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/response/h;->a:Z
.line 5
:try_start_0
invoke-virtual {p0, p1}, Lcom/fyber/inneractive/sdk/response/h;->a(Ljava/lang/String;)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/fyber/inneractive/sdk/response/h;->a:Z
new-array p1, v0, [Ljava/lang/Object;
const-string v0, "parser: Parsing finished. parser is ready"
.line 12
invoke-static {v0, p1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
return-void
:catch_0
move-exception p1
.line 13
invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v0
filled-new-array {v0}, [Ljava/lang/Object;
move-result-object v0
const-string v1, "Error parsing Ad XML: %s"
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->b(Ljava/lang/String;[Ljava/lang/Object;)V
.line 14
throw p1
.end method
# virtual methods
.method public final a(Ljava/lang/String;)V
.locals 13
.annotation system Ldalvik/annotation/Throws;
value = {
Lorg/xmlpull/v1/XmlPullParserException;,
Ljava/io/IOException;
}
.end annotation
const/4 v0, 0x0
new-array v1, v0, [Ljava/lang/Object;
const-string v2, "Start reading Response"
.line 1
invoke-static {v2, v1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
.line 3
invoke-static {}, Landroid/util/Xml;->newPullParser()Lorg/xmlpull/v1/XmlPullParser;
move-result-object v1
const-string v2, "http://xmlpull.org/v1/doc/features.html#process-namespaces"
.line 4
invoke-interface {v1, v2, v0}, Lorg/xmlpull/v1/XmlPullParser;->setFeature(Ljava/lang/String;Z)V
.line 5
new-instance v2, Ljava/io/StringReader;
invoke-direct {v2, p1}, Ljava/io/StringReader;-><init>(Ljava/lang/String;)V
invoke-interface {v1, v2}, Lorg/xmlpull/v1/XmlPullParser;->setInput(Ljava/io/Reader;)V
.line 6
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->nextTag()I
const-string p1, "tns:Response"
const/4 v2, 0x2
const/4 v3, 0x0
.line 9
invoke-interface {v1, v2, v3, p1}, Lorg/xmlpull/v1/XmlPullParser;->require(ILjava/lang/String;Ljava/lang/String;)V
.line 10
:cond_0
:goto_0
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->next()I
move-result p1
const/4 v4, 0x3
if-eq p1, v4, :cond_9
.line 11
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->getEventType()I
move-result p1
if-eq p1, v2, :cond_1
goto :goto_0
.line 17
:cond_1
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;
move-result-object p1
const-string v5, "tns:Ad"
invoke-virtual {p1, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_5
.line 18
invoke-interface {v1, v2, v3, v5}, Lorg/xmlpull/v1/XmlPullParser;->require(ILjava/lang/String;Ljava/lang/String;)V
new-array p1, v0, [Ljava/lang/Object;
const-string v4, "Start reading Ad"
.line 20
invoke-static {v4, p1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
.line 22
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->next()I
move-result p1
const/4 v4, 0x4
if-ne p1, v4, :cond_2
.line 23
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->getText()Ljava/lang/String;
move-result-object p1
.line 24
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->nextTag()I
goto :goto_1
.line 26
:cond_2
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->getName()Ljava/lang/String;
move-result-object p1
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object p1
const-string v4, "No text: %s"
invoke-static {v4, p1}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
const-string p1, ""
.line 28
:goto_1
invoke-virtual {p1}, Ljava/lang/String;->trim()Ljava/lang/String;
move-result-object p1
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object v4
const-string v5, "Ad content: %s"
.line 29
invoke-static {v5, v4}, Lcom/fyber/inneractive/sdk/util/IAlog;->e(Ljava/lang/String;[Ljava/lang/Object;)V
if-nez p1, :cond_3
move-object p1, v3
goto :goto_2
.line 30
:cond_3
sget-object v4, Lcom/fyber/inneractive/sdk/util/f0;->f:Lcom/fyber/inneractive/sdk/util/f0;
invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const/16 v5, 0x26
.line 31
invoke-virtual {p1, v5}, Ljava/lang/String;->indexOf(I)I
move-result v5
if-gez v5, :cond_4
goto :goto_2
.line 32
:cond_4
new-instance v6, Ljava/io/StringWriter;
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v7
int-to-double v7, v7
invoke-virtual {p1}, Ljava/lang/String;->length()I
move-result v9
int-to-double v9, v9
const-wide v11, 0x3fb999999999999aL # 0.1
mul-double/2addr v9, v11
add-double/2addr v9, v7
double-to-int v7, v9
invoke-direct {v6, v7}, Ljava/io/StringWriter;-><init>(I)V
.line 33
:try_start_0
invoke-virtual {v4, v6, p1, v5}, Lcom/fyber/inneractive/sdk/util/f0;->a(Ljava/io/StringWriter;Ljava/lang/String;I)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
.line 39
:catch_0
invoke-virtual {v6}, Ljava/io/StringWriter;->toString()Ljava/lang/String;
move-result-object p1
:goto_2
iput-object p1, p0, Lcom/fyber/inneractive/sdk/response/h;->b:Ljava/lang/String;
goto/16 :goto_0
.line 41
:cond_5
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->getEventType()I
move-result p1
if-ne p1, v2, :cond_8
const/4 p1, 0x1
:goto_3
if-eqz p1, :cond_0
.line 46
invoke-interface {v1}, Lorg/xmlpull/v1/XmlPullParser;->next()I
move-result v5
if-eq v5, v2, :cond_7
if-eq v5, v4, :cond_6
goto :goto_3
:cond_6
add-int/lit8 p1, p1, -0x1
goto :goto_3
:cond_7
add-int/lit8 p1, p1, 0x1
goto :goto_3
.line 47
:cond_8
new-instance p1, Ljava/lang/IllegalStateException;
invoke-direct {p1}, Ljava/lang/IllegalStateException;-><init>()V
throw p1
:cond_9
return-void
.end method