decomp DBCServer_Release and inspect/document database

This commit is contained in:
Benjamin Palko 2026-10-14 23:22:03 -04:00
parent 4b267cbe05
commit 7834b98bf0
28222 changed files with 843300 additions and 144 deletions

View file

@ -0,0 +1,24 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x140076fb0 FUN_140076fb0
* Pseudocode, not original source. */
double FUN_140076fb0(char *param_1)
{
longlong lVar1;
LARGE_INTEGER LVar2;
LARGE_INTEGER local_res8 [4];
if (*param_1 == '\0') {
return -1.0;
}
LVar2.QuadPart = ((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart;
if (((LARGE_INTEGER *)(param_1 + 0x10))->QuadPart == 0) {
QueryPerformanceCounter(local_res8);
LVar2 = local_res8[0];
}
lVar1 = *(longlong *)(param_1 + 0x18);
((LARGE_INTEGER *)(param_1 + 0x18))->QuadPart = (LONGLONG)LVar2;
return (double)(LVar2.QuadPart - lVar1) / (double)*(longlong *)(param_1 + 8);
}