Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Mono execute/invoke method

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Ahmed Jihad
How do I cheat?
Reputation: 0

Joined: 06 Jan 2024
Posts: 9

PostPosted: Tue Jan 09, 2024 8:46 am    Post subject: Mono execute/invoke method Reply with quote

i know how to use mono execute/invoke method but i want to implement it using assembly, so now i have the instance address it will be in rcx then i have bool value in rdx it is done, and i have the function address so the final code

Code:
[enable]
globalalloc(the_thread, 256)
createthread(the_thread)
the_thread:
mov rcx, address here of instance
mov rdx, 0x1
jmp address function

[disable]


but using the x64dbg i get error access violation in some instruction and this instruction use the address as pointer and this address have 10 value to get the value that inside this address
Code:
mov rcx, [rsi+24]
Back to top
View user's profile Send private message Send e-mail
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25835
Location: The netherlands

PostPosted: Tue Jan 09, 2024 9:29 am    Post subject: Reply with quote

first call mono_thread_attach with the current domain to setup the TLS for the current thread
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Ahmed Jihad
How do I cheat?
Reputation: 0

Joined: 06 Jan 2024
Posts: 9

PostPosted: Tue Jan 09, 2024 10:38 am    Post subject: Reply with quote

Dark Byte wrote:
first call mono_thread_attach with the current domain to setup the TLS for the current thread


i do not how to use it
Code:
call mono.mono_thread_attach

this can not be assembled
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites