- 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
98 lines
2.2 KiB
Smali
98 lines
2.2 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/player/cache/k;
|
|
.super Lcom/fyber/inneractive/sdk/player/cache/b;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/fyber/inneractive/sdk/player/cache/b;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/fyber/inneractive/sdk/player/cache/a;)Lcom/fyber/inneractive/sdk/player/cache/b$a;
|
|
.locals 4
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/fyber/inneractive/sdk/player/cache/b$a;->INVALID:Lcom/fyber/inneractive/sdk/player/cache/b$a;
|
|
|
|
.line 3
|
|
new-instance v1, Landroid/media/MediaExtractor;
|
|
|
|
invoke-direct {v1}, Landroid/media/MediaExtractor;-><init>()V
|
|
|
|
.line 5
|
|
:try_start_0
|
|
invoke-virtual {p1}, Lcom/fyber/inneractive/sdk/player/cache/a;->a()Ljava/io/File;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v1, p1}, Landroid/media/MediaExtractor;->setDataSource(Ljava/lang/String;)V
|
|
|
|
const/4 p1, 0x0
|
|
|
|
.line 6
|
|
:goto_0
|
|
invoke-virtual {v1}, Landroid/media/MediaExtractor;->getTrackCount()I
|
|
|
|
move-result v2
|
|
|
|
if-ge p1, v2, :cond_1
|
|
|
|
.line 7
|
|
invoke-virtual {v1, p1}, Landroid/media/MediaExtractor;->getTrackFormat(I)Landroid/media/MediaFormat;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v3, "mime"
|
|
|
|
.line 8
|
|
invoke-virtual {v2, v3}, Landroid/media/MediaFormat;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
const-string v3, "video/"
|
|
|
|
.line 9
|
|
invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_0
|
|
|
|
.line 10
|
|
sget-object v0, Lcom/fyber/inneractive/sdk/player/cache/b$a;->OK:Lcom/fyber/inneractive/sdk/player/cache/b$a;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
add-int/lit8 p1, p1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 18
|
|
:catchall_0
|
|
:cond_1
|
|
:goto_1
|
|
:try_start_1
|
|
invoke-virtual {v1}, Landroid/media/MediaExtractor;->release()V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
:catchall_1
|
|
return-object v0
|
|
.end method
|