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 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x140103a40 FUN_140103a40
* Pseudocode, not original source. */
int FUN_140103a40(int *param_1)
{
int iVar1;
int iVar2;
uint uVar3;
iVar1 = *param_1;
if (iVar1 != 0) {
iVar2 = iVar1 * 0x1c + -0x1c;
for (uVar3 = *(uint *)(*(longlong *)(param_1 + 4) + -4 + (longlong)iVar1 * 4); uVar3 != 0;
uVar3 = uVar3 >> 1) {
iVar2 = iVar2 + 1;
}
return iVar2;
}
return 0;
}