标题:请老师帮忙看看这个代码该怎么改
只看楼主
qq2795628610
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2019-8-26
 问题点数:0 回复次数:2 
请老师帮忙看看这个代码该怎么改
这是个机器人随机点歌插件的代码,请问这个该怎么改?我想加几首歌,求大佬解答
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
搜索更多相关主题的帖子: 老师 代码 const String Random 
2019-08-26 12:31
qq2795628610
Rank: 1
等 级:新手上路
帖 子:4
专家分:0
注 册:2019-8-26
得分:0 
求大佬
2019-08-26 14:53
书生牛犊
Rank: 14Rank: 14Rank: 14Rank: 14
来 自:星夜征程
等 级:贵宾
威 望:10
帖 子:1101
专家分:5265
注 册:2015-10-27
得分:0 
这是汇编吗???   反正是比较偏硬件底层的编程语言吧。这里帮不到你

φ(゜▽゜*)♪
2019-09-16 01:23



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-496569-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.030331 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved