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,50 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14010f600 FUN_14010f600
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
ulonglong FUN_14010f600(uint param_1,longlong param_2,undefined4 param_3,longlong param_4,
|
||||
uint *param_5)
|
||||
|
||||
{
|
||||
uint uVar1;
|
||||
ulonglong uVar2;
|
||||
void *_Memory;
|
||||
longlong lVar3;
|
||||
|
||||
if ((param_2 != 0) && (param_4 != 0)) {
|
||||
if (param_5 != (uint *)0x0) {
|
||||
uVar2 = FUN_140109370(param_1);
|
||||
if ((int)uVar2 == 0) {
|
||||
lVar3 = (longlong)(int)param_1 * 0x80;
|
||||
if (*param_5 < *(uint *)(&DAT_1401b817c + lVar3)) {
|
||||
*param_5 = *(uint *)(&DAT_1401b817c + lVar3);
|
||||
uVar2 = 6;
|
||||
}
|
||||
else {
|
||||
_Memory = malloc(0x70);
|
||||
if (_Memory == (void *)0x0) {
|
||||
uVar2 = 0xd;
|
||||
}
|
||||
else {
|
||||
uVar1 = (**(code **)(lVar3 + 0x1401b81c8))(_Memory);
|
||||
uVar2 = (ulonglong)uVar1;
|
||||
if (uVar1 == 0) {
|
||||
uVar1 = (**(code **)(lVar3 + 0x1401b81d0))(_Memory,param_2,param_3);
|
||||
uVar2 = (ulonglong)uVar1;
|
||||
if (uVar1 == 0) {
|
||||
uVar1 = (**(code **)(lVar3 + 0x1401b81d8))(_Memory,param_4);
|
||||
uVar2 = (ulonglong)uVar1;
|
||||
*param_5 = *(uint *)(&DAT_1401b817c + lVar3);
|
||||
}
|
||||
}
|
||||
free(_Memory);
|
||||
}
|
||||
}
|
||||
}
|
||||
return uVar2;
|
||||
}
|
||||
return 0x10;
|
||||
}
|
||||
return 0x10;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue