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
22
decomp/DBCServer_Release_x64/full/functions/0x14021bb60.c
Normal file
22
decomp/DBCServer_Release_x64/full/functions/0x14021bb60.c
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14021bb60 FUN_14021bb60
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 * FUN_14021bb60(undefined8 *param_1)
|
||||
|
||||
{
|
||||
BOOL BVar1;
|
||||
LARGE_INTEGER local_res8 [4];
|
||||
|
||||
*param_1 = TimeSourceHRWin32::vftable;
|
||||
BVar1 = QueryPerformanceFrequency(local_res8);
|
||||
if (BVar1 == 0) {
|
||||
*(undefined1 *)(param_1 + 2) = 0;
|
||||
GetLastError();
|
||||
return param_1;
|
||||
}
|
||||
*(undefined1 *)(param_1 + 2) = 1;
|
||||
param_1[1] = 1.0 / (double)local_res8[0].QuadPart;
|
||||
return param_1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue