Hello, i want to define a lambda function (static) in a naked function(hook) and then call it in asm.
Code:
__declspec(naked) void t()
{
static auto abc=[]....
__asm call abc
}
This wont work, if i change the lambda into an extern void, it works. But why?