/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c * Ghidra 12.1.2 decompiler output for 0x14016cf00 FUN_14016cf00 * Pseudocode, not original source. */ void FUN_14016cf00(undefined8 param_1,short *param_2) { short sVar1; ulonglong uVar2; short *psVar3; undefined1 local_58 [80]; uVar2 = 0xffffffffffffffff; psVar3 = param_2; do { if (uVar2 == 0) break; uVar2 = uVar2 - 1; sVar1 = *psVar3; psVar3 = psVar3 + 1; } while (sVar1 != 0); uVar2 = ~uVar2 - 1; if (0x7fffffff < uVar2) { FUN_14016d300(local_58,L"WriteString failed! length=%I64d",uVar2); /* WARNING: Subroutine does not return */ _CxxThrowException(local_58,(ThrowInfo *)&DAT_1403417f8); } FUN_14016cd60(param_1,param_2,uVar2 & 0xffffffff); return; }