2950 lines
83 KiB
Diff
2950 lines
83 KiB
Diff
diff -crB com.discord-903-base/smali/com/discord/models/domain/ModelChannel.smali com.discord-903/smali/com/discord/models/domain/ModelChannel.smali
|
||
*** com.discord-903-base/smali/com/discord/models/domain/ModelChannel.smali 2019-05-24 23:40:49.520802264 +0300
|
||
--- com.discord-903/smali/com/discord/models/domain/ModelChannel.smali 2019-05-26 16:28:14.734931852 +0300
|
||
***************
|
||
*** 2082,2087 ****
|
||
--- 2082,2097 ----
|
||
}
|
||
.end annotation
|
||
|
||
+ invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
||
+
|
||
+ move-result-object v0
|
||
+
|
||
+ invoke-virtual {v0}, Lcom/discord/stores/StoreUserSettings;->getLeakChannels()Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_0
|
||
+
|
||
.line 246
|
||
iget-object v0, p0, Lcom/discord/models/domain/ModelChannel;->permissionOverwrites:Ljava/util/Map;
|
||
|
||
diff -crB com.discord-903-base/smali/com/discord/stores/StoreMessages.smali com.discord-903/smali/com/discord/stores/StoreMessages.smali
|
||
*** com.discord-903-base/smali/com/discord/stores/StoreMessages.smali 2019-05-24 23:40:49.670802999 +0300
|
||
--- com.discord-903/smali/com/discord/stores/StoreMessages.smali 2019-05-26 18:11:36.112395942 +0300
|
||
***************
|
||
*** 432,437 ****
|
||
--- 432,441 ----
|
||
|
||
invoke-static {p5, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
||
+ invoke-static {p5}, Lcom/discord/stores/StoreMessages;->interceptEditMessage(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p5
|
||
+
|
||
.line 167
|
||
invoke-direct {p0, p3, p4}, Lcom/discord/stores/StoreMessages;->getMessageQueue(J)Lcom/discord/utilities/messagesend/MessageQueue;
|
||
|
||
***************
|
||
*** 948,953 ****
|
||
--- 952,3606 ----
|
||
return-void
|
||
.end method
|
||
|
||
+ .method public static final slashUpper(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 1
|
||
+
|
||
+ # Length of command + space
|
||
+ const/4 v0, 0x7
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ invoke-virtual {p0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashLower(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 1
|
||
+
|
||
+ # Length of command + space
|
||
+ const/4 v0, 0x7
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashBold(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/4 v0, 0x6
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ new-instance v0, Ljava/lang/StringBuilder;
|
||
+
|
||
+ const-string v1, "**"
|
||
+
|
||
+ invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
+
|
||
+ invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashSpoiler(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/16 v0, 0x9
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ new-instance v0, Ljava/lang/StringBuilder;
|
||
+
|
||
+ const-string v1, "||"
|
||
+
|
||
+ invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
+
|
||
+ invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashMe(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/4 v0, 0x4
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ new-instance v0, Ljava/lang/StringBuilder;
|
||
+
|
||
+ const-string v1, "*"
|
||
+
|
||
+ invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
+
|
||
+ invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashSt(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/4 v0, 0x4
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ new-instance v0, Ljava/lang/StringBuilder;
|
||
+
|
||
+ const-string v1, "~~"
|
||
+
|
||
+ invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
+
|
||
+ invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashShrug(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command (no space)
|
||
+ const/4 v0, 0x6
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ new-instance v0, Ljava/lang/StringBuilder;
|
||
+
|
||
+ const-string v1, " ¯\\_(ツ)_/¯"
|
||
+
|
||
+ invoke-direct {v0, p0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
+
|
||
+ invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashTableflip(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command (no space)
|
||
+ const/16 v0, 0xa
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ new-instance v0, Ljava/lang/StringBuilder;
|
||
+
|
||
+ const-string v1, " (╯°□°)╯︵ ┻━┻"
|
||
+
|
||
+ invoke-direct {v0, p0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
+
|
||
+ invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashUnflip(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command (no space)
|
||
+ const/16 v0, 0x7
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ new-instance v0, Ljava/lang/StringBuilder;
|
||
+
|
||
+ const-string v1, " ┬─┬ ノ( ゜-゜ノ)"
|
||
+
|
||
+ invoke-direct {v0, p0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
+
|
||
+ invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashLenny(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command (no space)
|
||
+ const/4 v0, 0x6
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ new-instance v0, Ljava/lang/StringBuilder;
|
||
+
|
||
+ const-string v1, " ( ͡° ͜ʖ ͡°)"
|
||
+
|
||
+ invoke-direct {v0, p0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
+
|
||
+ invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashFw(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/16 v0, 0x4
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, " "
|
||
+
|
||
+ const-string v1, " "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Start of automatically generated code with textreplacegen.py
|
||
+
|
||
+ const-string v0, "!"
|
||
+
|
||
+ const-string v1, "!"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "#"
|
||
+
|
||
+ const-string v1, "#"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "$"
|
||
+
|
||
+ const-string v1, "$"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "%"
|
||
+
|
||
+ const-string v1, "%"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "&"
|
||
+
|
||
+ const-string v1, "&"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "'"
|
||
+
|
||
+ const-string v1, "'"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "("
|
||
+
|
||
+ const-string v1, "("
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, ")"
|
||
+
|
||
+ const-string v1, ")"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "*"
|
||
+
|
||
+ const-string v1, "*"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "+"
|
||
+
|
||
+ const-string v1, "+"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, ","
|
||
+
|
||
+ const-string v1, ","
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "-"
|
||
+
|
||
+ const-string v1, "-"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "."
|
||
+
|
||
+ const-string v1, "."
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "/"
|
||
+
|
||
+ const-string v1, "/"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "0"
|
||
+
|
||
+ const-string v1, "0"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "1"
|
||
+
|
||
+ const-string v1, "1"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "2"
|
||
+
|
||
+ const-string v1, "2"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "3"
|
||
+
|
||
+ const-string v1, "3"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "4"
|
||
+
|
||
+ const-string v1, "4"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "5"
|
||
+
|
||
+ const-string v1, "5"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "6"
|
||
+
|
||
+ const-string v1, "6"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "7"
|
||
+
|
||
+ const-string v1, "7"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "8"
|
||
+
|
||
+ const-string v1, "8"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "9"
|
||
+
|
||
+ const-string v1, "9"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, ":"
|
||
+
|
||
+ const-string v1, ":"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, ";"
|
||
+
|
||
+ const-string v1, ";"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "<"
|
||
+
|
||
+ const-string v1, "<"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "="
|
||
+
|
||
+ const-string v1, "="
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, ">"
|
||
+
|
||
+ const-string v1, ">"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "?"
|
||
+
|
||
+ const-string v1, "?"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "@"
|
||
+
|
||
+ const-string v1, "@"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "A"
|
||
+
|
||
+ const-string v1, "A"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "B"
|
||
+
|
||
+ const-string v1, "B"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "C"
|
||
+
|
||
+ const-string v1, "C"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "D"
|
||
+
|
||
+ const-string v1, "D"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "E"
|
||
+
|
||
+ const-string v1, "E"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "F"
|
||
+
|
||
+ const-string v1, "F"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "G"
|
||
+
|
||
+ const-string v1, "G"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "H"
|
||
+
|
||
+ const-string v1, "H"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "I"
|
||
+
|
||
+ const-string v1, "I"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "J"
|
||
+
|
||
+ const-string v1, "J"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "K"
|
||
+
|
||
+ const-string v1, "K"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "L"
|
||
+
|
||
+ const-string v1, "L"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "M"
|
||
+
|
||
+ const-string v1, "M"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "N"
|
||
+
|
||
+ const-string v1, "N"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "O"
|
||
+
|
||
+ const-string v1, "O"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "P"
|
||
+
|
||
+ const-string v1, "P"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "Q"
|
||
+
|
||
+ const-string v1, "Q"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "R"
|
||
+
|
||
+ const-string v1, "R"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "S"
|
||
+
|
||
+ const-string v1, "S"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "T"
|
||
+
|
||
+ const-string v1, "T"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "U"
|
||
+
|
||
+ const-string v1, "U"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "V"
|
||
+
|
||
+ const-string v1, "V"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "W"
|
||
+
|
||
+ const-string v1, "W"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "X"
|
||
+
|
||
+ const-string v1, "X"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "Y"
|
||
+
|
||
+ const-string v1, "Y"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "Z"
|
||
+
|
||
+ const-string v1, "Z"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "["
|
||
+
|
||
+ const-string v1, "["
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "]"
|
||
+
|
||
+ const-string v1, "]"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "^"
|
||
+
|
||
+ const-string v1, "^"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "_"
|
||
+
|
||
+ const-string v1, "_"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "`"
|
||
+
|
||
+ const-string v1, "`"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "a"
|
||
+
|
||
+ const-string v1, "a"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "b"
|
||
+
|
||
+ const-string v1, "b"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "c"
|
||
+
|
||
+ const-string v1, "c"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "d"
|
||
+
|
||
+ const-string v1, "d"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "e"
|
||
+
|
||
+ const-string v1, "e"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "f"
|
||
+
|
||
+ const-string v1, "f"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "g"
|
||
+
|
||
+ const-string v1, "g"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "h"
|
||
+
|
||
+ const-string v1, "h"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "i"
|
||
+
|
||
+ const-string v1, "i"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "j"
|
||
+
|
||
+ const-string v1, "j"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "k"
|
||
+
|
||
+ const-string v1, "k"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "l"
|
||
+
|
||
+ const-string v1, "l"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "m"
|
||
+
|
||
+ const-string v1, "m"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "n"
|
||
+
|
||
+ const-string v1, "n"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "o"
|
||
+
|
||
+ const-string v1, "o"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "p"
|
||
+
|
||
+ const-string v1, "p"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "q"
|
||
+
|
||
+ const-string v1, "q"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "r"
|
||
+
|
||
+ const-string v1, "r"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "s"
|
||
+
|
||
+ const-string v1, "s"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "t"
|
||
+
|
||
+ const-string v1, "t"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "u"
|
||
+
|
||
+ const-string v1, "u"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "v"
|
||
+
|
||
+ const-string v1, "v"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "w"
|
||
+
|
||
+ const-string v1, "w"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "x"
|
||
+
|
||
+ const-string v1, "x"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "y"
|
||
+
|
||
+ const-string v1, "y"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "z"
|
||
+
|
||
+ const-string v1, "z"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "{"
|
||
+
|
||
+ const-string v1, "{"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "|"
|
||
+
|
||
+ const-string v1, "|"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "}"
|
||
+
|
||
+ const-string v1, "}"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "~"
|
||
+
|
||
+ const-string v1, "~"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # End of automatically generated code by textreplacegen.py
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashSmall(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/16 v0, 0x7
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Start of automatically generated code with textreplacegen.py
|
||
+
|
||
+ const-string v0, "a"
|
||
+
|
||
+ const-string v1, "ᴀ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "b"
|
||
+
|
||
+ const-string v1, "ʙ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "c"
|
||
+
|
||
+ const-string v1, "ᴄ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "d"
|
||
+
|
||
+ const-string v1, "ᴅ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "e"
|
||
+
|
||
+ const-string v1, "ᴇ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "f"
|
||
+
|
||
+ const-string v1, "ꜰ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "g"
|
||
+
|
||
+ const-string v1, "ɢ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "h"
|
||
+
|
||
+ const-string v1, "ʜ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "i"
|
||
+
|
||
+ const-string v1, "ɪ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "j"
|
||
+
|
||
+ const-string v1, "ᴊ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "k"
|
||
+
|
||
+ const-string v1, "ᴋ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "l"
|
||
+
|
||
+ const-string v1, "ʟ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "m"
|
||
+
|
||
+ const-string v1, "ᴍ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "n"
|
||
+
|
||
+ const-string v1, "ɴ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "o"
|
||
+
|
||
+ const-string v1, "ᴏ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "p"
|
||
+
|
||
+ const-string v1, "ᴘ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "q"
|
||
+
|
||
+ const-string v1, "ǫ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "r"
|
||
+
|
||
+ const-string v1, "ʀ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "s"
|
||
+
|
||
+ const-string v1, "s"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "t"
|
||
+
|
||
+ const-string v1, "ᴛ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "u"
|
||
+
|
||
+ const-string v1, "ᴜ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "v"
|
||
+
|
||
+ const-string v1, "ᴠ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "w"
|
||
+
|
||
+ const-string v1, "ᴡ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "x"
|
||
+
|
||
+ const-string v1, "x"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "y"
|
||
+
|
||
+ const-string v1, "ʏ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "z"
|
||
+
|
||
+ const-string v1, "ᴢ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # End of automatically generated code by textreplacegen.py
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashSmaller(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/16 v0, 0x9
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Start of automatically generated code with textreplacegen.py
|
||
+
|
||
+ const-string v0, "a"
|
||
+
|
||
+ const-string v1, "ᵃ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "b"
|
||
+
|
||
+ const-string v1, "ᵇ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "c"
|
||
+
|
||
+ const-string v1, "ᶜ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "d"
|
||
+
|
||
+ const-string v1, "ᵈ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "e"
|
||
+
|
||
+ const-string v1, "ᵉ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "f"
|
||
+
|
||
+ const-string v1, "ᶠ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "g"
|
||
+
|
||
+ const-string v1, "ᵍ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "h"
|
||
+
|
||
+ const-string v1, "ʰ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "i"
|
||
+
|
||
+ const-string v1, "ᶦ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "j"
|
||
+
|
||
+ const-string v1, "ʲ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "k"
|
||
+
|
||
+ const-string v1, "ᵏ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "l"
|
||
+
|
||
+ const-string v1, "ˡ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "m"
|
||
+
|
||
+ const-string v1, "ᵐ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "n"
|
||
+
|
||
+ const-string v1, "ⁿ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "o"
|
||
+
|
||
+ const-string v1, "ᵒ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "p"
|
||
+
|
||
+ const-string v1, "ᵖ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "q"
|
||
+
|
||
+ const-string v1, "ᑫ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "r"
|
||
+
|
||
+ const-string v1, "ʳ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "s"
|
||
+
|
||
+ const-string v1, "ˢ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "t"
|
||
+
|
||
+ const-string v1, "ᵗ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "u"
|
||
+
|
||
+ const-string v1, "ᵘ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "v"
|
||
+
|
||
+ const-string v1, "ᵛ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "w"
|
||
+
|
||
+ const-string v1, "ʷ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "x"
|
||
+
|
||
+ const-string v1, "ˣ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "y"
|
||
+
|
||
+ const-string v1, "ʸ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "z"
|
||
+
|
||
+ const-string v1, "ᶻ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # End of automatically generated code by textreplacegen.py
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashFlip(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/16 v0, 0x6
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ invoke-virtual {p0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Reverse text
|
||
+
|
||
+ new-instance v0, Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-direct {v0, p0}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->reverse()Ljava/lang/StringBuilder;
|
||
+
|
||
+ invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Start of automatically generated code with textreplacegen.py
|
||
+
|
||
+ const-string v0, "a"
|
||
+
|
||
+ const-string v1, "ɐ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "b"
|
||
+
|
||
+ const-string v1, "q"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "c"
|
||
+
|
||
+ const-string v1, "ɔ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "d"
|
||
+
|
||
+ const-string v1, "p"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "e"
|
||
+
|
||
+ const-string v1, "ǝ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "f"
|
||
+
|
||
+ const-string v1, "ɟ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "g"
|
||
+
|
||
+ const-string v1, "ƃ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "h"
|
||
+
|
||
+ const-string v1, "ɥ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "i"
|
||
+
|
||
+ const-string v1, "ı"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "j"
|
||
+
|
||
+ const-string v1, "ɾ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "k"
|
||
+
|
||
+ const-string v1, "ʞ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "l"
|
||
+
|
||
+ const-string v1, "ן"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "m"
|
||
+
|
||
+ const-string v1, "ɯ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "n"
|
||
+
|
||
+ const-string v1, "u"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "o"
|
||
+
|
||
+ const-string v1, "o"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "p"
|
||
+
|
||
+ const-string v1, "d"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "q"
|
||
+
|
||
+ const-string v1, "b"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "r"
|
||
+
|
||
+ const-string v1, "ɹ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "s"
|
||
+
|
||
+ const-string v1, "s"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "t"
|
||
+
|
||
+ const-string v1, "ʇ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "u"
|
||
+
|
||
+ const-string v1, "n"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "v"
|
||
+
|
||
+ const-string v1, "ʌ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "w"
|
||
+
|
||
+ const-string v1, "ʍ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "x"
|
||
+
|
||
+ const-string v1, "x"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "y"
|
||
+
|
||
+ const-string v1, "ʎ"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "z"
|
||
+
|
||
+ const-string v1, "z"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # End of automatically generated code by textreplacegen.py
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashClap(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/4 v0, 0x6
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, " "
|
||
+
|
||
+ const-string v1, " :clap: "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashOwo(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/4 v0, 0x5
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Thanks Cynthia for the regex!
|
||
+
|
||
+ const-string v0, "(?:r|l)"
|
||
+
|
||
+ const-string v1, "w"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "(?:R|L)"
|
||
+
|
||
+ const-string v1, "W"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "n([aeiou])"
|
||
+
|
||
+ const-string v1, "ny$1"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "N([aeiou])"
|
||
+
|
||
+ const-string v1, "Ny$1"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "N([AEIOU])"
|
||
+
|
||
+ const-string v1, "NY$1"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "ove"
|
||
+
|
||
+ const-string v1, "uv"
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashMorse(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # Length of command + space
|
||
+ const/16 v0, 0x7
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ invoke-virtual {p0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Start of automatically generated code with textreplacegen.py
|
||
+
|
||
+ const-string v0, " "
|
||
+
|
||
+ const-string v1, "/ "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "."
|
||
+
|
||
+ const-string v1, ".-.-.- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, ","
|
||
+
|
||
+ const-string v1, "--..-- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, ":"
|
||
+
|
||
+ const-string v1, "---... "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "?"
|
||
+
|
||
+ const-string v1, "..--.. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "'"
|
||
+
|
||
+ const-string v1, ".----. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "-"
|
||
+
|
||
+ const-string v1, "-....- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "/"
|
||
+
|
||
+ const-string v1, "-..-. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "@"
|
||
+
|
||
+ const-string v1, ".--.-. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "="
|
||
+
|
||
+ const-string v1, "-...- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "A"
|
||
+
|
||
+ const-string v1, ".- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "B"
|
||
+
|
||
+ const-string v1, "-... "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "C"
|
||
+
|
||
+ const-string v1, "-.-. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "D"
|
||
+
|
||
+ const-string v1, "-.. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "E"
|
||
+
|
||
+ const-string v1, ". "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "F"
|
||
+
|
||
+ const-string v1, "..-. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "G"
|
||
+
|
||
+ const-string v1, "--. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "H"
|
||
+
|
||
+ const-string v1, ".... "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "I"
|
||
+
|
||
+ const-string v1, ".. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "J"
|
||
+
|
||
+ const-string v1, ".--- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "K"
|
||
+
|
||
+ const-string v1, "-.- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "L"
|
||
+
|
||
+ const-string v1, ".-.. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "M"
|
||
+
|
||
+ const-string v1, "-- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "N"
|
||
+
|
||
+ const-string v1, "-. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "O"
|
||
+
|
||
+ const-string v1, "--- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "P"
|
||
+
|
||
+ const-string v1, ".--. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "Q"
|
||
+
|
||
+ const-string v1, "--.- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "R"
|
||
+
|
||
+ const-string v1, ".-. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "S"
|
||
+
|
||
+ const-string v1, "... "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "T"
|
||
+
|
||
+ const-string v1, "- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "U"
|
||
+
|
||
+ const-string v1, "..- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "V"
|
||
+
|
||
+ const-string v1, "...- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "W"
|
||
+
|
||
+ const-string v1, ".-- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "X"
|
||
+
|
||
+ const-string v1, "-..- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "Y"
|
||
+
|
||
+ const-string v1, "-.-- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "Z"
|
||
+
|
||
+ const-string v1, "--.. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "0"
|
||
+
|
||
+ const-string v1, "----- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "1"
|
||
+
|
||
+ const-string v1, ".---- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "2"
|
||
+
|
||
+ const-string v1, "..--- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "3"
|
||
+
|
||
+ const-string v1, "...-- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "4"
|
||
+
|
||
+ const-string v1, "....- "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "5"
|
||
+
|
||
+ const-string v1, "..... "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "6"
|
||
+
|
||
+ const-string v1, "-.... "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "7"
|
||
+
|
||
+ const-string v1, "--... "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "8"
|
||
+
|
||
+ const-string v1, "---.. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "9"
|
||
+
|
||
+ const-string v1, "----. "
|
||
+
|
||
+ invoke-virtual {p0, v0, v1}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # End of automatically generated code by textreplacegen.py
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashCtc(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ # called from smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali
|
||
+
|
||
+ # Length of command + space
|
||
+ const/4 v0, 0x5
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Move to second word interpretation
|
||
+
|
||
+ const-string v0, "channelleak "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_2
|
||
+
|
||
+ # Move to config value interpretation
|
||
+
|
||
+ const/16 v0, 0xc
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "false"
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v1
|
||
+
|
||
+ # Set value
|
||
+
|
||
+ invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
||
+
|
||
+ move-result-object v0
|
||
+
|
||
+ invoke-virtual {v0, v1}, Lcom/discord/stores/StoreUserSettings;->setLeakChannels(Z)V
|
||
+
|
||
+ const-string p0, "CTC: Successfully set leakchannels state."
|
||
+
|
||
+ return-object p0
|
||
+
|
||
+ # Move to second secondary command's interpretation
|
||
+
|
||
+ :cond_2
|
||
+ const-string v0, "showtyping "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_3
|
||
+
|
||
+ # Move to config value interpretation
|
||
+
|
||
+ const/16 v0, 0xb
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ const-string v0, "true"
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v1
|
||
+
|
||
+ # Set value
|
||
+
|
||
+ invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
||
+
|
||
+ move-result-object v0
|
||
+
|
||
+ invoke-virtual {v0, v1}, Lcom/discord/stores/StoreUserSettings;->setShowTyping(Z)V
|
||
+
|
||
+ const-string p0, "CTC: Successfully set showtyping state."
|
||
+
|
||
+ return-object p0
|
||
+
|
||
+ :cond_3
|
||
+ const-string v0, "token "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_4
|
||
+
|
||
+ # Move to config value interpretation
|
||
+
|
||
+ const/16 v0, 0x6
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Set value
|
||
+
|
||
+ invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
||
+
|
||
+ move-result-object v0
|
||
+
|
||
+ invoke-virtual {v0, p0}, Lcom/discord/stores/StoreUserSettings;->setStoredToken(Ljava/lang/String;)V
|
||
+
|
||
+ const-string p0, "CTC: Successfully changed token. Please restart application."
|
||
+
|
||
+ return-object p0
|
||
+
|
||
+ :cond_4
|
||
+ const-string v0, "token"
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_1
|
||
+
|
||
+ # Get value
|
||
+
|
||
+ invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
||
+
|
||
+ move-result-object v0
|
||
+
|
||
+ invoke-virtual {v0}, Lcom/discord/stores/StoreUserSettings;->getStoredToken()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+
|
||
+ :cond_1
|
||
+ const-string p0, "CTC: No known command supplied. (available: token, showtyping or channelleak. everything except specified token needs to be lowercase)"
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final slashCommands(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 1
|
||
+
|
||
+ # Ideas for commands (by luna): lower [done], upper [done], fw [done], bold [done], shrug [done]
|
||
+ # Ideas for commands (by bela): small [done], smaller [done]
|
||
+ # Discord's defaults: me [done], tableflip [done], unflip [done], spoiler [done]
|
||
+ # More ideas: morse [done], mock, help
|
||
+
|
||
+ # Trim input before anything
|
||
+ invoke-virtual {p0}, Ljava/lang/String;->trim()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ # Upper command
|
||
+ const-string v0, "/upper "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_1
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashUpper(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Lower command
|
||
+ :cond_1
|
||
+ const-string v0, "/lower "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_2
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashLower(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Bold command
|
||
+ :cond_2
|
||
+ const-string v0, "/bold "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_3
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashBold(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Spoiler command
|
||
+ :cond_3
|
||
+ const-string v0, "/spoiler "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_4
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashSpoiler(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Me command
|
||
+ :cond_4
|
||
+ const-string v0, "/me "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_5
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashMe(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # St (strikethrough) command
|
||
+ :cond_5
|
||
+ const-string v0, "/st "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_6
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashSt(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Shrug command
|
||
+ :cond_6
|
||
+ const-string v0, "/shrug"
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_7
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashShrug(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Tableflip command
|
||
+ :cond_7
|
||
+ const-string v0, "/tableflip"
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_8
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashTableflip(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Unflip command
|
||
+ :cond_8
|
||
+ const-string v0, "/unflip"
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_9
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashUnflip(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Lenny command
|
||
+ :cond_9
|
||
+ const-string v0, "/lenny"
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_10
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashLenny(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Fw command
|
||
+ :cond_10
|
||
+ const-string v0, "/fw "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_11
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashFw(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Small command
|
||
+ :cond_11
|
||
+ const-string v0, "/small "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_12
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashSmall(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Smaller command
|
||
+ :cond_12
|
||
+ const-string v0, "/smaller "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_13
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashSmaller(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Flip command
|
||
+ :cond_13
|
||
+ const-string v0, "/flip "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_14
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashFlip(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Clap command
|
||
+ # *jeb voice* please clap
|
||
+ :cond_14
|
||
+ const-string v0, "/clap "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_15
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashClap(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # OwO command
|
||
+ :cond_15
|
||
+ const-string v0, "/owo "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_16
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashOwo(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ # Morse command
|
||
+ :cond_16
|
||
+ const-string v0, "/morse "
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_0
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashMorse(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ goto :goto_0
|
||
+
|
||
+ :cond_0
|
||
+ :goto_0
|
||
+ # And finally, trim output before sending it back
|
||
+ invoke-virtual {p0}, Ljava/lang/String;->trim()Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final interceptSendMessage(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ const-string v0, "/"
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_0
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashCommands(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ :cond_0
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
+ .method public static final interceptEditMessage(Ljava/lang/String;)Ljava/lang/String;
|
||
+ .locals 2
|
||
+
|
||
+ const-string v0, "/"
|
||
+
|
||
+ invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ if-eqz v0, :cond_0
|
||
+
|
||
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashCommands(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p0
|
||
+
|
||
+ :cond_0
|
||
+ return-object p0
|
||
+ .end method
|
||
+
|
||
.method public final sendMessage(JLcom/discord/models/domain/ModelUser;Ljava/lang/String;Ljava/util/List;Ljava/util/List;)Lrx/Observable;
|
||
.locals 8
|
||
.annotation system Ldalvik/annotation/Signature;
|
||
***************
|
||
*** 977,982 ****
|
||
--- 3630,3639 ----
|
||
|
||
invoke-static {p4, v0}, Lkotlin/jvm/internal/k;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
||
+ invoke-static {p4}, Lcom/discord/stores/StoreMessages;->interceptSendMessage(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object p4
|
||
+
|
||
const/4 v0, 0x1
|
||
|
||
if-eqz p6, :cond_0
|
||
diff -crB com.discord-903-base/smali/com/discord/stores/StoreUserSettings.smali com.discord-903/smali/com/discord/stores/StoreUserSettings.smali
|
||
*** com.discord-903-base/smali/com/discord/stores/StoreUserSettings.smali 2019-05-24 23:40:49.700803146 +0300
|
||
--- com.discord-903/smali/com/discord/stores/StoreUserSettings.smali 2019-05-26 18:03:13.643331588 +0300
|
||
***************
|
||
*** 1272,1277 ****
|
||
--- 1272,1387 ----
|
||
return v0
|
||
.end method
|
||
|
||
+ .method public getLeakChannels()Z
|
||
+ .locals 3
|
||
+
|
||
+ iget-object v0, p0, Lcom/discord/stores/StoreUserSettings;->prefs:Landroid/content/SharedPreferences;
|
||
+
|
||
+ const-string v1, "CACHE_KEY_CTC_LEAK_CHANNELS"
|
||
+
|
||
+ const/4 v2, 0x1
|
||
+
|
||
+ invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ return v0
|
||
+ .end method
|
||
+
|
||
+ .method public setLeakChannels(Z)V
|
||
+ .locals 2
|
||
+
|
||
+ iget-object v0, p0, Lcom/discord/stores/StoreUserSettings;->prefs:Landroid/content/SharedPreferences;
|
||
+
|
||
+ invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
||
+
|
||
+ move-result-object v0
|
||
+
|
||
+ const-string v1, "CACHE_KEY_CTC_LEAK_CHANNELS"
|
||
+
|
||
+ invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
|
||
+
|
||
+ move-result-object p1
|
||
+
|
||
+ invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
||
+
|
||
+ return-void
|
||
+ .end method
|
||
+
|
||
+ .method public getShowTyping()Z
|
||
+ .locals 3
|
||
+
|
||
+ iget-object v0, p0, Lcom/discord/stores/StoreUserSettings;->prefs:Landroid/content/SharedPreferences;
|
||
+
|
||
+ const-string v1, "CACHE_KEY_CTC_SHOW_TYPING"
|
||
+
|
||
+ const/4 v2, 0x1
|
||
+
|
||
+ invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getBoolean(Ljava/lang/String;Z)Z
|
||
+
|
||
+ move-result v0
|
||
+
|
||
+ return v0
|
||
+ .end method
|
||
+
|
||
+ .method public setShowTyping(Z)V
|
||
+ .locals 2
|
||
+
|
||
+ iget-object v0, p0, Lcom/discord/stores/StoreUserSettings;->prefs:Landroid/content/SharedPreferences;
|
||
+
|
||
+ invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
||
+
|
||
+ move-result-object v0
|
||
+
|
||
+ const-string v1, "CACHE_KEY_CTC_SHOW_TYPING"
|
||
+
|
||
+ invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putBoolean(Ljava/lang/String;Z)Landroid/content/SharedPreferences$Editor;
|
||
+
|
||
+ move-result-object p1
|
||
+
|
||
+ invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
||
+
|
||
+ return-void
|
||
+ .end method
|
||
+
|
||
+
|
||
+ .method public getStoredToken()Ljava/lang/String;
|
||
+ .locals 3
|
||
+
|
||
+ iget-object v0, p0, Lcom/discord/stores/StoreAuthentication;->prefs:Landroid/content/SharedPreferences;
|
||
+
|
||
+ const-string v1, "none"
|
||
+
|
||
+ const-string v2, "STORE_AUTHED_TOKEN"
|
||
+
|
||
+ invoke-interface {v0, v2, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object v0
|
||
+
|
||
+ return-object v0
|
||
+ .end method
|
||
+
|
||
+
|
||
+ .method public setStoredToken(Ljava/lang/String;)V
|
||
+ .locals 2
|
||
+
|
||
+ iget-object v0, p0, Lcom/discord/stores/StoreAuthentication;->prefs:Landroid/content/SharedPreferences;
|
||
+
|
||
+ invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
||
+
|
||
+ move-result-object v0
|
||
+
|
||
+ const-string v1, "STORE_AUTHED_TOKEN"
|
||
+
|
||
+ invoke-interface {v0, v1, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
||
+
|
||
+ move-result-object p1
|
||
+
|
||
+ invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
||
+
|
||
+ return-void
|
||
+ .end method
|
||
+
|
||
.method handleConnectionOpen(Lcom/discord/models/domain/ModelPayload;)V
|
||
.locals 0
|
||
|
||
diff -crB com.discord-903-base/smali/com/discord/widgets/chat/input/WidgetChatInputEditText$1.smali com.discord-903/smali/com/discord/widgets/chat/input/WidgetChatInputEditText$1.smali
|
||
*** com.discord-903-base/smali/com/discord/widgets/chat/input/WidgetChatInputEditText$1.smali 2019-05-24 23:40:49.907470826 +0300
|
||
--- com.discord-903/smali/com/discord/widgets/chat/input/WidgetChatInputEditText$1.smali 2019-05-26 16:32:19.513084840 +0300
|
||
***************
|
||
*** 124,129 ****
|
||
--- 124,139 ----
|
||
|
||
invoke-static {p1, v0, v1}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->access$202(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;J)J
|
||
|
||
+ invoke-static {}, Lcom/discord/stores/StoreStream;->getUserSettings()Lcom/discord/stores/StoreUserSettings;
|
||
+
|
||
+ move-result-object p1
|
||
+
|
||
+ invoke-virtual {p1}, Lcom/discord/stores/StoreUserSettings;->getShowTyping()Z
|
||
+
|
||
+ move-result p1
|
||
+
|
||
+ if-eqz p1, :cond_1
|
||
+
|
||
.line 222
|
||
invoke-static {}, Lcom/discord/stores/StoreStream;->getUsersTyping()Lcom/discord/stores/StoreUserTyping;
|
||
|
||
diff -crB com.discord-903-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali com.discord-903/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali
|
||
*** com.discord-903-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2019-05-24 23:40:49.907470826 +0300
|
||
--- com.discord-903/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2019-05-26 17:40:46.959503995 +0300
|
||
***************
|
||
*** 355,360 ****
|
||
--- 355,362 ----
|
||
|
||
move-result-object v9
|
||
|
||
+ # intercept edit here
|
||
+
|
||
invoke-static {v9, v3}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
||
.line 63
|
||
***************
|
||
*** 399,404 ****
|
||
--- 401,444 ----
|
||
|
||
move-result-object v8
|
||
|
||
+ # intercept send here
|
||
+
|
||
+ const-string v9, "/ctc "
|
||
+
|
||
+ invoke-virtual {v8, v9}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||
+
|
||
+ move-result v9
|
||
+
|
||
+ if-eqz v9, :cond_6
|
||
+
|
||
+ invoke-static {v8}, Lcom/discord/stores/StoreMessages;->slashCtc(Ljava/lang/String;)Ljava/lang/String;
|
||
+
|
||
+ move-result-object v8
|
||
+
|
||
+ # invoke-virtual {v9}, Landroid/view/View;->getContext()Landroid/content/Context;
|
||
+
|
||
+ # move-result-object v9
|
||
+
|
||
+ # const/4 v0, 0x0
|
||
+
|
||
+ # invoke-static {v9, v8, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;
|
||
+
|
||
+ # move-result-object v9
|
||
+
|
||
+ # invoke-virtual {v9}, Landroid/widget/Toast;->show()V
|
||
+
|
||
+ sget-object p1, Lcom/discord/widgets/chat/input/WidgetChatInputSend;->INSTANCE:Lcom/discord/widgets/chat/input/WidgetChatInputSend;
|
||
+
|
||
+ iget-object v0, p0, Lcom/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1;->$chatInput:Lcom/discord/widgets/chat/input/WidgetChatInputEditText;
|
||
+
|
||
+ invoke-static {p1, v0, v8}, Lcom/discord/widgets/chat/input/WidgetChatInputSend;->access$SetInput(Lcom/discord/widgets/chat/input/WidgetChatInputSend;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Ljava/lang/CharSequence;)Z
|
||
+
|
||
+ move-result p1
|
||
+
|
||
+ return p1
|
||
+
|
||
+ :cond_6
|
||
+
|
||
invoke-static {v8, v3}, Lkotlin/jvm/internal/k;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
||
.line 79
|
||
diff -crB com.discord-903-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend.smali com.discord-903/smali/com/discord/widgets/chat/input/WidgetChatInputSend.smali
|
||
*** com.discord-903-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend.smali 2019-05-24 23:40:49.907470826 +0300
|
||
--- com.discord-903/smali/com/discord/widgets/chat/input/WidgetChatInputSend.smali 2019-05-26 17:40:34.489430375 +0300
|
||
***************
|
||
*** 50,55 ****
|
||
--- 50,79 ----
|
||
return p0
|
||
.end method
|
||
|
||
+ .method public static final access$SetInput(Lcom/discord/widgets/chat/input/WidgetChatInputSend;Lcom/discord/widgets/chat/input/WidgetChatInputEditText;Ljava/lang/CharSequence;)Z
|
||
+ .locals 1
|
||
+
|
||
+ .line 147
|
||
+ invoke-virtual {p1, p2}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->setText(Ljava/lang/CharSequence;)V
|
||
+
|
||
+ .line 148
|
||
+ invoke-virtual {p1}, Lcom/discord/widgets/chat/input/WidgetChatInputEditText;->clearLastTypingEmission()V
|
||
+
|
||
+ .line 151
|
||
+ invoke-static {}, Lcom/discord/stores/StoreStream;->getChat()Lcom/discord/stores/StoreChat;
|
||
+
|
||
+ move-result-object p1
|
||
+
|
||
+ const/4 v0, 0x0
|
||
+
|
||
+ .line 152
|
||
+ invoke-virtual {p1, v0}, Lcom/discord/stores/StoreChat;->setEditingMessage(Lcom/discord/stores/StoreChat$EditingMessage;)V
|
||
+
|
||
+ const/4 p1, 0x1
|
||
+
|
||
+ return p1
|
||
+ .end method
|
||
+
|
||
.method private final clearInput(Lcom/discord/widgets/chat/input/WidgetChatInputEditText;)Z
|
||
.locals 1
|
||
|