- 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
97 lines
2.7 KiB
Smali
97 lines
2.7 KiB
Smali
.class public Lcom/bda/controller/Controller$ServiceConnection;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroid/content/ServiceConnection;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/bda/controller/Controller;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = "ServiceConnection"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final synthetic this$0:Lcom/bda/controller/Controller;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/bda/controller/Controller;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/bda/controller/Controller$ServiceConnection;->this$0:Lcom/bda/controller/Controller;
|
|
|
|
.line 538
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
|
|
.locals 1
|
|
|
|
iget-object p1, p0, Lcom/bda/controller/Controller$ServiceConnection;->this$0:Lcom/bda/controller/Controller;
|
|
|
|
.line 541
|
|
invoke-static {p2}, Lcom/bda/controller/IControllerService$Stub;->asInterface(Landroid/os/IBinder;)Lcom/bda/controller/IControllerService;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p1, Lcom/bda/controller/Controller;->mService:Lcom/bda/controller/IControllerService;
|
|
|
|
iget-object p1, p0, Lcom/bda/controller/Controller$ServiceConnection;->this$0:Lcom/bda/controller/Controller;
|
|
|
|
.line 542
|
|
invoke-virtual {p1}, Lcom/bda/controller/Controller;->registerListener()V
|
|
|
|
iget-object p1, p0, Lcom/bda/controller/Controller$ServiceConnection;->this$0:Lcom/bda/controller/Controller;
|
|
|
|
.line 543
|
|
invoke-virtual {p1}, Lcom/bda/controller/Controller;->registerMonitor()V
|
|
|
|
iget-object p1, p0, Lcom/bda/controller/Controller$ServiceConnection;->this$0:Lcom/bda/controller/Controller;
|
|
|
|
.line 544
|
|
iget p2, p1, Lcom/bda/controller/Controller;->mActivityEvent:I
|
|
|
|
const/4 v0, 0x5
|
|
|
|
if-ne p2, v0, :cond_0
|
|
|
|
const/4 p2, 0x1
|
|
|
|
.line 545
|
|
invoke-virtual {p1, p2, v0}, Lcom/bda/controller/Controller;->sendMessage(II)V
|
|
|
|
iget-object p1, p0, Lcom/bda/controller/Controller$ServiceConnection;->this$0:Lcom/bda/controller/Controller;
|
|
|
|
const/4 v0, 0x7
|
|
|
|
.line 546
|
|
invoke-virtual {p1, p2, v0}, Lcom/bda/controller/Controller;->sendMessage(II)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onServiceDisconnected(Landroid/content/ComponentName;)V
|
|
.locals 1
|
|
|
|
iget-object p1, p0, Lcom/bda/controller/Controller$ServiceConnection;->this$0:Lcom/bda/controller/Controller;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 552
|
|
iput-object v0, p1, Lcom/bda/controller/Controller;->mService:Lcom/bda/controller/IControllerService;
|
|
|
|
return-void
|
|
.end method
|