| View previous topic :: View next topic |
| Author |
Message |
DjRatmanIsBack How do I cheat?
Reputation: 0
Joined: 29 Jun 2023 Posts: 6
|
Posted: Thu Jun 29, 2023 10:59 am Post subject: How to know which method is calling another one? |
|
|
| Im using Mono Dissector and id like to know if theres a way to know which method is calling another one.
|
|
| Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Thu Jun 29, 2023 12:41 pm Post subject: |
|
|
| Jit the method, set a bp (breakpoint. You can use F5 to set one on the selected line) on the ret opcode at the end of the function. When it triggers press F7 to step-in. This will return to the function that called it.
|
|
| Back to top |
|
 |
DjRatmanIsBack How do I cheat?
Reputation: 0
Joined: 29 Jun 2023 Posts: 6
|
Posted: Thu Jun 29, 2023 12:54 pm Post subject: |
|
|
| LeFiXER wrote: | | Jit the method, set a bp (breakpoint. You can use F5 to set one on the selected line) on the ret opcode at the end of the function. When it triggers press F7 to step-in. This will return to the function that called it. |
There is no ret at the end of the method, it jumps to another method but i want the one who is calling the first.
|
|
| Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Thu Jun 29, 2023 4:05 pm Post subject: |
|
|
| The jump instruction will direct you to the function that called it.
|
|
| Back to top |
|
 |
DjRatmanIsBack How do I cheat?
Reputation: 0
Joined: 29 Jun 2023 Posts: 6
|
Posted: Thu Jun 29, 2023 4:52 pm Post subject: |
|
|
| LeFiXER wrote: | | The jump instruction will direct you to the function that called it. |
This is what is happening:
I can not create a server with +4 players, when trying it i get an error message saying that the limit is 4.
I go to the method called 'LobbyControler.FailedCreatingServer' and at the end of the method i see a line that says: jmp MainManager.SendError but this is not the one that is calling to the first one.
I want to find the method that has 4 as a limit and when trying to increase that numbers, it jumps to LobbyController.FailedCreatingServer
|
|
| Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Thu Jun 29, 2023 5:06 pm Post subject: |
|
|
| The address of RIP will hold the address that called the function also.
|
|
| Back to top |
|
 |
DjRatmanIsBack How do I cheat?
Reputation: 0
Joined: 29 Jun 2023 Posts: 6
|
Posted: Fri Jun 30, 2023 4:57 am Post subject: |
|
|
| LeFiXER wrote: | | The address of RIP will hold the address that called the function also. |
When setting a breakpoint on LobbyController.OnCreateRoomFailed the RIP register returns the same address of LobbyController.OnCreateRoomFailed
|
|
| Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Fri Jun 30, 2023 6:32 am Post subject: |
|
|
| DjRatmanIsBack wrote: |
When setting a breakpoint on LobbyController.OnCreateRoomFailed the RIP register returns the same address of LobbyController.OnCreateRoomFailed |
But you said you were initially in the function LobbyControler.FailedCreatingServer. That's a different function that you mention.
|
|
| Back to top |
|
 |
DjRatmanIsBack How do I cheat?
Reputation: 0
Joined: 29 Jun 2023 Posts: 6
|
Posted: Fri Jun 30, 2023 7:07 am Post subject: |
|
|
| LeFiXER wrote: | | DjRatmanIsBack wrote: |
When setting a breakpoint on LobbyController.OnCreateRoomFailed the RIP register returns the same address of LobbyController.OnCreateRoomFailed |
But you said you were initially in the function LobbyControler.FailedCreatingServer. That's a different function that you mention. |
I wrote FailedCreatingServer because i wasnt in the PC and i didnt remember the exact name XD anyway, its returning the same address.
|
|
| Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Fri Jun 30, 2023 7:29 am Post subject: |
|
|
| You can try break and trace.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25851 Location: The netherlands
|
Posted: Fri Jun 30, 2023 8:11 am Post subject: |
|
|
Enable IPT logging and set a breakpoint at the function start
Then check the ipt log backtrace to see how it got there
(requires Intel cpu and windows 10 or later)
_________________
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 |
|
 |
DjRatmanIsBack How do I cheat?
Reputation: 0
Joined: 29 Jun 2023 Posts: 6
|
Posted: Fri Jun 30, 2023 12:19 pm Post subject: |
|
|
| Dark Byte wrote: | Enable IPT logging and set a breakpoint at the function start
Then check the ipt log backtrace to see how it got there
(requires Intel cpu and windows 10 or later) |
It shows 22.000 calls. Is there any way to just get the beginning of the methods that are calling? because it shows the whole lines of all the methods.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25851 Location: The netherlands
|
Posted: Fri Jun 30, 2023 4:05 pm Post subject: |
|
|
the last instruction in the list is very likely the method call/jmp that brought you to that method
As for the start of the methods, assuming mono is enabled the addresses should have mono method names
_________________
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 |
|
 |
|