30 lines
799 B
C
30 lines
799 B
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x140002560 FUN_140002560
|
|
* Pseudocode, not original source. */
|
|
|
|
undefined8 * FUN_140002560(undefined8 *param_1)
|
|
|
|
{
|
|
undefined8 *puVar1;
|
|
|
|
*param_1 = CmdQueue::vftable;
|
|
param_1[1] = 0;
|
|
param_1[2] = 0;
|
|
param_1[3] = 0;
|
|
param_1[5] = 0;
|
|
*(undefined4 *)(param_1 + 6) = 0;
|
|
InitializeCriticalSection((LPCRITICAL_SECTION)(param_1 + 7));
|
|
puVar1 = operator_new(0x58);
|
|
if (puVar1 != (undefined8 *)0x0) {
|
|
*puVar1 = 0;
|
|
puVar1[1] = 0;
|
|
puVar1[2] = 0;
|
|
*(undefined4 *)(puVar1 + 3) = 0;
|
|
InitializeCriticalSection((LPCRITICAL_SECTION)(puVar1 + 4));
|
|
param_1[3] = puVar1;
|
|
return param_1;
|
|
}
|
|
param_1[3] = 0;
|
|
return param_1;
|
|
}
|
|
|