/* 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; }