Storm/Read_Packets.hpp

13 lines
338 B
C++
Raw Normal View History

2024-04-04 03:17:09 +08:00
void* Original_Read_Packets_Caller;
void Redirected_Read_Packets(__int8 Final)
{
static __int8 Parsed_Packets;
if (Parsed_Packets == 0)
{
(decltype(&Redirected_Read_Packets)(Original_Read_Packets_Caller))(Final);
}
2024-10-25 13:12:24 +08:00
Parsed_Packets = __builtin_return_address(0) != (void*)((unsigned __int32)Engine_Module + 1631183);
2024-04-04 03:17:09 +08:00
}