gahhh this looks awful

This commit is contained in:
rtldg 2025-03-13 05:28:32 +00:00
parent 623632d9b8
commit 13b3a8ec7d

View File

@ -1078,8 +1078,8 @@ namespace SourceHook
}
}
if (stackSpace == 0) return 0;
if (stackSpace != 0)
{
stackSpace = AlignSize(stackSpace, 16);
m_HookFunc.sub(rsp, stackSpace);
@ -1137,6 +1137,7 @@ namespace SourceHook
}
}
}
}
// Load ALL the parameter registers...
// We do it now because the copy/assignment calls above could've clobbered our registers.