decomp DBCServer_Release and inspect/document database

This commit is contained in:
Benjamin Palko 2026-10-14 23:22:03 -04:00
parent 4b267cbe05
commit 7834b98bf0
28222 changed files with 843300 additions and 144 deletions

View file

@ -0,0 +1,33 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401bca80 FUN_1401bca80
* Pseudocode, not original source. */
wchar_t * FUN_1401bca80(wchar_t *param_1)
{
errno_t eVar1;
FUN_1401bc8c0();
param_1[0x1228] = L'\x02';
param_1[0x1229] = L'\0';
param_1[0x122a] = L'\x04';
param_1[0x122b] = L'\0';
param_1[0x1226] = L'P';
eVar1 = wcsncpy_s(param_1,0x21,L"http",4);
if (eVar1 != 0) {
if (eVar1 == 0xc) {
/* WARNING: Subroutine does not return */
FUN_14004dc60(0x8007000e);
}
if ((eVar1 == 0x16) || (eVar1 == 0x22)) {
/* WARNING: Subroutine does not return */
FUN_14004dc60(0x80070057);
}
if (eVar1 != 0x50) {
/* WARNING: Subroutine does not return */
FUN_14004dc60(0x80004005);
}
}
return param_1;
}