decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
21
decomp/DBCServer_Release_x64/full/functions/0x1401a1eb0.c
Normal file
21
decomp/DBCServer_Release_x64/full/functions/0x1401a1eb0.c
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401a1eb0 FUN_1401a1eb0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
double FUN_1401a1eb0(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);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue