21.05.2018, 13:25
Basically I want to fix the order of the way the flow of control goes from the public callback to the hooked callback.
i.e.
public OnGameModeInit
printf("OGMI");
hook OnGameModeInit()
printf("hook OGMI");
OUTPUT:
hook OGMI
OGMI
---------------------------------
What I want is that the OUTPUT be like
OGMI
hook OGMI
---------------------------------
Any help would be appreciated.
i.e.
public OnGameModeInit
printf("OGMI");
hook OnGameModeInit()
printf("hook OGMI");
OUTPUT:
hook OGMI
OGMI
---------------------------------
What I want is that the OUTPUT be like
OGMI
hook OGMI
---------------------------------
Any help would be appreciated.