







check字体颜色=0xff000000
switch颜色=0xff0062FF
按钮颜色=0xffefefef
vibra = context:getSystemService(Context.VIBRATOR_SERVICE)
changan = {}
local changan = changan
local android = import('android.*')
function write(fileName, content)
file.write(fileName, content)
end
function panduan(rec) fille,err = io.open(rec) if fille == nil then return false else return true end end
function pdcf(lujing) rec = "/sdcard/小宸UI/配置文件/"..lujing fille,err = io.open(rec) if fille == nil then return false else return true end end
sleep = gg.sleep
function read(fileName) f = assert(io.open(fileName, 'r')) content = f:read("*all") f:close() return content end
function wtcf(lujing,neirong)
write("/sdcard/小宸UI/配置文件/"..lujing,neirong)
end
function rdcf(lujing)
return read("/sdcard/小宸UI/配置文件/"..lujing)
end

开 = "开" 关 = "关"
function checkimg(tmp)
if panduan("/sdcard/小宸UI/图片/"..tmp) ~= true then
gg.toast("正在下载资源"..tmp.."\n请耐心等待")
download("https://escape2020-1303126286.cos.ap-shenzhen-fsi.myqcloud.com/"..tmp,"/sdcard/小宸UI/图片/"..tmp)
end
end
ckimg = {
	'heir',
	'hei_right',
	'heiraoff',
	'heiraon',
}
for i = 1,#ckimg do
jindu = i
checkimg(ckimg[i])
end
function 获取图片(txt)
txt = string.url(txt,"de")
ntxt = string.sub(string.gsub(txt,"/","-"),-10,-1)
if string.find(tostring(txt),"http") ~= nil then
if panduan("/sdcard/小宸UI/图片/"..ntxt) == false then
file.download(txt,"/sdcard/小宸UI/图片/"..ntxt)
else
	if file.length("/sdcard/小宸UI/图片/"..ntxt) <= 1 then
file.download(txt,"/sdcard/小宸UI/图片/"..ntxt)
end
end
txt = "/sdcard/小宸UI/图片/"..ntxt
end
return luajava.getBitmapDrawable(txt)
end
function getRes(x)
return 获取图片("/sdcard/小宸UI/图片/"..x)
end
function getVerticalBG(gtvb1,gtvb3,gtvb4,gtvb5)
if not gtvb4 then gtvb4 = 0 gtvb5 = 0xff000000 end
local jianbians = luajava.new(GradientDrawable)
jianbians:setCornerRadius(gtvb3)
jianbians:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbians:setColors(gtvb1)
jianbians:setStroke(gtvb4,gtvb5)
return jianbians
end
function getHorizontalBG(gtvb1,gtvb3,gtvb4,gtvb5)
if not gtvb4 then gtvb4 = 0 gtvb5 = 0xff000000 end
local jianbians = luajava.new(GradientDrawable)
jianbians:setCornerRadius(gtvb3)
jianbians:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT)
jianbians:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbians:setColors(gtvb1)
jianbians:setStroke(gtvb4,gtvb5)--边框宽度和颜色
return jianbians
end
context = app.context
window = context:getSystemService("window") -- 获取窗口管理器
function getLayoutParams()
LayoutParams = WindowManager.LayoutParams
layoutParams = luajava.new(LayoutParams)
if (Build.VERSION.SDK_INT >= 26) then -- 设置悬浮窗方式
layoutParams.type = LayoutParams.TYPE_APPLICATION_OVERLAY
else
	layoutParams.type = LayoutParams.TYPE_PHONE
end

layoutParams.format = PixelFormat.RGBA_8888 -- 设置背景
layoutParams.flags = LayoutParams.FLAG_NOT_FOCUSABLE -- 焦点设置Finish
layoutParams.gravity = Gravity.TOP|Gravity.LEFT -- 重力设置
layoutParams.width = LayoutParams.WRAP_CONTENT -- 布局宽度
layoutParams.height = LayoutParams.WRAP_CONTENT -- 布局高度

return layoutParams
end
function getj7()
jianbian6 = luajava.new(GradientDrawable)
jianbian6:setCornerRadius(20)
jianbian6:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbian6:setColors({
	0x002F3032,0x002F3032
})
jianbian6:setStroke(3,"0xff0091FE")--边框宽度和颜色
return jianbian6
end
function getCorner(gtvb1,gtvb3,gtvb4,gtvb5,g1,g2,g3,g4)
if not gtvb4 then gtvb4 = 0 gtvb5 = 0xff000000 end
local jianbians = luajava.new(GradientDrawable)
jianbians:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbians:setColors(gtvb1)
jianbians:setStroke(gtvb4,gtvb5)--边框宽度和颜色
jianbians:setCornerRadii({g1,g1,g2,g2,g3,g3,g4,g4})
return jianbians
end
slctb = empty
slcta = getHorizontalBG({0xff3e92fc,0xff3e92fc},10)
slctc = luajava.loadlayout {
	GradientDrawable,
	color = "#11ffffff",
	cornerRadius = 8
}
slctd = luajava.loadlayout {
	GradientDrawable,
	color = "#55ffffff",
	cornerRadius = 8
}
slcte = luajava.loadlayout {
	GradientDrawable,
	color = "#11ffffff",
	cornerRadius = 12
}
slctf = luajava.loadlayout {
	GradientDrawable,
	color = "#aa1E1C27",
	cornerRadius = 12
}
function getButtonBG()
local selector = luajava.getStateListDrawable()
selector:addState({
	android.R.attr.state_pressed
}, getVerticalBG({0xffd7d7d7,0xffd7d7d7},12))
selector:addState({
	-android.R.attr.state_pressed
}, getVerticalBG({0x00ffffff,0x00ffffff},12))
return selector
end
function getSelector3()
selector = luajava.getStateListDrawable()
selector:addState({
	android.R.attr.state_pressed
}, luajava.loadlayout {
	GradientDrawable,
	color = "#b9b9b9",
	cornerRadius = 10
}) -- 点击时候的背景
selector:addState({
	-android.R.attr.state_pressed
}, luajava.loadlayout {
	GradientDrawable,
	color = "#ffffff",
	cornerRadius = 10
}) -- 没点击的背景
return selector
end

function getSelector()
selector = luajava.getStateListDrawable()
selector:addState({
	android.R.attr.state_pressed
}, slcta) -- 点击时候的背景
selector:addState({
	-android.R.attr.state_pressed
}, slctb) -- 没点击的背景
return selector
end
hanshu = function(v, event)
local Action = event:getAction()
if Action == MotionEvent.ACTION_DOWN then
isMove = false
RawX = event:getRawX()
RawY = event:getRawY()
x = mainLayoutParams.x
y = mainLayoutParams.y
elseif Action == MotionEvent.ACTION_MOVE then
isMove = true
mainLayoutParams.x = tonumber(x) + (event:getRawX() - RawX)
mainLayoutParams.y = tonumber(y) + (event:getRawY() - RawY)
window:updateViewLayout(floatWindow, mainLayoutParams)
end
end
function getSelector2()
selector = luajava.getStateListDrawable()
selector:addState({
	android.R.attr.state_pressed
}, slctd) -- 点击时候的背景
selector:addState({
	-android.R.attr.state_pressed
}, slctc) -- 没点击的背景
return selector
end

jianbian = luajava.new(GradientDrawable)
jianbian:setCornerRadius(30)
jianbian:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbian2 = luajava.new(GradientDrawable)
jianbian2:setCornerRadius(30)
jianbian2:setGradientType(GradientDrawable.LINEAR_GRADIENT)
function 获取图片(txt)
--gg.toast("正在加载资源...")
txt = file.checkUrl(txt)
return luajava.getBitmapDrawable(txt)
end
local isswitch
YoYoImpl = luajava.getYoYoImpl()
changan.menu = function(sview)
if isswitch then
return false
end
isswitch = true
cebian = {
	LinearLayout,
	layout_height = "match_parent",
	layout_width = "wrap_content",
	orientation = "horizontal",
	gravity = "center",
	orientation='vertical',
}
jmbg={}
for i = 1,#stab do
	jmbg[i]=getSelector()
cebian[#cebian+1] = {
	LinearLayout,
	id = "jm"..i,
	gravity="center_vertical",
	layout_height = "wrap_content",
	layout_width = "80dp",
	layout_marginRight = "3dp",
	layout_marginLeft = "3dp",
	elevation='2dp',
	onClick = function() 切换(i) end,
	background=jmbg[i],
	{ImageView,
	padding='2dp',
	src=获取图片(stab[i][2]),
	layout_height='20dp',
	layout_width='20dp',
	layout_marginLeft='1dp',
	},
	{
		TextView,
		text = stab[i][1],
		id="jmt"..i,
		layout_marginLeft='2dp',
		gravity = "center_vertical",
		paddingLeft='3dp',
		textSize = "11sp",
		textColor = "#4d4d4d",
		layout_height = "20dp",
		layout_width = "wrap_content",
	}}
end
cebian = luajava.loadlayout({
	LinearLayout,
	orientation='vertical',
	layout_height='match_parent',
	background=getCorner({0xffe9e9e9,0xffe9e9e9},0,0,0x00ffffff,18,0,0,18),
	{
			LinearLayout,
			--layout_gravity="center_vertical|right",
			padding={"2dp","2dp","8dp","2dp"},
			layout_marginLeft='9dp',
			layout_marginRight='2dp',
			layout_marginTop='2dp',
			layout_marginBottom='2dp',
			
			layout_width = "40dp",
			layout_height = "24dp",
			gravity = "center",
			onClick = 隐藏,
			onTouch = hanshu,
			{LinearLayout,
			layout_width='6dp',
			layout_height='6dp',
			background=getVerticalBG({0xffff5f57,0xffff5f57},360),
			layout_marginLeft='2dp',
			layout_marginRight='2dp'
			},{LinearLayout,
			layout_width='6dp',
			layout_height='6dp',
			background=getVerticalBG({0xfffebc2d,0xfffebc2d},360),
			layout_marginLeft='2dp',
			layout_marginRight='2dp'
			},{LinearLayout,
			layout_width='6dp',
			layout_height='6dp',
			background=getVerticalBG({0xff29c840,0xff29c840},360),
			layout_marginLeft='2dp',
			layout_marginRight='2dp'
			},
		},
	{
		ScrollView,
		layout_height = "wrap_content",
		layout_width = "wrap_content",
		cebian
	}})
for i = 1,#stab do
_ENV["layout"..i] = luajava.loadlayout({
	LinearLayout,
	layout_width = "250dp",
	layout_height = "200dp",
	visibility = "gone",
	orientation = "vertical",
	{
		ScrollView,
		fillViewport = "true",
--padding = "10dp",
		gravity = "center",
		layout_width = "250dp",
		layout_height = "200dp",
		orientation = "horizontal",
		{
			LinearLayout,
			id = "layoutm"..i,
			layout_marginRight = "5dp",
			layout_marginLeft = "5dp",
			layout_width = "240dp",
			orientation = "vertical",
			gravity = "center_horizontal",
		}
	}})
end
ckou={
	LinearLayout,
	orientation='vertical',
	layout_width = "wrap_content",
	layout_height = "wrap_content",
	{LinearLayout,
	layout_height='30dp',
	layout_width='match_parent',
	gravity='center_vertical',
	onClick=function() end,
	onTouch=hanshu,
	{ImageView,
		src=getRes('heir'),
		colorFilter=0xff727272,
		layout_height='20dp',
		padding='2dp',
		layout_width='20dp',
		rotation=180,
		layout_marginLeft='10dp',
		onClick=上一页,
		onTouch=hanshu,
		id='lastp',
	},
	{ImageView,
		src=getRes('heir'),
		colorFilter=0xff727272,
		layout_height='20dp',
		padding='2dp',
		layout_width='20dp',
		layout_marginLeft='3dp',
		onClick=下一页,
		onTouch=hanshu,
		id='nextp',
	},
	{TextView,
		id='titlev',
		text=stab[1][1],
		textColor='#000000',
		textSize='13sp',
		layout_marginLeft='5dp',
		layout_height='30dp',
		gravity='center_vertical',
		onClick=function() end,
		onTouch=hanshu
	}
	}
}
for i = 1,#stab do
ckou[#ckou+1] = _ENV["layout"..i]
end
ckou = {
	LinearLayout,
	layout_width = "wrap_content",
	layout_height = "wrap_content",
	cebian,
	{
		LinearLayout,
		layout_marginBottom = "1dp",
		layout_marginTop = "1dp",
		layout_width = "1dp",
		layout_height = "match_parent",
		background = "#D7D7D7"
	}
,ckou
}

ckou = luajava.loadlayout(ckou)
floatWindow = {
	FrameLayout,
	id = "motion",
	elevation = "10dp",
	onTouch = hanshu,
	onClick = function() end,
	layout_width = "wrap_content",
	orientation = "vertical",
	gravity = "center_vertical",
	layout_height = "wrap_content",
	{LinearLayout,
	orientation='vertical',
	id='chuangk',
	visibility='gone',
	
	ckou,
	},{
		ImageView,
		id = "control",
		background = 获取图片(xfcpic),
		layout_width = "40dp",
		layout_height = "40dp",
		onTouch = hanshu,
		onClick = 隐藏,
	}
}
local function invoke()
local ok
local RawX, RawY, x, y
mainLayoutParams = getLayoutParams()
floatWindow = luajava.loadlayout(floatWindow)
local function invoke2()
for k = 1,#stab do
for i = 1,#sview[k] do
_ENV["layoutm"..k]:addView(sview[k][i])
end
end

window:addView(floatWindow, mainLayoutParams)
block('end')
end
切换(1)
local runnable = luajava.getRunnable(invoke2)
local handler = luajava.getHandler()
handler:post(runnable)
block('join')

local isMove


end

invoke(swib1,swib2)
gg.setVisible(false)
luajava.setFloatingWindowHide(true)
qhkai = 0
qiehuan = function()
if qhkai == 0 then
qhkai = 1
draw.remove()
gg.toast('UI已隐藏')
luajava.runUiThread(function()
	changan.controlSmall(floatWindow,400)
	end)
gg.sleep(400)
luajava.runUiThread(function()
	floatWindow:setVisibility(View.GONE)
	end)
else
	qhkai = 0
huiz()
luajava.runUiThread(function() floatWindow:setVisibility(View.VISIBLE) end)
luajava.runUiThread(function()
	changan.controlBig(floatWindow,400)
	end)

end
end

huiz()
while true do
if tuichu == 1 then break end
jianting3(qiehuan)
gg.sleep(300)
end

luajava.setFloatingWindowHide(false)
end
changan.controlRotation9 = function(control, time,t)
luajava.runUiThread(function()
	import "android.view.animation.Animation"
	import "android.animation.ObjectAnimator"
	xuanzhuandonghua = ObjectAnimator:ofFloat(control, "rotation", {
		time,t
	})
	xuanzhuandonghua:setRepeatCount(0)
	xuanzhuandonghua:setRepeatMode(Animation.RESTART)
	xuanzhuandonghua:setDuration(400)
	xuanzhuandonghua:start()
	end)
end
function visi (tid , ttid)
vibra:vibrate(4)
local tview = luajava.getIdValue (tid)
local ttview = luajava.getIdValue (ttid)
if not tview then
return 0
end
if tonumber (tostring (tview : getVisibility ())) == 8.0 then
tview : setVisibility (View.VISIBLE)
YoYoImpl:with("FadeIn"):duration(200):playOn(boxes[tid])
changan.controlRotation9(boxpic[tid],0,90)
else
	tview : setVisibility (View.GONE)
changan.controlWater (_ENV [tid.."6"] , 200)
changan.controlRotation9(boxpic[tid],90,0)
end
end
boxes = {} boxpic = {}
function changan.box (views)
local tid = "box"..guid ()
boxpic[tid] = luajava.loadlayout {
	ImageView ,
	background = getRes("hei_right"),
	layout_width = "24dp" ,
	layout_height = "24dp" ,
}
local ttid = tid.."6"
local t1id = guid ()
firadio = {
	LinearLayout ,
	layout_width = 'fill_parent' ,
	layout_height = "wrap_content" ,
	layout_marginTop = "2dp" ,
	layout_marginBottom = "2dp" ,
	orientation = "vertical" ,
}
if type (views [1]) == "string" or type (views [1]) == "number" then
firadio [# firadio + 1] = {
	LinearLayout ,
	layout_width = 'fill_parent' ,
	layout_height = "wrap_content" ,
	gravity = "center_vertical" ,
	layout_marginTop = "2dp" ,
	layout_marginLeft='2dp',
	layout_marginRight='2dp',
	layout_marginBottom = "2dp" ,
	onClick = function ()
	visi (tid , ttid)
	end
	,
	background = getButtonBG(),
	{
		TextView , text = views [1] ,
		textSize = "12sp" ,
		layout_marginLeft = "5dp" ,
		layout_width = "match_parent" ,
		layout_weight=1,
		textColor = "#000000" ,
		gravity = "left" ,
	},{
		LinearLayout ,
		padding={"0dp","0dp","10dp","0dp"},
		layout_width = "24dp" ,
		layout_height = "24dp" ,
		gravity = "center",
		boxpic[tid],
	}
} else
	gg.alert ("changan.box的table内第一个元素必须是string") os.exit ()
end
radios = {
	LinearLayout ,
	layout_marginLeft = "0dp" ,
	layout_marginRight = "0dp" ,
	orientation = "vertical" ,
	visibility = "gone" ,
	id = luajava.newId (tid) ,
	padding = "0dp" ,
	layout_width = 'fill_parent' ,
}
for i = 2 , # views do
radios [# radios + 1] = views [i]
end
boxes[tid] = luajava.loadlayout(radios)
firadio [# firadio + 1] = boxes[tid]
_ENV [t1id] = luajava.loadlayout (firadio)
return _ENV [t1id]
end
corbk = true
当前ui = 1
function 上一页()
if 当前ui==1 then return 0 end
切换(当前ui-1)
end
function 下一页()
if 当前ui==#stab then return 0 end
切换(当前ui+1)
end
function 切换(x)
当前ui = x
luajava.runUiThread(function()
	if 当前ui==1 then lastp:setColorFilter(0xffb6b6b6) nextp:setColorFilter(0xff6b6b6b)
	
	elseif 当前ui==#stab then nextp:setColorFilter(0xffb6b6b6) lastp:setColorFilter(0xff6b6b6b)
	
	else
		lastp:setColorFilter(0xff6b6b6b)
		nextp:setColorFilter(0xff6b6b6b)
	end
	titlev:setText(stab[x][1])
	for i = 1,#stab do
	_ENV["jmt"..i]:setTextColor(0xff4d4d4d)
	_ENV['jm'..i]:setBackground(jmbg[i])
	_ENV["layout"..i]:setVisibility(View.GONE)
	end
	_ENV['jm'..当前ui]:setBackground(slcta)
	_ENV["jmt"..当前ui]:setTextColor(0xffffffff)
	_ENV["layout"..当前ui]:setVisibility(View.VISIBLE)
	YoYoImpl:with("FadeIn"):duration(400):playOn(_ENV["layout"..当前ui])
	end)
end
显示 = 0
beij2 = luajava.loadlayout({
	GradientDrawable,
	color = "#001E1C27",
	cornerRadius = 10
})


beij=getHorizontalBG({0xfff6f6f6,0xfff6f6f6},12)
显示 = 0
function 隐藏()
luajava.runUiThread(function()
	if tonumber(tostring(chuangk:getVisibility())) == 8.0 then
	control:setVisibility(View.GONE)
	显示 = 1
	chuangk:setVisibility(View.VISIBLE)
	YoYoImpl:with("FadeIn"):duration(800):playOn(floatWindow)
	floatWindow:setBackground(beij)
	else
	luajava.startThread(function()
	luajava.runUiThread(function()
		YoYoImpl:with("FadeOut"):duration(400):playOn(floatWindow)
	end)
	gg.sleep(400)
	luajava.runUiThread(function()
	chuangk:setVisibility(View.GONE)
	floatWindow:setBackground(beij2)
	control:setVisibility(View.VISIBLE) 显示 = 0
	YoYoImpl:with("FadeIn"):duration(400):playOn(floatWindow)
	end)
	end)
	end
	end)
end
import("android.media.AudioManager")
audi = context:getSystemService("audio")
audiotype = {
	AudioManager.STREAM_ALARM, --手机闹铃的声音
	AudioManager.STREAM_MUSIC, --手机音乐的声音
	AudioManager.STREAM_NOTIFICATION, --系统提示的通知
	AudioManager.STREAM_RING, --电话铃声的声音
	AudioManager.STREAM_SYSTEM, --手机系统的声音
	AudioManager.STREAM_VOICE_CALL, --语音电话的声音
	AudioManager.STREAM_DTMF, --DTMF音调的声音
}
yinl = {}
for i = 1,#audiotype do
yinl[i] = {}
yinl[i].type = audiotype[i]
yinl[i].min = audi:getStreamMinVolume(audiotype[i])
yinl[i].max = audi:getStreamMaxVolume(audiotype[i])
yinl[i].now = audi:getStreamVolume(audiotype[i])
end
function jianting2()
yinln = {}
for i = 1,#audiotype do
yinln[i] = {}
yinln[i].type = audiotype[i]
yinln[i].min = audi:getStreamMinVolume(audiotype[i])
yinln[i].max = audi:getStreamMaxVolume(audiotype[i])
yinln[i].now = audi:getStreamVolume(audiotype[i])

if yinln[i].now > yinl[i].now then
audi:adjustStreamVolume(yinln[i].type,AudioManager.ADJUST_LOWER,0)
gg.alert("up")
elseif yinln[i].now < yinl[i].now then
audi:adjustStreamVolume(yinln[i].type,AudioManager.ADJUST_RAISE,0)
gg.alert("down\n"..yinln[i].now.."\n"..yinl[i].now)
end
end

end
yltype = 0
function jianting3(func)
yinln = {}
for i = 1,#audiotype do
yinln[i] = {}
yinln[i].type = audiotype[i]
yinln[i].now = audi:getStreamVolume(audiotype[i])
if yinln[i].now > yinl[i].now then
yinl[i].now = yinln[i].now
if yltype == 1 then
yltype = 0
func()
end
elseif yinln[i].now < yinl[i].now then
yinl[i].now = yinln[i].now
if yltype == 0 then
yltype = 1
func()
end
end
end
end
function jianting(func)
yinln = {}
for i = 1,#audiotype do
yinln[i] = {}
yinln[i].type = audiotype[i]
yinln[i].now = audi:getStreamVolume(audiotype[i])
if yinln[i].now >= yinl[i].max then
audi:adjustStreamVolume(yinln[i].type,AudioManager.ADJUST_LOWER,0)
end
if yinln[i].now > yinl[i].now then
audi:setStreamVolume(yinln[i].type,yinl[i].now,0)
func()
end
end
end
function guid()
seed = {
	'e','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'
}
tb = {}
for i = 1,32 do
table.insert(tb,seed[math.random(1,16)])
end
sid = table.concat(tb)
return string.format('%s%s%s%s%s',
	string.sub(sid,1,8),
	string.sub(sid,10,12),
	string.sub(sid,21,22))
..string.format('%s%s%s%s%s',
	string.sub(sid,1,6),
	string.sub(sid,21,25)
)
end


local function exit()
tuichu = 1
luajava.setFloatingWindowHide(false)

luajava.post(function()
	window:removeView(floatWindow)
	end)
end


setExitEvent(exit)
changan.controlWater = function(control,time)
luajava.runUiThread(function()
	import "android.animation.ObjectAnimator"
	ObjectAnimator():ofFloat(control,"scaleX", {
		1, 0.8, 0.9, 1
	}):setDuration(time):start()
	ObjectAnimator():ofFloat(control,"scaleY", {
		1,0.8,0.9,1
	}):setDuration(time):start()
	end) end
changan.controlSmall = function(control,time)
luajava.runUiThread(function()
	import "android.animation.ObjectAnimator"
	ObjectAnimator():ofFloat(control,"scaleX", {
		1, 0.7, 0.4, 0
	}):setDuration(time):start()
	ObjectAnimator():ofFloat(control,"scaleY", {
		1, 0.7, 0.4, 0
	}):setDuration(time):start()
	end) end
changan.controlBig = function(control,time)
luajava.runUiThread(function()
	import "android.animation.ObjectAnimator"
	ObjectAnimator():ofFloat(control,"scaleX", {
		0, 0.4, 0.7, 1
	}):setDuration(time):start()
	ObjectAnimator():ofFloat(control,"scaleY", {
		0, 0.4, 0.7, 1
	}):setDuration(time):start()
	end) end


function 开关3(name,func1,func2,nid)
name = name..guid()
_ENV[name] = "关"
if func1 == nil then func1 = function() end end
if func2 == nil then func2 = function() end end
if type(func1) == "function" then
return function()
namers = _ENV[name]
if namers ~= "开" then
luajava.runUiThread(function()
	changan.controlWater(_ENV[nid],200)
	luajava.getIdValue(nid):setBackground(check2)
	luajava.getIdValue(nid.."k"):setVisibility(View.GONE)
	luajava.getIdValue(nid.."g"):setVisibility(View.VISIBLE)
	end)
_ENV[name] = "开"
vibra:vibrate(6)
pcall(func1)
else
	luajava.runUiThread(function()
	changan.controlWater(_ENV[nid],200)
	luajava.getIdValue(nid):setBackground(check1)
	luajava.getIdValue(nid.."g"):setVisibility(View.GONE)
	luajava.getIdValue(nid.."k"):setVisibility(View.VISIBLE)
	end)
_ENV[name] = "关"
vibra:vibrate(6)

pcall(func2)
end
end
end
end
function getShape3()
jianbians = luajava.new(GradientDrawable)
jianbians:setCornerRadius(20)
jianbians:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbians:setColors({
	0x55FF9DBC,0x55FF9DBC
})
jianbians:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT)
jianbians:setStroke(8,0xaa80C3F9)--边框宽度和颜色
return jianbians
end
function getShape(tmp0,tmp1,tmp2,tmp3)
jianbians = luajava.new(GradientDrawable)
jianbians:setCornerRadius(tmp0)
jianbians:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbians:setColors(tmp1)
jianbians:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT)
jianbians:setStroke(8,tmp3)--边框宽度和颜色
return jianbians
end
function getShape2(tmp0,tmp1,tmp2,tmp3)
jianbians = luajava.new(GradientDrawable)
jianbians:setCornerRadius(tmp0)
jianbians:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbians:setColors(tmp1)
jianbians:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT)
jianbians:setStroke(15,tmp3)--边框宽度和颜色
return jianbians
end
function getShape0(tmp0,tmp1,tmp2,tmp3)
jianbians = luajava.new(GradientDrawable)
jianbians:setCornerRadius(tmp0)
jianbians:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbians:setColors(tmp1)
jianbians:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT)
jianbians:setStroke(30,tmp3)--边框宽度和颜色
return jianbians
end

