mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Limit IMI search to 7.
This commit is contained in:
parent
e24b9b90a5
commit
f9f09bd02a
@ -155,7 +155,7 @@ long __stdcall ExceptionFilter(EXCEPTION_POINTERS* exceptionInfo)
|
||||
if (!find_IMI_ref.empty())
|
||||
{
|
||||
const void* imiRetAddr = find_IMI_ref.at(0).Offset(0x5).RCast<void*>();
|
||||
for (WORD i = 0; i < 10; i++)
|
||||
for (WORD i = 0; i < 7; i++)
|
||||
{
|
||||
if (imiRetAddr == pStackTrace[i])
|
||||
return EXCEPTION_CONTINUE_SEARCH;
|
||||
|
Loading…
x
Reference in New Issue
Block a user