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

39 lines
1.2 KiB
C

/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14000a900 FUN_14000a900
* Pseudocode, not original source. */
undefined1
FUN_14000a900(longlong *param_1,undefined8 param_2,undefined4 param_3,undefined8 param_4,
undefined4 *param_5,longlong *param_6,undefined1 *param_7)
{
undefined1 uVar1;
undefined4 *puVar2;
undefined1 local_40 [8];
undefined1 local_38 [8];
longlong local_30;
int local_24;
FUN_14016b440(local_40);
FUN_14016abe0(local_40);
FUN_14004f3c0(local_40,0x2b2d);
FUN_140153c40(local_40,*param_5);
FUN_140153c40(local_40,param_6[1] - *param_6 >> 2);
puVar2 = (undefined4 *)*param_6;
if (puVar2 != (undefined4 *)param_6[1]) {
do {
FUN_140153c40(local_40,*puVar2);
puVar2 = puVar2 + 1;
} while (puVar2 != (undefined4 *)param_6[1]);
}
FUN_14004eef0(local_40,*param_7);
uVar1 = (**(code **)(*param_1 + 0x18))
(param_1,param_2,param_3,param_4,local_40,L"RESP_READ_FORTUNE",0x2b2d);
FUN_14016d0e0(local_38);
if ((local_30 != 0) && (local_24 < 0)) {
/* WARNING: Subroutine does not return */
FUN_14016d6b0();
}
return uVar1;
}