cnsnipermike

battlecat_taiwan_pc_1.1

Aug 13th, 2025 (edited)
586
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 49.68 KB | None | 0 0
  1. exp=1
  2. block=0
  3. DATE=20250826
  4. info=gg.getTargetInfo()
  5. if info.x64 == false then
  6.     gg.alert("檢測到32位")
  7.     os.exit()
  8. end
  9. local allowed = {}
  10. do
  11.     local resp = gg.makeRequest("https://pastebin.com/raw/LY4pa7Zu")
  12.     if resp and resp.content then
  13.         local ok, res = pcall(load(resp.content))
  14.         if ok and type(res) == "table" then
  15.             allowed = res
  16.         end
  17.     end
  18. end
  19. local function load_bind()
  20.     local f = io.open("/sdcard/Android/media/.bind.lua", "r")
  21.     if not f then return nil end
  22.     local content = f:read("*a")
  23.     f:close()
  24.     local ok, data = pcall(load(content))
  25.     if ok and type(data) == "table" then
  26.         return data
  27.     end
  28.     return nil
  29. end
  30. local bind = load_bind()
  31. if bind and bind.bind_id and bind.bind_hash then
  32.     local entry = allowed[bind.bind_id]
  33.     if entry and entry.hash == bind.bind_hash then
  34.         block = 0
  35.         gg.alert("內部人員已認證\nID: " .. bind.bind_id .. "\n身份: " .. entry.name)
  36.     end
  37. end
  38. TARGET_LABEL= "貓咪大戰爭"
  39. TARGET_VERSIONNAME= "14.5.1"
  40. TARGET_VERSIONCODE= "1405010"
  41. info = gg.getTargetInfo()
  42. local function check(actual, expected, errmsg)
  43.   if actual ~= expected then
  44.     gg.alert(errmsg .. "\n\n當前: " .. tostring(actual) .. "\n目標: " .. tostring(expected))
  45.     os.exit()
  46.   end
  47. end
  48. --check(info.label, TARGET_LABEL, "進程不匹配!\n你選擇的進程: " .. info.label)
  49. check(info.versionName, TARGET_VERSIONNAME, "版本號不匹配!")
  50. check(info.versionCode, TARGET_VERSIONCODE, "外顯版本號正確,但內部版本號不匹配!")
  51. local date  = tonumber(os.date("%Y%m%d"))
  52. if date >= DATE then
  53. block = 0
  54. end
  55. if block == 1 then
  56.     local menu = gg.alert(
  57.         '腳本已被作者"臨時"禁用!\n' ..
  58.         '原因:腳本寫法改進\n' ..
  59.         '知道密碼的用戶不影響正常使用\n',
  60.         "確定", "使用內部密碼"
  61.     )
  62.     if menu == 0 or menu == 1 then
  63.         os.exit()
  64.     elseif menu == 2 then
  65.         local Passwords = { "admindrew" }
  66.         local input = gg.prompt({ "🔒輸入密碼" }, nil, { "text" })
  67.         if not input then os.exit() end
  68.         local valid = false
  69.         for _, pw in ipairs(Passwords) do
  70.             if input[1] == pw then
  71.                 valid = true
  72.                 break
  73.             end
  74.         end
  75.         if not valid then
  76.             gg.alert("❗ 密碼錯誤")
  77.             os.exit()
  78.         end
  79.     end
  80. end
  81. info=gg.getTargetInfo()
  82. if info.x64 == false then
  83. gg.alert("檢測到32位\n該腳本不支持x86\n僅支持x86_64")
  84. os.exit()
  85. end
  86. cb=gg.getRangesList('libnative-lib.so:bss')[1].start
  87. pointer=gg.getValues({{
  88.              address = (cb) + 0x3CE528,
  89.              flags = 32
  90.                       }})
  91.              pointer_ca=pointer[1].value
  92. bohe_a=(pointer_ca) + 0x4  --id-0--紫色貓薄荷種子
  93. bohe_b=(pointer_ca) + 0xC  --id-1--紅色貓薄荷種子
  94. bohe_c=(pointer_ca) + 0x14  --id-2--藍色貓薄荷種子
  95. bohe_d=(pointer_ca) + 0x1C  --id-3--綠色貓薄荷種子
  96. bohe_e=(pointer_ca) + 0x24  --id-4--黃色貓薄荷種子
  97. bohe_f=(pointer_ca) + 0x6C  --id-13--彩虹貓薄荷種子
  98. bohe_g=(pointer_ca) + 0x7C  --id-15--惡貓薄荷種子
  99. bohe_h=(pointer_ca) + 0x5C  --id-11--古代貓薄荷種子
  100. bohe_i=(pointer_ca) + 0x8C  --id-17--黃金貓薄荷種子
  101. bohe_j=(pointer_ca) + 0x2C  --id-5--紫色貓薄荷種子
  102. bohe_k=(pointer_ca) + 0x34  --id-6--紅色貓薄荷種子
  103. bohe_l=(pointer_ca) + 0x3C  --id-7--藍色貓薄荷種子
  104. bohe_m=(pointer_ca) + 0x44  --id-8--綠色貓薄荷種子
  105. bohe_n=(pointer_ca) + 0x4C  --id-9--黃色貓薄荷種子
  106. bohe_o=(pointer_ca) + 0x54  --id-10--彩虹貓薄荷種子
  107. bohe_p=(pointer_ca) + 0x84  --id-16--惡貓薄荷種子
  108. bohe_q=(pointer_ca) + 0x64  --id-12--古代貓薄荷種子
  109. bohe_r=(pointer_ca) + 0x74  --id-14--黃金貓薄荷種子
  110. shoushi_a=(pointer_ca) + 0x94  --id-18--紫獸石
  111. shoushi_b=(pointer_ca) + 0x9C  --id-19--紅獸石
  112. shoushi_c=(pointer_ca) + 0xA4  --id-20--蒼獸石
  113. shoushi_d=(pointer_ca) + 0xAC  --id-21--翠獸石
  114. shoushi_e=(pointer_ca) + 0xB4  --id-22--黃獸石
  115. shoushi_f=(pointer_ca) + 0xE4  --id-28--彩虹獸石
  116. shoushi_g=(pointer_ca) + 0xBC  --id-23--紫獸結晶
  117. shoushi_h=(pointer_ca) + 0xC4  --id-24--紅獸結晶
  118. shoushi_i=(pointer_ca) + 0xCC  --id-25--蒼獸結晶
  119. shoushi_j=(pointer_ca) + 0xD4  --id-26--翠獸結晶
  120. shoushi_k=(pointer_ca) + 0xDC  --id-27--黃獸結晶
  121. shoulingqi=0x28e8
  122. baijinquan=0x3050
  123. chuanshuoheiquan=(baijinquan)+0x8--no need to modified
  124. baijinquanshuipian=(chuanshuoheiquan)+0x8--no need to modified
  125. zhaofuquan=0x3f28
  126. zhaofuquanG=(zhaofuquan)+0x8--no need to modified
  127. bennengbox=(zhaofuquanG)+0x8--no need to modified
  128. maoguantou=0xc1c0
  129. xp=(maoguantou)+0x158--no need to modified
  130. np=(xp)+0x8--no need to modified
  131. zhandoudaoju=0x4a0d8
  132. yinquan=0x2ff6d4
  133. jinquan=(yinquan)+8--no need to modified
  134. playedtime=0x38c514
  135. maoyanshi=0x40a6c4
  136. miaolida=(maoyanshi)+0x30--no need to modified
  137. sucai=(miaolida)+0x18--no need to modified
  138. 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
  139. function Start()
  140. MAIN = gg.choice({
  141. "首領旗",
  142. "XP",
  143. "NP",
  144. "猫罐頭",
  145. "戰鬥道具",
  146. "喵力達",
  147. "遊戲時數",
  148. "貓眼石",
  149. "抽獎券",
  150. "素材",
  151. "貓薄荷",
  152. "獸石",
  153. "本能寶箱",
  154. "腳本資訊",
  155. "離開",
  156. })
  157. if MAIN == nil then
  158. gg.toast("功能表已收起")
  159. else
  160. if MAIN == 1 then A1() end
  161. if MAIN == 2 then A2() end
  162. if MAIN == 3 then A3() end
  163. if MAIN == 4 then A4() end
  164. if MAIN == 5 then A5() end
  165. if MAIN == 6 then A6() end
  166. if MAIN == 7 then A7() end
  167. if MAIN == 8 then A8() end
  168. if MAIN == 9 then A9() end
  169. if MAIN == 10 then A10() end
  170. if MAIN == 11 then A11() end
  171. if MAIN == 12 then A12() end
  172. if MAIN == 13 then A13() end
  173. if MAIN == 14 then UP() end
  174. if MAIN == 15 then End() end
  175. end
  176. FMXR=-1
  177. end
  178. function A1()
  179. value=gg.prompt({'首領旗'},{"9999"},{"number"})
  180. if value == nil then
  181. gg.toast('已取消')
  182. else
  183. b=value[1]
  184. c=65536
  185. d=b*c
  186. value=d
  187. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  188. py=(shoulingqi)
  189. setvalue(so+py,4,''..value..'')
  190. gg.toast('修改成功')
  191. end
  192. end
  193. function A2()
  194. value=gg.prompt({'XP'},{"99999999"},{"number"})
  195. if value == nil then
  196. gg.toast('已取消')
  197. else
  198. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  199. py=(xp)
  200. setvalue(so+py,4,value[1])
  201. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  202. py=(xp)+0x4
  203. setvalue(so+py,4,0)
  204. gg.toast('修改成功')
  205. end
  206. end
  207. function A3()
  208. value=gg.prompt({'NP'},{"9999"},{"number"})
  209. if value == nil then
  210. gg.toast('已取消')
  211. else
  212. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  213. py=(np)
  214. setvalue(so+py,4,value[1])
  215. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  216. py=(np)+0x4
  217. setvalue(so+py,4,0)
  218. gg.toast('修改成功')
  219. end
  220. end
  221. function A4()
  222. value=gg.prompt({'貓罐頭'},{"50000"},{"number"})
  223. if value == nil then
  224. gg.toast('已取消')
  225. else
  226. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  227. py=(maoguantou)
  228. setvalue(so+py,4,value[1])
  229. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  230. py=(maoguantou)+0x4
  231. setvalue(so+py,4,0)
  232. gg.toast('修改成功')
  233. end
  234. end
  235. function A5()
  236. ZDDJ = gg.choice({
  237. "加速",
  238. "寶物雷達",
  239. "土豪貓",
  240. "貓形電腦",
  241. "洞悉先機",
  242. "狙擊手",
  243. "一鍵全改",
  244. "返回上级目录",
  245. },nil,(([[
  246. 戰鬥道具修改
  247. ]])))
  248. if ZDDJ == nil then
  249. gg.toast('已取消')
  250. else
  251. if ZDDJ == 1 then A501() end
  252. if ZDDJ == 2 then A502() end
  253. if ZDDJ == 3 then A503() end
  254. if ZDDJ == 4 then A504() end
  255. if ZDDJ == 5 then A505() end
  256. if ZDDJ == 6 then A506() end
  257. if ZDDJ == 7 then A507() end
  258. if ZDDJ == 8 then Start() end
  259. end
  260. FMXR=-1
  261. end
  262. function A501()
  263. value=gg.prompt({'戰鬥道具-加速'},{"9999"},{"number"})
  264. if value == nil then
  265. gg.toast('已取消')
  266. else
  267. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  268. py=(zhandoudaoju)
  269. setvalue(so+py,4,value[1])
  270. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  271. py=(zhandoudaoju)+0x4
  272. setvalue(so+py,4,0)
  273. gg.toast('修改成功')
  274. end
  275. end
  276. function A502()
  277. value=gg.prompt({'戰鬥道具-寶物雷達'},{"9999"},{"number"})
  278. if value == nil then
  279. gg.toast('已取消')
  280. else
  281. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  282. py=(zhandoudaoju)+0x8
  283. setvalue(so+py,4,value[1])
  284. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  285. py=(zhandoudaoju)+0x8+0x4
  286. setvalue(so+py,4,0)
  287. gg.toast('修改成功')
  288. end
  289. end
  290. function A503()
  291. value=gg.prompt({'戰鬥道具-土豪貓'},{"9999"},{"number"})
  292. if value == nil then
  293. gg.toast('已取消')
  294. else
  295. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  296. py=(zhandoudaoju)+0x10
  297. setvalue(so+py,4,value[1])
  298. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  299. py=(zhandoudaoju)+0x10+0x4
  300. setvalue(so+py,4,0)
  301. gg.toast('修改成功')
  302. end
  303. end
  304. function A504()
  305. value=gg.prompt({'戰鬥道具-貓型電腦'},{"9999"},{"number"})
  306. if value == nil then
  307. gg.toast('已取消')
  308. else
  309. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  310. py=(zhandoudaoju)+0x18
  311. setvalue(so+py,4,value[1])
  312. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  313. py=(zhandoudaoju)+0x18+0x4
  314. setvalue(so+py,4,0)
  315. gg.toast('修改成功')
  316. end
  317. end
  318. function A505()
  319. value=gg.prompt({'戰鬥道具-洞悉先機'},{"9999"},{"number"})
  320. if value == nil then
  321. gg.toast('已取消')
  322. else
  323. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  324. py=(zhandoudaoju)+0x20
  325. setvalue(so+py,4,value[1])
  326. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  327. py=(zhandoudaoju)+0x20+0x4
  328. setvalue(so+py,4,0)
  329. gg.toast('修改成功')
  330. end
  331. end
  332. function A506()
  333. value=gg.prompt({'戰鬥道具-狙擊手'},{"9999"},{"number"})
  334. if value == nil then
  335. gg.toast('已取消')
  336. else
  337. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  338. py=(zhandoudaoju)+0x28
  339. setvalue(so+py,4,value[1])
  340. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  341. py=(zhandoudaoju)+0x28+0x4
  342. setvalue(so+py,4,0)
  343. gg.toast('修改成功')
  344. end
  345. end
  346. function A507()
  347. value=gg.prompt({'戰鬥道具(一鍵全改)'},{"9999"},{"number"})
  348. if value == nil then
  349. gg.toast('已取消')
  350. else
  351. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  352. py=(zhandoudaoju)
  353. setvalue(so+py,4,value[1])
  354. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  355. py=(zhandoudaoju)+0x4
  356. setvalue(so+py,4,0)
  357. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  358. py=(zhandoudaoju)+0x8
  359. setvalue(so+py,4,value[1])
  360. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  361. py=(zhandoudaoju)+0x8+0x4
  362. setvalue(so+py,4,0)
  363. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  364. py=(zhandoudaoju)+0x10
  365. setvalue(so+py,4,value[1])
  366. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  367. py=(zhandoudaoju)+0x10+0x4
  368. setvalue(so+py,4,0)
  369. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  370. py=(zhandoudaoju)+0x18
  371. setvalue(so+py,4,value[1])
  372. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  373. py=(zhandoudaoju)+0x18+0x4
  374. setvalue(so+py,4,0)
  375. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  376. py=(zhandoudaoju)+0x20
  377. setvalue(so+py,4,value[1])
  378. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  379. py=(zhandoudaoju)+0x20+0x4
  380. setvalue(so+py,4,0)
  381. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  382. py=(zhandoudaoju)+0x28
  383. setvalue(so+py,4,value[1])
  384. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  385. py=(zhandoudaoju)+0x28+0x4
  386. setvalue(so+py,4,0)
  387. gg.toast('修改成功')
  388. end
  389. end
  390. function A6()
  391. MLD = gg.choice({
  392. "喵力達-A",
  393. "喵力達-B",
  394. "喵力達-C",
  395. "一鍵全改",
  396. "返回上级目录",
  397. },nil,(([[
  398. 喵力達修改
  399. ]])))
  400. if MLD == nil then
  401. gg.toast('已取消')
  402. else
  403. if MLD == 1 then A601() end
  404. if MLD == 2 then A602() end
  405. if MLD == 3 then A603() end
  406. if MLD == 4 then A604() end
  407. if MLD == 5 then Start() end
  408. end
  409. FMXR=-1
  410. end
  411. function A601()
  412. value=gg.prompt({'喵力達-A'},{"9999"},{"number"})
  413. if value == nil then
  414. gg.toast('已取消')
  415. else
  416. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  417. py=(miaolida)
  418. setvalue(so+py,4,value[1])
  419. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  420. py=(miaolida)+0x4
  421. setvalue(so+py,4,0)
  422. gg.toast('修改成功')
  423. end
  424. end
  425. function A602()
  426. value=gg.prompt({'喵力達-B'},{"9999"},{"number"})
  427. if value == nil then
  428. gg.toast('已取消')
  429. else
  430. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  431. py=(miaolida)+0x8
  432. setvalue(so+py,4,value[1])
  433. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  434. py=(miaolida)+0x8+0x4
  435. setvalue(so+py,4,0)
  436. gg.toast('修改成功')
  437. end
  438. end
  439. function A603()
  440. value=gg.prompt({'喵力達-C'},{"9999"},{"number"})
  441. if value == nil then
  442. gg.toast('已取消')
  443. else
  444. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  445. py=(miaolida)+0x10
  446. setvalue(so+py,4,value[1])
  447. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  448. py=(miaolida)+0x10+0x4
  449. setvalue(so+py,4,0)
  450. gg.toast('修改成功')
  451. end
  452. end
  453. function A604()
  454. value=gg.prompt({'喵力達(一鍵全改)'},{"9999"},{"number"})
  455. if value == nil then
  456. gg.toast('已取消')
  457. else
  458. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  459. py=(miaolida)
  460. setvalue(so+py,4,value[1])
  461. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  462. py=(miaolida)+0x4
  463. setvalue(so+py,4,0)
  464. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  465. py=(miaolida)+0x8
  466. setvalue(so+py,4,value[1])
  467. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  468. py=(miaolida)+0x8+0x4
  469. setvalue(so+py,4,0)
  470. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  471. py=(miaolida)+0x10
  472. setvalue(so+py,4,value[1])
  473. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  474. py=(miaolida)+0x10+0x4
  475. setvalue(so+py,4,0)
  476. gg.toast('修改成功')
  477. end
  478. end
  479. function A7()
  480. value=gg.prompt({'遊戲時數'},{"9999"},{"number"})
  481. if value == nil then
  482. gg.toast('已取消')
  483. else
  484. a=value[1]
  485. b=3600
  486. c=30
  487. d=a*b*c
  488. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  489. py=(playedtime)
  490. setvalue(so+py,4,''..d..'')
  491. gg.toast('修改成功')
  492. end
  493. end
  494. function A8()
  495. MYS = gg.choice({
  496. "貓眼石(EX)",
  497. "貓眼石(稀有)",
  498. "貓眼石(激稀有)",
  499. "貓眼石(超激稀有)",
  500. "貓眼石(傳說)",
  501. "貓眼石(闇)",
  502. "一鍵全改",
  503. "返回上级目录",
  504. },nil,(([[
  505. 貓眼石修改
  506. ]])))
  507. if MYS == nil then
  508. gg.toast('已取消')
  509. else
  510. if MYS == 1 then A801() end
  511. if MYS == 2 then A802() end
  512. if MYS == 3 then A803() end
  513. if MYS == 4 then A804() end
  514. if MYS == 5 then A805() end
  515. if MYS == 6 then A806() end
  516. if MYS == 7 then A807() end
  517. if MYS == 8 then Start() end
  518. end
  519. FMXR=-1
  520. end
  521. function A801()
  522. value=gg.prompt({'貓眼石(EX)'},{"999"},{"number"})
  523. if value == nil then
  524. gg.toast('已取消')
  525. else
  526. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  527. py=(maoyanshi)
  528. setvalue(so+py,4,value[1])
  529. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  530. py=(maoyanshi)+0x4
  531. setvalue(so+py,4,0)
  532. gg.toast('修改成功')
  533. end
  534. end
  535. function A802()
  536. value=gg.prompt({'貓眼石(稀有)'},{"999"},{"number"})
  537. if value == nil then
  538. gg.toast('已取消')
  539. else
  540. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  541. py=(maoyanshi)+0x8
  542. setvalue(so+py,4,value[1])
  543. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  544. py=(maoyanshi)+0x8+0x4
  545. setvalue(so+py,4,0)
  546. gg.toast('修改成功')
  547. end
  548. end
  549. function A803()
  550. value=gg.prompt({'貓眼石(激稀有)'},{"999"},{"number"})
  551. if value == nil then
  552. gg.toast('已取消')
  553. else
  554. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  555. py=(maoyanshi)+0x10
  556. setvalue(so+py,4,value[1])
  557. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  558. py=(maoyanshi)+0x10+0x4
  559. setvalue(so+py,4,0)
  560. gg.toast('修改成功')
  561. end
  562. end
  563. function A804()
  564. value=gg.prompt({'貓眼石(超激稀有)'},{"999"},{"number"})
  565. if value == nil then
  566. gg.toast('已取消')
  567. else
  568. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  569. py=(maoyanshi)+0x18
  570. setvalue(so+py,4,value[1])
  571. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  572. py=(maoyanshi)+0x18+0x4
  573. setvalue(so+py,4,0)
  574. gg.toast('修改成功')
  575. end
  576. end
  577. function A805()
  578. value=gg.prompt({'貓眼石(傳說)'},{"999"},{"number"})
  579. if value == nil then
  580. gg.toast('已取消')
  581. else
  582. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  583. py=(maoyanshi)+0x20
  584. setvalue(so+py,4,value[1])
  585. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  586. py=(maoyanshi)+0x20+0x4
  587. setvalue(so+py,4,0)
  588. gg.toast('修改成功')
  589. end
  590. end
  591. function A806()
  592. value=gg.prompt({'貓眼石(闇)'},{"999"},{"number"})
  593. if value == nil then
  594. gg.toast('已取消')
  595. else
  596. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  597. py=(maoyanshi)+0x28
  598. setvalue(so+py,4,value[1])
  599. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  600. py=(maoyanshi)+0x28+0x4
  601. setvalue(so+py,4,0)
  602. gg.toast('修改成功')
  603. end
  604. end
  605. function A807()
  606. value=gg.prompt({'貓眼石(一鍵全改)'},{"999"},{"number"})
  607. if value == nil then
  608. gg.toast('已取消')
  609. else
  610. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  611. py=(maoyanshi)
  612. setvalue(so+py,4,value[1])
  613. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  614. py=(maoyanshi)+4
  615. setvalue(so+py,4,0)
  616. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  617. py=(maoyanshi)+8
  618. setvalue(so+py,4,value[1])
  619. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  620. py=(maoyanshi)+8+4
  621. setvalue(so+py,4,0)
  622. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  623. py=(maoyanshi)+16
  624. setvalue(so+py,4,value[1])
  625. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  626. py=(maoyanshi)+16+4
  627. setvalue(so+py,4,0)
  628. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  629. py=(maoyanshi)+24
  630. setvalue(so+py,4,value[1])
  631. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  632. py=(maoyanshi)+24+4
  633. setvalue(so+py,4,0)
  634. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  635. py=(maoyanshi)+32
  636. setvalue(so+py,4,value[1])
  637. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  638. py=(maoyanshi)+32+4
  639. setvalue(so+py,4,0)
  640. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  641. py=(maoyanshi)+40
  642. setvalue(so+py,4,value[1])
  643. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  644. py=(maoyanshi)+40+4
  645. setvalue(so+py,4,0)
  646. gg.toast('修改成功')
  647. end
  648. end
  649. function A9()
  650. CJQ = gg.choice({
  651. "銀券",
  652. "金券",
  653. "招福券",
  654. "招福券G",
  655. "白金券",
  656. "白金券碎片",
  657. "傳說黑券",
  658. "活動-傳說的入場券",
  659. "返回上级目录",
  660. },nil,(([[
  661. 抽獎券修改
  662. ]])))
  663. if CJQ == nil then
  664. gg.toast('已取消')
  665. else
  666. if CJQ == 1 then A901() end
  667. if CJQ == 2 then A902() end
  668. if CJQ == 3 then A903() end
  669. if CJQ == 4 then A904() end
  670. if CJQ == 5 then A905() end
  671. if CJQ == 6 then A906() end
  672. if CJQ == 7 then A907() end
  673. if CJQ == 8 then A908() end
  674. if CJQ == 9 then Start() end
  675. end
  676. FMXR=-1
  677. end
  678. function A901()
  679. value=gg.prompt({'银券-理論最大值>2999'},{"999"},{"number"})
  680. if value == nil then
  681. gg.toast('已取消')
  682. else
  683. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  684. py=(yinquan)
  685. setvalue(so+py,4,value[1])
  686. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  687. py=(yinquan)+0x4
  688. setvalue(so+py,4,0)
  689. gg.toast('修改成功')
  690. end
  691. end
  692. function A902()
  693. value=gg.prompt({'金券-安全值>299'},{"299"},{"number"})
  694. if value == nil then
  695. gg.toast('已取消')
  696. else
  697. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  698. py=(jinquan)
  699. setvalue(so+py,4,value[1])
  700. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  701. py=(jinquan)+0x4
  702. setvalue(so+py,4,0)
  703. gg.toast('修改成功')
  704. end
  705. end
  706. function A903()
  707. value=gg.prompt({'招福抽奖券'},{"999"},{"number"})
  708. if value == nil then
  709. gg.toast('已取消')
  710. else
  711. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  712. py=(zhaofuquan)
  713. setvalue(so+py,4,value[1])
  714. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  715. py=(zhaofuquan)+0x4
  716. setvalue(so+py,4,0)
  717. gg.toast('修改成功')
  718. end
  719. end
  720. function A904()
  721. value=gg.prompt({'招福G抽獎券'},{"999"},{"number"})
  722. if value == nil then
  723. gg.toast('已取消')
  724. else
  725. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  726. py=(zhaofuquanG)
  727. setvalue(so+py,4,value[1])
  728. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  729. py=(zhaofuquanG)+0x4
  730. setvalue(so+py,4,0)
  731. gg.toast('修改成功')
  732. end
  733. end
  734. function A905()
  735. value=gg.prompt({'白金抽獎券'},{"9"},{"number"})
  736. if value == nil then
  737. gg.toast('已取消')
  738. else
  739. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  740. py=(baijinquan)
  741. setvalue(so+py,4,value[1])
  742. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  743. py=(baijinquan)+0x4
  744. setvalue(so+py,4,0)
  745. gg.toast('修改成功')
  746. end
  747. end
  748. function A906()
  749. value=gg.prompt({'白金抽獎券碎片'},{"9"},{"number"})
  750. if value == nil then
  751. gg.toast('已取消')
  752. else
  753. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  754. py=(baijinquanshuipian)
  755. setvalue(so+py,4,value[1])
  756. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  757. py=(baijinquanshuipian)+0x4
  758. setvalue(so+py,4,0)
  759. gg.toast('修改成功')
  760. end
  761. end
  762. function A907()
  763. value=gg.prompt({'黑金券'},{"4"},{"number"})
  764. if value == nil then
  765. gg.toast('已取消')
  766. else
  767. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  768. py=(chuanshuoheiquan)
  769. setvalue(so+py,4,value[1])
  770. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  771. py=(chuanshuoheiquan)+0x4
  772. setvalue(so+py,4,0)
  773. gg.toast('修改成功')
  774. end
  775. end
  776. function A908()
  777. if(exp) == 1 then
  778. gg.alert("該活動抽獎券已過期!")
  779. else
  780. value=gg.prompt({'活動-傳說的入場券'},{"999"},{"number"})
  781. if value == nil then
  782. gg.toast('已取消')
  783. else
  784. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  785. py=0x3000E8
  786. setvalue(so+py,4,value[1])
  787. gg.toast('修改成功')
  788. end
  789. end
  790. end
  791. function A10()
  792. SC = gg.choice({
  793. "紅磚",
  794. "羽毛",
  795. "備長炭",
  796. "鋼製齒輪",
  797. "黃金",
  798. "宇宙石",
  799. "神秘骨頭",
  800. "菊石",
  801. "紅磚Z",
  802. "羽毛Z",
  803. "備長炭Z",
  804. "鋼製齒輪Z",
  805. "黃金Z",
  806. "宇宙石Z",
  807. "神秘骨頭Z",
  808. "菊石Z",
  809. "一鍵全改",
  810. "返回上级目录",
  811. },nil,(([[
  812. 素材修改
  813. ]])))
  814. if SC == nil then
  815. gg.toast('已取消')
  816. else
  817. if SC == 1 then A1001() end
  818. if SC == 2 then A1002() end
  819. if SC == 3 then A1003() end
  820. if SC == 4 then A1004() end
  821. if SC == 5 then A1005() end
  822. if SC == 6 then A1006() end
  823. if SC == 7 then A1007() end
  824. if SC == 8 then A1008() end
  825. if SC == 9 then A1009() end
  826. if SC == 10 then A1010() end
  827. if SC == 11 then A1011() end
  828. if SC == 12 then A1012() end
  829. if SC == 13 then A1013() end
  830. if SC == 14 then A1014() end
  831. if SC == 15 then A1015() end
  832. if SC == 16 then A1016() end
  833. if SC == 17 then A1017() end
  834. if SC == 18 then Start() end
  835. end
  836. FMXR=-1
  837. end
  838. function A1001()
  839. value=gg.prompt({'素材-紅磚'},{"9999"},{"number"})
  840. if value == nil then
  841. gg.toast('已取消')
  842. else
  843. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  844. py=(sucai)
  845. setvalue(so+py,4,value[1])
  846. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  847. py=(sucai)+0x4
  848. setvalue(so+py,4,0)
  849. gg.toast('修改成功')
  850. end
  851. end
  852. function A1002()
  853. value=gg.prompt({'素材-羽毛'},{"9999"},{"number"})
  854. if value == nil then
  855. gg.toast('已取消')
  856. else
  857. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  858. py=(sucai)+0x8
  859. setvalue(so+py,4,value[1])
  860. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  861. py=(sucai)+0x8+0x4
  862. setvalue(so+py,4,0)
  863. gg.toast('修改成功')
  864. end
  865. end
  866. function A1003()
  867. value=gg.prompt({'素材-備長炭'},{"9999"},{"number"})
  868. if value == nil then
  869. gg.toast('已取消')
  870. else
  871. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  872. py=(sucai)+0x10
  873. setvalue(so+py,4,value[1])
  874. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  875. py=(sucai)+0x10+0x4
  876. setvalue(so+py,4,0)
  877. gg.toast('修改成功')
  878. end
  879. end
  880. function A1004()
  881. value=gg.prompt({'素材-鋼製齒輪'},{"9999"},{"number"})
  882. if value == nil then
  883. gg.toast('已取消')
  884. else
  885. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  886. py=(sucai)+0x18
  887. setvalue(so+py,4,value[1])
  888. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  889. py=(sucai)+0x18+0x4
  890. setvalue(so+py,4,0)
  891. gg.toast('修改成功')
  892. end
  893. end
  894. function A1005()
  895. value=gg.prompt({'素材-黃金'},{"9999"},{"number"})
  896. if value == nil then
  897. gg.toast('已取消')
  898. else
  899. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  900. py=(sucai)+0x20
  901. setvalue(so+py,4,value[1])
  902. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  903. py=(sucai)+0x20+0x4
  904. setvalue(so+py,4,0)
  905. gg.toast('修改成功')
  906. end
  907. end
  908. function A1006()
  909. value=gg.prompt({'素材-宇宙石'},{"9999"},{"number"})
  910. if value == nil then
  911. gg.toast('已取消')
  912. else
  913. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  914. py=(sucai)+0x28
  915. setvalue(so+py,4,value[1])
  916. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  917. py=(sucai)+0x28+0x4
  918. setvalue(so+py,4,0)
  919. gg.toast('修改成功')
  920. end
  921. end
  922. function A1007()
  923. value=gg.prompt({'素材-神秘骨頭'},{"9999"},{"number"})
  924. if value == nil then
  925. gg.toast('已取消')
  926. else
  927. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  928. py=(sucai)+0x30
  929. setvalue(so+py,4,value[1])
  930. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  931. py=(sucai)+0x30+0x4
  932. setvalue(so+py,4,0)
  933. gg.toast('修改成功')
  934. end
  935. end
  936. function A1008()
  937. value=gg.prompt({'素材-菊石'},{"9999"},{"number"})
  938. if value == nil then
  939. gg.toast('已取消')
  940. else
  941. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  942. py=(sucai)+0x38
  943. setvalue(so+py,4,value[1])
  944. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  945. py=(sucai)+0x38+0x4
  946. setvalue(so+py,4,0)
  947. gg.toast('修改成功')
  948. end
  949. end
  950. function A1009()
  951. value=gg.prompt({'素材-紅磚Z'},{"9999"},{"number"})
  952. if value == nil then
  953. gg.toast('已取消')
  954. else
  955. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  956. py=(sucai)+0x40
  957. setvalue(so+py,4,value[1])
  958. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  959. py=(sucai)+0x40+0x4
  960. setvalue(so+py,4,0)
  961. gg.toast('修改成功')
  962. end
  963. end
  964. function A1010()
  965. value=gg.prompt({'素材-羽毛Z'},{"9999"},{"number"})
  966. if value == nil then
  967. gg.toast('已取消')
  968. else
  969. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  970. py=(sucai)+0x48
  971. setvalue(so+py,4,value[1])
  972. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  973. py=(sucai)+0x48+0x4
  974. setvalue(so+py,4,0)
  975. gg.toast('修改成功')
  976. end
  977. end
  978. function A1011()
  979. value=gg.prompt({'素材-備長炭Z'},{"9999"},{"number"})
  980. if value == nil then
  981. gg.toast('已取消')
  982. else
  983. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  984. py=(sucai)+0x50
  985. setvalue(so+py,4,value[1])
  986. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  987. py=(sucai)+0x50+0x4
  988. setvalue(so+py,4,0)
  989. gg.toast('修改成功')
  990. end
  991. end
  992. function A1012()
  993. value=gg.prompt({'素材-鋼製齒輪Z'},{"9999"},{"number"})
  994. if value == nil then
  995. gg.toast('已取消')
  996. else
  997. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  998. py=(sucai)+0x58
  999. setvalue(so+py,4,value[1])
  1000. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1001. py=(sucai)+0x58+0x4
  1002. setvalue(so+py,4,0)
  1003. gg.toast('修改成功')
  1004. end
  1005. end
  1006. function A1013()
  1007. value=gg.prompt({'素材-黃金Z'},{"9999"},{"number"})
  1008. if value == nil then
  1009. gg.toast('已取消')
  1010. else
  1011. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1012. py=(sucai)+0x60
  1013. setvalue(so+py,4,value[1])
  1014. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1015. py=(sucai)+0x60+0x4
  1016. setvalue(so+py,4,0)
  1017. gg.toast('修改成功')
  1018. end
  1019. end
  1020. function A1014()
  1021. value=gg.prompt({'素材-宇宙石Z'},{"9999"},{"number"})
  1022. if value == nil then
  1023. gg.toast('已取消')
  1024. else
  1025. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1026. py=(sucai)+0x68
  1027. setvalue(so+py,4,value[1])
  1028. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1029. py=(sucai)+0x68+0x4
  1030. setvalue(so+py,4,0)
  1031. gg.toast('修改成功')
  1032. end
  1033. end
  1034. function A1015()
  1035. value=gg.prompt({'素材-神秘骨頭Z'},{"9999"},{"number"})
  1036. if value == nil then
  1037. gg.toast('已取消')
  1038. else
  1039. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1040. py=(sucai)+0x70
  1041. setvalue(so+py,4,value[1])
  1042. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1043. py=(sucai)+0x70+0x4
  1044. setvalue(so+py,4,0)
  1045. gg.toast('修改成功')
  1046. end
  1047. end
  1048. function A1016()
  1049. value=gg.prompt({'素材-菊石Z'},{"9999"},{"number"})
  1050. if value == nil then
  1051. gg.toast('已取消')
  1052. else
  1053. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1054. py=(sucai)+0x78
  1055. setvalue(so+py,4,value[1])
  1056. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1057. py=(sucai)+0x78+0x4
  1058. setvalue(so+py,4,0)
  1059. gg.toast('修改成功')
  1060. end
  1061. end
  1062. function A1017()
  1063. value=gg.prompt({'素材(一鍵全改)'},{"9999"},{"number"})
  1064. if value == nil then
  1065. gg.toast('已取消')
  1066. else
  1067. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1068. py=(sucai)
  1069. setvalue(so+py,4,value[1])
  1070. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1071. py=(sucai)+0x4
  1072. setvalue(so+py,4,0)
  1073. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1074. py=(sucai)+0x8
  1075. setvalue(so+py,4,value[1])
  1076. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1077. py=(sucai)+0x8+0x4
  1078. setvalue(so+py,4,0)
  1079. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1080. py=(sucai)+0x10
  1081. setvalue(so+py,4,value[1])
  1082. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1083. py=(sucai)+0x10+0x4
  1084. setvalue(so+py,4,0)
  1085. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1086. py=(sucai)+0x18
  1087. setvalue(so+py,4,value[1])
  1088. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1089. py=(sucai)+0x18+0x4
  1090. setvalue(so+py,4,0)
  1091. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1092. py=(sucai)+0x20
  1093. setvalue(so+py,4,value[1])
  1094. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1095. py=(sucai)+0x20+0x4
  1096. setvalue(so+py,4,0)
  1097. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1098. py=(sucai)+0x28
  1099. setvalue(so+py,4,value[1])
  1100. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1101. py=(sucai)+0x28+0x4
  1102. setvalue(so+py,4,0)
  1103. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1104. py=(sucai)+0x30
  1105. setvalue(so+py,4,value[1])
  1106. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1107. py=(sucai)+0x30+0x4
  1108. setvalue(so+py,4,0)
  1109. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1110. py=(sucai)+0x38
  1111. setvalue(so+py,4,value[1])
  1112. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1113. py=(sucai)+0x38+0x4
  1114. setvalue(so+py,4,0)
  1115. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1116. py=(sucai)+0x40
  1117. setvalue(so+py,4,value[1])
  1118. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1119. py=(sucai)+0x40+0x4
  1120. setvalue(so+py,4,0)
  1121. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1122. py=(sucai)+0x48
  1123. setvalue(so+py,4,value[1])
  1124. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1125. py=(sucai)+0x48+0x4
  1126. setvalue(so+py,4,0)
  1127. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1128. py=(sucai)+0x50
  1129. setvalue(so+py,4,value[1])
  1130. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1131. py=(sucai)+0x50+0x4
  1132. setvalue(so+py,4,0)
  1133. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1134. py=(sucai)+0x58
  1135. setvalue(so+py,4,value[1])
  1136. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1137. py=(sucai)+0x58+0x4
  1138. setvalue(so+py,4,0)
  1139. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1140. py=(sucai)+0x60
  1141. setvalue(so+py,4,value[1])
  1142. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1143. py=(sucai)+0x60+0x4
  1144. setvalue(so+py,4,0)
  1145. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1146. py=(sucai)+0x68
  1147. setvalue(so+py,4,value[1])
  1148. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1149. py=(sucai)+0x68+0x4
  1150. setvalue(so+py,4,0)
  1151. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1152. py=(sucai)+0x70
  1153. setvalue(so+py,4,value[1])
  1154. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1155. py=(sucai)+0x70+0x4
  1156. setvalue(so+py,4,0)
  1157. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1158. py=(sucai)+0x78
  1159. setvalue(so+py,4,value[1])
  1160. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1161. py=(sucai)+0x78+0x4
  1162. setvalue(so+py,4,0)
  1163. gg.toast('修改成功')
  1164. end
  1165. end
  1166. function A11()
  1167. MBH = gg.choice({
  1168. "紫色貓薄荷種子",
  1169. "紅色貓薄荷種子",
  1170. "藍色貓薄荷種子",
  1171. "綠色貓薄荷種子",
  1172. "黃色貓薄荷種子",
  1173. "彩色貓薄種子",
  1174. "惡貓薄荷種子",
  1175. "古代貓薄荷種子",
  1176. "黄金貓薄荷種子",
  1177. "紫色貓薄荷",
  1178. "紅色貓薄荷",
  1179. "藍色貓薄荷",
  1180. "綠色貓薄荷",
  1181. "黃色貓薄荷",
  1182. "彩色貓薄荷",
  1183. "惡貓貓薄荷",
  1184. "古代貓薄荷",
  1185. "黃金貓薄荷",
  1186. "一鍵全改",
  1187. "返回上级目录",
  1188. },nil,(([[
  1189. 貓薄荷修改
  1190. ]])))
  1191. if MBH == nil then
  1192. gg.toast('已取消')
  1193. else
  1194. if MBH == 1 then A1101() end
  1195. if MBH == 2 then A1102() end
  1196. if MBH == 3 then A1103() end
  1197. if MBH == 4 then A1104() end
  1198. if MBH == 5 then A1105() end
  1199. if MBH == 6 then A1106() end
  1200. if MBH == 7 then A1107() end
  1201. if MBH == 8 then A1108() end
  1202. if MBH == 9 then A1109() end
  1203. if MBH == 10 then A1110() end
  1204. if MBH == 11 then A1111() end
  1205. if MBH == 12 then A1112() end
  1206. if MBH == 13 then A1113() end
  1207. if MBH == 14 then A1114() end
  1208. if MBH == 15 then A1115() end
  1209. if MBH == 16 then A1116() end
  1210. if MBH == 17 then A1117() end
  1211. if MBH == 18 then A1118() end
  1212. if MBH == 19 then A1119() end
  1213. if MBH == 20 then Start() end
  1214. end
  1215. FMXR=-1
  1216. end
  1217. function A1101()
  1218. value=gg.prompt({'紫色貓薄荷種子'},{"998"},{"number"})
  1219. if value == nil then
  1220. gg.toast('已取消')
  1221. else
  1222. gg.setValues({{
  1223.         address = (bohe_a),
  1224.         flags = 4,
  1225.         value= value[1]
  1226.             }})
  1227. gg.toast('修改成功')
  1228. end
  1229. end
  1230. function A1102()
  1231. value=gg.prompt({'紅色貓薄荷種子'},{"998"},{"number"})
  1232. if value == nil then
  1233. gg.toast('已取消')
  1234. else
  1235. gg.setValues({{
  1236.         address = (bohe_b),
  1237.         flags = 4,
  1238.         value= value[1]
  1239.             }})
  1240. gg.toast('修改成功')
  1241. end
  1242. end
  1243. function A1103()
  1244. value=gg.prompt({'藍色貓薄荷種子'},{"998"},{"number"})
  1245. if value == nil then
  1246. gg.toast('已取消')
  1247. else
  1248. gg.setValues({{
  1249.         address = (bohe_c),
  1250.         flags = 4,
  1251.         value= value[1]
  1252.             }})
  1253. gg.toast('修改成功')
  1254. end
  1255. end
  1256. function A1104()
  1257. value=gg.prompt({'綠色貓薄荷種子'},{"998"},{"number"})
  1258. if value == nil then
  1259. gg.toast('已取消')
  1260. else
  1261. gg.setValues({{
  1262.         address = (bohe_d),
  1263.         flags = 4,
  1264.         value= value[1]
  1265.             }})
  1266. gg.toast('修改成功')
  1267. end
  1268. end
  1269. function A1105()
  1270. value=gg.prompt({'黃色貓薄荷種子'},{"998"},{"number"})
  1271. if value == nil then
  1272. gg.toast('已取消')
  1273. else
  1274. gg.setValues({{
  1275.         address = (bohe_e),
  1276.         flags = 4,
  1277.         value= value[1]
  1278.             }})
  1279. gg.toast('修改成功')
  1280. end
  1281. end
  1282. function A1106()
  1283. value=gg.prompt({'彩色貓薄種子'},{"998"},{"number"})
  1284. if value == nil then
  1285. gg.toast('已取消')
  1286. else
  1287. gg.setValues({{
  1288.         address = (bohe_f),
  1289.         flags = 4,
  1290.         value= value[1]
  1291.             }})
  1292. gg.toast('修改成功')
  1293. end
  1294. end
  1295. function A1107()
  1296. value=gg.prompt({'惡貓薄荷種子'},{"998"},{"number"})
  1297. if value == nil then
  1298. gg.toast('已取消')
  1299. else
  1300. gg.setValues({{
  1301.         address = (bohe_g),
  1302.         flags = 4,
  1303.         value= value[1]
  1304.             }})
  1305. gg.toast('修改成功')
  1306. end
  1307. end
  1308. function A1108()
  1309. value=gg.prompt({'古代貓薄荷種子'},{"998"},{"number"})
  1310. if value == nil then
  1311. gg.toast('已取消')
  1312. else
  1313. gg.setValues({{
  1314.         address = (bohe_h),
  1315.         flags = 4,
  1316.         value= value[1]
  1317.             }})
  1318. gg.toast('修改成功')
  1319. end
  1320. end
  1321. function A1109()
  1322. value=gg.prompt({'黄金貓薄荷種子'},{"998"},{"number"})
  1323. if value == nil then
  1324. gg.toast('已取消')
  1325. else
  1326. gg.setValues({{
  1327.         address = (bohe_i),
  1328.         flags = 4,
  1329.         value= value[1]
  1330.             }})
  1331. gg.toast('修改成功')
  1332. end
  1333. end
  1334. function A1110()
  1335. value=gg.prompt({'紫色貓薄荷'},{"998"},{"number"})
  1336. if value == nil then
  1337. gg.toast('已取消')
  1338. else
  1339. gg.setValues({{
  1340.         address = (bohe_j),
  1341.         flags = 4,
  1342.         value= value[1]
  1343.             }})
  1344. gg.toast('修改成功')
  1345. end
  1346. end
  1347. function A1111()
  1348. value=gg.prompt({'紅色貓薄荷'},{"998"},{"number"})
  1349. if value == nil then
  1350. gg.toast('已取消')
  1351. else
  1352. gg.setValues({{
  1353.         address = (bohe_k),
  1354.         flags = 4,
  1355.         value= value[1]
  1356.             }})
  1357. gg.toast('修改成功')
  1358. end
  1359. end
  1360. function A1112()
  1361. value=gg.prompt({'藍色貓薄荷'},{"998"},{"number"})
  1362. if value == nil then
  1363. gg.toast('已取消')
  1364. else
  1365. gg.setValues({{
  1366.         address = (bohe_l),
  1367.         flags = 4,
  1368.         value= value[1]
  1369.             }})
  1370. gg.toast('修改成功')
  1371. end
  1372. end
  1373. function A1113()
  1374. value=gg.prompt({'綠色貓薄荷'},{"998"},{"number"})
  1375. if value == nil then
  1376. gg.toast('已取消')
  1377. else
  1378. gg.setValues({{
  1379.         address = (bohe_m),
  1380.         flags = 4,
  1381.         value= value[1]
  1382.             }})
  1383. gg.toast('修改成功')
  1384. end
  1385. end
  1386. function A1114()
  1387. value=gg.prompt({'黃色貓薄荷'},{"998"},{"number"})
  1388. if value == nil then
  1389. gg.toast('已取消')
  1390. else
  1391. gg.setValues({{
  1392.         address = (bohe_n),
  1393.         flags = 4,
  1394.         value= value[1]
  1395.             }})
  1396. gg.toast('修改成功')
  1397. end
  1398. end
  1399. function A1115()
  1400. value=gg.prompt({'彩色貓薄荷'},{"998"},{"number"})
  1401. if value == nil then
  1402. gg.toast('已取消')
  1403. else
  1404. gg.setValues({{
  1405.         address = (bohe_o),
  1406.         flags = 4,
  1407.         value= value[1]
  1408.             }})
  1409. gg.toast('修改成功')
  1410. end
  1411. end
  1412. function A1116()
  1413. value=gg.prompt({'惡貓貓薄荷'},{"998"},{"number"})
  1414. if value == nil then
  1415. gg.toast('已取消')
  1416. else
  1417. gg.setValues({{
  1418.         address = (bohe_p),
  1419.         flags = 4,
  1420.         value= value[1]
  1421.             }})
  1422. gg.toast('修改成功')
  1423. end
  1424. end
  1425. function A1117()
  1426. value=gg.prompt({'古代貓薄荷'},{"998"},{"number"})
  1427. if value == nil then
  1428. gg.toast('已取消')
  1429. else
  1430. gg.setValues({{
  1431.         address = (bohe_q),
  1432.         flags = 4,
  1433.         value= value[1]
  1434.             }})
  1435. gg.toast('修改成功')
  1436. end
  1437. end
  1438. function A1118()
  1439. value=gg.prompt({'黃金貓薄荷'},{"998"},{"number"})
  1440. if value == nil then
  1441. gg.toast('已取消')
  1442. else
  1443. gg.setValues({{
  1444.         address = (bohe_r),
  1445.         flags = 4,
  1446.         value= value[1]
  1447.             }})
  1448. gg.toast('修改成功')
  1449. end
  1450. end
  1451. function A1119()
  1452. value=gg.prompt({'貓薄荷(一鍵全改)'},{"998"},{"number"})
  1453. if value == nil then
  1454. gg.toast('已取消')
  1455. else
  1456. gg.setValues({{
  1457.         address = (bohe_a),
  1458.         flags = 4,
  1459.         value= value[1]
  1460.             }})
  1461. gg.setValues({{
  1462.         address = (bohe_b),
  1463.         flags = 4,
  1464.         value= value[1]
  1465.             }})
  1466. gg.setValues({{
  1467.         address = (bohe_c),
  1468.         flags = 4,
  1469.         value= value[1]
  1470.             }})
  1471. gg.setValues({{
  1472.         address = (bohe_d),
  1473.         flags = 4,
  1474.         value= value[1]
  1475.             }})
  1476. gg.setValues({{
  1477.         address = (bohe_e),
  1478.         flags = 4,
  1479.         value= value[1]
  1480.             }})
  1481. gg.setValues({{
  1482.         address = (bohe_f),
  1483.         flags = 4,
  1484.         value= value[1]
  1485.             }})
  1486. gg.setValues({{
  1487.         address = (bohe_g),
  1488.         flags = 4,
  1489.         value= value[1]
  1490.             }})
  1491. gg.setValues({{
  1492.         address = (bohe_h),
  1493.         flags = 4,
  1494.         value= value[1]
  1495.             }})
  1496. gg.setValues({{
  1497.         address = (bohe_i),
  1498.         flags = 4,
  1499.         value= value[1]
  1500.             }})
  1501. gg.setValues({{
  1502.         address = (bohe_j),
  1503.         flags = 4,
  1504.         value= value[1]
  1505.             }})
  1506. gg.setValues({{
  1507.         address = (bohe_k),
  1508.         flags = 4,
  1509.         value= value[1]
  1510.             }})
  1511. gg.setValues({{
  1512.         address = (bohe_l),
  1513.         flags = 4,
  1514.         value= value[1]
  1515.             }})
  1516. gg.setValues({{
  1517.         address = (bohe_m),
  1518.         flags = 4,
  1519.         value= value[1]
  1520.             }})
  1521. gg.setValues({{
  1522.         address = (bohe_n),
  1523.         flags = 4,
  1524.         value= value[1]
  1525.             }})
  1526. gg.setValues({{
  1527.         address = (bohe_o),
  1528.         flags = 4,
  1529.         value= value[1]
  1530.             }})
  1531. gg.setValues({{
  1532.         address = (bohe_p),
  1533.         flags = 4,
  1534.         value= value[1]
  1535.             }})
  1536. gg.setValues({{
  1537.         address = (bohe_q),
  1538.         flags = 4,
  1539.         value= value[1]
  1540.             }})
  1541. gg.setValues({{
  1542.         address = (bohe_r),
  1543.         flags = 4,
  1544.         value= value[1]
  1545.             }})
  1546. gg.toast('修改成功')
  1547. end
  1548. end
  1549. function A12()
  1550. SS = gg.choice({
  1551. "紫獸石",
  1552. "紅獸石",
  1553. "蒼獸石",
  1554. "翠獸石",
  1555. "黃獸石",
  1556. "彩色獸石",
  1557. "紫獸結晶",
  1558. "紅獸結晶",
  1559. "蒼獸結晶",
  1560. "翠獸結晶",
  1561. "黃獸結晶",
  1562. "一鍵全改",
  1563. "返回上级目录",
  1564. },nil,(([[
  1565. 獸石修改
  1566. ]])))
  1567. if SS == nil then
  1568. gg.toast('已取消')
  1569. else
  1570. if SS == 1 then A1201() end
  1571. if SS == 2 then A1202() end
  1572. if SS == 3 then A1203() end
  1573. if SS == 4 then A1204() end
  1574. if SS == 5 then A1205() end
  1575. if SS == 6 then A1206() end
  1576. if SS == 7 then A1207() end
  1577. if SS == 8 then A1208() end
  1578. if SS == 9 then A1209() end
  1579. if SS == 10 then A1210() end
  1580. if SS == 11 then A1211() end
  1581. if SS == 12 then A1212() end
  1582. if SS == 13 then Start() end
  1583. end
  1584. FMXR=-1
  1585. end
  1586. function A1201()
  1587. value=gg.prompt({'紫獸石'},{"998"},{"number"})
  1588. if value == nil then
  1589. gg.toast('已取消')
  1590. else
  1591. gg.setValues({{
  1592.         address = (shoushi_a),
  1593.         flags = 4,
  1594.         value= value[1]
  1595.             }})
  1596. gg.toast('修改成功')
  1597. end
  1598. end
  1599. function A1202()
  1600. value=gg.prompt({'紅獸石'},{"998"},{"number"})
  1601. if value == nil then
  1602. gg.toast('已取消')
  1603. else
  1604. gg.setValues({{
  1605.         address = (shoushi_b),
  1606.         flags = 4,
  1607.         value= value[1]
  1608.             }})
  1609. gg.toast('修改成功')
  1610. end
  1611. end
  1612. function A1203()
  1613. value=gg.prompt({'蒼獸石'},{"998"},{"number"})
  1614. if value == nil then
  1615. gg.toast('已取消')
  1616. else
  1617. gg.setValues({{
  1618.         address = (shoushi_c),
  1619.         flags = 4,
  1620.         value= value[1]
  1621.             }})
  1622. gg.toast('修改成功')
  1623. end
  1624. end
  1625. function A1204()
  1626. value=gg.prompt({'翠獸石'},{"998"},{"number"})
  1627. if value == nil then
  1628. gg.toast('已取消')
  1629. else
  1630. gg.setValues({{
  1631.         address = (shoushi_d),
  1632.         flags = 4,
  1633.         value= value[1]
  1634.             }})
  1635. gg.toast('修改成功')
  1636. end
  1637. end
  1638. function A1205()
  1639. value=gg.prompt({'黃獸石'},{"998"},{"number"})
  1640. if value == nil then
  1641. gg.toast('已取消')
  1642. else
  1643. gg.setValues({{
  1644.         address = (shoushi_e),
  1645.         flags = 4,
  1646.         value= value[1]
  1647.             }})
  1648. gg.toast('修改成功')
  1649. end
  1650. end
  1651. function A1206()
  1652. value=gg.prompt({'彩色獸石'},{"998"},{"number"})
  1653. if value == nil then
  1654. gg.toast('已取消')
  1655. else
  1656. gg.setValues({{
  1657.         address = (shoushi_f),
  1658.         flags = 4,
  1659.         value= value[1]
  1660.             }})
  1661. gg.toast('修改成功')
  1662. end
  1663. end
  1664. function A1207()
  1665. value=gg.prompt({'紫獸結晶'},{"998"},{"number"})
  1666. if value == nil then
  1667. gg.toast('已取消')
  1668. else
  1669. gg.setValues({{
  1670.         address = (shoushi_g),
  1671.         flags = 4,
  1672.         value= value[1]
  1673.             }})
  1674. gg.toast('修改成功')
  1675. end
  1676. end
  1677. function A1208()
  1678. value=gg.prompt({'紅獸結晶'},{"998"},{"number"})
  1679. if value == nil then
  1680. gg.toast('已取消')
  1681. else
  1682. gg.setValues({{
  1683.         address = (shoushi_h),
  1684.         flags = 4,
  1685.         value= value[1]
  1686.             }})
  1687. gg.toast('修改成功')
  1688. end
  1689. end
  1690. function A1209()
  1691. value=gg.prompt({'蒼獸結晶'},{"998"},{"number"})
  1692. if value == nil then
  1693. gg.toast('已取消')
  1694. else
  1695. gg.setValues({{
  1696.         address = (shoushi_i),
  1697.         flags = 4,
  1698.         value= value[1]
  1699.             }})
  1700. gg.toast('修改成功')
  1701. end
  1702. end
  1703. function A1210()
  1704. value=gg.prompt({'翠獸結晶'},{"998"},{"number"})
  1705. if value == nil then
  1706. gg.toast('已取消')
  1707. else
  1708. gg.setValues({{
  1709.         address = (shoushi_j),
  1710.         flags = 4,
  1711.         value= value[1]
  1712.             }})
  1713. gg.toast('修改成功')
  1714. end
  1715. end
  1716. function A1211()
  1717. value=gg.prompt({'黃獸結晶'},{"998"},{"number"})
  1718. if value == nil then
  1719. gg.toast('已取消')
  1720. else
  1721. gg.setValues({{
  1722.         address = (shoushi_k),
  1723.         flags = 4,
  1724.         value= value[1]
  1725.             }})
  1726. gg.toast('修改成功')
  1727. end
  1728. end
  1729. function A1212()
  1730. value=gg.prompt({'獸石(一鍵全改)'},{"998"},{"number"})
  1731. if value == nil then
  1732. gg.toast('已取消')
  1733. else
  1734. gg.setValues({{
  1735.         address = (shoushi_a),
  1736.         flags = 4,
  1737.         value= value[1]
  1738.             }})
  1739. gg.setValues({{
  1740.         address = (shoushi_b),
  1741.         flags = 4,
  1742.         value= value[1]
  1743.             }})
  1744. gg.setValues({{
  1745.         address = (shoushi_c),
  1746.         flags = 4,
  1747.         value= value[1]
  1748.             }})
  1749. gg.setValues({{
  1750.         address = (shoushi_d),
  1751.         flags = 4,
  1752.         value= value[1]
  1753.             }})
  1754. gg.setValues({{
  1755.         address = (shoushi_e),
  1756.         flags = 4,
  1757.         value= value[1]
  1758.             }})
  1759. gg.setValues({{
  1760.         address = (shoushi_f),
  1761.         flags = 4,
  1762.         value= value[1]
  1763.             }})
  1764. gg.setValues({{
  1765.         address = (shoushi_g),
  1766.         flags = 4,
  1767.         value= value[1]
  1768.             }})
  1769. gg.setValues({{
  1770.         address = (shoushi_h),
  1771.         flags = 4,
  1772.         value= value[1]
  1773.             }})
  1774. gg.setValues({{
  1775.         address = (shoushi_i),
  1776.         flags = 4,
  1777.         value= value[1]
  1778.             }})
  1779. gg.setValues({{
  1780.         address = (shoushi_j),
  1781.         flags = 4,
  1782.         value= value[1]
  1783.             }})
  1784. gg.setValues({{
  1785.         address = (shoushi_k),
  1786.         flags = 4,
  1787.         value= value[1]
  1788.             }})
  1789. gg.toast('修改成功')
  1790. end
  1791. end
  1792. function A13()
  1793. BN = gg.choice({
  1794. "銅",
  1795. "銀",
  1796. "金",
  1797. "一鍵全改",
  1798. "返回",
  1799. },nil,(([[
  1800. 本能寶箱修改
  1801. ]])))
  1802. if BN == nil then
  1803. gg.toast('已取消')
  1804. else
  1805. if BN == 1 then A1301() end
  1806. if BN == 2 then A1302() end
  1807. if BN == 3 then A1303() end
  1808. if BN == 4 then A1304() end
  1809. if BN == 5 then Start() end
  1810. end
  1811. FMXR=-1
  1812. end
  1813. function A1301()
  1814. value=gg.prompt({'本能寶箱-銅'},{"998"},{"number"})
  1815. if value == nil then
  1816. gg.toast('已取消')
  1817. else
  1818. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1819. py=(bennengbox)
  1820. setvalue(so+py,4,value[1])
  1821. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1822. py=(bennengbox)+0x4
  1823. setvalue(so+py,4,0)
  1824. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1825. py=(bennengbox)+0x18
  1826. setvalue(so+py,4,value[1])
  1827. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1828. py=(bennengbox)+0x18+0x4
  1829. setvalue(so+py,4,0)
  1830. gg.toast('修改成功')
  1831. end
  1832. end
  1833. function A1302()
  1834. value=gg.prompt({'本能寶箱-銀'},{"998"},{"number"})
  1835. if value == nil then
  1836. gg.toast('已取消')
  1837. else
  1838. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1839. py=(bennengbox)+0x8
  1840. setvalue(so+py,4,value[1])
  1841. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1842. py=(bennengbox)+0x8+0x4
  1843. setvalue(so+py,4,0)
  1844. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1845. py=(bennengbox)+0x20
  1846. setvalue(so+py,4,value[1])
  1847. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1848. py=(bennengbox)+0x20+0x4
  1849. setvalue(so+py,4,0)
  1850. gg.toast('修改成功')
  1851. end
  1852. end
  1853. function A1303()
  1854. value=gg.prompt({'本能寶箱-金'},{"998"},{"number"})
  1855. if value == nil then
  1856. gg.toast('已取消')
  1857. else
  1858. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1859. py=(bennengbox)+0x10
  1860. setvalue(so+py,4,value[1])
  1861. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1862. py=(bennengbox)+0x10+0x4
  1863. setvalue(so+py,4,0)
  1864. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1865. py=(bennengbox)+0x28
  1866. setvalue(so+py,4,value[1])
  1867. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1868. py=(bennengbox)+0x28+0x4
  1869. setvalue(so+py,4,0)
  1870. gg.toast('修改成功')
  1871. end
  1872. end
  1873. function A1304()
  1874. value=gg.prompt({'本能寶箱(一鍵全改)'},{"998"},{"number"})
  1875. if value == nil then
  1876. gg.toast('已取消')
  1877. else
  1878. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1879. py=(bennengbox)
  1880. setvalue(so+py,4,value[1])
  1881. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1882. py=(bennengbox)+0x4
  1883. setvalue(so+py,4,0)
  1884. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1885. py=(bennengbox)+0x18
  1886. setvalue(so+py,4,value[1])
  1887. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1888. py=(bennengbox)+0x18+0x4
  1889. setvalue(so+py,4,0)
  1890. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1891. py=(bennengbox)+0x8
  1892. setvalue(so+py,4,value[1])
  1893. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1894. py=(bennengbox)+0x8+0x4
  1895. setvalue(so+py,4,0)
  1896. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1897. py=(bennengbox)+0x20
  1898. setvalue(so+py,4,value[1])
  1899. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1900. py=(bennengbox)+0x20+0x4
  1901. setvalue(so+py,4,0)
  1902. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1903. py=(bennengbox)+0x10
  1904. setvalue(so+py,4,value[1])
  1905. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1906. py=(bennengbox)+0x10+0x4
  1907. setvalue(so+py,4,0)
  1908. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1909. py=(bennengbox)+0x28
  1910. setvalue(so+py,4,value[1])
  1911. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  1912. py=(bennengbox)+0x28+0x4
  1913. setvalue(so+py,4,0)
  1914. gg.toast('修改成功')
  1915. end
  1916. end
  1917. function A14()
  1918. AUTOKILL = gg.choice({
  1919. "開",
  1920. "關",
  1921. "返回",
  1922. },nil,(([[
  1923. 自動爆塔
  1924. ]])))
  1925. if AUTOKILL == nil then
  1926. gg.toast('已取消')
  1927. else
  1928. if AUTOKILL == 1 then A1401() end
  1929. if AUTOKILL == 2 then A1402() end
  1930. if AUTOKILL == 3 then Start() end
  1931. end
  1932. FMXR=-1
  1933. end
  1934. function A1401()
  1935. so=(xa)
  1936. py=(autowin)
  1937. setvalue(so+py,4,'~A8 MOV W8, XZR')
  1938. gg.toast('修改成功')
  1939. end
  1940. function A1402()
  1941. so=(xa)
  1942. py=(autowin)
  1943. setvalue(so+py,4,'~A8 LDR W8, [X8,#0x14]')
  1944. gg.toast("已關閉")
  1945. end
  1946. function A15()
  1947. DH = gg.choice({
  1948. "開",
  1949. "關",
  1950. "返回",
  1951. },nil,(([[
  1952. 關閉抽獎動畫
  1953. ]])))
  1954. if DH == nil then
  1955. gg.toast('已取消')
  1956. else
  1957. if DH == 1 then A1501() end
  1958. if DH == 2 then A1502() end
  1959. if DH == 3 then Start() end
  1960. end
  1961. FMXR=-1
  1962. end
  1963. function A1501()
  1964. so=(xa)
  1965. py=(animation)
  1966. setvalue(so+py,4,'~A8 MOV X8, XZR')
  1967. gg.toast('修改成功')
  1968. end
  1969. function A1502()
  1970. so=(xa)
  1971. py=(animation)
  1972. setvalue(so+py,4,'~A8 MOV W8, #0x1')
  1973. gg.toast("已關閉")
  1974. end
  1975. function A16()
  1976. XZ = gg.choice({
  1977. "青銅勳章",
  1978. "白銀勳章",
  1979. "黃金勳章",
  1980. "白金勳章",
  1981. "一鍵全改",
  1982. "返回",
  1983. },nil,(([[
  1984. 勳章修改
  1985. ]])))
  1986. if XZ == nil then
  1987. gg.toast('已取消')
  1988. else
  1989. if XZ == 1 then A1601() end
  1990. if XZ == 2 then A1602() end
  1991. if XZ == 3 then A1603() end
  1992. if XZ == 4 then A1604() end
  1993. if XZ == 5 then A1605() end
  1994. if XZ == 6 then Start() end
  1995. end
  1996. FMXR=-1
  1997. end
  1998. function A1601()
  1999. value=gg.prompt({'青銅勳章'},{"9999"},{"number"})
  2000. if value == nil then
  2001. gg.toast('已取消')
  2002. else
  2003. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  2004. py=(medal)
  2005. setvalue(so+py,4,value[1])
  2006. gg.toast('修改成功')
  2007. end
  2008. end
  2009. function A1602()
  2010. value=gg.prompt({'白銀勳章'},{"9999"},{"number"})
  2011. if value == nil then
  2012. gg.toast('已取消')
  2013. else
  2014. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  2015. py=(medal)+0x4
  2016. setvalue(so+py,4,value[1])
  2017. gg.toast('修改成功')
  2018. end
  2019. end
  2020. function A1603()
  2021. value=gg.prompt({'黃金勳章'},{"9999"},{"number"})
  2022. if value == nil then
  2023. gg.toast('已取消')
  2024. else
  2025. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  2026. py=(medal)+0x8
  2027. setvalue(so+py,4,value[1])
  2028. gg.toast('修改成功')
  2029. end
  2030. end
  2031. function A1604()
  2032. value=gg.prompt({'白金勳章'},{"9999"},{"number"})
  2033. if value == nil then
  2034. gg.toast('已取消')
  2035. else
  2036. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  2037. py=(medal)+0xC
  2038. setvalue(so+py,4,value[1])
  2039. gg.toast('修改成功')
  2040. end
  2041. end
  2042. function A1605()
  2043. value=gg.prompt({'勳章(一鍵全改)'},{"9999"},{"number"})
  2044. if value == nil then
  2045. gg.toast('已取消')
  2046. else
  2047. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  2048. py=(medal)
  2049. setvalue(so+py,4,value[1])
  2050. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  2051. py=(medal)+0x4
  2052. setvalue(so+py,4,value[1])
  2053. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  2054. py=(medal)+0x8
  2055. setvalue(so+py,4,value[1])
  2056. so=gg.getRangesList('libnative-lib.so:bss')[1].start
  2057. py=(medal)+0xC
  2058. setvalue(so+py,4,value[1])
  2059. gg.toast('修改成功')
  2060. end
  2061. end
  2062. function UP()
  2063. gg.alert('版本號:1.1\n\n遊戲版本號 : '..info.versionName..'\n遊戲內部版本號 : '..info.versionCode..'\n遊戲包名 : '..info.packageName..'\n\n如有BUG請聯繫腳本作者\n特別鳴謝:\n感謝用戶Cheney Liu提供相關數據')
  2064. end
  2065. function End()
  2066. gg.setVisible(true)
  2067. print('Script ended\n腳本已退出')
  2068. os.exit()
  2069. end
  2070. while(true)do
  2071. gg.sleep(1)
  2072. if gg.isVisible(true) then
  2073. FMXR=1
  2074. gg.setVisible(false)
  2075. end
  2076. if FMXR==1 then
  2077. Start()
  2078. end
  2079. end
Advertisement
Add Comment
Please, Sign In to add comment