Files
rr3-apk/smali_classes2/com/google/android/gms/ads/OutOfContextTestingActivity.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

136 lines
3.6 KiB
Smali

.class public final Lcom/google/android/gms/ads/OutOfContextTestingActivity;
.super Landroid/app/Activity;
.source "SourceFile"
# annotations
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
# static fields
.field public static final AD_UNIT_KEY:Ljava/lang/String; = "adUnit"
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.end field
.field public static final CLASS_NAME:Ljava/lang/String; = "com.google.android.gms.ads.OutOfContextTestingActivity"
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 0
.line 1
invoke-direct {p0}, Landroid/app/Activity;-><init>()V
return-void
.end method
# virtual methods
.method public final onCreate(Landroid/os/Bundle;)V
.locals 3
.param p1 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 1
invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V
.line 2
invoke-static {}, Lcom/google/android/gms/ads/internal/client/zzbc;->zza()Lcom/google/android/gms/ads/internal/client/zzba;
move-result-object p1
new-instance v0, Lcom/google/android/gms/internal/ads/zzbpa;
invoke-direct {v0}, Lcom/google/android/gms/internal/ads/zzbpa;-><init>()V
invoke-virtual {p1, p0, v0}, Lcom/google/android/gms/ads/internal/client/zzba;->zzh(Landroid/content/Context;Lcom/google/android/gms/internal/ads/zzbpe;)Lcom/google/android/gms/ads/internal/client/zzdu;
move-result-object p1
if-nez p1, :cond_0
.line 3
invoke-virtual {p0}, Landroid/app/Activity;->finish()V
return-void
:cond_0
sget v0, Lcom/google/android/gms/ads/R$layout;->admob_empty_layout:I
.line 4
invoke-virtual {p0, v0}, Landroid/app/Activity;->setContentView(I)V
sget v0, Lcom/google/android/gms/ads/R$id;->layout:I
.line 5
invoke-virtual {p0, v0}, Landroid/app/Activity;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/LinearLayout;
.line 6
invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;
move-result-object v1
if-nez v1, :cond_1
.line 7
invoke-virtual {p0}, Landroid/app/Activity;->finish()V
return-void
:cond_1
const-string v2, "adUnit"
.line 8
invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
if-nez v1, :cond_2
.line 9
invoke-virtual {p0}, Landroid/app/Activity;->finish()V
return-void
.line 10
:cond_2
:try_start_0
invoke-static {p0}, Lcom/google/android/gms/dynamic/ObjectWrapper;->wrap(Ljava/lang/Object;)Lcom/google/android/gms/dynamic/IObjectWrapper;
move-result-object v2
invoke-static {v0}, Lcom/google/android/gms/dynamic/ObjectWrapper;->wrap(Ljava/lang/Object;)Lcom/google/android/gms/dynamic/IObjectWrapper;
move-result-object v0
invoke-interface {p1, v1, v2, v0}, Lcom/google/android/gms/ads/internal/client/zzdu;->zze(Ljava/lang/String;Lcom/google/android/gms/dynamic/IObjectWrapper;Lcom/google/android/gms/dynamic/IObjectWrapper;)V
:try_end_0
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_0
return-void
.line 11
:catch_0
invoke-virtual {p0}, Landroid/app/Activity;->finish()V
return-void
.end method