Peter Zheng

Results 3 issues of Peter Zheng

This line of code **lacks type conversion**, which **may cause a crash**. https://github.com/dadas190/Heavens-Gate-2.0/blob/bd8a9b08384cdde229eb616789ba921ba2b271c4/HeavensGate.h#LL300C1-L300C1 I think this line of code may need to be modified like below: Before: `X64Call(LdrLoadDll, 4, (uint64_t)0,...

https://github.com/dadas190/Heavens-Gate-2.0/blob/bd8a9b08384cdde229eb616789ba921ba2b271c4/HeavensGate.h#L61 https://github.com/dadas190/Heavens-Gate-2.0/blob/bd8a9b08384cdde229eb616789ba921ba2b271c4/HeavensGate.h#L77 Description: It looks like you need to “**push esi**” and then "**pop esi**" when you finally go back to the 32-bit environment. Otherwise, it will trigger "**__RTC_CheckEsp**" function...

报错代码样例: ```c++ SC_EXPORT_DATA(volatile __int64, a[3]) SC_EXPORT_DATA(volatile __int64, b[3]) SC_EXPORT_DATA(volatile __int64, c[3]) int ii = 0; SC_EXPORT BOOL demo(LPVOID lpParameter) { a[ii] = ii; b[ii] = ii; c[ii] = ii; }...