decomp DBCServer_Release and inspect/document database
This commit is contained in:
parent
4b267cbe05
commit
7834b98bf0
28222 changed files with 843300 additions and 144 deletions
|
|
@ -0,0 +1,40 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x140051f20 FUN_140051f20
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_140051f20(longlong *param_1,longlong param_2)
|
||||
|
||||
{
|
||||
code *pcVar1;
|
||||
longlong lVar2;
|
||||
ulonglong uVar3;
|
||||
ulonglong uVar4;
|
||||
|
||||
lVar2 = (param_1[1] - *param_1) +
|
||||
SUB168(SEXT816(-0x608b85ead287c92f) * SEXT816(param_1[1] - *param_1),8);
|
||||
uVar4 = (lVar2 >> 9) - (lVar2 >> 0x3f);
|
||||
if (0x4fba3d0a96bc1bU - param_2 < uVar4) {
|
||||
std::_Xlength_error("vector<T> too long");
|
||||
pcVar1 = (code *)swi(3);
|
||||
(*pcVar1)();
|
||||
return;
|
||||
}
|
||||
uVar4 = uVar4 + param_2;
|
||||
lVar2 = SUB168(SEXT816(-0x608b85ead287c92f) * SEXT816(param_1[2] - *param_1),8) +
|
||||
(param_1[2] - *param_1);
|
||||
uVar3 = (lVar2 >> 9) - (lVar2 >> 0x3f);
|
||||
if (uVar3 < uVar4) {
|
||||
if (0x4fba3d0a96bc1b - (uVar3 >> 1) < uVar3) {
|
||||
uVar3 = 0;
|
||||
}
|
||||
else {
|
||||
uVar3 = uVar3 + (uVar3 >> 1);
|
||||
}
|
||||
if (uVar3 < uVar4) {
|
||||
uVar3 = uVar4;
|
||||
}
|
||||
FUN_14004f060(param_1,uVar3);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue