𝗛𝗲𝗹𝗹𝗼,𝗚𝗼𝗿𝗱𝗼𝗻!

This commit is contained in:
ave 2020-04-01 01:37:54 +03:00
parent 11aee3867d
commit a7c5df7f94
Signed by untrusted user: a
GPG key ID: 398DD7BD03276F6D
3 changed files with 602 additions and 11 deletions

View file

@ -1,6 +1,6 @@
diff -crB com.discord-1078-base/smali/com/discord/stores/StoreMessages.smali com.discord-1078/smali/com/discord/stores/StoreMessages.smali diff -crB com.discord-1087-base/smali/com/discord/stores/StoreMessages.smali com.discord-1087/smali/com/discord/stores/StoreMessages.smali
*** com.discord-1078-base/smali/com/discord/stores/StoreMessages.smali 2020-03-26 10:35:54.982235849 +0300 *** com.discord-1087-base/smali/com/discord/stores/StoreMessages.smali 2020-04-01 01:31:54.688356586 +0300
--- com.discord-1078/smali/com/discord/stores/StoreMessages.smali 2020-03-26 10:57:40.925044601 +0300 --- com.discord-1087/smali/com/discord/stores/StoreMessages.smali 2020-04-01 01:36:38.429997000 +0300
*************** ***************
*** 641,646 **** *** 641,646 ****
--- 641,650 ---- --- 641,650 ----
@ -33,7 +33,7 @@ diff -crB com.discord-1078-base/smali/com/discord/stores/StoreMessages.smali com
move-object/from16 v8, p4 move-object/from16 v8, p4
*************** ***************
*** 1399,1401 **** *** 1399,1401 ****
--- 1411,4150 ---- --- 1411,4675 ----
throw v0 throw v0
.end method .end method
@ -2161,6 +2161,515 @@ diff -crB com.discord-1078-base/smali/com/discord/stores/StoreMessages.smali com
+ return-object p0 + return-object p0
+ .end method + .end method
+ +
+ .method public static final slashGordon(Ljava/lang/String;)Ljava/lang/String;
+ .locals 2
+
+ # Length of command + space
+ const/16 v0, 0x8
+
+ invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)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, "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
+
+ return-object p0
+ .end method
+
+ .method public static final slashCtc(Ljava/lang/String;)Ljava/lang/String; + .method public static final slashCtc(Ljava/lang/String;)Ljava/lang/String;
+ .locals 3 + .locals 3
+ +
@ -2709,7 +3218,7 @@ diff -crB com.discord-1078-base/smali/com/discord/stores/StoreMessages.smali com
+ +
+ move-result v0 + move-result v0
+ +
+ if-eqz v0, :cond_0 + if-eqz v0, :cond_15
+ +
+ invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashSpoilerImg(Ljava/lang/String;)Ljava/lang/String; + invoke-static {p0}, Lcom/discord/stores/StoreMessages;->slashSpoilerImg(Ljava/lang/String;)Ljava/lang/String;
+ +
@ -2717,6 +3226,22 @@ diff -crB com.discord-1078-base/smali/com/discord/stores/StoreMessages.smali com
+ +
+ goto :goto_0 + goto :goto_0
+ +
+ # Gordon command
+ :cond_15
+ const-string v0, "/gordon "
+
+ 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;->slashGordon(Ljava/lang/String;)Ljava/lang/String;
+
+ move-result-object p0
+
+ goto :goto_0
+
+ :cond_0 + :cond_0
+ :goto_0 + :goto_0
+ # And finally, trim output before sending it back + # And finally, trim output before sending it back
@ -2774,9 +3299,9 @@ diff -crB com.discord-1078-base/smali/com/discord/stores/StoreMessages.smali com
+ :cond_0 + :cond_0
+ return-object p0 + return-object p0
+ .end method + .end method
diff -crB com.discord-1078-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali com.discord-1078/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali diff -crB com.discord-1087-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali com.discord-1087/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali
*** com.discord-1078-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-03-26 10:35:55.705572874 +0300 *** com.discord-1087-base/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-04-01 01:31:54.938358031 +0300
--- com.discord-1078/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-03-26 11:01:37.459699555 +0300 --- com.discord-1087/smali/com/discord/widgets/chat/input/WidgetChatInputSend$configureSendListeners$1.smali 2020-04-01 01:32:57.805388168 +0300
*************** ***************
*** 346,351 **** *** 346,351 ****
--- 346,381 ---- --- 346,381 ----
@ -2855,6 +3380,4 @@ diff -crB com.discord-1078-base/smali/com/discord/widgets/chat/input/WidgetChatI
invoke-static {v12, v4}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-static {v12, v4}, Ly/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
.line 28 .line 28
Only in com.discord-1078/smali/com/discord/widgets/chat/input: WidgetChatInputSend$configureSendListeners$1.smali.orig
Only in com.discord-1078/smali/com/discord/widgets/chat/input: WidgetChatInputSend$configureSendListeners$1.smali.rej

View file

@ -17,6 +17,7 @@ The following slash commands are supported:
Following commands are supported, but create less accessible text (so you should probably ensure that no one around you will be affected before you use them): Following commands are supported, but create less accessible text (so you should probably ensure that no one around you will be affected before you use them):
- /fw -> Makes text fullwidth (like "    ") - /fw -> Makes text fullwidth (like "    ")
- /gordon -> 𝗛𝗲𝗹𝗹𝗼𝗚𝗼𝗿𝗱𝗼𝗻
- /small -> Makes text smaller (like "ᴛʜɪs") - /small -> Makes text smaller (like "ᴛʜɪs")
- /smaller -> Makes text even smaller (like "ᵗʰvˢ") - /smaller -> Makes text even smaller (like "ᵗʰvˢ")
- /flip -> Flips text (like "ʇɥıs") - /flip -> Flips text (like "ʇɥıs")

View file

@ -134,6 +134,73 @@ morse = {
"9": "----. " "9": "----. "
} }
gordon = {
"a": "𝗮",
"b": "𝗯",
"c": "𝗰",
"d": "𝗱",
"e": "𝗲",
"f": "𝗳",
"g": "𝗴",
"h": "𝗵",
"i": "𝗶",
"j": "𝗷",
"k": "𝗸",
"l": "𝗹",
"m": "𝗺",
"n": "𝗻",
"o": "𝗼",
"p": "𝗽",
"q": "𝗾",
"r": "𝗿",
"s": "𝘀",
"t": "𝘁",
"u": "𝘂",
"v": "𝘃",
"w": "𝘄",
"x": "𝘅",
"y": "𝘆",
"z": "𝘇",
"A": "𝗔",
"B": "𝗕",
"C": "𝗖",
"D": "𝗗",
"E": "𝗘",
"F": "𝗙",
"G": "𝗚",
"H": "𝗛",
"I": "𝗜",
"J": "𝗝",
"K": "𝗞",
"L": "𝗟",
"M": "𝗠",
"N": "𝗡",
"O": "𝗢",
"P": "𝗣",
"Q": "𝗤",
"R": "𝗥",
"S": "𝗦",
"T": "𝗧",
"U": "𝗨",
"V": "𝗩",
"W": "𝗪",
"X": "𝗫",
"Y": "𝗬",
"Z": "𝗭",
"0": "𝟬",
"1": "𝟭",
"2": "𝟮",
"3": "𝟯",
"4": "𝟰",
"5": "𝟱",
"6": "𝟲",
"7": "𝟳",
"8": "𝟴",
"9": "𝟵"
}
code = """ code = """
const-string v0, "before" const-string v0, "before"
@ -143,7 +210,7 @@ code = """
move-result-object p0""" move-result-object p0"""
fw = morse fw = gordon
for entry in fw: for entry in fw:
if entry in ["\\", "\""]: if entry in ["\\", "\""]: