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,41 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14016b040 FUN_14016b040
* Pseudocode, not original source. */
void FUN_14016b040(int *param_1,int param_2)
{
int iVar1;
longlong lVar2;
undefined1 local_50 [80];
lVar2 = *(longlong *)(param_1 + 2);
if (lVar2 == 0) {
if (*(longlong *)(param_1 + 4) == 0) {
/* WARNING: Subroutine does not return */
FUN_14016d1e0();
}
iVar1 = param_1[6];
}
else {
iVar1 = *(int *)(lVar2 + 0x18);
}
if (iVar1 < param_2) {
if (lVar2 == 0) {
if (*(longlong *)(param_1 + 4) == 0) {
/* WARNING: Subroutine does not return */
FUN_14016d1e0();
}
iVar1 = param_1[6];
}
else {
iVar1 = *(int *)(lVar2 + 0x18);
}
FUN_14016d300(local_50,&DAT_140275ea0,iVar1,param_2);
/* WARNING: Subroutine does not return */
_CxxThrowException(local_50,(ThrowInfo *)&DAT_1403417f8);
}
*param_1 = param_2 * 8;
return;
}