Solved Hook void string LGL menu

Status
Not open for further replies.

Kenjaaaa45

Platinian
Hi evryone, im not posting alot, but I would like to know if anyone has the solution to help for hook a void string function in my lgl project using InputText


// RVA: 0xE48E87Offset: 0xE48E87
private void OnHashtagSubmit(string hashtag) { }

It work without update offset but i have no idea how do that, i have test some little code from another forum but nothing worked.

Thanks you.
 
I assume you don't know where to get inputText, if so refer to this thread
If a function accept a string, it's actually a C# System.String, not just a regular "string like this inside double quote"
 
I know where get inputText ! But only work for String offset, what i want its hook void(string) which I will use with InputText like this the value will only change when I put a value in the input text
 
sorry, can you explain more what you are trying to do?
maybe write it in your language and use google translate cause you are not making sense (sorry)
// RVA: 0xE48E44 Offset: 0xE48E44 VA: 0xE48E44
private void OnHashtagSubmit(string hashtag) { }
I want to hook this function in
my lgl 2.9 project but I don't know how to do it
 
If you show me how you can do it with int or float but not with string, then maybe i can understand what you mean
I want hook like that, but without update offset and for void string
 

Attachments

  • Screenshot_20231106_150947.jpg
    Screenshot_20231106_150947.jpg
    96.1 KB · Views: 211
Status
Not open for further replies.
Back
Top Bottom