server-re/decomp/MessageServer_Release_x64/full/functions/0x14012f6e0.c

24 lines
736 B
C

/* MessageServer_Release_x64.exe sha256 7911b15c4379625eaa12ff227708aa3a033bc6ac2cf6b34283136e3a62df25f1
* Ghidra 12.1.2 decompiler output for 0x14012f6e0 FUN_14012f6e0
* Pseudocode, not original source. */
void FUN_14012f6e0(undefined8 param_1,undefined8 param_2,undefined8 param_3,longlong param_4)
{
int *piVar1;
piVar1 = DAT_1401b6308;
if (DAT_1401b6308 != (int *)0x0) {
FUN_14006b350(DAT_1401b6308);
*(longlong *)(DAT_1401b6308 + 0x10) = *(longlong *)(DAT_1401b6308 + 0x10) + -1;
if (*(longlong *)(DAT_1401b6308 + 0x10) == 0) {
FUN_14006b3e0((longlong)piVar1);
FUN_14007d3b0(DAT_1401b6308,param_2,param_3,param_4);
}
else {
FUN_14006b3e0((longlong)piVar1);
}
}
return;
}