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,73 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x1400acfb0 FUN_1400acfb0
* Pseudocode, not original source. */
ulonglong FUN_1400acfb0(longlong *param_1,uint param_2,undefined2 *param_3)
{
undefined8 *puVar1;
int *piVar2;
undefined8 uVar3;
ulonglong uVar4;
longlong *local_res8;
piVar2 = (int *)(**(code **)(*param_1 + 0x58))();
FUN_14006b350(piVar2);
if ((((longlong *)param_1[699] != (longlong *)0x0) && (*(longlong *)param_1[699] != 0)) &&
((int)param_1[0x2af] != 0)) {
FUN_1400aca90(param_1,(longlong *)&local_res8,param_2);
if ((local_res8 != (longlong *)0x0) && (*local_res8 != 0)) {
*param_3 = *(undefined2 *)(*local_res8 + 0x568);
*(short *)(*local_res8 + 0x568) = *(short *)(*local_res8 + 0x568) + 1;
if ((local_res8 != (longlong *)0x0) &&
(local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) {
puVar1 = (undefined8 *)*local_res8;
if (puVar1 != (undefined8 *)0x0) {
(**(code **)*puVar1)(puVar1,1);
}
FUN_14006cc60(local_res8);
}
uVar3 = FUN_14006b3e0((longlong)piVar2);
return CONCAT71((int7)((ulonglong)uVar3 >> 8),1);
}
if (*(uint *)(param_1 + 0x2af) == param_2) {
*param_3 = (short)param_1[0x9b];
*(short *)(param_1 + 0x9b) = (short)param_1[0x9b] + 1;
if ((local_res8 != (longlong *)0x0) &&
(local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) {
puVar1 = (undefined8 *)*local_res8;
if (puVar1 != (undefined8 *)0x0) {
(**(code **)*puVar1)(puVar1,1);
}
FUN_14006cc60(local_res8);
}
uVar3 = FUN_14006b3e0((longlong)piVar2);
return CONCAT71((int7)((ulonglong)uVar3 >> 8),1);
}
if (param_2 == 1) {
*param_3 = (short)param_1[0xe0];
*(short *)(param_1 + 0xe0) = (short)param_1[0xe0] + 1;
if ((local_res8 != (longlong *)0x0) &&
(local_res8[1] = local_res8[1] + -1, local_res8[1] == 0)) {
puVar1 = (undefined8 *)*local_res8;
if (puVar1 != (undefined8 *)0x0) {
(**(code **)*puVar1)(puVar1,1);
}
FUN_14006cc60(local_res8);
}
uVar3 = FUN_14006b3e0((longlong)piVar2);
return CONCAT71((int7)((ulonglong)uVar3 >> 8),1);
}
if ((local_res8 != (longlong *)0x0) && (local_res8[1] = local_res8[1] + -1, local_res8[1] == 0))
{
puVar1 = (undefined8 *)*local_res8;
if (puVar1 != (undefined8 *)0x0) {
(**(code **)*puVar1)(puVar1,1);
}
FUN_14006cc60(local_res8);
}
}
uVar4 = FUN_14006b3e0((longlong)piVar2);
return uVar4 & 0xffffffffffffff00;
}