server-re/decomp/DBCServer_Release_x64/full/functions/0x1401fa330.c

31 lines
1 KiB
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401fa330 FUN_1401fa330
* Pseudocode, not original source. */
void FUN_1401fa330(longlong param_1,char param_2)
{
undefined8 uVar1;
if (param_2 == '\0') {
*(undefined1 *)(param_1 + 0x608) = 0;
uVar1 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x670) + 0x70) + 0x1c0))
(*(longlong *)(param_1 + 0x670) + 0x70);
*(undefined8 *)(param_1 + 0x610) = uVar1;
uVar1 = (**(code **)(*(longlong *)(*(longlong *)(param_1 + 0x670) + 0x70) + 0x1c0))();
*(undefined8 *)(param_1 + 0xc0) = uVar1;
*(undefined4 *)(param_1 + 0x100) = 0;
*(undefined8 *)(param_1 + 0x140) = 0xbff0000000000000;
}
else {
if (*(char *)(param_1 + 0x608) == '\0') {
*(undefined1 *)(param_1 + 0x618) = 1;
}
*(undefined1 *)(param_1 + 0x608) = 1;
}
if (*(longlong *)(param_1 + 0x640) != 0) {
*(undefined8 *)(*(longlong *)(param_1 + 0x640) + 0xd8) = 0;
}
return;
}