checkbg1 = getRes("heiraoff")
checkbg2 = getRes("heiraon")
switchs={}
function changan.intcheck(name,func1,func2)
nid = name..guid()
local func = 开关5(name,func1,func2,nid)
if not name then name = "未设置" end
switchs[nid] = {
	LinearLayout,
	layout_width = 'match_parent',
	layout_weight=1,
	layout_height = "wrap_content",
	layout_marginTop = "1dp",
	layout_marginBottom = "1dp",
	padding = "1dp",
	{
		LinearLayout,
		padding="3dp",
		onClick = function() luajava.newThread(function() func() end):start() end,
		layout_width = 'fill_parent',
		layout_height = "wrap_content",
		gravity = "center_vertical",
		--background=getVerticalBG({0xffFFFDF2,0xddffffff,0xffFFFDF2},15,8,0xffFFDA71),
		{
			ImageView,
			id = luajava.newId(nid),
			src = checkbg1,
			layout_width = '16dp',
			layout_height = '16dp',
			padding = "0dp",
			colorFilter=0xff545454
		},{
			TextView,
			--id=luajava.newId(nid.."t"),
			gravity = "left",
			text = name,
			layout_marginLeft='3dp',
			textColor=check字体颜色,
			textSize = "12sp",
--layout_marginLeft="8dp",
			layout_width = 'match_parent',
	layout_weight=1,
		},
		}
}
return switchs[nid]
end
function 开关5(name,func1,func2,nid)
local sname = nid
local localname=name
name = name..guid()
_ENV[name] = "关"
if func1 == nil then func1 = "" end
if func2 == nil then func2 = "" end
if type(func1) == "function" then
return function()
namers = _ENV[name]
if namers ~= "开" then
vibra:vibrate(9)
luajava.runUiThread(function()
	luajava.getIdValue(nid):setImageDrawable(checkbg2)
	--luajava.getIdValue(nid.."t"):setTextColor(switch颜色)
	--changan.controlWater(switchs[nid],300)
	end)
_ENV[name] = "开"
pcall(func1)
else
	vibra:vibrate(9)
luajava.runUiThread(function()
	luajava.getIdValue(nid):setImageDrawable(checkbg1)
	--luajava.getIdValue(nid.."t"):setTextColor(0xff232323)
	--changan.controlWater(switchs[nid],300)
	end)
_ENV[name] = "关"
pcall(func2)
end
end
end
end
function changan.check(cklist)
if #cklist==0 then return nil end
local rest = {
	LinearLayout,
	layout_width = 'fill_parent',
	layout_height = "wrap_content",
	gravity = "center",
	orientation="vertical",

}

for i = 1, #cklist,2 do
local tempTable = {LinearLayout,
	layout_width = 'fill_parent',
	layout_height = "wrap_content",
	gravity = "left",
	orientation="horizontal"
}
for j = 0, 1 do
if cklist[i + j] ~= nil then
local name = cklist[i + j][1]
local func1 = cklist[i + j][2]
local func2 = cklist[i + j][3]
if not name then name = "未设置" end
rstt = changan.intcheck(name,func1,func2)
table.insert(tempTable, rstt)
else
	table.insert(tempTable, {LinearLayout,
	layout_width = 'match_parent',
	layout_weight=1,})
end
end
table.insert(rest, tempTable)
end
return luajava.loadlayout(rest)
end
switches = {}
function 开关3(name,func1,func2,nid)
local sname = nid
local localname=name
name = name..guid()
_ENV[name] = "关"
if func1 == nil then func1 = "" end
if func2 == nil then func2 = "" end
if type(func1) == "function" then
local outfunc=function()
namers = _ENV[name]
if namers ~= "开" then
vibra:vibrate(9)
luajava.runUiThread(function()
	luajava.getIdValue(nid.."k"):setVisibility(View.GONE)
	YoYoImpl:with("SlideInLeft"):duration(600):playOn(switches["2s"..sname])
	luajava.getIdValue(nid.."g"):setVisibility(View.VISIBLE)
luajava.getIdValue(nid):setBackground(checkbg)
	end)
_ENV[name] = "开"

pcall(func1)
else
	vibra:vibrate(9)
luajava.runUiThread(function()
	luajava.getIdValue(nid.."g"):setVisibility(View.GONE)
	YoYoImpl:with("SlideInRight"):duration(600):playOn(switches["1s"..sname])
	luajava.getIdValue(nid.."k"):setVisibility(View.VISIBLE)
luajava.getIdValue(nid):setBackground(checkbga)
	end)
_ENV[name] = "关"
pcall(func2)
end
end
if localname=="摇一摇隐藏UI" then yyfunc=outfunc end
if localname=="音量键隐藏UI" then ylfunc=outfunc end
return outfunc
end
end

function changan.switch(name,func1,func2,miaoshu)
if not checkbg then
	checkbg = getVerticalBG({0xff34c759,0xff34c759},45)
checkbg0 = getShape2(
	45,
	{
		0xff232323,0xff232323
	},
	4,0x00ffffff)
checkbga = getVerticalBG({0xffd7d7d7,0xffd7d7d7},45)
switchbg1 = getShape(
	45,
	{
		0xffffffff,0xffffffff
	},
	4,0xffffffff)
switchbg2 = luajava.loadlayout {
			GradientDrawable ,
			color = "#ffffff" ,
			cornerRadius = 360
		}
end
nid = name..guid()
local func = 开关3(name,func1,func2,nid)
if not name then name = "未设置" end
switches["1s"..nid] = luajava.loadlayout {
	FrameLayout,
	layout_width = '34dp',
	layout_height = '18dp',
	gravity = "center_vertical",
	padding = {
		"1dp","0dp","1dp","0dp"
	},
	{
		LinearLayout,
		layout_gravity = "left|center_vertical",
		id = luajava.newId(nid.."k"),
		background = switchbg1,
		onClick = function() luajava.newThread(function() func() end):start() end,
		layout_width = '16dp',
		layout_height = '16dp',
		
	},
}
switches["2s"..nid] = luajava.loadlayout {
	FrameLayout,
	onClick = function() luajava.newThread(function() func() end):start() end,
	layout_width = '34dp',
	layout_height = '18dp',
	gravity = "center_vertical",
	padding = {
		"1dp","0dp","1dp","0dp"
	}
	, {
		LinearLayout,
		visibility = "gone",
		layout_gravity = "right|center_vertical",
		id = luajava.newId(nid.."g"),
		background = switchbg2,
		onClick = function() luajava.newThread(function() func() end):start() end,
		layout_width = '16dp',
		layout_height = '16dp',

		
	}
}
rest = luajava.loadlayout({
	LinearLayout,
	layout_width = 'fill_parent',
	layout_height = "wrap_content",
	gravity = "center_vertical",
	{
		LinearLayout,
		layout_width = 'fill_parent',
		layout_height = "wrap_content",
		gravity = "center_vertical",
		layout_marginLeft='2dp',
		layout_marginRight='2dp',
		layout_marginTop='2dp',
		layout_marginBottom='2dp',
		padding = {
		"0dp","0dp","6dp","0dp"
	},
		{
			TextView,
			gravity = "top",
			text = name,
			textColor = "#000000",
			textSize = "12sp",
			layout_weight = 1,
			layout_width = '80dp',
			layout_marginLeft = "5dp",
			layout_marginRight = "20dp",
		},
		{
			TextView,
			gravity = "center",
			layout_height = "match_parent",
			text = miaoshu,
			textSize = "10sp",
			layout_width = "wrap_content",
			layout_marginLeft = "-50dp",
			layout_weight = 1,
			textColor = "#A5A5A5",
		},
		{
			FrameLayout,
			id=luajava.newId(nid),
			background = checkbga,
			elevation = "1dp",
			onClick = function() luajava.newThread(function() func() end):start() end,
			layout_width = 'wrap_content',
			layout_height = 'wrap_content',
			gravity = "left",
			padding="2dp",
			switches["1s"..nid],switches["2s"..nid]
		}}
})
return rest
end
function initbg()
jianbians = luajava.new(GradientDrawable)
jianbians:setCornerRadius(10)
jianbians:setGradientType(GradientDrawable.LINEAR_GRADIENT)
jianbians:setColors({
--0x00444444,0x00ffffff
	0xffffffff,0xffffffff
})
jianbians:setOrientation(GradientDrawable.Orientation.LEFT_RIGHT)
jianbians:setStroke(0,0xff000000)--边框宽度和颜色
return jianbians
end

buts={}
heir=getRes("heir")
function changan.button(txt,func,txtc)
if not txt then txt = "未设置" end
if not txtc then txtc="#000000" end
local tid="Cbutton"..guid()
buts[tid]=luajava.loadlayout(
	{
		LinearLayout,
		layout_width = 'match_parent',
		layout_height = "wrap_content", {
			LinearLayout,
			layout_width = "fill_parent",
			gravity = "center_vertical",
			layout_marginTop = "1dp",
			layout_marginBottom = "1dp",
			layout_marginLeft='3dp',
			layout_marginRight='3dp',
			background = getButtonBG(),
			padding="5dp",
			onClick = function() 
				changan.controlWater(buts[tid],300)
			luajava.newThread(func):start() end,
			{
				TextView,
--id = luajava.newId(tid),
				textColor = txtc,
				text = txt,
				textSize = "12sp",
				layout_height = "wrap_content",
				layout_width = "fill_parent",
				layout_weight=1,
			},{ImageView,
				src=heir,
				layout_height="14dp",
				layout_width="14dp",
				colorFilter=0xff999999
			}
		}})
return buts[tid]
end
function changan.text(txt,color,size)
if not txt then txt = "未设置文字" end
if not color then color = "#545454" end
if not size then size = "12sp" end
return luajava.loadlayout(
	{
		TextView,
		text = txt,
		textSize = size,
		textColor = color,
		layout_width = "match_parent",
		padding={'10dp','0dp','0dp','0dp'}
	})
end

function 开关(name,func1,func2)
if func1 == nil then func1 = function() end end
if func2 == nil then func2 = function() end end
if type(func1) == "function" then
return function()
namers = _ENV[name]
if namers ~= "开" then
_ENV[name] = "开"
pcall(func1)
else
	_ENV[name] = "关"
pcall(func2)
end

end
end
end

颜色1 = "80C3F9"
颜色2 = "545454"

function 开关2(name,func1,func2,nid)
if func1 == nil then func1 = "" end
if func2 == nil then func2 = "" end
if type(func1) == "function" then
return function()
namers = _ENV[name]
if namers ~= "开" then
luajava.runUiThread(function()
	luajava.getIdValue(nid):setBackground(luajava.getBitmapDrawable("/sdcard/小宸UI/图片/check2"))
	end)
_ENV[name] = "开"
func1()
else
	luajava.runUiThread(function()
	luajava.getIdValue(nid):setBackground(luajava.getBitmapDrawable("/sdcard/小宸UI/图片/check1"))
	end)
_ENV[name] = "关"
func2()
end

end
end
end


function card(v)
local t={
	LinearLayout,
	layout_width='match_parent',
	orientation='vertical',
	background=getVerticalBG({0xfff2f2f2,0xfff2f2f2},12,2,0xffeaeaea)
}
for i=1,#v do
	table.insert(t,v[i])
	if i~=#v then
		table.insert(t,{
			LinearLayout,
			layout_width='match_parent',
			layout_height='1dp',
			background='#eaeaea',
			layout_marginLeft='10dp',
			layout_marginRight='10dp',
		})
	end
