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,35 @@
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x140051a20 FUN_140051a20
* Pseudocode, not original source. */
void FUN_140051a20(longlong *param_1,longlong param_2)
{
code *pcVar1;
ulonglong uVar2;
ulonglong uVar3;
uVar3 = (param_1[1] - *param_1) / 0x97;
if (0x1b2036406c80d90U - param_2 < uVar3) {
std::_Xlength_error("vector<T> too long");
pcVar1 = (code *)swi(3);
(*pcVar1)();
return;
}
uVar3 = uVar3 + param_2;
uVar2 = (param_1[2] - *param_1) / 0x97;
if (uVar2 < uVar3) {
if (0x1b2036406c80d90 - (uVar2 >> 1) < uVar2) {
uVar2 = 0;
}
else {
uVar2 = uVar2 + (uVar2 >> 1);
}
if (uVar2 < uVar3) {
uVar2 = uVar3;
}
FUN_14004e450(param_1,uVar2);
}
return;
}