server-re/decomp/MessageServer_Release_x64/full/functions/0x140076ec0.c

29 lines
849 B
C

/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x140076ec0 FUN_140076ec0
* Pseudocode, not original source. */
void FUN_140076ec0(char *param_1)
{
LARGE_INTEGER local_res8 [4];
if (*param_1 != '\0') {
QueryPerformanceCounter(local_res8);
if (param_1[1] != '\0') {
*(longlong *)(param_1 + 0x20) =
*(longlong *)(param_1 + 0x20) + (local_res8[0].QuadPart - *(longlong *)(param_1 + 0x10));
}
param_1[0x10] = '\0';
param_1[0x11] = '\0';
param_1[0x12] = '\0';
param_1[0x13] = '\0';
param_1[0x14] = '\0';
param_1[0x15] = '\0';
param_1[0x16] = '\0';
param_1[0x17] = '\0';
((LARGE_INTEGER *)(param_1 + 0x18))->QuadPart = (LONGLONG)local_res8[0];
param_1[1] = '\0';
}
return;
}