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,38 @@
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
* Ghidra 12.1.2 decompiler output for 0x14004a260 FUN_14004a260
* Pseudocode, not original source. */
void FUN_14004a260(longlong *param_1)
{
code *pcVar1;
ulonglong uVar2;
ulonglong uVar3;
uVar3 = (param_1[1] - *param_1) / 0x1c;
if (0x924924924924923 < uVar3) {
std::_Xlength_error("vector<T> too long");
pcVar1 = (code *)swi(3);
(*pcVar1)();
return;
}
uVar3 = uVar3 + 1;
uVar2 = (param_1[2] - *param_1) / 0x1c;
if (uVar2 < uVar3) {
if (0x924924924924924 - (uVar2 >> 1) < uVar2) {
uVar2 = 0;
if (uVar3 != 0) {
uVar2 = uVar3;
}
FUN_140047cb0(param_1,uVar2);
return;
}
uVar2 = uVar2 + (uVar2 >> 1);
if (uVar2 < uVar3) {
uVar2 = uVar3;
}
FUN_140047cb0(param_1,uVar2);
}
return;
}