Failed to initialize NativeHooks
log of error :
code for hooking :
i have the latest crossmapping so that shouldnt be the problem i guess.
i have seen the other thread with a similar problem but that shouldnt be my case since i have updated the crossmapping
Code:
[12:32:11] INIT: SudoMod [12:32:11] DEBUG: baseAddr 0x00007FF650B60000 [12:32:11] DEBUG: endAddr 0x00007FF6553EFC00 [12:32:52] DEBUG: Initializing natives [12:32:52] DEBUG: nativeHashMap has 5241 members [12:32:52] Checking if game is ready... [12:33:00] Game ready [12:33:00] DEBUG: Input hook attached: WndProc 0x00007FFA011D28D0 [12:33:00] ERROR: Failed to initialize NativeHooks [12:33:08] CleanUp: SudoMod [12:33:08] DEBUG: Removed input hook [12:33:08] CleanUp: SudoMod [12:33:08] DEBUG: Removed input hook
code for hooking :
Code:
Hooking::NativeHandler ORIG_GET_FRAME_COUNT = NULL;
void* __cdecl MY_GET_FRAME_COUNT(NativeContext *cxt)
{
Hooking::onTickInit();
return cxt;
}
bool Hooking::HookNatives()
{
return true
// native hooks
&& Native(0xaf48077651290fac, &MY_GET_FRAME_COUNT, &ORIG_GET_FRAME_COUNT);
}
i have seen the other thread with a similar problem but that shouldnt be my case since i have updated the crossmapping

