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
42
decomp/DBCServer_Release_x64/full/functions/0x1401c9690.c
Normal file
42
decomp/DBCServer_Release_x64/full/functions/0x1401c9690.c
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401c9690 FUN_1401c9690
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
longlong * FUN_1401c9690(longlong *param_1)
|
||||
|
||||
{
|
||||
wint_t _C;
|
||||
int iVar1;
|
||||
wint_t *pwVar2;
|
||||
undefined *puVar3;
|
||||
wint_t *pwVar4;
|
||||
|
||||
pwVar2 = (wint_t *)*param_1;
|
||||
if ((wint_t *)*param_1 == (wint_t *)0x0) {
|
||||
pwVar2 = (wint_t *)PTR_DAT_1403440a0;
|
||||
}
|
||||
pwVar4 = (wint_t *)0x0;
|
||||
_C = *pwVar2;
|
||||
if (_C != 0) {
|
||||
do {
|
||||
iVar1 = iswspace(_C);
|
||||
if (iVar1 == 0) {
|
||||
pwVar4 = (wint_t *)0x0;
|
||||
}
|
||||
else if (pwVar4 == (wint_t *)0x0) {
|
||||
pwVar4 = pwVar2;
|
||||
}
|
||||
pwVar2 = (wint_t *)FUN_14016d7c0(pwVar2);
|
||||
_C = *pwVar2;
|
||||
} while (_C != 0);
|
||||
if (pwVar4 != (wint_t *)0x0) {
|
||||
puVar3 = (undefined *)*param_1;
|
||||
if ((undefined *)*param_1 == (undefined *)0x0) {
|
||||
puVar3 = PTR_DAT_1403440a0;
|
||||
}
|
||||
FUN_1401c8690(param_1,(longlong)pwVar4 - (longlong)puVar3 >> 1 & 0xffffffff);
|
||||
}
|
||||
}
|
||||
return param_1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue