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,23 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x1401bbd30 FUN_1401bbd30
* Pseudocode, not original source. */
int FUN_1401bbd30(undefined8 param_1,int param_2)
{
uint uVar1;
int iVar2;
double dVar3;
uVar1 = FUN_14019ee10();
dVar3 = (double)uVar1 / 4294967295.0;
if (dVar3 <= 0.0) {
dVar3 = 0.0;
}
iVar2 = (int)((double)(param_2 + 1) * dVar3);
if (iVar2 < param_2) {
param_2 = iVar2;
}
return param_2;
}