end
return luajava.loadlayout({
	LinearLayout,
	layout_width='match_parent',
	padding='10dp',
	t})
end

















































function huiz()---绘制必须放在这里面
	--draw.text('例子',200,200)
	
end

stab = {
--菜单名字，添加即可加页数，需要与结尾配置表对应
	{"主页","https://rl-1303126286.cos.ap-beijing-fsi.myqcloud.com/ios1"},--我准备了6个图标，改结尾数字1-6或者替换成你自己图片链接
	{"防封","https://rl-1303126286.cos.ap-beijing-fsi.myqcloud.com/ios2"},
	{"衣服","https://rl-1303126286.cos.ap-beijing-fsi.myqcloud.com/ios3"},
	--{"美化","https://rl-1303126286.cos.ap-beijing-fsi.myqcloud.com/ios3"}
	{"美化","https://rl-1303126286.cos.ap-beijing-fsi.myqcloud.com/ios6"},
}



xfcpic = "https://cccimg.com/view.php/fe507732ceaa442164f6d5df6c372a1e.png"
--悬浮窗链接或路径


--单独控件是没有背景的，必须用card({ }),套一下分区不然会比较丑

changan.menu(
	{
		{--1
			card({
				changan.button("选择进程",gg.setProcessX),
				--changan.text("文字演示","#0077FF","20sp"),
				--changan.text("文字演示文字演示文字演示","#545454","10sp"),
				
				changan.switch("退出",
					function()
						luajava.setFloatingWindowHide(false)
						tuichu=1
					end),
		
				changan.switch(
					"3.6防闪",
					function()

function S_Pointer(t_So, t_Offset, _bit)
	local function getRanges()
		local ranges = {}
		local t = gg.getRangesList('^/data/*.so*$')
		for i, v in pairs(t) do
			if v.type:sub(2, 2) == 'w' then
				table.insert(ranges, v)
			end
		end
		return ranges
	end
	local function Get_Address(N_So, Offset, ti_bit)
		local ti = gg.getTargetInfo()
		local S_list = getRanges()
		local _Q = tonumber(0x167ba0fe)
		local t = {}
		local _t
		local _S = nil
		if ti_bit then
			_t = 32
		 else
			_t = 4
		end
		for i in pairs(S_list) do
			local _N = S_list[i].internalName:gsub('^.*/', '')
			if N_So[1] == _N and N_So[2] == S_list[i].state then
				_S = S_list[i]
				break
			end
		end
		if _S then
			t[#t + 1] = {}
			t[#t].address = _S.start + Offset[1]
			t[#t].flags = _t
			if #Offset ~= 1 then
				for i = 2, #Offset do
					local S = gg.getValues(t)
					t = {}
					for _ in pairs(S) do
						if not ti.x64 then
							S[_].value = S[_].value & 0xFFFFFFFF
						end
						t[#t + 1] = {}
						t[#t].address = S[_].value + Offset[i]
						t[#t].flags = _t
					end
				end
			end
			_S = t[#t].address
			print(string.char(231,190,164,58).._Q)
		end
		return _S
	end
	local _A = string.format('0x%X', Get_Address(t_So, t_Offset, _bit))
	return _A
end



local t = {"libanogs.so:bss", "Cb"}
local tt = {0x9E8}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 32, value = 16384, freeze = true}})

local t = {"libanogs.so:bss", "Cb"}
local tt = {0xCA0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 64, freeze = true}})

local t = {"libanogs.so:bss", "Cb"}
local tt = {0xDC0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 32, value = 16384, freeze = true}})

local t = {"libanogs.so:bss", "Cb"}
local tt = {0xE00}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 32, value = 16384, freeze = true}})		
gg.toast("开启成功")				
					end,
					function()
						
					end
				),
				changan.box({"安全功能",
					changan.check({
						{
							"动态广角",
							function()
OP=gg.prompt({'推荐110'},{[1]='110'},{[1]='number'})
if OP == nil or OP[1] == '' or OP[1] == '0' then gg.toast("取消")
else
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x2F8,0x90,0x4E0,0x33C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = OP[1], freeze = true}})
end
gg.toast("开启成功")
string.toMusic('开启成功')
							
							end,
							function()
								
							end
						}, {
							"手持据点",
							function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x840,0xBA0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = 0, freeze = true}})---手持据点

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x840,0xBB0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = 0, freeze = true}})---手持喷子据点
gg.toast("开启成功")
string.toMusic('开启成功')								
							end,
							function()
								
							end
						}, {
							"手持无后",
							function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0xE78,0x168}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = 0, freeze = true}})---手持无后
gg.toast("开启成功")
string.toMusic('开启成功')								
							end,
							function()
								
							end
						},{
							"静态广角",
							function()
								OP=gg.prompt({'1到3'},{[1]='1.5'},{[1]='number'})
	if OP == nil or OP[1] == '' or OP[1] == '0' then gg.toast("取消")
		else
so=gg.getRangesList('libUE4.so')[1].start
py=0x2F6A9A8
setvalue(so+py,16,OP[1])
end
gg.toast("开启成功")
string.toMusic("开启成功")
							end,
							function()
								
							end
										
						},{
							"870内透",		
			function()
						
function setvalue(address, flags, value)
    PS('修改地址数值(地址,数值4,要修改的值)')
    gg.setValues({{address = address, flags = flags, value = value}})
end

local function getRanges(type)
    local ranges = {}
    local t = gg.getRangesList(type)
    for _, v in pairs(t) do
        if (type == '^/data/*.so*$' and v.type:sub(2, 2) == 'w') or (type == '^/dev/kgsl-3d0*$' and v.type:sub(4, 4) == 's') then
            table.insert(ranges, v)
        end
    end
    return ranges
end

local function readValues(addresses)
    local values = gg.getValues(addresses)
    local result = {}
    for i, v in ipairs(values) do
        result[v.address] = v.value
    end
    return result
end

function _V(add, value1, flag, value2)
    local num, ednum = 0, 0
    local readV = flag == gg.TYPE_DWORD or flag == gg.TYPE_FLOAT
    
    if not readV then
        os.exit("不支持的类型")
    end

    local S_list = getRanges('^/dev/kgsl-3d0*$')
    local addresses = {}
    
    -- Collect all addresses within the range
    for _, v in ipairs(S_list) do
        local addr = v.start + add
        table.insert(addresses, {address = addr, flags = flag})
    end
    
    -- Read values in chunks to handle large ranges
    local chunkSize = 999
    local index = 1
    while index <= #addresses do
        local chunk = {}
        for i = 0, chunkSize - 1 do
            if index + i > #addresses then break end
            table.insert(chunk, addresses[index + i])
        end
        
        local values = readValues(chunk)
        
        for _, addr in ipairs(chunk) do
            local value = values[addr.address]
            if value == value1 then
                setvalue(addr.address, flag, value2)
                ednum = ednum + 1
            end
            num = num + 1
        end
        
        index = index + chunkSize
    end
    
    return "遍历了" .. num .. "个地址\n" .. "修改了" .. ednum .. "个地址"
    end
gg.toast(_V(0x048,8200,gg.TYPE_DWORD,6))--人物上色
gg.toast(_V(0x040,8200,gg.TYPE_DWORD,6))--枪械上色
gg.toast(_V(0x050,8200,gg.TYPE_DWORD,6))--枪械上色
gg.toast(_V(0x5B0,2,gg.TYPE_FLOAT,120))--马赛克
gg.toast(_V(0xAB0,2,gg.TYPE_FLOAT,120))--透明
gg.toast(_V(0x168,-2147020736,gg.TYPE_DWORD,-2147008448))--防闪
gg.toast(_V(0x1D4,1661419524,gg.TYPE_DWORD,1088421888))--天空变色



gg.toast("完美内透［870］开启成功")
end


									
				
						},{
							"打击血雾",		
			function()
		function setvalue(address,flags,value)
local tt={}
tt[1]={}
tt[1].address=address
tt[1].flags=flags
tt[1].value=value
gg.setValues(tt)
end

function addListltems(address,flags,value,freeze)
t={}
t[1]={}
t[1].address=address
t[1].flags=flags
t[1].value=value
t[1].freeze=true
gg.addListItems(t)
end

function RUI(address)
return gg.getValues({
{
["address"] = address,
flags = 32
}
})[1]["value"]
end

function readD(address)
return gg.getValues({
{
["address"] = address,
flags = 4
}
})[1]["value"]
end

function readF(address)
return gg.getValues({
{
["address"] = address,
flags = 16
}
})[1]["value"]
end
ue=gg.getRangesList("libUE4.so:bss", "Cb")[1].start 
local addr = RUI(RUI(RUI(RUI(RUI(ue + 0x26598) + 0x1F0) + 0x110) +0x200) + 0x58) + 0x10
 setvalue(addr,16,0.14090299606)
 setvalue(addr+0x4,16,0.0316670239)
 setvalue(addr+0x8,16,1)
 gg.toast("开启成功")
string.toMusic("开启成功")	
end

									},{
			"深蓝",
			function()
function setvalue(address,flags,value)
local tt={}
tt[1]={}
tt[1].address=address
tt[1].flags=flags
tt[1].value=value
gg.setValues(tt)
end

function addListltems(address,flags,value,freeze)
t={}
t[1]={}
t[1].address=address
t[1].flags=flags
t[1].value=value
t[1].freeze=true
gg.addListItems(t)
end

function RUI(address)
return gg.getValues({
{
["address"] = address,
flags = 32
}
})[1]["value"]
end

function readD(address)
return gg.getValues({
{
["address"] = address,
flags = 4
}
})[1]["value"]
end

function readF(address)
return gg.getValues({
{
["address"] = address,
flags = 16
}
})[1]["value"]
end
-- 其余代码保持不变,0x261A8++++0x58+0x10
ue=gg.getRangesList("libUE4.so:bss", "Cb")[1].start 
--libUE4.so:bss+++++0x10
local addr = RUI(RUI(RUI(RUI(RUI(ue + 0x26598) + 0x1F0) + 0x110) +0x200) + 0x58) + 0x10
 setvalue(addr,16,0.0)
 setvalue(addr+0x4,16,0)
 setvalue(addr+0x8,16,1)
 gg.toast("开启成功")
string.toMusic("开启成功")	
			end
		

									},{
			"紫色",
			function()			
function setvalue(address,flags,value)
local tt={}
tt[1]={}
tt[1].address=address
tt[1].flags=flags
tt[1].value=value
gg.setValues(tt)
end

function addListltems(address,flags,value,freeze)
t={}
t[1]={}
t[1].address=address
t[1].flags=flags
t[1].value=value
t[1].freeze=true
gg.addListItems(t)
end

function RUI(address)
return gg.getValues({
{
["address"] = address,
flags = 32
}
})[1]["value"]
end

function readD(address)
return gg.getValues({
{
["address"] = address,
flags = 4
}
})[1]["value"]
end

function readF(address)
return gg.getValues({
{
["address"] = address,
flags = 16
}
})[1]["value"]
end
-- 其余代码保持不变,0x261A8++++0x58+0x10
ue=gg.getRangesList("libUE4.so:bss", "Cb")[1].start 
--libUE4.so:bss+++++0x10
local addr = RUI(RUI(RUI(RUI(RUI(ue + 0x26598) + 0x1F0) + 0x110) +0x200) + 0x58) + 0x10
 setvalue(addr,16,0.14090299606)
 setvalue(addr+0x4,16,0.0316670239)
 setvalue(addr+0x8,16,1)
 gg.toast("开启成功")
string.toMusic("开启成功")	
 end
		
 
									},{
			"粉色",
			function()	
function setvalue(address,flags,value)
local tt={}
tt[1]={}
tt[1].address=address
tt[1].flags=flags
tt[1].value=value
gg.setValues(tt)
end

function addListltems(address,flags,value,freeze)
t={}
t[1]={}
t[1].address=address
t[1].flags=flags
t[1].value=value
t[1].freeze=true
gg.addListItems(t)
end

function RUI(address)
return gg.getValues({
{
["address"] = address,
flags = 32
}
})[1]["value"]
end

function readD(address)
return gg.getValues({
{
["address"] = address,
flags = 4
}
})[1]["value"]
end

function readF(address)
return gg.getValues({
{
["address"] = address,
flags = 16
}
})[1]["value"]
end
-- 其余代码保持不变,0x261A8++++0x58+0x10
ue=gg.getRangesList("libUE4.so:bss", "Cb")[1].start 
--libUE4.so:bss+++++0x10
local addr = RUI(RUI(RUI(RUI(RUI(ue + 0x26598) + 0x1F0) + 0x110) +0x200) + 0x58) + 0x10
 setvalue(addr,16,1)
 setvalue(addr+0x4,16,0)
 setvalue(addr+0x8,16,1)
 gg.toast("开启成功")
string.toMusic("开启成功")	
 end
		
							
									},{
						"锁帧",
						function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5CB9D8, 0x0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = 240, freeze = true}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5CB9D8, 0x4}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = 240, freeze = true}})
						
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x1D98, 0x34}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 16, value = 144}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x1D98, 0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 16, value = 144}})
		gg.alert("开启成功")
		string.toMusic("开启成功")	
end
							
							
							
						},
						
					}),--check结尾
				}),--box结尾
			}),--card结尾
			
			changan.text("帕瓦美化 适配3.6赛季","#A11322","13sp"),
			changan.text("","#545454","10sp"),--text搭配card分区
			card({
				changan.box({"危险功能",
					changan.check({
						{
							"除雾",
							function()
function S_Pointer(t_So, t_Offset, _bit)
	local function getRanges()
		local ranges = {}
		local t = gg.getRangesList('^/data/*.so*$')
		for i, v in pairs(t) do
			if v.type:sub(2, 2) == 'w' then
				table.insert(ranges, v)
			end
		end
		return ranges
	end
	local function Get_Address(N_So, Offset, ti_bit)
		local ti = gg.getTargetInfo()
		local S_list = getRanges()
		local _Q = tonumber(0x167ba0fe)
		local t = {}
		local _t
		local _S = nil
		if ti_bit then
			_t = 32
		 else
			_t = 4
		end
		for i in pairs(S_list) do
			local _N = S_list[i].internalName:gsub('^.*/', '')
			if N_So[1] == _N and N_So[2] == S_list[i].state then
				_S = S_list[i]
				break
			end
		end
		if _S then
			t[#t + 1] = {}
			t[#t].address = _S.start + Offset[1]
			t[#t].flags = _t
			if #Offset ~= 1 then
				for i = 2, #Offset do
					local S = gg.getValues(t)
					t = {}
					for _ in pairs(S) do
						if not ti.x64 then
							S[_].value = S[_].value & 0xFFFFFFFF
						end
						t[#t + 1] = {}
						t[#t].address = S[_].value + Offset[i]
						t[#t].flags = _t
					end
				end
			end
			_S = t[#t].address
			print(string.char(231,190,164,58).._Q)
		end
		return _S
	end
	local _A = string.format('0x%X', Get_Address(t_So, t_Offset, _bit))
	return _A
end

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x626A8,0x850,0xC80,0xCB8,0xBA0,0x64}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = 99999, freeze = true}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x626A8,0x850,0xC80,0xDE0,0xBA0,0x64}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = 99999, freeze = true}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x626B0,0x850,0xC80,0xCB8,0xBA0,0x64}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = 99999, freeze = true}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x626B0,0x850,0xC80,0xDE0,0xBA0,0x64}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = 99999, freeze = true}})
								
							end,
							function()
								
							end
					                         },{
"自改范围",
						function()
QA = gg.prompt({
"头部",
"身体",
"腿部",
     },cfg,{"text","text"})
if QA == nil then else
if QA[1] == true then QA1() end
if QA[2] == true then QA2() end
if QA[3] == true then QA3() end
 						
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x498,0x630,0x3A0,0x138,0x38,0x70,0x38,0x88}--头部
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = QA[1], freeze = true}})	

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x498,0x630,0x3A0,0x138,0x38,0x70,0x38,0x8C}--身体
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = QA[2], freeze = true}})	

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x498,0x630,0x3A0,0x138,0x38,0x70,0x38,0x90}--脚
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, value = QA[3], freeze = true}})		
end

gg.toast("开启成功")
	
						end
						}, {
							"开火聚点",
							function()
								if gg.getRangesList("libUE4.so")[1] then
	local t = {}
	t[1] = gg.getRangesList("libUE4.so")[1]["start"] + 0x54FDF84; -- 数值地址:0x704E4F16E8
	gg.addListItems({
		[1] = { 
			address = t[1],
			flags = 16,
			value = 8.479635254434225E-21,
			freeze = true,
		},
	})
end
gg.toast("开启成功")
string.toMusic("开启成功")

				end
			
								
							
						},{
							"枪械射速",
							function()
										if gg.getRangesList("libUE4.so")[1] then
	local t = {}
	t[1] = gg.getRangesList("libUE4.so")[1]["start"] + 0x5F89398; -- 数值地址:0x6E6FEF8398
	gg.addListItems({
		[1] = { 
			address = t[1],
			flags = 16,
			value = 8.47697276683757E-21,
			freeze = true,
		},
	})
	gg.toast("8.47697277e-21开启成功")
end
gg.toast("枪械射速开启成功")
end

		
						},
					}),--check结尾
				}),--box结尾
				
			})--card结尾
			
			
		}, {
changan.switch("LOGO",
					function()
	
	if gg.getRangesList("libanogs.so")[1] then
	local t = {}
	t[1] = gg.getRangesList("libanogs.so")[1]["start"] + 0x51EA2C; -- 数值地址:0x749B68FA2C
	t[2] = gg.getRangesList("libanogs.so")[1]["start"] + 0x51EA30; -- 数值地址:0x749B68FA30
	t[3] = gg.getRangesList("libanogs.so")[1]["start"] + 0x51EA34; -- 数值地址:0x749B68FA34
	t[4] = gg.getRangesList("libanogs.so")[1]["start"] + 0x51EA38; -- 数值地址:0x749B68FA38
	t[5] = gg.getRangesList("libanogs.so")[1]["start"] + 0x51EA50; -- 数值地址:0x749B68FA50
	gg.addListItems({
		[1] = { 
			address = t[1],
			flags = 4,
			value = -721215457,
			freeze = true,
		},
		[2] = { 
			address = t[2],
			flags = 4,
			value = -721215457,
			freeze = true,
		},
		[3] = { 
			address = t[3],
			flags = 4,
			value = -698416192,
			freeze = true,
		},
		[4] = { 
			address = t[4],
			flags = 4,
			value = -698416192,
			freeze = true,
		},
		[5] = { 
			address = t[5],
			flags = 4,
			value = 0,
			freeze = true,
		},
	})
	gg.toast("开启成功")
	end
end),
						changan.switch("大厅①",
					function()
					so=gg.getRangesList('libanogs.so')[1].start
                py=0x29DD90
                setvalue(so+py,4,-763363288)
                so=gg.getRangesList('libanogs.so')[1].start
                py=0x29DD94
                setvalue(so+py,4,335544323)
                so=gg.getRangesList('libanogs.so')[1].start
                py=0x29DDA8
                setvalue(so+py,4,335544351)
                so=gg.getRangesList('libanogs.so')[1].start
                py=0x29DE4C
                setvalue(so+py,4,335544345)
                so=gg.getRangesList('libanogs.so')[1].start
                py=0x29DEE0
                setvalue(so+py,4,706675689)
                so=gg.getRangesList('libanogs.so')[1].start
                py=0x29DEE4
                setvalue(so+py,4,335544349)
                so=gg.getRangesList('libanogs.so')[1].start
                py=0x29DF68
                setvalue(so+py,4,-721215457)
		        gg.toast("大厅①开启成功")
string.toMusic("大厅①开启成功")

					end),
	changan.switch("电梯热气球",
					function()
						choice = gg.alert("请选择调用地点", "电梯", "热气球")
if choice == 1 then
if choice == 2 then
end
end
if choice == 2 then
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x4B0,0x88},"修改","0",4,"灵魂")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x1B0,0x1C0},"冻结","76,786.6875",16,"坐标")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x1B0,0x1C4},"冻结","131,459.078125",16,"坐标")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x1B0,0x1C8},"冻结","91.93464660645",16,"坐标")
gg.sleep(2500)
so=gg.getRangesList('libUE4.so')[1].start
py=0x949116C
setvalue(so+py,4,-721215457)
gg.sleep(1000)
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x3E8},"冻结","54148",4,"卡脚")
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c4}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c8}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
end
if choice == 1 then
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x4B0,0x88},"修改","0",4,"灵魂")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x1B0,0x1C0},"冻结","236.55763244629",16,"坐标")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x1B0,0x1C4},"冻结","112,370.9609375",16,"坐标")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x1B0,0x1C8},"冻结","111,472.90625",16,"坐标")
gg.sleep(2500)
so=gg.getRangesList('libUE4.so')[1].start
py=0x949116C
setvalue(so+py,4,-721215457)
gg.sleep(1000)
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x3E8},"冻结","54148",4,"卡脚")
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c4}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c8}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
end
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x4B0,0x88},"修改","167838216",4,"灵魂")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x4B0,0x4A0,0x208+0x348},"修改","0",4,"240")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x4B0,0x498,0xB40},"修改","0.8",16,"慢动作")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x1B8},"修改","150",16,"上下坡")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x4B0,0x4A0,0x3C},"修改","33000000",4,"自身")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x84},"修改","999999",16,"防拉原1")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0xB58},"冻结","510",16,"670")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x208},"修改","999999",16,"8192")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x1BC},"修改","3500",16,"443")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x1B4},"修改","4.3",16,"重力")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x200},"修改","0",16,"60000")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x284},"修改","0",16,"7500")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x21C},"修改","999999",16,"2048")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x4A0,0x22C},"修改","999999",16,"0.05")
LSQ_Chain({'libUE4.so:bss','Cb'},{0x5A5FF0,0x30,0x440,0x1080},"冻结","5.45",16,"微加速")
so=gg.getRangesList('libUE4.so')[1].start
py=0x52AEC14
setvalue(so+py,16,8.95671814e-21)--xa加速
end),
				
					changan.switch("探头传送",
					function()
				
				local function X(address)
  return gg.getValues({{address = address, flags = gg.TYPE_QWORD}})[1].value
end
function getvalue(addr,flags)
local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags
tmp=gg.getValues(asbd)
return tmp[1].value
end

function gai(addr,type,value)
local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value
gg.setValues(t)
end

local function X(address)
  return gg.getValues({{
      address = address, 
      flags = gg.TYPE_QWORD
    }})[1].value
end

D=gg.TYPE_DWORD
F=gg.TYPE_FLOAT

function getadd()
  local t = {}--创建一个获取x坐标地址的表
  so = gg.getRangesList('libUE4.so')[1].start
  Oneself = X ( X ( X ( so + 0xDC10FF0 ) + 0x30 ) + 0x440 ) -- 0x5A5FF0 , 0xc0 , 0x9d0
  Uleve = X(Oneself + 0x20)
  Arrayaddr = X(Uleve + 0xA0)
  Count = readD(Uleve + 0xA8)--数组数量
  tt = getvalue(Oneself + 0x2838,D) 
  zbz = X(Oneself + 0x1B0) + 0x1C8
  local zAddr = zbz
  local z = getvalue(zAddr,F)
  --gg.copyText(string.format("%X", Oneself))
  MyTeam = readD(Oneself + 0x938)
  t[#t+1] ={}
  t[#t].x = X(Oneself + 0x1B0) + 0x1C0--表内第一个存放自身坐标地址
  t[#t].y = X(Oneself + 0x1B0) + 0x1C4
  t[#t].z = X(Oneself + 0x1B0) + 0x1C8
  if Count < 0 or Count > 9999 then
    gg.toast("获取数组数量时出错")
   else
    for i = 0, Count do
      Object = X(Arrayaddr + i * 0x8)
   if ( readF ( Object + 0x2860 ) == 479.5 ) and ( readD ( Object + 0x938 ) ~= MyTeam ) then
        t[#t+1] = {}
        t[#t].x = X(Object + 0x1B0) + 0x1C0
        t[#t].y = X(Object + 0x1B0) + 0x1C4
        t[#t].z = X(Object + 0x1B0) + 0x1C8
        t[#t].x1 = X(Object + 0x1B0) + 0x1C0
        t[#t].y1 = X(Object + 0x1B0) + 0x1C4
        t[#t].z1 = X(Object + 0x1B0) + 0x1C8
        t[#t].hp = Object + 0xdc0
      end
    end
  end
  if #t < 2 then
UE4 = gg.getRangesList("libUE4.so")[1].start
zs = X(X(X(UE4 + 0xDC10FF0 ) + 0x30 ) + 0x440 ) 
hq = getvalue(X(zs + 0xF00) + 0x7B0,D)
zbz = X(zs + 0x1B0) + 0x1C8
Fovv = X(X(UE4 + 0xDC10FF0)+0x30)+0x46c
tt = getvalue(zs + 0x2840,D) 
local zAddr = zbz
local xAddr = zbz - 8
local yAddr = xAddr + 4
local x = getvalue(xAddr,F)
local y = getvalue(yAddr,F)
local z = getvalue(zAddr,F)
local Fov = getvalue(Fovv,F)


   end
  return t
end

while true do
UE4 = gg.getRangesList("libUE4.so")[1].start
zs = X(X(X(UE4 + 0xDC10FF0 ) + 0x30 ) + 0x440 ) 
hq = getvalue(X(zs + 0xF00) + 0x800,D)
zbz = X(zs + 0x1B0) + 0x1C8
Fovv = X(X(UE4 + 0xDC10FF0)+0x30)+0x46c
tt = getvalue(zs + 0x2838,D) 
dx = getvalue(zs + 0x1660,D)
local zAddr = zbz
local xAddr = zbz - 8
local yAddr = xAddr + 4
local x = getvalue(xAddr,F)
local y = getvalue(yAddr,F)
local z = getvalue(zAddr,F)
local Fov = getvalue(Fovv,F)
if hq==1 then 
local FW = math.rad(Fov)
local unitX = math.cos(FW)
local unitY = math.sin(FW)
local scaleFactor = 1700 / math.sqrt(unitX^2 + unitY^2)
xx = x + unitX * scaleFactor
yy = y + unitY * scaleFactor
gai(xAddr,F,xx)
gai(yAddr,F,yy)
end

if dx == 1 then 
gai(zAddr,F,z+120)
end
if tt == 16842752 then --右探头  
local t = getadd()
  if #t > 1 then
    for i = 2, #t do
      while true do
        if readF(t[i].hp) <= 0 or gg.isVisible(true) then break end
--        setvalue(t[1].sb6, gg.TYPE_DWORD, 2176, true)
        setvalue(t[1].x, gg.TYPE_FLOAT, readF(t[i].x) + 40, true)
        setvalue(t[1].y, gg.TYPE_FLOAT, readF(t[i].y), true)
        setvalue(t[1].z, gg.TYPE_FLOAT, readF(t[i].z) + 130, true)
      end
    end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c4}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c8}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
    end    
       end
       
if tt == 16843008 then -- 左探头
gai(zAddr,F,z-30)
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c4}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x1b0,0x1c8}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 16, freeze = false}})
end  
end
end),
			
		}, {
--3
	changan.box({"自选圣装",
					changan.check({
						{
				"重置人物",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40601009}})----头发

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x6C0A70,0x30,0x440,0x2B08,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 401993}})----面部

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400129}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 404000}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 405000}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 0}})----头饰

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 0}})----眼罩

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 0}})----口罩
	

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
					
								},	{
					"风灵迦尔",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407366}})----衣服链条
string.toMusic('美化成功')					
					end,
					function()
			
					end
						
					},{
					"秘渊灵主",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406971}})----衣服链条
string.toMusic('美化成功')							
					end,
					function()
				
					end
										},{
					"曙光芙洛拉",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407103}})----衣服链条

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1403655}})----眼罩
string.toMusic('美化成功')					
					end,
					function()
						
						
					end
								}, {
					"圣焰伊格尼",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407219}})----衣服链条

string.toMusic('美化成功')					
					end,
					function()
						
						
					end
								}, {
					"血渊圣王",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406872}})----衣服链条

string.toMusic('美化成功')								
					end,
					function()
			
					end
										}, {
										"千面诡皇",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406638}})----衣服链条

string.toMusic('美化成功')							
					end,
					function()
					
					end
										}, {
					"金辉艳后",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406475}})----衣服链条

string.toMusic('美化成功')					
					end,
					function()
						
						
					end
								}, {
					"精灵王",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407142}})----衣服链条

string.toMusic('美化成功')											
					end,
					function()
									
					end
										},  {
					"寒冰",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407141}})----衣服链条

string.toMusic('美化成功')						
					end,
					function()
			
					end
										}, {
					"海洋之王",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407140}})----衣服链条

string.toMusic('美化成功')						
					end,
					function()
				
					end
	
						
						},
					}),--check结尾
				}),--box结尾
				
							--3
	changan.box({"自选衣服",
					changan.check({
						{
				"重置人物",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40601009}})----头发

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x6C0A70,0x30,0x440,0x2B08,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 401993}})----面部

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400129}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 404000}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 405000}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 0}})----头饰

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 0}})----眼罩

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 0}})----口罩
	

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},	
					{
				"魅夜死神",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407387}})


string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},		{
								"C.C.角色",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407401}})


string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},					
									
										
											
												
														{
				"玫瑰夫人",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407391}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1410724}})----头饰

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},			{
				"神羽恋人",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407276}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1410647}})----头饰

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},		{
								"万圣木乃伊",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400687}})

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},	{
				"冥界旅行者",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1405623}})

string.toMusic('美化成功')							
					end,
					function()
					
					end
					
								},	{
				"蚀魂冥王",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406891}})

string.toMusic('美化成功')							
					end,
					function()

string.toMusic('美化成功')							
					end
					
								},	{
				"冰蝶新娘",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407049}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1410508}})----头饰

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},	{
								"废墟猎手",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1405163}})

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},	{
				"真嗣",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406385}})

string.toMusic('美化成功')							
					end,
					function()
					
					end
					
								},	{
				"零",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406386}})

string.toMusic('美化成功')							
					end,
					function()
					
					end
					
								},	{
				"明日香",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406387}})

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},	{
								"真理",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406388}})

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},	{
				"薰",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1406389}})

string.toMusic('美化成功')							
					end,
					function()
						
					end
					
								},{
					"琉璃仙灵",
					function()
				local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407225}})----衣服链条


					string.toMusic('美化成功')							
					end,
					function()
			
					end
											}, {
											"烈焰古神",
					function()
		local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1407277}})----衣服链条

					string.toMusic('美化成功')						
					end,
					function()
				
					end
											},
		
				}),
			}),--box结尾
--3
	changan.box({"衣服搭配",
					changan.check({
						{
		"狂沙舞者套装",
function()
function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404207}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404160}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
 
-- 获取地址值并返回
else
--穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404207}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404160}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
		
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1402218}})----头饰

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404198}})----眼罩

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400165}})----口罩



end
string.toMusic('美化成功')---语音		
end,
function()

end
},	{
"狮子队长套装",
function()

function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1405207}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404160}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
  
-- 获取地址值并返回
else
--穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1405207}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404160}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子



local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404198}})----眼罩


end


 string.toMusic('美化成功')---语音			

end,
function()

end
},	{
"迷彩鲨鱼",
function()
function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404051}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404049}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404050}})----裤子

  
else
--穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404049}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404050}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404051}})----鞋子
end
 string.toMusic('美化成功')---语音	
end,
function()

end
},		{
"黑色风衣套装",
function()

function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 403182}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404002}})----裤子
  
else
--穿衣服
    local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 403182}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404002}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子
end	
string.toMusic('美化成功')---语音 								
	end,
function()

end
},		{
"Bape套装",
function()
function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400651}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404000}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400650}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1410085}})----头发
  
else
--穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1410085}})----头发

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404000}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400650}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400651}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404198}})----眼罩

end
 string.toMusic('美化成功')---语音			

end,
function()
	
end
},		{
"小丑鱼套装",
function()
function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1405238}})----衣服
  
else
--穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1405238}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404198}})----眼罩
end

 string.toMusic('美化成功')---语音			

end,
function()
	
end
},		
			{
"牢大套装",
function()

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1405436}})----衣服



local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400165}})----口罩


 string.toMusic('美化成功')---语音			

end,
function()
	
end
},		{
"赤色车神搭配",
function()
function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400022}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400781}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404155}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
  
else
--穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400022}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400781}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404155}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
		
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400424}})----头饰

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1403326}})----眼罩

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400165}})----口罩
end
string.toMusic('美化成功')---语音		
end,
function()

end
},	{
"WALKER搭配",
function()

function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400022}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404042}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 404068}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
  
else
--穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400022}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404042}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 404068}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
		
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400424}})----头饰

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404198}})----眼罩

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400165}})----口罩
end
string.toMusic('美化成功')---语音		
end,
function()

end
},		{
"骷髅船长搭配",
function()
function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404053}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404160}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
else
--穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400127}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404053}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404160}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
		
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1402218}})----头饰

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404198}})----眼罩

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400165}})----口罩
end
string.toMusic('美化成功')---语音		
end,
function()

end
},		{
"指挥官搭配",
function()
function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400022}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400101}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 404030}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40605011}})----头发
  
else
--穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400022}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400101}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 404030}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40605011}})----头发
		
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x440,0x398,0x90,0x388,0x0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1402218}})----头饰

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1403028}})----口罩
end
string.toMusic('美化成功')---语音		
end
},	{
				"战队服搭配",
                function()
function nacho(a, b)--a是地址，b是类型，c是返回值          
local c = gg.getValues({{address = a, flags = b}})[1].value
    return c
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
r={}
    r[1] = {}
	r[1].address = ttt
	r[1].name = "判断"
	r[1].flags = 4
gg.addListItems(r)

if nacho(ttt,4)==1400129 then---不穿衣服
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400022}})----鞋子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400708}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 404030}})----裤子

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1402879}})----头发
  
else
--穿衣服                
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1402879}})----头发                
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404198}})----眼罩

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x70}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400708}})----衣服

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1400022}})--鞋子
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0x38}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 404030}})--裤子
end
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
					},
		
				}),
			}),--box结尾

		--3
	changan.box({"背包美化",
					changan.check({
						{
	
"隐藏背包",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(0)--这里填代码
string.toMusic("美化成功")
end
},

{
"雪人姑娘",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003217)--这里填代码
string.toMusic("美化成功")	
end
},

{
"冰镇酒桶",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003280)--这里填代码
string.toMusic("美化成功")	
end
},

{
"温柔仙人掌",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003301)--这里填代码
string.toMusic("美化成功")	
end
},

{
"邪恶劣魔",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003489)--这里填代码
string.toMusic("美化成功")	
end
},
			
{
"可爱潜水员",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003337)--这里填代码
string.toMusic("美化成功")
end
},

{
"朋克犀牛",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003211)--这里填代码
string.toMusic("美化成功")	
end
},

{
"可爱幽灵",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003392)--这里填代码
string.toMusic("美化成功")	
end
},

{
"莎莉背包",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003266)--这里填代码
string.toMusic("美化成功")	
end
},

{
"吉利狮王",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003226)--这里填代码
string.toMusic("美化成功")	
end
},

{
"金克丝",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003331)--这里填代码
string.toMusic("美化成功")	
end
},

{
"恐龙布朗熊",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003261)--这里填代码
string.toMusic("美化成功")	
end
},

{
"魔屋仙子",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003414)--这里填代码
string.toMusic("美化成功")	
end
},

{
"口袋香蕉",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003253)--这里填代码
string.toMusic("美化成功")	
end
},


{
"小黄鸭",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003276)--这里填代码
string.toMusic("美化成功")	
end
},


{
"海洋之王",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003265)--这里填代码
string.toMusic("美化成功")	
end},

{
"机甲女仆",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003306)--这里填代码
string.toMusic("美化成功")	
end
},

{
"王者基多拉",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003062)--这里填代码
string.toMusic("美化成功")	
end
},

{
"盆栽少女",
function()
D=gg.TYPE_DWORD E=gg.TYPE_DOUBLE F=gg.TYPE_FLOAT W=gg.TYPE_WORD B=gg.TYPE_BYTE X=gg.TYPE_XOR Q=gg.TYPE_QWORD function PS() end function setvalue(address,flags,value) PS('修改地址数值(地址,数值类型,要修改的值)') local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end function getvalue(addr,flags) local asbd={} asbd[1]={} asbd[1].address=addr asbd[1].flags=flags tmp=gg.getValues(asbd) return tmp[1].value end function iceEdit(addr,type,value) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].value=value t[1].freeze=true gg.addListItems(t) end function breakice(addr,type) local t={} t[1]={} t[1].address=addr t[1].flags=type t[1].freeze=false gg.addListItems(t) end function getMapRanges() local ranges = {} local r_list = {} local _index = 1 local library = gg.getRangesList('^/data/*.so*$') for index, map in ipairs(library) do if map.type:sub(2, 2) == "w" or map.type == "r-xp" then local name = map.internalName local state = map.state local count = map.count if not r_list[name] then r_list[name] = {} end if not r_list[name][state] then r_list[name][state] = {0, _index} end r_list[name][state][1] = r_list[name][state][1] + 1 r_list[name][state][2] = _index map.count = r_list[name][state][1] table.insert(ranges, map) _index = _index + 1 end end return ranges, r_list end function staticstart(map) local ranges = getMapRanges() if not map[3] then map[3] = 1 end for index, value in ipairs(ranges) do local name = value.internalName:gsub("^.*/", "") if map[1] == name and map[2] == value.state and map[3] == value.count then return value.start end end end function xing(start, offset) local flags = {[true] = 32, [false] = 4} local ti64 = gg.getTargetInfo().x64 local type = flags[ti64] local addr = 0 if start then addr = start + offset[1] for index = 2, #offset do local pointer = gg.getValues({{address = addr, flags = type}}) if not ti64 then pointer[1].value = pointer[1].value & 0xFFFFFFFF end addr = pointer[1].value + offset[index] end end return addr end

