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
55
decomp/DBCServer_Release_x64/full/functions/0x14017eed0.c
Normal file
55
decomp/DBCServer_Release_x64/full/functions/0x14017eed0.c
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14017eed0 FUN_14017eed0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
undefined8
|
||||
FUN_14017eed0(longlong param_1,undefined4 param_2,undefined8 param_3,undefined4 *param_4,
|
||||
longlong *param_5)
|
||||
|
||||
{
|
||||
int *piVar1;
|
||||
undefined8 uVar2;
|
||||
undefined8 uVar3;
|
||||
undefined *puVar4;
|
||||
undefined *puVar5;
|
||||
undefined *local_res8;
|
||||
undefined8 uVar6;
|
||||
|
||||
uVar6 = 0xfffffffffffffffe;
|
||||
uVar2 = (**(code **)(**(longlong **)(param_1 + 0x20) + 0x58))();
|
||||
uVar3 = uVar2;
|
||||
FUN_14016db50(uVar2);
|
||||
if (DAT_14034c86f != '\0') {
|
||||
(**(code **)(**(longlong **)(param_1 + 0x20) + 200))
|
||||
(*(longlong **)(param_1 + 0x20),L"Proud::CNetServerImpl::C2SStub::NotifyLog");
|
||||
}
|
||||
if (*(longlong *)(*(longlong *)(param_1 + 0x20) + 0x17f0) != 0) {
|
||||
FUN_14016d8c0();
|
||||
local_res8 = PTR_DAT_1403440a0;
|
||||
puVar5 = (undefined *)*param_5;
|
||||
if ((undefined *)*param_5 == (undefined *)0x0) {
|
||||
puVar5 = PTR_DAT_1403440a0;
|
||||
}
|
||||
FUN_14004c020(&local_res8,L"[Client %d] %s",param_2,puVar5,uVar6,uVar3);
|
||||
puVar5 = local_res8;
|
||||
puVar4 = local_res8;
|
||||
if (local_res8 == (undefined *)0x0) {
|
||||
puVar4 = PTR_DAT_1403440a0;
|
||||
}
|
||||
FUN_1401adb30(*(undefined8 *)(*(longlong *)(param_1 + 0x20) + 0x17f0),*param_4,puVar4);
|
||||
if (((puVar5 != (undefined *)0x0) && (puVar5 != PTR_DAT_1403440a0)) &&
|
||||
(puVar5 + -8 != (undefined *)0x0)) {
|
||||
uVar3 = FUN_14016d8c0();
|
||||
FUN_14016db50(uVar3);
|
||||
piVar1 = (int *)(puVar5 + -4);
|
||||
*piVar1 = *piVar1 + -1;
|
||||
if (*piVar1 == 0) {
|
||||
FUN_14016d970(puVar5 + -8);
|
||||
}
|
||||
FUN_14016dbe0(uVar3);
|
||||
}
|
||||
}
|
||||
FUN_14016dbe0(uVar2);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue