Files
rr3-apk/smali_classes2/com/firemint/realracing/CheatView$CheatEditText.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

88 lines
2.4 KiB
Smali

.class Lcom/firemint/realracing/CheatView$CheatEditText;
.super Landroid/widget/EditText;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/firemint/realracing/CheatView;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = "CheatEditText"
.end annotation
# instance fields
.field private m_cheatListener:Lcom/firemint/realracing/CheatView$CheatListener;
.field final synthetic this$0:Lcom/firemint/realracing/CheatView;
# direct methods
.method public constructor <init>(Lcom/firemint/realracing/CheatView;Landroid/content/Context;Lcom/firemint/realracing/CheatView$CheatListener;)V
.locals 0
iput-object p1, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->this$0:Lcom/firemint/realracing/CheatView;
.line 30
invoke-direct {p0, p2}, Landroid/widget/EditText;-><init>(Landroid/content/Context;)V
iput-object p3, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->m_cheatListener:Lcom/firemint/realracing/CheatView$CheatListener;
return-void
.end method
# virtual methods
.method public onKeyPreIme(ILandroid/view/KeyEvent;)Z
.locals 2
const/4 v0, 0x4
const/4 v1, 0x1
if-ne p1, v0, :cond_0
iget-object p1, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->this$0:Lcom/firemint/realracing/CheatView;
const-string p2, "Consume the back key before it gets to the keyboard"
.line 39
invoke-virtual {p1, p2}, Lcom/firemint/realracing/CheatView;->Log(Ljava/lang/String;)V
iget-object p1, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->m_cheatListener:Lcom/firemint/realracing/CheatView$CheatListener;
const/4 p2, 0x0
const-string v0, ""
.line 40
invoke-interface {p1, p2, v0}, Lcom/firemint/realracing/CheatView$CheatListener;->onInputDone(ZLjava/lang/CharSequence;)V
return v1
:cond_0
const/16 v0, 0x52
if-ne p1, v0, :cond_1
iget-object p1, p0, Lcom/firemint/realracing/CheatView$CheatEditText;->this$0:Lcom/firemint/realracing/CheatView;
const-string p2, "Consume the menu key before it gets to the keyboard"
.line 46
invoke-virtual {p1, p2}, Lcom/firemint/realracing/CheatView;->Log(Ljava/lang/String;)V
return v1
.line 50
:cond_1
invoke-super {p0, p1, p2}, Landroid/view/View;->onKeyPreIme(ILandroid/view/KeyEvent;)Z
move-result p1
return p1
.end method