Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LUA = 'WILS2M'
- GLabel = 'Hogwarts Mystery'
- GProcess = 'com.tinyco.potter'
- GVersion = '5.9.3'
- xbit = 64
- LibResult = 1
- xlib = 'libpotter.so'
- xREV = 1 I={}
- xCNE = 0
- xSSE = 0
- XbitX = 1
- --███████████████████████
- expire='free'
- game = gg.getTargetInfo()
- P=game.processName
- FP=game.name
- L=gg.getTargetInfo().label
- M=gg.getTargetInfo()["label"]
- V=game.versionName
- TP=gg.getTargetPackage()
- xTAGx="Have fun"
- xLINKx="https://t.me/HxE_Chat"
- xLINK1x="https://www.tiktok.com/@hxesq"
- APEXSN=gg.getFile():match('[^/]+$')
- printx="---------------------------------------------------------------"
- print(printx)
- print(xTAGx)
- print("Telegram = "..xLINKx)
- print("TikTok = "..xLINK1x)
- print(printx)
- print("Script = "..GLabel.." "..GVersion)
- --███████████████████████
- apex=1
- gg.setVisible(false)
- v=gg.getTargetInfo()
- if v==nil then
- print("×× ERROR ××\n×× INVALID PROCESS SELECTED / OR NO ROOT ACCESS")
- gg.setVisible(true) os.exit()
- return
- end
- HxEmenu = (' ⚡HxE Menu by wils2m⚡\
- ❦ ════ •⊰❂ - ❂⊱• ════ ❦\
- ⛥🇮🇳🇫🇴⛥\
- 🎮🅖🅐🅜🅔🎮 : '..GLabel..'\
- 🎰🅥🅔🅡🅢🎰 : '..GVersion..'\
- 🎰🅐🅡🅜🎰 : '..xbit..'\
- \
- ⏳Exᴘɪʀᴇᴅ Date⏳ : '..expire..'\
- 🎁 Encryption 🎁 : '..expire..'\
- ❦ ════ •⊰❂ - ❂⊱• ════ ❦')
- gg.alert(HxEmenu)
- gg.alert("APKpure version")
- gg.alert(" Patch Note\
- ❦ ════ •⊰❂ - ❂⊱• ════ ❦\
- - HxE script menu\
- - New script interface (Apex[GG])\
- - Update to 5.9.3\
- - Unlimited Energy\
- - Currency Hack\
- - Unlock Shop Items\
- ❦ ════ •⊰❂ - ❂⊱• ════ ❦\
- ")
- ------------------------------------------------------------------------------
- gg.setRanges(gg.REGION_ANONYMOUS)
- ------------------------------------------------------------------------------
- OFF="× " ON="√ "
- EN=OFF CU=OFF SH=OFF
- function menu()
- apex=0
- gg.toast(xTAGx)
- mc=gg.multiChoice({
- EN.."Unlimited Energy",
- CU.."Currency Hack",
- SH.."Unlock Shop Items",
- "[ EXIT ]"},
- {},xTAGx.."\n"..xLINKx.."\n"..GLabel.." "..GVersion.." "..xBITx)
- if mc==nil then cancel() return end
- if mc[1] then energy() end
- if mc[2] then currency() end
- if mc[3] then shop() end
- xhaX={
- EN.."Unlimited Energy",
- CU.."Currency Hack",
- SH.."Unlock Shop Items",
- }
- xhaX=table.concat(xhaX, "\n")
- xhaX=tostring(xhaX)
- if mc[4] then exit() return end
- gg.toast("[√] Complete")
- gg.alert(GLabel.." "..GVersion.." "..xBITx.."\n\n"..xhaX,"OK",nil,xTAGx)
- end
- --███████████████████████
- --Bpc::EnergyPool::tryRemoveEnergy(long,bool)
- I[1]=0x023AA6E0
- function energy()
- if EN==OFF then
- o=I[1] xrev() x=1 arm()
- EN=ON
- else
- o=I[1] revert() EN=OFF
- end
- end
- --███████████████████████
- --Bpc::Price::loadCurrency
- I[2]=0x01C56A28
- --Bpc::WalletPrice::getAmount
- I[3]=0x037CECFC
- --Bpc::Price::InventoryPrice::getInstantBuyPrice(void)const
- --o=0x02CCD7C0
- function currency()
- if CU==OFF then
- o=I[2] xrev() x=0 arm()
- o=I[3] xrev() x=0 arm()
- CU=ON
- else
- o=I[2] revert()
- o=I[3] revert()
- CU=OFF
- end
- end
- --███████████████████████
- --Bpc::CreatureManager::isUnlockable
- I[4]=0x020C0EA0
- --Bpc::AvatarAttributeColor::isUnlocked(void)const
- I[5]=0x02CC4C70
- --Bpc::AvatarComponent::isUnlocked(void)
- I[6]=0x02E24DBC
- function shop()
- if SH==OFF then
- o=I[4] xrev() x=1 arm()
- o=I[5] xrev() x=1 arm()
- o=I[6] xrev() x=1 arm()
- SH=ON
- else
- o=I[4] revert()
- o=I[5] revert()
- o=I[6] revert()
- SH=OFF
- end
- end
- --███████████████████████
- --███████████████████████
- --███████████████████████
- if v.processName~=GProcess then
- print("This Script is For:\n "..GLabel.."\n "..GProcess.."\nYou Selected:\n "..v.label.."\n "..v.processName)
- gg.setVisible (true) os.exit()
- return
- end
- ------------------------------------------------------------------------------
- if v.x64 then bitx=64 xBITx="[x64]" else bitx=32 xBITx="[x32]" end
- print(xBITx)
- print(printx)
- ------------------------------------------------------------------------------
- if XbitX==1 then
- if bitx~=xbit then
- print("This Script is For "..xbit.."bit Process\nYour Process is "..bitx.."bit")
- gg.setVisible(true) os.exit()
- return
- end
- end
- ------------------------------------------------------------------------------
- if GVersion~=v.versionName then
- print("This Script is for Game Version:\n "..GVersion.."\nYour Game Version is:\n "..v.versionName)
- gg.setVisible(true) os.exit()
- return
- end
- --███████████████████████
- if LibResult==1 then
- xAPEXx={} xXx=0
- xLibRes=0
- libx=gg.getRangesList()
- if #(libx)==0 then
- print("×× LIB ERROR #01 ××\nNo Libs Found\nTry a Different Virtual Environment \nor Try a Better Game Installation Method\nor Download Game From 'apkcombo.com' ")
- gg.setVisible(true)
- os.exit()
- end
- libx=gg.getRangesList(xlib)
- if #(libx)==0 then
- print("×× No "..xlib.." Found")
- xLibRes=2
- goto APEX_SPLIT
- end
- xlibn=0
- for i, v in ipairs(libx) do
- if libx[i].state=="Xa" then
- xXx=xXx+1
- xAPEXx[xXx]=libx[i].start
- xLibRes=1
- end
- end
- if xLibRes==0 then
- print("×× LIB ERROR #03 ××\nNo "..xlib.." Found in Xa\nTry a Different Virtual Environment \nor Try a Better Game Installation Method\nor Download Game From 'apkcombo.com' ")
- gg.setVisible(true)
- os.exit()
- end
- ::APEX_SPLIT::
- if xLibRes==2 then
- splitapk=0
- libx=gg.getRangesList()
- for i, v in ipairs(libx) do
- if libx[i].state=="Xa" and string.match(libx[i].name,"split_config") then
- splitapk=1
- end
- end
- if splitapk==1 then
- xsapk={} xsapkx=0
- for i, v in ipairs(libx) do
- if libx[i].state=="Xa" then
- xsapkx=xsapkx+1
- xsapk[xsapkx]=libx[i]["end"]-libx[i].start
- end
- end
- if xsapkx~=0 then
- APEXQ=math.max(table.unpack(xsapk))
- for i, v in ipairs(libx) do
- if libx[i].state=="Xa" and libx[i]["end"]-libx[i].start==APEXQ then
- xXx=xXx+1
- xAPEXx[xXx]=libx[i].start
- print("√√ Split Apk Lib Found\n√√ "..libx[i].name)
- xLibRes=1
- end
- end
- end
- end
- if splitapk==0 and xLibRes~=1 then
- print("×× No split_config Lib Found")
- xc=1 xt={}
- libx=gg.getRangesList()
- for i, v in ipairs(libx) do
- if libx[i].state=="Xa" then
- xt[xc]=tonumber(libx[i]["end"]-libx[i].start)
- xc=xc+1
- end
- end
- APEXQ=math.max(table.unpack(xt))
- for i, v in ipairs(libx) do
- if libx[i].state=="Xa" and libx[i]["end"]-libx[i].start==APEXQ then
- xXx=xXx+1
- xAPEXx[xXx]=libx[i].start
- print("√√ math.max Xa Lib Found\n√√ "..libx[i].name)
- xLibRes=1
- end
- end
- end
- if xLibRes~=1 then
- print("×× Correct Lib Not Found ××\n×× Direct/Split Config/Xa Max ××")
- gg.setVisible(true)
- os.exit()
- return
- end
- end
- end
- --███████████████████████
- function arm()
- o=tonumber(o)
- for XxX=1,#(xAPEXx) do
- xdump=nil xdump={}
- xdump[1]={} xdump[2]={}
- xdump[1].address=xAPEXx[XxX] + o
- xdump[1].flags=4
- if x==0 then xdump[1].value=xfalse end
- if x==1 then xdump[1].value=xtrue end
- if x~=0 and x~=1 then xdump[1].value=x end
- xdump[2].address=xAPEXx[XxX]+(o+4)
- xdump[2].flags=4
- xdump[2].value=xEND
- gg.setValues(xdump)
- end
- end
- ------------------------------------------------------------------------------
- function xrev()
- if xREV==1 then
- xRx=1 ORIG={} xREV={}
- for i, v in ipairs(I) do
- ORIG[xRx]={}
- ORIG[xRx].address=xAPEXx+tonumber(I[i])
- ORIG[xRx].flags=4
- xRx=xRx+1
- ORIG[xRx]={}
- ORIG[xRx].address=xAPEXx+tonumber(I[i])+4
- ORIG[xRx].flags=4
- xRx=xRx+1
- end
- ORIG=gg.getValues(ORIG)
- end
- end
- ------------------------------------------------------------------------------
- function revert()
- for XxX=1,#(xAPEXx) do
- REVERT=nil REVERT={} xRx=nil xRx=1
- for i, v in ipairs(ORIG) do
- if tonumber(xAPEXx[XxX]+o)==ORIG[i].address then
- REVERT[xRx]={}
- REVERT[xRx].address=xAPEXx[XxX]+o
- REVERT[xRx].flags=4
- REVERT[xRx].value=ORIG[i].value
- xRx=xRx+1
- REVERT[xRx]={}
- REVERT[xRx].address=xAPEXx[XxX]+o+4
- REVERT[xRx].flags=4
- REVERT[xRx].value=ORIG[i+1].value
- gg.setValues(REVERT)
- break
- end
- xRx=xRx+1
- end
- end
- end
- --███████████████████████
- if v.x64 then
- xtrue="h200080D2" -- MOV X0, #0x1
- xfalse="h000080D2" -- MOV X0, #0x0
- xEND="hC0035FD6" -- RET
- else
- xtrue="h0100A0E3" -- MOVW R0, #1
- xfalse="h0000A0E3" -- MOVW R0, #0
- xEND="h1EFF2FE1" -- BX LR
- end
- ------------------------------------------------------------------------------
- if xREV==1 then
- xRx=1 ORIG={} xREV={}
- for XxX=1,#(xAPEXx) do
- for i, v in ipairs(I) do
- ORIG[xRx]={}
- ORIG[xRx].address=xAPEXx[XxX]+tonumber(I[i])
- ORIG[xRx].flags=4
- xRx=xRx+1
- ORIG[xRx]={}
- ORIG[xRx].address=xAPEXx[XxX]+tonumber(I[i])+4
- ORIG[xRx].flags=4
- xRx=xRx+1
- end
- end
- ORIG=gg.getValues(ORIG)
- end
- --███████████████████████
- function cancel()
- gg.toast("CANCELLED")
- end
- ------------------------------------------------------------------------------
- function wait()
- gg.toast("Please Wait..")
- end
- ------------------------------------------------------------------------------
- function error()
- gg.toast("× ERROR ×")
- gg.sleep(1000)
- end
- ------------------------------------------------------------------------------
- function exit()
- print("--------------------------------------------------------------------")
- print("More links - WILS2M")
- print("https://www.tiktok.com/@helledengaming")
- print("https://odysee.com/@HellEtEden-gaming:9")
- print("https://vimeo.com/showcase/10427325")
- gg.processResume()
- gg.getListItems()
- gg.clearList()
- gg.getResults(gg.getResultsCount())
- gg.clearResults()
- gg.toast("[ EXIT ]")
- if xhaX~=nil then
- print(printx)
- print(xhaX)
- print(printx)
- end
- gg.setVisible(true)
- os.exit()
- return
- end
- --███████████████████████
- while true do
- if gg.isVisible() then
- gg.setVisible(false)
- menu()
- else
- if apex==1 then
- gg.setVisible(false)
- menu()
- end
- end
- end
Add Comment
Please, Sign In to add comment