Game destructor address.

AWRage

New member
Joined
Mar 26, 2016
Messages
4
Reaction score
0
Where i can find the game destructor address? I want to detour it to successfully release my own c++ project.
 

0x_

Wtf I'm not new....
Staff member
Administrator
Joined
Feb 18, 2013
Messages
1,123
Reaction score
174
What? You can just listen to the detach event as the game exits.
 

AWRage

New member
Joined
Mar 26, 2016
Messages
4
Reaction score
0
0x688 said:
What? You can just listen to the detach event as the game exits.

You mean that DLL_PROCES_DETACH and game destructor are called at the same time?
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Ah, i think the game shutdown events don't get called if you use sa-mp /q or /quit. Both call on ExitProcess eventually which will call on your DllMain with DLL_PROCESS_DETACH.
 

AWRage

New member
Joined
Mar 26, 2016
Messages
4
Reaction score
0
NarutoUA said:
Detour hook on ExitProcess

springfield said:
Ah, i think the game shutdown events don't get called if you use sa-mp /q or /quit. Both call on ExitProcess eventually which will call on your DllMain with DLL_PROCESS_DETACH.
Ok, thank you.
 
Top