Skip to content
Guest Big Announcement

H5GG Full Tutorial [Offset Patching + Hooking] for Non-Jailbroken/Jailbreak Devices !

Featured Replies

  • Replies 138
  • Views 90.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • hassen hawari
    hassen hawari

    Do you know any useful video links to learn hack Android games il2cpp?   

  • I fixed it, I had to use a fresh decrypted version of the game, idk why, but I decrypted the game again put all the files where they should go and it works! Doesn’t crash and installs app. But to my f

  • Your tutorials are so well written! ❤️

mod menu it work but can't share with friends to play because the offset is not encrypted yet

 

Is there a suggested way about offset encoding? @𓄼 . f v c k . 𓄹

Updated by Look just

  • Author
2 hours ago, Look just said:

mod menu it work but can't share with friends to play because the offset is not encrypted yet

 

Is there a suggested way about offset encoding? @𓄼 . f v c k . 𓄹

look for javascript obfuscator, there are online website 

it always crashes for me for some reason.!!

in my game im patching the offset of it with C0***FD6 (ret) only! maybe because the script doesnt support like this way?
my script is 
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x259BC62, "C0***FD6");
if i patched unity framework from ida the patch work perfectly but in H5GG and your method it failed
not crash at launch. but it crashes with the location of my patch it self
i tried it on 16.2

and 14.8 jailbroken and it is the same issue.

i tried 2 games btw

  • Author
1 hour ago, Haidar_phantom said:

it always crashes for me for some reason.!!

in my game im patching the offset of it with C0***FD6 (ret) only! maybe because the script doesnt support like this way?
my script is 
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x259BC62, "C0***FD6");
if i patched unity framework from ida the patch work perfectly but in H5GG and your method it failed
not crash at launch. but it crashes with the location of my patch it self
i tried it on 16.2

and 14.8 jailbroken and it is the same issue.

i tried 2 games btw

Are you sure to have correctly added fridda in the iPA ? 

If you are sure that it’s a unity game and the correct offset, then maybe h5gg isn’t supported yet on 16.2

10 hours ago, 𓄼 . f v c k . 𓄹 said:

Are you sure to have correctly added fridda in the iPA ? 

If you are sure that it’s a unity game and the correct offset, then maybe h5gg isn’t supported yet on 16.2

Yeah im sure.

as i said i patch it directly from ida and it is working fine

but in h5gg not

i also tried on my jailbroken 14.8 device and it is the same problem crashing

 

  • Author
54 minutes ago, Haidar_phantom said:

Yeah im sure.

as i said i patch it directly from ida and it is working fine

but in h5gg not

i also tried on my jailbroken 14.8 device and it is the same problem crashing

 

then the iPA is not rightly made. Re do Step 1

3 hours ago, 𓄼 . f v c k . 𓄹 said:

then the iPA is not rightly made. Re do Step 1

this is my h5frida-code-patch-test(non-jailbreak).js Script.
is there something wrong with it?

h5gg.require(7.9);
var h5frida=h5gg.loadPlugin("h5frida", "h5frida-15.1.24.dylib");
if(!h5frida) throw "Failed to load h5frida plugin";

function ActiveCodePatch(fpath, vaddr, bytes) {
    if(!h5frida.ActiveCodePatch(fpath, vaddr, bytes)) {
        var result = h5frida.ApplyCodePatch(fpath, vaddr, bytes);
        alert(fpath+":0x"+vaddr.toString(16)+"-修改失败!\n" + fpath+":0x"+vaddr.toString(16)+"-PatchFailed!\n" + result);return false;
    } return true;
}
function DeactiveCodePatch(fpath, vaddr, bytes) {
    return h5frida.DeactiveCodePatch(fpath, vaddr, bytes);
}

ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x2XXXX62, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x259XXXD, "C0XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXX56, "C00XXXD6");
ActiveCodePatch("Frameworks/UnityFramework.framework/UnityFramework", 0x25XXXX6, "C00XXXD6");

 

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.