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
27
decomp/DBCServer_Release_x64/full/functions/0x1401b6240.c
Normal file
27
decomp/DBCServer_Release_x64/full/functions/0x1401b6240.c
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401b6240 FUN_1401b6240
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1401b6240(longlong param_1,longlong param_2)
|
||||
|
||||
{
|
||||
ulonglong uVar1;
|
||||
undefined8 uVar2;
|
||||
longlong lVar3;
|
||||
|
||||
uVar1 = (ulonglong)((uint)*(ushort *)(param_2 + 0xc) ^ *(uint *)(param_2 + 8)) %
|
||||
(ulonglong)*(uint *)(param_1 + 0x48);
|
||||
if (*(longlong *)(param_1 + 0x28) != 0) {
|
||||
for (lVar3 = *(longlong *)(*(longlong *)(param_1 + 0x28) + uVar1 * 8);
|
||||
(lVar3 != 0 && ((uint)uVar1 == *(uint *)(lVar3 + 0x28) % *(uint *)(param_1 + 0x48)));
|
||||
lVar3 = *(longlong *)(lVar3 + 0x18)) {
|
||||
if ((*(uint *)(lVar3 + 8) == *(uint *)(param_2 + 8)) &&
|
||||
(*(ushort *)(lVar3 + 0xc) == *(ushort *)(param_2 + 0xc))) {
|
||||
uVar2 = FUN_1401b6040(*(undefined8 *)(lVar3 + 0x10));
|
||||
return uVar2;
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue