mirror of
https://github.com/meowstercatel/r1-apk-patcher.git
synced 2024-12-22 23:25:20 -06:00
volume input changes
This commit is contained in:
parent
3023bd0066
commit
62258ee387
2 changed files with 8 additions and 11 deletions
Binary file not shown.
19
functions.js
19
functions.js
|
@ -44,22 +44,21 @@ const onKeyUp = {
|
|||
"const/4 p0, -0x1",
|
||||
"sput p0, Ltech/rabbit/r1launcher/rabbit/KeyEventHandler;->lastKey:I",
|
||||
"sput p1, Ltech/rabbit/r1launcher/rabbit/KeyEventHandler;->lastUpKey:I",
|
||||
"const/16 p0, 0x50",
|
||||
"if-eq p1, p0, :setter",
|
||||
"const/16 p0, 0x18",
|
||||
"if-eq p1, p0, :setter",
|
||||
"if-eq p1, p0, :set",
|
||||
"const/16 p0, 0x19",
|
||||
"if-eq p1, p0, :setter",
|
||||
"if-eq p1, p0, :set",
|
||||
"const/16 p0, 0x13",
|
||||
"if-eq p1, p0, :cond_0",
|
||||
"const/16 p0, 0x14",
|
||||
"if-eq p1, p0, :cond_0",
|
||||
"packed-switch p1, :pswitch_data_0",
|
||||
"goto :goto_0",
|
||||
":setter",
|
||||
":set",
|
||||
"const/16 p1, 0x1A",
|
||||
":cond_0",
|
||||
":pswitch_0",
|
||||
"sget-object p0, Ltech/rabbit/r1launcher/rabbit/KeyEventHandler;->TAG:Ljava/lang/String;"
|
||||
]};
|
||||
|
||||
const onKeyDown = {
|
||||
|
@ -67,20 +66,18 @@ const onKeyDown = {
|
|||
code: [
|
||||
".method public final onKeyDown(ILandroid/view/KeyEvent;)Z",
|
||||
".locals 3",
|
||||
"const/16 p0, 0x50",
|
||||
"if-eq p1, p0, :setter",
|
||||
"const/16 p0, 0x18",
|
||||
"if-eq p1, p0, :setter",
|
||||
"if-eq p1, p0, :set",
|
||||
"const/16 p0, 0x19",
|
||||
"if-eq p1, p0, :setter",
|
||||
"if-eq p1, p0, :set",
|
||||
"const/16 p0, 0x13",
|
||||
"if-eq p1, p0, :cond_0",
|
||||
"const/16 p0, 0x14",
|
||||
"if-eq p1, p0, :cond_0",
|
||||
"packed-switch p1, :pswitch_data_0",
|
||||
"goto :goto_0",
|
||||
":setter",
|
||||
"const/16 p1, 0x1a",
|
||||
":set",
|
||||
"const/16 p1, 0x1A",
|
||||
":cond_0",
|
||||
":pswitch_0",
|
||||
"sget p0, Ltech/rabbit/r1launcher/rabbit/KeyEventHandler;->lastKey:I"
|
||||
|
|
Loading…
Reference in a new issue