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,44 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x14007f5f0 FUN_14007f5f0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
bool FUN_14007f5f0(longlong *param_1,uint param_2,undefined2 *param_3)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
ulonglong uVar2;
|
||||
int *piVar3;
|
||||
uint *puVar4;
|
||||
|
||||
piVar3 = (int *)(**(code **)(*param_1 + 0x58))();
|
||||
FUN_14006b350(piVar3);
|
||||
if (DAT_1401b42cf != '\0') {
|
||||
(**(code **)(*param_1 + 200))(param_1);
|
||||
}
|
||||
uVar2 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0x194);
|
||||
if ((param_1[400] != 0) && (puVar4 = *(uint **)(param_1[400] + uVar2 * 8), puVar4 != (uint *)0x0))
|
||||
{
|
||||
while ((uint)uVar2 == puVar4[8] % *(uint *)(param_1 + 0x194)) {
|
||||
if (*puVar4 == param_2) {
|
||||
lVar1 = *(longlong *)(puVar4 + 2);
|
||||
if ((lVar1 != 0) && (*(longlong *)(lVar1 + 0x228) == 0)) {
|
||||
*param_3 = *(undefined2 *)(lVar1 + 0x68c);
|
||||
FUN_14006b3e0((longlong)piVar3);
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
puVar4 = *(uint **)(puVar4 + 4);
|
||||
if (puVar4 == (uint *)0x0) break;
|
||||
}
|
||||
}
|
||||
if (param_2 != 1) {
|
||||
FUN_14006b3e0((longlong)piVar3);
|
||||
}
|
||||
else {
|
||||
*param_3 = *(undefined2 *)((longlong)param_1 + 0xc42);
|
||||
FUN_14006b3e0((longlong)piVar3);
|
||||
}
|
||||
return param_2 == 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue