22 lines
611 B
C
22 lines
611 B
C
/* AgentManager_Release_x64.exe sha256 8fd8ca91725858651a7839d34257b10c2970ac16c97e60c523b8b0c983fcb186
|
|
* Ghidra 12.1.2 decompiler output for 0x1400ece80 FUN_1400ece80
|
|
* Pseudocode, not original source. */
|
|
|
|
undefined8 * FUN_1400ece80(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;
|
|
}
|
|
|