decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
30
decomp/DBCServer_Release_x64/full/functions/0x14016cf00.c
Normal file
30
decomp/DBCServer_Release_x64/full/functions/0x14016cf00.c
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* 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;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue