38 lines
1,008 B
C
38 lines
1,008 B
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x1401f6490 FUN_1401f6490
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_1401f6490(undefined8 param_1,longlong param_2)
|
|
|
|
{
|
|
int iVar1;
|
|
void *_Dst;
|
|
undefined8 uVar2;
|
|
undefined8 local_res10 [3];
|
|
|
|
FUN_14004f0e0();
|
|
if (*(int *)(param_2 + 0x38) == 0) {
|
|
_Dst = (void *)0x0;
|
|
}
|
|
else {
|
|
_Dst = *(void **)(param_2 + 0x30);
|
|
}
|
|
memset(_Dst,0,(longlong)*(int *)(param_2 + 0x38));
|
|
*(undefined1 *)(param_2 + 0xc0) = 1;
|
|
uVar2 = 0;
|
|
if (*(undefined8 **)(param_2 + 0x10) != (undefined8 *)0x0) {
|
|
uVar2 = **(undefined8 **)(param_2 + 0x10);
|
|
}
|
|
iVar1 = FUN_14019d570(uVar2,*(int *)(param_2 + 0x38) + -1);
|
|
if (iVar1 == 0) {
|
|
*(undefined4 *)(param_2 + 0x18) = 2;
|
|
}
|
|
else {
|
|
*(undefined1 *)(param_2 + 0xc0) = 0;
|
|
local_res10[0] = 0;
|
|
FUN_1401786c0(param_2 + 0x10,local_res10);
|
|
*(undefined4 *)(param_2 + 0x18) = 3;
|
|
}
|
|
return;
|
|
}
|
|
|