8 #pragma intrinsic(_ReturnAddress)
14 void __xtd_EventEnter(
void * addr);
15 void __xtd_EventLeave(
void * addr);
17 void __declspec(naked) _cdecl _penter(){
24 __xtd_EventEnter((
void*)((uint32_t)_ReturnAddress() - 5));
33 void __declspec(naked) _cdecl _pexit(){
40 __xtd_EventLeave((
void*)((
unsigned long long)_ReturnAddress() - 5));