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,30 @@
|
|||
/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
|
||||
* Ghidra 12.1.2 decompiler output for 0x1400d4140 FUN_1400d4140
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
int FUN_1400d4140(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
ulonglong uVar1;
|
||||
ulonglong uVar2;
|
||||
int iVar3;
|
||||
longlong lVar4;
|
||||
|
||||
uVar1 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)) %
|
||||
(ulonglong)*(uint *)(param_1 + 0x48);
|
||||
if (*(longlong *)(param_1 + 0x28) != 0) {
|
||||
lVar4 = *(longlong *)(*(longlong *)(param_1 + 0x28) + uVar1 * 8);
|
||||
while ((lVar4 != 0 &&
|
||||
(uVar2 = (ulonglong)*(uint *)(lVar4 + 0x28) % (ulonglong)*(uint *)(param_1 + 0x48),
|
||||
(int)uVar1 == (int)uVar2))) {
|
||||
if ((*(uint *)(lVar4 + 8) == *(uint *)(param_2 + 8)) &&
|
||||
(*(ushort *)(lVar4 + 0xc) == *(ushort *)(param_2 + 0xc))) {
|
||||
iVar3 = FUN_1400d3ed0(*(longlong *)(lVar4 + 0x10),uVar2);
|
||||
return iVar3;
|
||||
}
|
||||
lVar4 = *(longlong *)(lVar4 + 0x18);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue