| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Frouk Grandmaster Cheater
 
 ![]() Reputation: 5 
 Joined: 22 Jun 2021
 Posts: 512
 
 
 | 
			
				|  Posted: Sat Jan 18, 2025 3:28 pm    Post subject: executeMethod and executeCodeEx |   |  
				| 
 |  
				| Do these functions can pass parameters into different registers? Or it only works for classinstance in executeMethod? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Sat Jan 18, 2025 4:48 pm    Post subject: |   |  
				| 
 |  
				| it passes the parameters into different registers yes _________________
 
 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 |  | 
	
		|  | 
	
		| Frouk Grandmaster Cheater
 
 ![]() Reputation: 5 
 Joined: 22 Jun 2021
 Posts: 512
 
 
 | 
			
				|  Posted: Mon Jan 20, 2025 2:27 pm    Post subject: |   |  
				| 
 |  
				| It's not, what I see that the rdx/edx register isn't interacted 
 Sample here
 
  	  | Code: |  	  | executeMethod(0, nil, "0x12345678", player.base, {regnr = 2, type = 0,  value=5})
 
 | 
 
 EDIT:
 And what I see, it passes two parameter into one classinstance, seems to be broken for 64-bit
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Mon Jan 20, 2025 3:33 pm    Post subject: |   |  
				| 
 |  
				| ah, you meant in different parameters besides the instance? 
 no.  Only the instance can be given another register, though if it's RCX, use ExecuteCodeEx instead of ExecuteMethod
 
 If you want to set the instance(player.base) to RCX, and RDX to 5 use executeCodeEx(0,nil, "0x12345678", player.base, 5)
 
 if you need to put it in completely different registers like RDI,RSI,RDX,RCX then you'll need to write a function wrapper first that translates the parameters from windows ABI to whatever it is you need to call
 _________________
 
 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 |  | 
	
		|  | 
	
		|  |