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
34
decomp/DBCServer_Release_x64/full/functions/0x1401f41e0.c
Normal file
34
decomp/DBCServer_Release_x64/full/functions/0x1401f41e0.c
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401f41e0 FUN_1401f41e0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8 FUN_1401f41e0(undefined8 param_1,longlong param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined8 uVar2;
|
||||
undefined *puVar3;
|
||||
|
||||
uVar2 = 0;
|
||||
puVar3 = *(undefined **)(param_2 + 0x2488);
|
||||
iVar1 = 0;
|
||||
if ((puVar3 != (undefined *)0x0) && (puVar3 != PTR_DAT_140344098)) {
|
||||
iVar1 = *(int *)(puVar3 + -8);
|
||||
}
|
||||
*(undefined1 *)(param_2 + 0x24c0) = 1;
|
||||
puVar3 = *(undefined **)(param_2 + 0x2488);
|
||||
if (*(undefined **)(param_2 + 0x2488) == (undefined *)0x0) {
|
||||
puVar3 = PTR_DAT_140344098;
|
||||
}
|
||||
if (*(undefined8 **)(param_2 + 0x2480) != (undefined8 *)0x0) {
|
||||
uVar2 = **(undefined8 **)(param_2 + 0x2480);
|
||||
}
|
||||
iVar1 = FUN_14019d730(uVar2,puVar3 + *(int *)(param_2 + 0x2504),
|
||||
(iVar1 - *(int *)(param_2 + 0x2504)) + 1);
|
||||
if (iVar1 != 0) {
|
||||
*(undefined1 *)(param_2 + 0x24c0) = 0;
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue