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
26
decomp/DBCServer_Release_x64/full/functions/0x1401c00a0.c
Normal file
26
decomp/DBCServer_Release_x64/full/functions/0x1401c00a0.c
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401c00a0 FUN_1401c00a0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
uint FUN_1401c00a0(longlong param_1,uint param_2)
|
||||
|
||||
{
|
||||
ulonglong uVar1;
|
||||
uint *puVar2;
|
||||
|
||||
uVar1 = (ulonglong)param_2 % (ulonglong)*(uint *)(param_1 + 0x40);
|
||||
if (*(longlong *)(param_1 + 0x20) != 0) {
|
||||
for (puVar2 = *(uint **)(*(longlong *)(param_1 + 0x20) + uVar1 * 8);
|
||||
(puVar2 != (uint *)0x0 && ((uint)uVar1 == puVar2[10] % *(uint *)(param_1 + 0x40)));
|
||||
puVar2 = *(uint **)(puVar2 + 6)) {
|
||||
if (*puVar2 == param_2) goto LAB_1401c00ed;
|
||||
}
|
||||
}
|
||||
puVar2 = (uint *)0x0;
|
||||
LAB_1401c00ed:
|
||||
if (puVar2 != (uint *)0x0) {
|
||||
return puVar2[3];
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue