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

21 lines
625 B
C

/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x140076f50 FUN_140076f50
* Pseudocode, not original source. */
double FUN_140076f50(char *param_1)
{
LARGE_INTEGER LVar1;
LARGE_INTEGER local_res8 [4];
if (*param_1 == '\0') {
return -1.0;
}
LVar1.QuadPart = ((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart;
if (((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart == 0) {
QueryPerformanceCounter(local_res8);
LVar1 = local_res8[0];
}
return (double)LVar1.QuadPart / (double)*(longlong *)(param_1 + 8);
}