Files
rr3-apk/smali_classes4/com/tapjoy/internal/g.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

126 lines
2.5 KiB
Smali

.class public abstract Lcom/tapjoy/internal/g;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static a:Lcom/tapjoy/internal/i;
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Landroid/app/Activity;)V
.locals 4
sget-object v0, Lcom/tapjoy/internal/g;->a:Lcom/tapjoy/internal/i;
if-eqz v0, :cond_3
if-eqz p0, :cond_3
.line 2
invoke-virtual {p0}, Landroid/app/Activity;->getTaskId()I
move-result v1
const/4 v2, -0x1
if-ne v1, v2, :cond_0
goto :goto_0
.line 6
:cond_0
invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;
move-result-object p0
if-eqz p0, :cond_3
.line 7
invoke-virtual {p0}, Landroid/content/Intent;->getCategories()Ljava/util/Set;
move-result-object v2
if-eqz v2, :cond_3
const-string v3, "android.intent.category.LAUNCHER"
.line 9
invoke-interface {v2, v3}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_3
.line 10
invoke-virtual {p0}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object v2
const-string v3, "android.intent.action.MAIN"
invoke-virtual {v3, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_3
.line 11
invoke-virtual {p0}, Landroid/content/Intent;->getComponent()Landroid/content/ComponentName;
move-result-object p0
if-nez p0, :cond_1
goto :goto_0
.line 15
:cond_1
invoke-virtual {p0}, Landroid/content/ComponentName;->getClassName()Ljava/lang/String;
move-result-object p0
.line 16
iget-object v2, v0, Lcom/tapjoy/internal/i;->b:Ljava/util/HashMap;
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
invoke-virtual {v2, p0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Ljava/lang/Integer;
if-eqz p0, :cond_2
.line 17
invoke-virtual {p0}, Ljava/lang/Integer;->intValue()I
move-result p0
if-ne p0, v1, :cond_2
goto :goto_0
.line 18
:cond_2
iget-object p0, v0, Lcom/tapjoy/internal/i;->c:Lcom/tapjoy/internal/h;
invoke-virtual {p0}, Lcom/tapjoy/internal/m1;->c()V
:cond_3
:goto_0
return-void
.end method