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
43
decomp/DBCServer_Release_x64/full/functions/0x14019ddd0.c
Normal file
43
decomp/DBCServer_Release_x64/full/functions/0x14019ddd0.c
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
||||
* Ghidra 12.1.2 decompiler output for 0x14019ddd0 FUN_14019ddd0
|
||||
* Pseudocode, not original source. */
|
||||
|
||||
int FUN_14019ddd0(longlong param_1,undefined4 param_2)
|
||||
|
||||
{
|
||||
int iVar1;
|
||||
undefined4 uVar2;
|
||||
undefined8 uVar3;
|
||||
wchar_t *pwVar4;
|
||||
undefined4 local_res8 [4];
|
||||
undefined4 local_res18 [2];
|
||||
undefined *local_res20;
|
||||
|
||||
local_res8[0] = 4;
|
||||
iVar1 = Ordinal_7(*(undefined8 *)(param_1 + 0x3d0),0,4,local_res18,local_res8);
|
||||
if (iVar1 == 0) {
|
||||
local_res18[0] = param_2;
|
||||
iVar1 = Ordinal_21(*(undefined8 *)(param_1 + 0x3d0),0,4,local_res18,local_res8[0]);
|
||||
if (iVar1 == 0) {
|
||||
return 0;
|
||||
}
|
||||
FUN_14016d8c0();
|
||||
local_res20 = PTR_DAT_1403440a0;
|
||||
uVar2 = FUN_14016d740(L"Cannot change TTL!");
|
||||
uVar3 = FUN_14004e940(&local_res20,uVar2);
|
||||
pwVar4 = L"Cannot change TTL!";
|
||||
}
|
||||
else {
|
||||
FUN_14016d8c0();
|
||||
local_res20 = PTR_DAT_1403440a0;
|
||||
uVar2 = FUN_14016d740(L"This socket doesn\'t support TTL change!");
|
||||
uVar3 = FUN_14004e940(&local_res20,uVar2);
|
||||
pwVar4 = L"This socket doesn\'t support TTL change!";
|
||||
}
|
||||
FUN_14016d770(uVar3,pwVar4,uVar2);
|
||||
FUN_14004e560(&local_res20);
|
||||
(**(code **)(**(longlong **)(param_1 + 0x18) + 8))
|
||||
(*(longlong **)(param_1 + 0x18),param_1,&local_res20);
|
||||
return iVar1;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue