Jump to content

5 posts in this topic

Recommended Posts

Posted (edited)

@tuancc H5GG is really good regarding fast UI, and offset patching. For hooking too but i could only hook func types with bool, double,... but not methods (private void Update(): for example). Could you give examples of doing that or correct me ? i tried this :

//private void infiniteLife(float Amount); == 0x2214DA0
function frida_script() { if(arguments.length) return new Error().line;

var getLife = h5frida.StaticInlineHookFunction("Frameworks/UnityFramework.framework/UnityFramework",                          
           0x2214DA0,
           "void", 
           ["pointer", "float"],
           function(thiz, life) 
                 {
  
  		//TODO
		send("void has been hooked");  
		return getLife(thiz, life);     
                  }
        );                                                
}

Thanks :peace:

Updated by ꞋꞌꞋꞌꞋꞌꞋꞌ
  • Agree 1

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
×
  • 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