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
39
decomp/DBCServer_Release_x64/full/functions/0x1401eaf70.c
Normal file
39
decomp/DBCServer_Release_x64/full/functions/0x1401eaf70.c
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x1401eaf70 FUN_1401eaf70
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
void FUN_1401eaf70(longlong param_1,undefined8 *param_2,undefined8 param_3,undefined8 param_4)
|
||||
|
||||
{
|
||||
longlong lVar1;
|
||||
undefined8 *puVar2;
|
||||
undefined8 uVar3;
|
||||
longlong lVar4;
|
||||
undefined1 uVar5;
|
||||
|
||||
uVar3 = 0xfffffffffffffffe;
|
||||
lVar1 = param_1 + 0x10;
|
||||
lVar4 = lVar1;
|
||||
FUN_14016db50(lVar1);
|
||||
uVar5 = 1;
|
||||
if (param_2[2] != 0) {
|
||||
FUN_1401ea6f0(param_2[2],param_2,param_3,param_4,uVar3,lVar4,1);
|
||||
}
|
||||
puVar2 = (undefined8 *)(param_1 + 0x298);
|
||||
if (param_2[2] != 0) {
|
||||
FUN_1401ea6f0(puVar2,param_2,param_3,param_4,uVar3,lVar4,uVar5);
|
||||
}
|
||||
if (*(longlong *)(param_1 + 0x2a0) == 0) {
|
||||
*puVar2 = param_2;
|
||||
}
|
||||
else {
|
||||
*(undefined8 **)(*(longlong *)(param_1 + 0x2a0) + 8) = param_2;
|
||||
*param_2 = *(undefined8 *)(param_1 + 0x2a0);
|
||||
}
|
||||
*(undefined8 **)(param_1 + 0x2a0) = param_2;
|
||||
param_2[2] = puVar2;
|
||||
*(int *)(param_1 + 0x2a8) = *(int *)(param_1 + 0x2a8) + 1;
|
||||
FUN_14016dbe0(lVar1);
|
||||
return;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue