33 lines
1 KiB
C
33 lines
1 KiB
C
/* DBCServer_Release_x64.exe sha256 d9e4fccdf3482e50247686d4452c0b13c75a53efc4bd7320668eece8d1ce828c
|
|
* Ghidra 12.1.2 decompiler output for 0x14015b3e0 FUN_14015b3e0
|
|
* Pseudocode, not original source. */
|
|
|
|
void FUN_14015b3e0(undefined8 param_1,undefined8 param_2,undefined8 param_3,undefined8 param_4)
|
|
|
|
{
|
|
int *piVar1;
|
|
longlong *plVar2;
|
|
undefined8 uVar3;
|
|
undefined *puVar4;
|
|
undefined *local_res18 [2];
|
|
|
|
plVar2 = (longlong *)FUN_1401990a0(param_2,local_res18,param_3,param_4,0xfffffffffffffffe);
|
|
puVar4 = (undefined *)*plVar2;
|
|
if ((undefined *)*plVar2 == (undefined *)0x0) {
|
|
puVar4 = PTR_DAT_1403440a0;
|
|
}
|
|
FUN_140160a80(L"OnError MGSAgentSession : %s",puVar4);
|
|
if (((local_res18[0] != (undefined *)0x0) && (local_res18[0] != PTR_DAT_1403440a0)) &&
|
|
(local_res18[0] + -8 != (undefined *)0x0)) {
|
|
uVar3 = FUN_14016d8c0();
|
|
FUN_14016db50(uVar3);
|
|
piVar1 = (int *)(local_res18[0] + -4);
|
|
*piVar1 = *piVar1 + -1;
|
|
if (*piVar1 == 0) {
|
|
FUN_14016d970(local_res18[0] + -8);
|
|
}
|
|
FUN_14016dbe0(uVar3);
|
|
}
|
|
return;
|
|
}
|
|
|