VScript icon indicating copy to clipboard operation
VScript copied to clipboard

Detouring a function with Vector return crashes

Open FortyTwoFortyTwo opened this issue 2 years ago • 1 comments

When attempting to detour one and get called, it crashes. Couldn't figure out what's the exact setup for it, and some functions seems to be mixed between cdecl and stdcall.

FortyTwoFortyTwo avatar Sep 14 '23 15:09 FortyTwoFortyTwo

Seems like detouring cdecl works fine, while stdcall cause issues, if can even find a way to detect difference between.

FortyTwoFortyTwo avatar Sep 14 '23 16:09 FortyTwoFortyTwo