注册 登录
编程论坛 Android开发

请大佬看看这个代码该怎么改

qq2795628610 发布于 2019-08-26 12:32, 2127 次点击
这是个机器人随机点歌插件的代码,请问这个该怎么改?我想加几首歌,求大佬解答
move-object v0 v9
const/16 v4 0x8
new-array v4 v4 [Ljava/lang/String;
move-object v8 v4
move-object v4 v8
move-object v5 v8
const/4 v6 0
const-string v7 "fade"
aput-object v7 v5 v6
move-object v8 v4
move-object v4 v8
move-object v5 v8
const/4 v6 1
const-string v7 "夢をかなえてドラえもん"
aput-object v7 v5 v6
move-object v8 v4
move-object v4 v8
move-object v5 v8
const/4 v6 2
const-string v7 "THE GIFT"
aput-object v7 v5 v6
move-object v8 v4
move-object v4 v8
move-object v5 v8
const/4 v6 3
const-string v7 "ここにいないあなたへ"
aput-object v7 v5 v6
move-object v8 v4
move-object v4 v8
move-object v5 v8
const/4 v6 4
const-string v7 "友達"
aput-object v7 v5 v6
move-object v8 v4
move-object v4 v8
move-object v5 v8
const/4 v6 5
const-string v7 "少年期"
aput-object v7 v5 v6
move-object v8 v4
move-object v4 v8
move-object v5 v8
const/4 v6 6
const-string v7 "YUME日和"
aput-object v7 v5 v6
move-object v8 v4
move-object v4 v8
move-object v5 v8
const/4 v6 7
const-string v7 "心をゆらして"
aput-object v7 v5 v6
move-object v2 v4
move-object v4 v2
new-instance v5 Ljava/util/Random;
move-object v8 v5
move-object v5 v8
move-object v6 v8
invoke-direct {v6} Ljava/util/Random;->()V
move-object v6 v2
array-length v6 v6
invoke-virtual {v5,v6} Ljava/util/Random;->nextInt(I)I
move-result v5
aget-object v4 v4 v5
move-object v0 v4
return-object v0
1 回复
#2
qq27956286102019-08-26 13:20
有没有大佬帮帮忙啊
1