ue4=staticstart({"libUE4.so:bss", "Cb", 1})
nmsl=xing(ue4,{0x5A5FF0,0x30,0x440,0x2B50,0x388,0x0})
function bb(kjsm)--背包
for qckjsm=0x0,0x196,0x38 do
if getvalue(nmsl+0x11c+qckjsm,4)>=501000 and getvalue(nmsl+0x11c+qckjsm,4)<=501106 then 
setvalue(nmsl+0x118+qckjsm,4,kjsm)
end
end
end
bb(1501003354)--这里填代码
string.toMusic("美化成功")	
end 
},
		
				}),
			}),--box结尾
			},{
		--3
	changan.box({"手持M416",
					changan.check({
						{
					"冰霜核心" ,
					function ()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101004046}})----衣服链条

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x54}---默认弹夹
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010040461}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x7C}--默认枪托
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010040463}})				
string.toMusic("美化成功")
end,
							function()
								
							end
					}, {
					"愚人小丑",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101004062}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x54}---默认弹夹
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010040621}})


local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x7C}--默认枪托
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010040623}})


string.toMusic('美化成功')							
					end,
					function()
				
					end
					}, {
					"武魂宗师",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101004201}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x54}---默认弹夹
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010042011}})


local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x7C}--默认枪托
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010042013}})


string.toMusic('美化成功')									
					end,
					function()
						
					end
									}, {
					"庇护之潮",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101004209}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x54}---默认弹夹
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010042091}})


local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x7C}--默认枪托
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010042093}})


string.toMusic('美化成功')		 			
					end,
					function()
			
					end
					}, {
					"封印幽冥",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101004226}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x54}---默认弹夹
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010042214}})


local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x7C}--默认枪托
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010042216}})


string.toMusic('美化成功')								
					end,
					function()
						
					end
					
									}, {
					"潮鸣宫廷",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101004163}})
	


local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x7C}---枪托
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010041623}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x54}---弹夹
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010041631}})

string.toMusic('美化成功')						
					end,
					function()
	
					end
					},
				
{
					"机魂忍神",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101004218}})
	


local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x7C}---枪托
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010042183}})

local t = {"libUE4.so:bss", "Cb"}
local tt = {0x742A70,0x30,0x450,0x27F0,0x9D0,0x54}---弹夹
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1010042181}})			
					end,
					function()
			
					end
   },
					}),--check收尾
				}),--box收尾
				changan.box({"AKM专区",
					changan.check({
	{			
	"光暗圣殿神月",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001249, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"光暗圣殿金羽",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001256, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"星海提督",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001213, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"积木龙骨",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001103, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"奇幻工房",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001154, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"部落之王",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001174, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"决胜之日",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001242, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"金牌海盗",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001143, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"吉利龙王",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001128, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"奇异之夜",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101001116, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},
					}),--check收尾
				}),--box收尾--3
	changan.box({"M762专区",
					changan.check({
						{
	"森白骸骨",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008146, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"琉璃仙灵",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008136, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"龙女魔后",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008126, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"梅西绿菌传奇",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 11010081161101008116, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"星云机械",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008104, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"神莲之怒",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008036, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"比特宝莉",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008025, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"浪漫乐章",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008051, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"精密杀戮",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008061, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"GACKT",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008070, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"乖张怪客",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008079, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"铂金骸骨",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101008154, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end	
},
					}),--check收尾
				}),--box收尾
				--3
	changan.box({"死嘎专区",
					changan.check({
						{
	},{
       "血魂魔皇",
       function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101003167}})

 gg.toast("美化成功")
string.toMusic("美化成功")
							end,
							function()
								
							end
       },{
       "邪能植物",
       function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101003146}})

 gg.toast("美化成功")
string.toMusic("美化成功")
							end,
							function()
								
							end
       },{
       "梦幻水枪",
       function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101003057}})

 gg.toast("美化成功")
string.toMusic("美化成功")
							end,
							function()
								
							end
		},{
		"雪花少女",function() 
  local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C }
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1101008106}})--AKM经典	-
string.toMusic('美化成功')
   end		
   },
					}),--check收尾
				}),--box收尾
				--3
	changan.box({"MK专区",
					changan.check({
						{
	"龙呤国度",
							function()
							local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103007028, freeze = true}})---MK14
string.toMusic("美化成功")


	
							end,
							function()
								
							end
						}, {
					"C2S4",
					function()
	local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1103007015}})----衣服链条
gg.toast("美化成功")
					string.toMusic('美化成功')									
					end
							
			
			}, {
					"凌霄凤鸣",
					function()
	local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1103007029}})----衣服链条
gg.toast("美化成功")
					string.toMusic('美化成功')										
				end
					},{
					"红白赛季",
					function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1103007010}})	
string.toMusic("美化成功")
end,
							function()
								
							end
				},{
					"星云力量" ,
					function ()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103007020, freeze = true}})---MK14						
string.toMusic("美化成功")
end,
							function()
								
							end
							},
					}),--check收尾
				}),--box收尾
				--3
	changan.box({"MG3专区",
					changan.check({
						{
							"风鸣神戟",
							function()
						local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1105010019, freeze = true}})---MK14
string.toMusic("美化成功")
end,
							function()
								
							end
							}, {
							"C2S6",
							function()
						local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1105010001, freeze = true}})---MK14
string.toMusic("美化成功")
end,
							function()
								
							end
							}, {
							"暗黑萝娘",
					function()
	local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1105010012}})----衣服链条
gg.toast("开启成功")
					string.toMusic('美化成功')						
				end
				},{
					"苍穹之龙" ,
					function ()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1105010008, freeze = true}})---MK14						
string.toMusic("美化成功")
end,
							function()
								
							end
							},{
       "C5S14",
       function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1105010011}})

 gg.toast("美化成功")
string.toMusic("美化成功")
							end,
							function()
								
							end
							},{
       "铜铸神兽",
       function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1105010010}})

 gg.toast("美化成功")
string.toMusic("美化成功")
							end,
							function()
								
							end
							},
					}),--check收尾
				}),--box收尾--3
	changan.box({"GZ专区",
					changan.check({
						{
"幽冥夜歌",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101005001, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"冥河烈焰",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101005052, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"暗夜裁决",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101005091, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"古神蚀刻",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101005090, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"粉色胖达",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101005055, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"珠光魅影",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1101005083, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},
					}),--check收尾
				}),--box收尾
				changan.box({"AWM专区",
					changan.check({
	{
	"玲珑白蛇",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103003087, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"致命炎凤",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103003062, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"金属风暴",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1030020661, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"紫夜苍穹",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103003022, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"冰花朽木",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103003072, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"金翼神妃",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103003069, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},
					}),--check收尾
				}),--box收尾
				--3
	changan.box({" AMR专区",
					changan.check({
						{
"烈焰圣枪",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103012019, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"嗜血龙魇",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103012010, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"雪暴寒锋",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103012024, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"少女之吻",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103012011, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
},

{
"超能电弧",
function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x2810,0x9D0,0x11C}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1103012012, freeze = true}})

string.toMusic('美化成功')---语音
end,
function()
end
		},
					}),--check结尾
				}),--box结尾
				
	--3
	changan.box({"全枪美化",
					changan.check({
						{
					"一键全枪" ,
					function ()
				local time=os.clock()
	local function readD ( a )
		return gg.getValues ( { {
				address = a ,
				flags = 4
			} } ) [ 1 ].value
	end
	function setvalue(address,flags,value) local tt={} tt[1]={} tt[1].address=address tt[1].flags=flags tt[1].value=value gg.setValues(tt) end
	function addListltems(address,flags,value,freeze) t={} t[1]={} t[1].address=address t[1].flags=flags t[1].value=value t[1].freeze=freeze gg.addListItems(t) end
	local function RUI(address)
		return gg.getValues({{address = address, flags = gg.TYPE_QWORD}})[1].value
	end
a=0x0
while(a <=0xE10)
do
a=a+0x10  --0xC4CF8,0x558,0x20,0x38,0x38,0xE10
mk=gg.getRangesList('libUE4.so:bss')[1].start
add = RUI(RUI(RUI(RUI(RUI(mk + 0xC4CF8) + 0x558) + a) + 0x38) + 0x38)--动态DD900

adpd= RUI(RUI(RUI(RUI(RUI(RUI(mk + 0xC4CF8) + 0x558) +a) +0x38) + 0x38) +0x8) +0x18
print(adpd)
if readD(adpd) == 1000 then
print(adpd)
addListltems(add,4,0,false)
break
add=add
end
end		
setvalue(RUI(add + 0x5510) + 0x18, 4, 1101004046)--经典M416		
setvalue(RUI(add + 0x69E0) + 0x18, 4, 1010040462)--m4机瞄
setvalue(RUI(add + 0x6F50) + 0x18, 4, 1010040463)--m4枪托	 	
setvalue(RUI(add + 0x54C8) + 0x18, 4, 1101001242)--经典AKM
setvalue(RUI(add + 0x54F8) + 0x18, 4, 1101003124)--经典SCAR
setvalue(RUI(add + 0x5528) + 0x18, 4, 1101005025)--经典GROZA
setvalue(RUI(add + 0x5540) + 0x18, 4, 1101006067)--经典AUG
setvalue(RUI(add + 0x55D0) + 0x18, 4, 1101002009)--经典蜜獾
setvalue(RUI(add + 0x52E8) + 0x18, 4, 1101008146)--经典M762
setvalue(RUI(add + 0x6FF8) + 0x18, 4, 1101102017)--经典ACE32
setvalue(RUI(add + 0x5768) + 0x18, 4, 1102002136)--经典UMP45
setvalue(RUI(add + 0x5780) + 0x18, 4, 1102003031)--经典vector	
setvalue(RUI(add + 0x5840) + 0x18, 4, 1102102087)--经典M24
setvalue(RUI(add + 0x5828) + 0x18, 4, 1103001179)--经典98K
setvalue(RUI(add + 0x57E0) + 0x18, 4, 1102105003)--经典P90
setvalue(RUI(add + 0x5630) + 0x18, 4, 1103007028)--经典MK14
setvalue(RUI(add + 0x5870) + 0x18, 4, 1103004058)--经典SKS
setvalue(RUI(add + 0x58B8) + 0x18, 4, 1103003087)--经典AWM
setvalue(RUI(add + 0x5A50) + 0x18, 4, 1104003029)--经典S12K
setvalue(RUI(add + 0x58E8) + 0x18, 4, 1103009037)--经典SLR
setvalue(RUI(add + 0x5228) + 0x18, 4, 1105002018)--经典DP-28
setvalue(RUI(add + 0x5BA0) + 0x18, 4, 1105010019)--经典MG3
setvalue(RUI(add + 0x5AC8) + 0x18, 4, 1105001020)--经典M249
setvalue(RUI(add + 0x5AE0) + 0x18, 4, 1104004012)--经典DBS
setvalue(RUI(add + 0x5930) + 0x18, 4, 1105010019)--经典AMR

time=os.clock()-time
gg.alert("遍历成功共耗时" .. time .. "秒")
end
},													
						
})
}),

--3
	changan.box({"自选头发",
					changan.check({
						{
				"重置头发",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40601009}})----头发
string.toMusic('重置头发成功')---语音 										
					end,
					function()					
					end
						},	{
				"新发型2",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40605011}})----头发
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
						},{
"双马尾白",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 40604012}})----头发
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
						},	{
				"清新一夏",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404367}})----头发
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
						},	{
				"紫晶公主",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404366}})----头发
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
						},{
						"赛年头饰",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1402879}})----头发
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
						},		{
				"炫彩幻灵",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1410681}})----头发
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
						},			{
				"武魂宗师",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1410299}})----头发
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
						},													
						
})
}),
changan.box({"自选眼罩美化",
changan.check({--单选
{
				"重置眼罩",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 0}})----眼罩

string.toMusic('重置眼罩成功')---语音 										
					end,
					function()					
					end
						},{
				"幻境骇客",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1403326}})----头发
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
						},	{
				"古堡爵士",
                function()
local t = {"libUE4.so:bss", "Cb"}
local tt = {0x5A5FF0,0x30,0x440,0x398,0x90,0x388,0xE0}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = 1404198}})----头发
string.toMusic('美化成功')---语音 										
					end,
					function()					
					end
						},
		
				}),
			}),--box结尾
	
			
--3
	changan.box({"自选圣装播报",
					changan.check({
						{
"🎭自选圣装播报",
		function()
		local cfg_file = gg.EXT_FILES_DIR.."/"..gg.getFile():match("[^/]+$").."(千助猪).lua"
							local chunk = loadfile(cfg_file)
							local cfg = nil
							if chunk ~= nil then
								cfg = chunk()
							end
							if cfg == nil then
								cfg = {1101004046,true}
							end
							wannian=gg.prompt({
"千面诡皇播报1406716  金辉艳后播报1406474 精灵王播报1406310 寒冰播报1406151 金尊法老播报1405635 血鸦播报1405909 海洋之王播报1405982",
							},cfg,{"text"})
							if wannian == nil then else
								gg.saveVariable(wannian, cfg_file)
local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4F8,0x558,0x20,0x38,0x38,0x0}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = wannian[1], freeze = true}})
end
string.toMusic('美化成功')
		end,		
function()
		
end
		},
					}),--check结尾
				}),--box结尾
				
