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
33
decomp/DBCServer_Release_x64/full/functions/0x1401bc810.c
Normal file
33
decomp/DBCServer_Release_x64/full/functions/0x1401bc810.c
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401bc810 FUN_1401bc810
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1401bc810(longlong param_1,wchar_t *param_2)
|
||||
|
||||
{
|
||||
errno_t eVar1;
|
||||
size_t sVar2;
|
||||
|
||||
sVar2 = wcsnlen(param_2,0x801);
|
||||
if (0x800 < (uint)sVar2) {
|
||||
return 0;
|
||||
}
|
||||
eVar1 = wcsncpy_s((wchar_t *)(param_1 + 0x448),0x801,param_2,sVar2 & 0xffffffff);
|
||||
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);
|
||||
}
|
||||
}
|
||||
*(uint *)(param_1 + 0x2464) = (uint)sVar2;
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue