You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constauto* const original = reinterpret_cast<cl_parse_server_message_huffman_t>(cl_parse_server_message_huffman_hook.get_original());
119
+
constcl_parse_server_message_huffman_t original = reinterpret_cast<cl_parse_server_message_huffman_t>(cl_parse_server_message_huffman_hook.get_original());
int __cdecl PartyAtomicHost_HandleMemberJoin_guard(char a1, _DWORD* a2, int a3, __int64 a4, int a5, _DWORD* a6)
170
+
int __cdecl PartyAtomicHost_HandleMemberJoin_guard(char a1, std::uint32_t* a2, int a3, __int64 a4, int a5, std::uint32_t* a6)
170
171
{
171
-
constauto* const original = reinterpret_cast<party_atomic_host_handle_member_join_t>(party_atomic_host_handle_member_join_hook.get_original());
172
+
constparty_atomic_host_handle_member_join_t original = reinterpret_cast<party_atomic_host_handle_member_join_t>(party_atomic_host_handle_member_join_hook.get_original());
172
173
if (!a2 || !a6)
173
174
{
174
175
returnoriginal(a1, a2, a3, a4, a5, a6);
@@ -190,6 +191,55 @@ namespace patches
190
191
returnoriginal(a1, a2, a3, a4, a5, a6);
191
192
}
192
193
194
+
boolPartyAtomicHost_HandleMemberJoin_self_test()
195
+
{
196
+
std::uint32_t packet_cursor[8]{};
197
+
std::uint32_t join_state[8]{};
198
+
199
+
packet_cursor[5] = 0;
200
+
packet_cursor[7] = 1;
201
+
202
+
constauto result = PartyAtomicHost_HandleMemberJoin_guard(0, &join_state[0], 0, 0, 0, &packet_cursor[0]);
0 commit comments