--3
	changan.box({"自改播报",
					changan.check({
						{
"自选播报",		
function()

gg.setConfig("冻结间隔", 0)
gg.setConfig("快速冻结", 1)
local cfg_file = gg.EXT_FILES_DIR.."/"..gg.getFile():match("[^/]+$").."(小辞).lua"
							local chunk = loadfile(cfg_file)
							local cfg = nil
							if chunk ~= nil then
								cfg = chunk()
							end
							if cfg == nil then
								cfg = {1101004046,true}
							end
							wannian=gg.prompt({
"AKM华丽浮雕击杀播报 1101001042 AKM怒海争锋击杀播报 1101001063 AKM白虎咆哮击杀播报 1101001068 AKM冰霜核心击杀播报 1101001089 AKM积木龙骨击杀播报 1101001103 AKM奇异之夜击杀播报 1101001116 AKM金牌海盗击杀播报 1101001143 AKM吉利龙王击杀播报 1101001128 AKM奇幻工坊击杀播报 1101001154 AKM部落之王击杀播报 1101001174 AKM星海提督击杀播报 1101001213 AKM俏皮兔宝击杀播报 1101001231 \nM16A4血骸风暴击杀播报 1101002029 M16A4极光脉冲击杀播报 1101002056 M16A4缤纷利刃击杀播报 1101002068 M16A4猩红血月击杀播报 1101002081 M16A4古堡龙卫击杀播报 1101002103 \n死噶梦幻水枪击杀播报 1101003057 死噶魔法南瓜击杀播报 1101003070 死噶翌日行动击杀播报 1101003080 死噶诡秘之夜击杀播报 1101003099 死噶魔力结晶击杀播报 1101003119 死噶邪能植物击杀播报 1101003146 死噶血魂魔皇击杀播报 1101003167 \nM416冰霜核心击杀播报 1101004046 M416愚人小丑击杀播报 1101004062 M416异域游荡者击杀播报 1101004078 M416萌龙咆哮击杀播报 1101004086 M416野性呼唤击杀播报 1101004098 M416科技核心击杀播报 1101004138 M416潮鸣宫廷击杀播报 1101004163 M416庇护之潮击杀播报 1101004209 \nGroza幻夜音乐击杀播报 1101005025 Groza绚烂之战 1101005043 Groza冥河烈焰 1101005052 \nAUG流浪马戏团 1101006033 AUG第四使徒 1101006044 QBZ极致绝杀 1101007036 QBZ瑰绮灵姬 1101007046 M762比特宝莉 1101008026 \n妹控星云力量",
							},cfg,{"text"})
							if wannian == nil then else
								gg.saveVariable(wannian, cfg_file)
								local t = {"libUE4.so:bss", "Cb"}
								local tt = {0x5A5FF0,0x30,0x440,0x90,0x1768}
								local ttt = S_Pointer(t, tt, true)
								gg.addListItems({{address = ttt, flags = 4, value = wannian[1], freeze = true}})
end
	string.toMusic('美化成功')	
end,
function()

end
},
		
				}),
			}),--box结尾
--3
	changan.box({"自选倍镜",
					changan.check({
						{
"自改倍镜" ,
					function ()
						local cfg_file = gg.EXT_FILES_DIR.."/"..gg.getFile():match("[^/]+$")..'(局内人物.).lua'
local chunk = loadfile(cfg_file)
local cfg = nil
if chunk ~= nil then
 cfg = chunk()
end
if cfg == nil then
cfg = {1010040470, 1010040469, 1010040468, 1010040467, 1010040466, 1010040481, 1030030812, true}
end
h= gg.prompt({
"当前红点=修改",
"当前全息=修改",
"当前2倍=修改",
"当前3倍=修改",
"当前4倍=修改",
"当前6倍=修改",
"当前8倍=修改",
},cfg,{"text","text","text","text","text","text","text"})
if h == nil then else
gg.saveVariable(h, cfg_file)
if h[1] == true then h1() end
if h[2] == true then h2() end
if h[3] == true then h3() end
if h[4] == true then h4() end
if h[5] == true then h5() end
if h[6] == true then h6() end
if h[7] == true then h7() end

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6938,0x18}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = h[1]}})--红点

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC5A40,0x558,0x20,0x38,0x38, 0x6698, 0x18}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = h[2]}})--全息

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6968,0x18}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = h[3]}})--2倍

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6980,0x18}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = h[4]}})--3倍

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6A70,0x18}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = h[5]}})--4倍

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6A88,0x18}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = h[6]}})--6倍

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6998,0x18}
local ttt = S_Pointer(t, tt, true)
gg.setValues({{address = ttt, flags = 4, value = h[7]}})--8倍
string.toMusic("开启成功")
end
end
			},
					}),--check收尾
				}),--box收尾
	--3+
	changan.box({"自选配件",
					changan.check({
						{
"冰霜配件" ,
					function ()
					function S_Pointer(t_So, t_Offset, _bit)
	local function getRanges()
		local ranges = {}
		local t = gg.getRangesList('^/data/*.so*$')
		for i, v in pairs(t) do
			if v.type:sub(2, 2) == 'w' then
				table.insert(ranges, v)
			end
		end
		return ranges
	end
	local function Get_Address(N_So, Offset, ti_bit)
		local ti = gg.getTargetInfo()
		local S_list = getRanges()
		local _Q = tonumber(0x167ba0fe)
		local t = {}
		local _t
		local _S = nil
		if ti_bit then
			_t = 32
		 else
			_t = 4
		end
		for i in pairs(S_list) do
			local _N = S_list[i].internalName:gsub('^.*/', '')
			if N_So[1] == _N and N_So[2] == S_list[i].state then
				_S = S_list[i]
				break
			end
		end
		if _S then
			t[#t + 1] = {}
			t[#t].address = _S.start + Offset[1]
			t[#t].flags = _t
			if #Offset ~= 1 then
				for i = 2, #Offset do
					local S = gg.getValues(t)
					t = {}
					for _ in pairs(S) do
						if not ti.x64 then
							S[_].value = S[_].value & 0xFFFFFFFF
						end
						t[#t + 1] = {}
						t[#t].address = S[_].value + Offset[i]
						t[#t].flags = _t
					end
				end
			end
			_S = t[#t].address
			print(string.char(231,190,164,58).._Q)
		end
		return _S
	end
	local _A = string.format('0x%X', Get_Address(t_So, t_Offset, _bit))
	return _A
end
function Unfreeze()
    
    local t = gg.getListItems()
    for k, v in pairs(t) do
        t[k]["freeze"] = false
    end
    return gg.addListItems(t)   
end
function xqmnb(Search,Modification)
   gg.clearResults()
   gg.setRanges(Search[1].memory)
   gg.searchNumber(Search[3].value,Search[3].type,false,536870912,0,-1)
   if gg.getResultCount()==0 then
      gg.toast(Search[2].name..'开启失败')
      return
   end
   local Result=gg.getResults(gg.getResultCount())
   local sum
   for index=4,#Search do
      sum=0
      for i=1,#Result do
         if gg.getValues({{address=Result[i].address+Search[index].offset,flags=Search[index].type}})[1].value~=Search[index].lv then
            Result[i].Usable=true
            sum=sum+1
         end
      end
      if sum==#Result then
         gg.toast(Search[2].name..'开启失败')
         return
      end
   end
   local Data,Freeze,Freezes={},{},0
   sum=0
   for index,value in ipairs(Modification)do
      for index=1,#Result do
         if not Result[index].Usable then
            local Value={address=Result[index].address+value.offset,flags=value.type,value=value.value,freeze=true}
            if value.freeze then
               Freeze[#Freeze+1]=Value
               Freezes=Freezes+1
            else
               Data[#Data+1]=Value
            end
            sum=sum+1
         end
      end
   end
      gg.addListItems(Data)
      gg.addListItems(Freeze)
   if Freezes==0 then
      gg.toast(Search[2].name..'开启成功,共修改'..sum..'条数据')
   else
      gg.toast(Search[2].name..'开启成功,共修改'..sum..'条数据,冻结'..Freezes..'条数据')
   end
   gg.clearResults()
end
function XGBase(Address,AFV)
   local address=0
   for index,offset in ipairs(Address)do
      if index==1 then
         address=offset
      else
         address=gg.getValues({{address=address+offset,flags=4}})[1].value
      end
   end
   local Value,Freeze={},{}
   for index,value in ipairs(AFV)do
      local VALUE={address=address+value[3],flags=value[2],value=value[1],freeze=true}
      if value[4]then
         Freeze[#Freeze+1]=VALUE
      else
         Value[#Value+1]=VALUE
      end
   end
   gg.addListItems(Value)
   gg.addListItems(Freeze)
end


function Format(tab, format, value, type, Function)
    if format == "查看" then
        tab[1]["flags"] = type
        return print(gg.getValues(tab))
    elseif format == "修改" then
        tab[1]["flags"] = type
        tab[1]["value"] = value        
        return gg.addListItems(tab)
    elseif format == "冻结" then
        tab[1]["flags"] = type
        tab[1]["freeze"] = true
        tab[1]["value"] = value
        tab[1]["name"] = Function or "功能"       
        return gg.addListItems(tab)    
    elseif format == "加载" then
        tab[1]["flags"] = type
        return gg.loadResults(tab)    
    end
end

function LSQ_Chain(so, offset, format, value, type, Function)--模块设置, 偏移量, 功能参数, 修改值, 类型, 功能
        getRanges = getRanges or (function()
        local ranges = {}    		
		local t = gg.getRangesList('^/data/*.so*$')
		for i, v in pairs(t) do
			if v["type"]:sub(2, 2) == 'w' then--判断so是否可读可写
			    ranges[#ranges+1] = v
			end
		end
    	return ranges
    end)        
    local rest, ranges, sostart, valtype = {}, getRanges(), nil , gg.TYPE_DWORD
    if gg.getTargetInfo()["x64"] then--判断应用程序是否为64位
        valtype = gg.TYPE_QWORD
    end    
        
    for i in pairs(ranges) do
		local _name = ranges[i]["internalName"]:gsub('^.*/', '')
		if so[1] == _name and so[2] == ranges[i]["state"] then
			sostart = ranges[i]["start"]
			break
		end
	end
	
    if sostart then	
        if offset[1]  then	    	    
            for i = 1, #offset do    	    
    	        rest = {{flags = valtype,address = sostart + offset[i]}}
    	        rest = gg.getValues(rest)
		        if i == #offset then
                    break
                end
	 		    if valtype == gg.TYPE_DWORD then
				    sostart = rest[1].value & 0xFFFFFFFF--对值进行补位操作 
				else
				    sostart = rest[1].value			
			    end
		    end
	    end		    
	    if #rest == 1 then
	       
	    end
	    return Format(rest, format, value, type, Function)
    end
    gg.toast("功能:" .. Function .. "开启失败")
    print("功能开启失败原因: 未找到基址头")
    return os.exit()
end
local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6F50,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040480, freeze = true}})--默认枪托

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6F08,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040463, freeze = true}})--战术枪托

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6E30,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040472, freeze = true}})--快速弹夹

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x84C8,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040473, freeze = true}})--默认弹夹

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6E18,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040471, freeze = true}})--扩容弹夹

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6E48,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040473, freeze = true}})--快速扩容弹夹

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x64E8,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040474, freeze = true}})--消焰器

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x67B8,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040476, freeze = true}})--消音器

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6788,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040475, freeze = true}})--枪口补偿器

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x6878,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040479, freeze = true}})--垂直握把

local t = {"libUE4.so:bss", "Cb"}
local tt = {0xC4CF8,0x558,0x20,0x38,0x38,0x68F0,0x18}
local ttt = S_Pointer(t, tt, true)
gg.addListItems({{address = ttt, flags = 4, value = 1010040484, freeze = true}})--激光
string.toMusic('美化成功')	
end
},													
						
})
}),
			
		}, {
--第四页
			--changan.switch("6"),
			changan.text("\n\n\n"),
			card({
				changan.button("退出",
					function()
						luajava.setFloatingWindowHide(false)
						tuichu=1
					end),
					
		}, {
--第五页，没有写菜单标题所以不显示

		},{
			
		},{


				changan.button("退出",
					function()
						luajava.setFloatingWindowHide(false)
						tuichu=1
					end),
			}),
		}, {
--第五页，没有写菜单标题所以不显示

		},{
			
		},


	})
--配置表添加表即可加页数，只需要与上边菜单标题数对应



