Files
rr3-apk/smali/android/support/customtabs/IPostMessageService$Stub.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

200 lines
5.1 KiB
Smali

.class public abstract Landroid/support/customtabs/IPostMessageService$Stub;
.super Landroid/os/Binder;
.source "SourceFile"
# interfaces
.implements Landroid/support/customtabs/IPostMessageService;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroid/support/customtabs/IPostMessageService;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Stub"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroid/support/customtabs/IPostMessageService$Stub$Proxy;
}
.end annotation
# static fields
.field static final TRANSACTION_onMessageChannelReady:I = 0x2
.field static final TRANSACTION_onPostMessage:I = 0x3
# direct methods
.method public constructor <init>()V
.locals 1
.line 29
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
sget-object v0, Landroid/support/customtabs/IPostMessageService;->DESCRIPTOR:Ljava/lang/String;
.line 30
invoke-virtual {p0, p0, v0}, Landroid/os/Binder;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V
return-void
.end method
.method public static asInterface(Landroid/os/IBinder;)Landroid/support/customtabs/IPostMessageService;
.locals 2
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
sget-object v0, Landroid/support/customtabs/IPostMessageService;->DESCRIPTOR:Ljava/lang/String;
.line 41
invoke-interface {p0, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
move-result-object v0
if-eqz v0, :cond_1
.line 42
instance-of v1, v0, Landroid/support/customtabs/IPostMessageService;
if-eqz v1, :cond_1
.line 43
check-cast v0, Landroid/support/customtabs/IPostMessageService;
return-object v0
.line 45
:cond_1
new-instance v0, Landroid/support/customtabs/IPostMessageService$Stub$Proxy;
invoke-direct {v0, p0}, Landroid/support/customtabs/IPostMessageService$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
return-object v0
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 0
return-object p0
.end method
.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
sget-object v0, Landroid/support/customtabs/IPostMessageService;->DESCRIPTOR:Ljava/lang/String;
const/4 v1, 0x1
if-lt p1, v1, :cond_0
const v2, 0xffffff
if-gt p1, v2, :cond_0
.line 55
invoke-virtual {p2, v0}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
:cond_0
const v2, 0x5f4e5446
if-ne p1, v2, :cond_1
.line 58
invoke-virtual {p3, v0}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
return v1
:cond_1
const/4 v0, 0x2
if-eq p1, v0, :cond_3
const/4 v0, 0x3
if-eq p1, v0, :cond_2
.line 87
invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
move-result p1
return p1
.line 76
:cond_2
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
move-result-object p1
invoke-static {p1}, Landroid/support/customtabs/ICustomTabsCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroid/support/customtabs/ICustomTabsCallback;
move-result-object p1
.line 78
invoke-virtual {p2}, Landroid/os/Parcel;->readString()Ljava/lang/String;
move-result-object p4
.line 80
sget-object v0, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
invoke-static {p2, v0}, Landroid/support/customtabs/IPostMessageService$_Parcel;->access$000(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Landroid/os/Bundle;
.line 81
invoke-interface {p0, p1, p4, p2}, Landroid/support/customtabs/IPostMessageService;->onPostMessage(Landroid/support/customtabs/ICustomTabsCallback;Ljava/lang/String;Landroid/os/Bundle;)V
.line 82
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
goto :goto_0
.line 66
:cond_3
invoke-virtual {p2}, Landroid/os/Parcel;->readStrongBinder()Landroid/os/IBinder;
move-result-object p1
invoke-static {p1}, Landroid/support/customtabs/ICustomTabsCallback$Stub;->asInterface(Landroid/os/IBinder;)Landroid/support/customtabs/ICustomTabsCallback;
move-result-object p1
.line 68
sget-object p4, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
invoke-static {p2, p4}, Landroid/support/customtabs/IPostMessageService$_Parcel;->access$000(Landroid/os/Parcel;Landroid/os/Parcelable$Creator;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Landroid/os/Bundle;
.line 69
invoke-interface {p0, p1, p2}, Landroid/support/customtabs/IPostMessageService;->onMessageChannelReady(Landroid/support/customtabs/ICustomTabsCallback;Landroid/os/Bundle;)V
.line 70
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
:goto_0
return v1
.end method