Jump to content

H5GG JavaScript Engine API Document (update on v7.5)


3 posts in this topic

Recommended Posts

Updated (edited)

**************** H5GG JavaScript Engine Document (update on v7.5) ********************

 

h5gg is the engine object, which can call the following functions (similar to the lua interface of Android gg, but the parameters are somewhat different)

 

h5gg.require(H5GG version number); //Set the minimum H5GG version number required by the script, which can be written in the first line at the beginning of the script

h5gg.setFloatTolerance('floating-point deviation'); //Set the deviation range of F32/F64 floating-point search, the engine defaults to 0.0

h5gg.searchNumber('value', 'type', 'search lower limit', 'search upper limit'); //Search or secondary search (improve) exact value

h5gg.searchNearby('value', 'type', 'adjacent range'); //Nearby (joint) search, consistent with igg's

h5gg.getValue('address', 'type'); //Read the value of the specified address, return the value string

h5gg.setValue('Address', 'Value', 'Type'); //Set the value of the specified address, return success or failure

h5gg.editAll('value', 'type'); //Modify all the values in the search results (cannot be called after clearing the results), and return the number of successful modifications

h5gg.getResultsCount(); //Get the total number of search results, return the total number

h5gg.getResults('GetCount', 'SkipCount'); //Get the result array, each element has three attributes of address, value and type

h5gg.clearResults(); //Clear search results, start a new search

h5gg.getRangesList('module file name'); //Return the module array, the module has start (base address), end (end address), name (path) attributes

(If the module file name=0, it will return the APP main program module information, if the module file name is not passed in, it will return a list of all modules)

h5gg.loadPlugin('Objective-C Class Name','dylib file path'); //load a dylib plugin, return an OC Instance Object (The returned OC object instance can be called directly in js, dylib supports absolute path or relative path in .app)

 

 

For standalone CrosProc APP version only:

h5gg.setTargetProc(process number); //Set the current target process, return success or failure

h5gg.getProcList('process name'); //Get the process array, the elements in the array have pid (process number), name (process name) attributes

(If the process name is not passed in, it will return a list of all running app processes, which can be called periodically to determine whether the target process has ended)

 

 

Other APIs:

setButtonImage(icon); //Set the icon of the floating button, you can pass in the http starting URL image or the base64 encoded DataURL image

setButtonAction(js callback function); //Set a custom floating button icon click action, which is called when a js function is passed in to click

setWindowRect(x, y, width, height); //Modify the position and size of the window suspended on the screen

setWindowDrag(x, y, width, height); //Set the area of the draggable floating window in the H5 page

setWindowTouch (whether to respond to touch); //true=the entire floating window is impenetrable by touch, false=the entire floating window can be touched by touch

setWindowVisible (whether to display), //Set the visibility of the floating window, true=display, false=hidden

setLayoutAction(js callback function); //Set the js callback when the screen rotates or the iPad split screen float changes, the callback function parameters are (width, height)

 

 

Notice:

1: The address parameter supports automatic identification in decimal or hexadecimal format starting with 0x, other parameters must be in string format

2: float number types: F32, F64, signed number types: I8, I16, I32, I64, unsigned number types: U8, U16, U32, U64

3: If there are many search results, do not get all the data at one time with getResults, it maybe crash for using too mach memory, and should be obtained in sections

4: The address and value of the search result are all string types. If you want to do digital operations, please use Number(x) to convert them into numeric types before you can perform operations.

(Unlike lua, which automatically converts the string types on both sides of the + sign to numeric types, in js, if the + sign is a string, the two strings will be concatenated)

5: The numeric type can be converted into a hexadecimal string format with x.toString(16), but x must be a numeric type to convert successfully

6: The numerical value of the search supports the range format, such as "50~100", such as "2.3~7.8", both searchNumber and searchNearby search are supported

5: The default size of the floating window is 370 points wide and 370 points high. You can set the position, size and draggable area through the js api on the H5 page.

 

 

Updated by tuancc
layout
  • Like 10

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • KPop Idol Queens Production (Auto Update) +2 Cheats
      Modded/Hacked App: Idol Queens Production By kim junghyun
      Bundle ID: sunbeesoft.queensidol.com
      iTunes Store Link: https://apps.apple.com/us/app/idol-queens-production/id1571083536?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia or Sileo).


      Hack Features:
      - No Stress
      - No Fatigue
      - Free Auto Play


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/


      iOS Hack Download Link:

      Hidden Content
      Download Hack







      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using Filza or iFile, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will need to press on 'Install' or 'Installer' from the options on your screen.
      STEP 5: Let Filza / iFile finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: If the hack is a Mod Menu, which is usually the case nowadays, the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @Zahir


      Cheat Video/Screenshots:

      N/A
        • Like
      • 47 replies
    • GardenScapes v9.4.5 Jailed Cheats +3
      Modded/Hacked App: Gardenscapes By Playrix Games
      Bundle ID: com.playrix.gardenscapes-m3-ios
      iTunes Store Link: https://itunes.apple.com/us/app/gardenscapes/id1105855019?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite Moves (Won't Subtract)
      - Infinite Boosters (Won't Substract)

       

      Hack Download Link: https://iosgods.com/topic/71553-arm64-gardenscapes-v290-jailed-cheats-2/
        • Winner
        • Like
      • 1,761 replies
    • Screw Tap Jam - Screw Sort 3D v3.510 Jailed Cheats +3
      Modded/Hacked App: Screw Tap Jam™ - Screw Sort 3D By Wonder Rush Technology Limited
      Bundle ID: com.screw.jam.tap
      App Store Link: https://apps.apple.com/us/app/screw-tap-jam-screw-sort-3d/id6670189511?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - PREMIUM
      - Infinite Coins
      - Infinite Boosters (Able to use even without having enough)

       

      Jailbroken Hack: https://iosgods.com/topic/193631-screw-tap-jam-screw-sort-3d-cheats-v3510-3/

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/193632-screw-tap-jam-screw-sort-3d-v3510-jailed-cheats-3/
        • Like
      • 18 replies
    • Kick the Buddy: Forever v1.9.1 Jailed Cheats +3
      Modded/Hacked App: Kick the Buddy: Forever By Playgendary Limited
      Bundle ID: com.playgendary.ktb2
      iTunes Store Link: https://apps.apple.com/us/app/kick-the-buddy-forever/id1435346021?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Inifnite Currencies
      - No Ads
      - Blood Mode



      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/85569-kick-the-buddy-forever-v183-jailed-cheats-3/
        • Agree
      • 154 replies
    • Wheelie Life 2 v3.9 Jailed Cheats +1
      Modded/Hacked App: Wheelie Life 2 By Marcos Elena
      Bundle ID: com.akdev.wheelie-life-2
      App Store Link: https://apps.apple.com/us/app/wheelie-life-2/id6444612902?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Free iAP (Turn on inside iOSGods Mod Menu first)

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/176899-wheelie-life-2-v39-jailed-cheats-1/
      • 32 replies
    • Fishdom v9.6.2 Jailed Cheats +3
      Modded/Hacked App: Fishdom By PLR Worldwide Sales Limited
      Bundle ID: com.playrix.fishdom-freeplay
      iTunes Store Link: https://apps.apple.com/us/app/fishdom/id664575829?uo=4


      Hack Features:
      - Infinite Moves
      - Infinite Boosters
      - Infinite Lives

      NOTE: Play until you reached level 31 on non-hacked version before using this hack - Make sure you connected with GameCenter and Facebook to save your progress


      iOS Hack Download Link: https://iosgods.com/topic/116586-arm64-fishdom-v683-jailed-cheats-3/
      • 788 replies
    • Evil Hunter Tycoon - Nonstop v1.404 Jailed Cheats +10
      Modded/Hacked App: Evil Hunter Tycoon By SuperPlanet corp.
      Bundle ID: com.superplanet.evilhunter
      App Store Link: https://apps.apple.com/us/app/evil-hunter-tycoon/id1493512288?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Hero Legendary when visit the village
      - God Mode PvE
      - Huge Damage PvE
      - Infinite Coin (Turn on before tap to enter the game, earn some or spend some)
      - Freeze Material (Upgrade, create new weapon, armor, etc ...)
      - Freeze Currencies
      - Free iAP
      - Anti Ban

      DO NOT BUY VIP FOR JUST THIS HACK AND DON'T EXPECT THIS CAN BE UPDATED IN THE FUTURE

      Jailbroken Hack: 

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/189100-evil-hunter-tycoon-nonstop-v1399-jailed-cheats-10/
        • Like
      • 196 replies
    • Bus Escape: Traffic Jam v1.9.65 Jailed Cheats +4
      Modded/Hacked App: Bus Escape: Traffic Jam By ABI GLOBAL LTD.
      Bundle ID: com.abi.busjam.sortpuzzle
      App Store Link: https://apps.apple.com/us/app/bus-escape-traffic-jam/id6689516366?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Free IAP (Buy No Ads and Premium)
      - Infinite Currencies
      - No Ads
      - Premium

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/190805-bus-escape-traffic-jam-v1965-jailed-cheats-4/
      • 25 replies
    • Wheelie Life 3 v3.2 Jailed Cheats +1
      Modded/Hacked App: Wheelie Life 3 By Marcos Elena
      Bundle ID: com.akdev.wheelie-life-3
      App Store Link: https://apps.apple.com/us/app/wheelie-life-3/id6478781395?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - Free iAP (Turn on inside iOSGods Mod Menu first)

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/206885-wheelie-life-3-v32-jailed-cheats-1/
      • 0 replies
    • Magic Archer: Fantasy RPG Game v0.85 [ +5 Jailed ] Currency Max
      Modded/Hacked App: Magic Archer: Fantasy RPG Game By YADARKO TRADING LIMITED
      Bundle ID: com.aftaa.magicarcher
      App Store Link: https://apps.apple.com/us/app/magic-archer-fantasy-rpg-game/id6503351190?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Energy
      - HP Max
      - DMG Max
      - ATK Speed
      • 0 replies
    • Magic Archer: Fantasy RPG Game v0.85 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Magic Archer: Fantasy RPG Game By YADARKO TRADING LIMITED
      Bundle ID: com.aftaa.magicarcher
      App Store Link: https://apps.apple.com/us/app/magic-archer-fantasy-rpg-game/id6503351190?uo=4
      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Energy
      - HP Max
      - DMG Max
      - ATK Speed
      • 0 replies
    • Skullgirls Fighting RPG v8.4.0 [ +6 Cheats ] Auto Win
      Modded/Hacked App: Skullgirls: Fighting RPG By Autumn Games, LLC
      Bundle ID: com.autumn.skullgirls
      iTunes Store Link: https://apps.apple.com/us/app/skullgirls-fighting-rpg/id1280762571?uo=4


      Hack Features:
      - Auto win

      - Damage [ One HiT WiN ]

      - Energy Max

      - Skill

      - Enemy Disable

      - Goals Claimed [ Free Pass Only ]
        • Haha
      • 213 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines